Please I got this error when trying to run this command:
os.system (“/ home / sylia / .local / bin / tlt detectnet_v2 dataset_convert -d configData -o kittiTrain”)
2021-04-07 10:44:55,411 [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.
the input device is not a TTY
2021-04-07 10:44:55,921 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.
When I run this command: " tlt detectnet_v2 dataset_convert -d /configData/configData.json -o kittiTrain "
it can’t find my configuration file !
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-x1yfd27m because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Using TensorFlow backend.
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
Using TensorFlow backend.
Traceback (most recent call last):
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/detectnet_v2/scripts/dataset_convert.py”, line 90, in
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/detectnet_v2/scripts/dataset_convert.py”, line 82, in main
FileNotFoundError: [Errno 2] No such file or directory: ‘/configData/configData.json’
As I mentioned, the easier way for you to debug is to login the docker.
$ docker run --runtime=nvidia -it nvcr.io/nvidia/tlt-streamanalytics:v3.0-dp-py3 /bin/bash
Then # ls /workspace/tlt-experiments
The content should be the content of /home/sylia/antt.
Because you map your local /home/sylia/antt to /workspace/tlt-experiments.
I am afraid your -d /configData/configData.json is not correct.
but when I type tlt -h in “root @ 650211afabc3:/workspace/tlt_experiments#”
tlt: command not found
knowing that the bash the command exists
I do not understand when you said must debug with docker? please
Thank you for your answers
One last question please, why when we shut down the pc we lose the docker image and we have to redo all the manipulation? docker pull image …
is there another way to keep the image?
No, if you install tlt launcher correctly, the tlt command should be available even you reboot your PC.
If not, you can try to activate it.
$ source your_venv_folder/bin/activate