I am new to NVIDIA TAO toolkit. I am trying to run object detection using TAO Grounding DINO sample notebook in GCP VM having ubuntu 22.04 and NVIDIA Tesla T4 GPU. When I try to run following command it raised an error. There were no any output file at annotations folder after running that. How to resolve that? Need a help.
# Convert COCO to ODVG format required for Grounding DINO
!tao dataset annotations convert \
-e $SPECS_DIR/convert.yaml \
coco.ann_file=$DATA_DIR/HardHatWorkers/raw/train/annotations_without_background.json \
results_dir=$DATA_DIR/odvg/annotations/
2025-07-25 05:32:48,545 [TAO Toolkit] [INFO] root 160: Registry: [‘nvcr.io’]
2025-07-25 05:32:48,648 [TAO Toolkit] [INFO] nvidia_tao_cli.components.instance_handler.local_instance 360: Running command in container: nvcr.io/nvidia/tao/tao-toolkit:6.0.0-data-services
2025-07-25 05:32:48,668 [TAO Toolkit] [INFO] nvidia_tao_cli.components.docker_handler.docker_handler 308: Printing tty value True
[2025-07-25 05:32:57,882 - TAO Toolkit - matplotlib - WARNING] mkdir -p failed for path /.config/matplotlib: [Errno 13] Permission denied: ‘/.config’
[2025-07-25 05:32:57,883 - TAO Toolkit - matplotlib - WARNING] Matplotlib created a temporary cache directory at /tmp/matplotlib-3ld06x0z because there was an issue with the default path (/.config/matplotlib); 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.
[2025-07-25 05:32:58,238 - TAO Toolkit - matplotlib.font_manager - INFO] generated new fontManager
Traceback (most recent call last):
File “/usr/local/bin/annotations”, line 8, in
sys.exit(main())
^^^^^^
File “/usr/local/lib/python3.12/dist-packages/nvidia_tao_ds/annotations/entrypoint/annotations.py”, line 43, in main
launch(vars(args), unknown_args, subtasks, network=“annotations”)
File “/usr/local/lib/python3.12/dist-packages/nvidia_tao_ds/core/entrypoint/entrypoint.py”, line 171, in launch
num_gpus_available = str(subprocess.check_output([“nvidia-smi”, “-L”])).count(“UUID”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘nvidia-smi’, ‘-L’]’ returned non-zero exit status 255.
2025-07-25 05:33:03,848 [TAO Toolkit] [INFO] nvidia_tao_cli.components.docker_handler.docker_handler 371: Stopping container.