mystic123 / tensorflow-yolo-v3

Implementation of YOLO v3 object detector in Tensorflow (TF-Slim)
https://medium.com/@pawekapica_31302/implementing-yolo-v3-in-tensorflow-tf-slim-c3c55ff59dbe
Apache License 2.0
893 stars 353 forks source link

tensorflow.python.framework.errors_impl.NotFoundError: ./saved_model; No such file or directory #69

Open hakS07 opened 5 years ago

hakS07 commented 5 years ago

python3 demo.py --weights_file yolov3.weights --class_names coco.names --input_img dog.jpg --output_img ./out.jpg

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:

WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version. Instructions for updating: Colocations handled automatically by placer. 2019-03-25 15:17:26.806173: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-03-25 15:17:27.026559: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2712000000 Hz 2019-03-25 15:17:27.036884: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x2f71a70 executing computations on platform Host. Devices: 2019-03-25 15:17:27.037002: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): , WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version. Instructions for updating: Use standard file APIs to check for files with this prefix. Traceback (most recent call last): File "demo.py", line 104, in tf.app.run() File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "demo.py", line 86, in main saver.restore(sess, FLAGS.ckpt_file) File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1266, in restore if not checkpoint_management.checkpoint_exists(compat.as_text(save_path)): File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 324, in new_func return func(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/checkpoint_management.py", line 372, in checkpoint_exists if file_io.get_matching_files(pathname): File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/io/file_io.py", line 361, in get_matching_files return get_matching_files_v2(filename) File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/io/file_io.py", line 389, in get_matching_files_v2 for single_filename in pattern File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: ./saved_model; No such file or directory Capture du 2019-03-25 15-20-29

Any help??