Tao tool training error permission problem

• Hardware ubuntu18.04(x86)–1070ti
• Network Type Classification resnet18
• TLT Version toolkit_version: 3.21.08

Configuration of the TAO Toolkit Instance
dockers: [‘nvidia/tao/tao-toolkit-tf’, ‘nvidia/tao/tao-toolkit-pyt’, ‘nvidia/tao/tao-toolkit-lm’]
format_version: 1.0
toolkit_version: 3.21.08
published_date: 08/17/2021

When using the tao tool, it prompts insufficient permissions to create a weighted folder

tao classification train -e /home/ncp/tao/cv_samples_v1.2.0/classification/specs/classification_spec.cfg -r ./ -k nvidia_tlt

Traceback (most recent call last):
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/makenet/scripts/train.py”, line 500, in
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/common/utils.py”, line 494, in return_func
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/common/utils.py”, line 482, in return_func
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/makenet/scripts/train.py”, line 495, in main
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/makenet/scripts/train.py”, line 451, in run_experiment
File “/root/.cache/bazel/_bazel_root/ed34e6d125608f91724fda23656f1726/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/makenet/scripts/train.py”, line 131, in setup_callbacks
PermissionError: [Errno 13] Permission denied: ‘./weights/’
2021-12-03 22:34:05,916 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.

I think I can use it, but I can use it the last time I used the -R parameter.

Can you share your ~/.tao_mounts.json ?
Actually you can change to another result folder. Suggest using the folder mentioned in the tao_mounts.json.

1 Like

Thank you! I have learned it, but I would like to ask about the two demonstrations of multi-task classification and classification, can classification be multi-classified tasks? Or is it possible to use multi-task classification alone to train multi-classification

Yes. See multi-classification section in the user guide.

More, you can also download jupyter notebook to study.

If I only use the classification demonstration, can I complete 40 classifications?

Because I looked at the multi task classification, it seems that it takes a lot of time to mark the file in CSV format

Yes. From jupyter notebook, you can find that it will train a classification model against Pascal VOC dataset(20 classes)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.