TrafficLight_Detection-TensorFlowAPI icon indicating copy to clipboard operation
TrafficLight_Detection-TensorFlowAPI copied to clipboard

tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory

Open TramBao2000 opened this issue 3 years ago • 0 comments

2022-04-07 04:07:56.723705: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected WARNING:tensorflow:There are non-GPU devices in tf.distribute.Strategy, not using nccl allreduce. W0407 04:07:56.725668 140696386463616 cross_device_ops.py:1387] There are non-GPU devices in tf.distribute.Strategy, not using nccl allreduce. INFO:tensorflow:Using MirroredStrategy with devices ('/job:localhost/replica:0/task:0/device:CPU:0',) I0407 04:07:56.726938 140696386463616 mirrored_strategy.py:376] Using MirroredStrategy with devices ('/job:localhost/replica:0/task:0/device:CPU:0',) Traceback (most recent call last): File "object_detection/model_main_tf2.py", line 113, in tf.compat.v1.app.run() File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 312, in run _run_main(main, args) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 258, in _run_main sys.exit(main(argv)) File "object_detection/model_main_tf2.py", line 110, in main record_summaries=FLAGS.record_summaries) File "/content/drive/MyDrive/Colab Notebooks/sohoa_cmnd_text/models/research/object_detection/model_lib_v2.py", line 488, in train_loop pipeline_config_path, config_override=config_override) File "/content/drive/MyDrive/Colab Notebooks/sohoa_cmnd_text/models/research/object_detection/utils/config_util.py", line 138, in get_configs_from_pipeline_file proto_str = f.read() File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 118, in read self._preread_check() File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 81, in _preread_check compat.path_to_str(self.__name), 1024 * 512) tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory

i run command : python ./object_detection/model_main_tf2.py --model_dir=$MODEL_DIR --pipeline_config_path=$PIPELINE_CONFIG_PATH i have try but no success . please help me

TramBao2000 avatar Apr 07 '22 04:04 TramBao2000