Ok, thanks, I run the older container.
Still I don’t get how to launch tao commands inside the container. When I try to launch “tao model detectnet_v2 dataset_convert“ inside the container, it gives me the error:
bash: tao: command not found
If I explicitly install tao 5.0.0 by “pip3 install nvidia-tao==5.0.0“ inside the container and then launch “tao model detectnet_v2 dataset_convert“, it raises the following error:
root@2a0fab6776ec:/workspace/tao-experiments# tao model detectnet_v2 dataset_convert -d specs/detectnet_v2_tfrecords_kitti_trainval.txt -o data/tfrecords/kitti_trainval/kitti_trainval -r $USER_EXPERIMENT_DIR/
~/.tao_mounts.json wasn't found. Falling back to obtain mount points and docker configs from ~/.tao_mounts.json.
Please note that this will be deprecated going forward.
Traceback (most recent call last):
File "/usr/local/bin/tao", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_cli/entrypoint/tao_launcher.py", line 134, in main
instance.launch_command(
File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_cli/components/instance_handler/local_instance.py", line 356, in launch_command
docker_logged_in(required_registry=task_map[task].docker_registry)
File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_cli/components/instance_handler/utils.py", line 151, in docker_logged_in
data = load_config_file(docker_config)
File "/usr/local/lib/python3.8/dist-packages/nvidia_tao_cli/components/instance_handler/utils.py", line 84, in load_config_file
assert os.path.exists(config_path), (
AssertionError: Config path must be a valid unix path. No file found at: /root/.docker/config.json. Did you run docker login?