add run_in_docker
This commit is contained in:
5
run_in_docker.sh
Executable file
5
run_in_docker.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
# cnmon
|
||||
image=text2video:v0.1
|
||||
device_id=0
|
||||
docker run -v `pwd`:/workspace -v /mnt:/mnt --device=/dev/cambricon_dev$device_id:/dev/cambricon_dev0 --device=/dev/cambricon_ctl:/dev/cambricon_ctl $image ./test.sh
|
||||
Reference in New Issue
Block a user