Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect video error #26

Open
finnthenerferyt opened this issue Jun 2, 2021 · 0 comments
Open

Detect video error #26

finnthenerferyt opened this issue Jun 2, 2021 · 0 comments

Comments

@finnthenerferyt
Copy link

ive ran everything correctly and it worked for awhile. then, this happened....

Traceback (most recent call last):
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\tensorflow_core\python\training\py_checkpoint_reader.py", line 95, in NewCheckpointReader
    return CheckpointReader(compat.as_bytes(filepattern))
RuntimeError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ./weights/yolov3.tf

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "detect_video.py", line 94, in <module>
    app.run(main)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\absl\app.py", line 303, in run
    _run_main(main, args)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\absl\app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "detect_video.py", line 35, in main
    yolo.load_weights(FLAGS.weights)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 234, in load_weights
    return super(Model, self).load_weights(filepath, by_name, skip_mismatch)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\tensorflow_core\python\keras\engine\network.py", line 1187, in load_weights
    py_checkpoint_reader.NewCheckpointReader(filepath)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\tensorflow_core\python\training\py_checkpoint_reader.py", line 99, in NewCheckpointReader
    error_translator(e)
  File "C:\Users\finnx\anaconda3\envs\yolov3-gpu\lib\site-packages\tensorflow_core\python\training\py_checkpoint_reader.py", line 35, in error_translator
    raise errors_impl.NotFoundError(None, None, error_message)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ./weights/yolov3.tf

PLEASE HELP!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant