See below log, I cannot reproduce error.
(venv_3.0) morganh@dl:~/venv_3.0$ python
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
>>>
import os
>>>
os.system(“/home/morganh/venv_3.0/bin/tlt --help”)
usage: tlt [-h]
{list,stop,info,augment,classification,detectnet_v2,dssd,emotionnet,faster_rcnn,fpenet,gazenet,gesturenet,heartratenet,intent_slot_classification,lprnet,mask_rcnn,punctuation_and_capitalization,question_answering,retinanet,speech_to_text,ssd,text_classification,tlt-converter,token_classification,unet,yolo_v3,yolo_v4}
…
Launcher for TLT
optional arguments:
-h, --help show this help message and exit
tasks:
{list,stop,info,augment,classification,detectnet_v2,dssd,emotionnet,faster_rcnn,fpenet,gazenet,gesturenet,heartratenet,intent_slot_classification,lprnet,mask_rcnn,punctuation_and_capitalization,question_answering,retinanet,speech_to_text,ssd,text_classification,tlt-converter,token_classification,unet,yolo_v3,yolo_v4}
0
>>>
os.system(“/home/morganh/venv_3.0/bin/tlt detectnet_v2 --help”)
2021-05-09 16:01:00,697 [WARNING] tlt.components.docker_handler.docker_handler:
Docker will run the commands as root. If you would like to retain your
local host permissions, please add the “user”:“UID:GID” in the
DockerOptions portion of the ~/.tlt_mounts.json file. You can obtain your
users UID and GID by using the “id -u” and “id -g” commands on the
terminal.
Using TensorFlow backend.
usage: detectnet_v2 [-h] [–gpus GPUS] [–gpu_index GPU_INDEX [GPU_INDEX …]]
[–use_amp] [–log_file LOG_FILE]
{calibration_tensorfile,dataset_convert,evaluate,export,inference,prune,train}
…
Transfer Learning Toolkit
optional arguments:
-h, --help show this help message and exit
–gpus GPUS The number of GPUs to be used for the job.
–gpu_index GPU_INDEX [GPU_INDEX …]
The indices of the GPU’s to be used.
–use_amp Flag to enable Auto Mixed Precision.
–log_file LOG_FILE Path to the output log file.
tasks:
{calibration_tensorfile,dataset_convert,evaluate,export,inference,prune,train}
2021-05-09 16:01:09,098 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.
0