Please provide the following information when requesting support.
• Hardware (NVIDIA Quadro)
• Network Type (Faster_rcnn)
• TAO Version
Configuration of the TAO Toolkit Instance
dockers: [‘nvidia/tao/tao-toolkit-tf’, ‘nvidia/tao/tao-toolkit-pyt’, ‘nvidia/tao/tao-toolkit-lm’]
format_version: 2.0
toolkit_version: 3.21.11
published_date: 11/08/2021
Variables Assignment:
import os
print(“Please replace the variables with your own.”)
%env GPU_INDEX=0
%env KEY=tlt
Please define this local project directory that needs to be mapped to the TAO docker session.
%env LOCAL_PROJECT_DIR=/home/umair/tao-experiments
os.environ[“LOCAL_DATA_DIR”] = os.path.join(
os.getenv(“LOCAL_PROJECT_DIR”, os.getcwd()),
“data”
)
os.environ[“LOCAL_EXPERIMENT_DIR”] = os.path.join(
os.getenv(“LOCAL_PROJECT_DIR”, os.getcwd()),
“faster_rcnn”
)
%env USER_EXPERIMENT_DIR=/workspace/tao-experiments/faster_rcnn
%env DATA_DOWNLOAD_DIR=/workspace/tao-experiments/data
The sample spec files are present in the same path as the downloaded samples.
Set this path if you don’t run the notebook from the samples directory.
%env NOTEBOOK_ROOT=~/tao-samples/faster_rcnn
os.environ[“LOCAL_SPECS_DIR”] = os.path.join(
os.getenv(“NOTEBOOK_ROOT”, os.getcwd()),
“specs”
)
%env SPECS_DIR=/workspace/tao-experiments/faster_rcnn/specs
Showing list of specification files.
!ls -rlt $LOCAL_SPECS_DIR
tao mount output:
{
“Mounts”: [
{
“source”: “/home/umair/tao-experiments”,
“destination”: “/workspace/tao-experiments”
},
{
“source”: “/home/umair/cv_samples/faster_rcnn/specs”,
“destination”: “/workspace/tao-experiments/faster_rcnn/specs”
}
],
“Envs”: [
{
“variable”: “CUDA_VISIBLE_DEVICES”,
“value”: “0”
}
]
}
The Problem:
Every things seems to be working fine, but when i try to use tao faster_rcnn convert script to generate tf records, it generates nothing. I am frustated, since there is no error but again no output as well. I checked the paths several times but no luck. Any help in this regards?
my labels are in following format
plastic_bag 0 0 0.0 106.0 98.0 353.0 0 0 0 0 0 0 0 0
plastic_bag 0 0 23.0 360.0 163.0 478.0 0 0 0 0 0 0 0 0