|
|
@@ -17,7 +17,7 @@ while True:
|
|
17
|
17
|
tmp_recent = str(root_path) + str(recent_file[0])
|
|
18
|
18
|
if target_dir != tmp_recent:
|
|
19
|
19
|
time.sleep(5)
|
|
20
|
|
- command = 'docker run --rm --name mail_recorder --gpus 1 --privileged -v /dev:/dev -v /home/mc365/sources:/sources -v /home/mc365/data/'+str(recent_file[0])+':/data/'+str(recent_file[0])+' stereolabs/zed:3.5-gl-devel-cuda11.1-ubuntu18.04 python3 /sources/recorder.py.bak'
|
|
|
20
|
+ command = 'docker run --rm --name mail_recorder --gpus '"device=1"' -v /dev:/dev -v /home/mc365/sources:/sources -v /home/mc365/data/'+str(recent_file[0])+':/data/'+str(recent_file[0])+' stereolabs/zed:3.5-gl-devel-cuda11.1-ubuntu18.04 python3 /sources/recorder.py.bak'
|
|
21
|
21
|
os.system(str(command))
|
|
22
|
22
|
target_dir = str(root_path) + str(recent_file[0])
|
|
23
|
23
|
|