Please provide the following information when requesting support.
• Hardware (T4/V100/Xavier/Nano/etc) : x86_64 GPU machine
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc) : Detectnet_v2
• TLT Version (Please run “tlt info --verbose” and share “docker_tag” here)
• Training spec file(If have, please share here)
• How to reproduce the issue ? (This is for errors. Please share the command line and the detailed log here.)
I’m getting ValueError: Invalid infer image root error while doing inferencing with tao tarined model.
You can run below in terminal to check if it is available.
method1:
$ tao detectnet_v2 run ls /home/soundarrajan/detectnet_v2/inference/input/train_people.jpg
method2:
$ tao detectnet_v2 run /bin/bash
then # ls /home/soundarrajan/detectnet_v2/inference/input/train_people.jpg
Output for command: tao detectnet_v2 run ls /home/soundarrajan/detectnet_v2/inference/input/train_people.jpg
2022-06-08 07:59:12,026 [INFO] root: Registry: ['nvcr.io']
2022-06-08 07:59:12,118 [INFO] tlt.components.instance_handler.local_instance: Running command in container: nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.4-py3
ls: cannot access '/home/soundarrajan/detectnet_v2/inference/input/train_people.jpg': No such file or directory
2022-06-08 07:59:12,867 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.
Output for command: tao detectnet_v2 run /bin/bash
2022-06-08 08:00:47,147 [INFO] root: Registry: ['nvcr.io']
2022-06-08 08:00:47,236 [INFO] tlt.components.instance_handler.local_instance: Running command in container: nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.4-py3
groups: cannot find name for group ID 1015
I have no name!@512af6943bff:/workspace$ ls /home/soundarrajan/detectnet_v2/inference/input/train_people.jpg
ls: cannot access '/home/soundarrajan/detectnet_v2/inference/input/train_people.jpg': No such file or directory
Inferencing is happening now… Bounding box also fine but is there any way that to get label the predicted image? Not the KITTI dump i want the predicted label in the annotated image it self.
For detectnet_v2, there are only annotated images and their output labels. If you want to put the label into the images, please try to write scripts to do that based on the bbox coordinates.