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

Runtime error when models cannot be pulled via LFS #2

Closed
ChristianCoenen opened this issue Mar 1, 2021 · 0 comments · Fixed by #4
Closed

Runtime error when models cannot be pulled via LFS #2

ChristianCoenen opened this issue Mar 1, 2021 · 0 comments · Fixed by #4
Assignees

Comments

@ChristianCoenen
Copy link
Member

I'm encountering a problem when cloning the Repository with overused LFS usage. While the program works with and without models, it crashes when the models are downloaded with a failed LFS pull. This is because git already creates the files without loading their content.
This issue acts as a reminder that we should investigate/talk about this problem.

Below the error message:

Traceback (most recent call last):
  File "/Users/christiancoenen/repos/Automation Idea/Twitch-Clip-Compilation-Creator/main.py", line 16, in <module>
    ch = ClipHandler(game, args.asset_path, args.output_path)
  File "/Users/christiancoenen/repos/Automation Idea/Twitch-Clip-Compilation-Creator/src/ClipHandler.py", line 37, in __init__
    self.model = tf.keras.models.load_model(model_file_path)
  File "/Users/christiancoenen/Library/Caches/pypoetry/virtualenvs/twitch-clip-compilation-creator-ZNWf-7Oc-py3.8/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py", line 211, in load_model
    loader_impl.parse_saved_model(filepath)
  File "/Users/christiancoenen/Library/Caches/pypoetry/virtualenvs/twitch-clip-compilation-creator-ZNWf-7Oc-py3.8/lib/python3.8/site-packages/tensorflow/python/saved_model/loader_impl.py", line 111, in parse_saved_model
    raise IOError("SavedModel file does not exist at: %s/{%s|%s}" %
OSError: SavedModel file does not exist at: assets/fortnite/game_detection.h5/{saved_model.pbtxt|saved_model.pb}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants