Tlt detectnet_v2 dataset_convert FileNotFoundError: [Errno 2] No such file or directory:

FileNotFoundError: [Errno 2] No such file or directory:

When I install TLT locally,
I execute the command
tlt detectnet_v2 dataset_convert
-d /home/xiaofu/tlt-experiments/face-mask-detection-local/tlt_specs/detectnet_v2_tfrecords_kitti_trainval.txt
-o /home/xiaofu/tlt-experiments/dataset-local/tfrecords/kitti_trainval
but always prompt
Using TensorFlow backend.
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
Using TensorFlow backend.
Traceback (most recent call last):
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/detectnet_v2/scripts/dataset_convert.py”, line 90, in
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/detectnet_v2/scripts/dataset_convert.py”, line 82, in main
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/xiaofu/tlt-experiments/face-mask-detection-local/tlt_specs/detectnet_v2_tfrecords_kitti_trainval.txt’
Traceback (most recent call last):
File “/usr/local/bin/detectnet_v2”, line 8, in
sys.exit(main())
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/detectnet_v2/entrypoint/detectnet_v2.py”, line 12, in main
File “/home/vpraveen/.cache/dazel/_dazel_vpraveen/216c8b41e526c3295d3b802489ac2034/execroot/ai_infra/bazel-out/k8-fastbuild/bin/magnet/packages/iva/build_wheel.runfiles/ai_infra/iva/common/entrypoint/entrypoint.py”, line 296, in launch_job
AssertionError: Process run failed.
2021-05-24 13:59:34,196 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.

in fact the path ‘/home/xiaofu/tlt-experiments/face-mask-detection-local/tlt_specs/detectnet_v2_tfrecords_kitti_trainval.txt’ is Existing

1 Like

I’ve just ran into the same problem, did you manage to solve it?

Same problem over here, any news on this?

Moving into Transfer Learning Toolkit forum for resolution.

@njfuwxf @carolinainmymind

Please run below to check if the path is available.
$ tlt detectnet_v2 run ls /workspace/tlt-experiments/detectnet_v2/specs/detectnet_v2_tfrecords_kitti_trainval.txt

If not, there should be something wrong in your ~/.tlt_mounts.json file.
You can login the docker and narrow down and debug.
$ tlt detectnet_v2
# ls /workspace/tlt-experiments/detectnet_v2/specs/detectnet_v2_tfrecords_kitti_trainval.txt

See TLT 3 error running detectnet_v2 dataset_convert for reference too.

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