Permission denied in TAO Toolkit Container

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc): Quadro RTX 4000
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc): Classification
• 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.)
When running the command !tao model classification_tf1 train -e $SPECS_DIR/classification_spec.cfg -r $USER_EXPERIMENT_DIR/output -k $KEY
I get the following error:

WARNING:tensorflow:From /usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py:407: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2025-04-24 18:56:28,247 [TAO Toolkit] [WARNING] tensorflow 137: From /usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py:407: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

Traceback (most recent call last):
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 668, in
main()
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/utils.py”, line 717, in return_func
raise e
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/common/utils.py”, line 705, in return_func
return func(*args, **kwargs)
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 664, in main
raise e
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 645, in main
run_experiment(config_path=args.experiment_spec_file,
File “/usr/local/lib/python3.8/dist-packages/nvidia_tao_tf1/cv/makenet/scripts/train.py”, line 420, in run_experiment
os.makedirs(results_dir)
File “/usr/lib/python3.8/os.py”, line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: ‘/cv_samples_v1.3.0/classification/workspace/tao-experiments/classification/output’
Execution status: FAIL
2025-04-24 12:56:32,679 [TAO Toolkit] [INFO] nvidia_tao_cli.components.docker_handler.docker_handler 363: Stopping container.

I’ve already given administrator privileges to the container I’m running, I’ve also given administrator privileges to the folder where the outputs are being generated, and it doesn’t solve the problem. Could you help me?

Please refer to Tao Training failing on creating directory on a standard example - #9 by Morganh to check if it helps.
More, cv_samples_v1.3.0 is very old notebooks. Please download the latest notebook.

It didn’t work, I keep getting an error when accessing the directory when training the model.

image

Este es mi archivo .json :

There is conflict in your setting. The easiest way is to set the same destination as the source. Please try to set as below.


{
    "Mounts": [
        {
            "source": "/REPOS/tao_tutorials",
            "destination": "/REPOS/tao_tutorials"
        }
    ]
}

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks.