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

[BUG]: 'keras.md' code refers erroneously to downloaded model file #370

Open
mdkeydama23 opened this issue Feb 25, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mdkeydama23
Copy link

Describe the bug
The current 'keras.md' code references the model file as 'keras_Model.h5', whereas the actual model file created and downloaded is named 'keras_model.h5'. This inconsistency is causing a runtime error in the program.

To Reproduce
Steps to reproduce the behavior:

  1. Train model
  2. Click on Export model
  3. Navigate to 'Tensorflow'
  4. Download model
  5. Copy keras code snippet to local editor
  6. Run code
  7. Observe the runtime error

Relevant Links
Link to code to reproduce bug: https://github.com/googlecreativelab/teachablemachine-community/blob/master/snippets/markdown/image/tensorflow/keras.md

Expected behavior
The code should reference the model file as 'keras_model.h5' to match the actual filename, thus avoiding runtime errors.

Screenshots
code_snippet(keras md)_screenshot

downloaded_model_name_screenshot

Additional context
The inconsistency between the referenced model file name and the actual file name is causing confusion among users and resulting in runtime errors. Updating the code to accurately reflect the filename will resolve this issue.

@mdkeydama23 mdkeydama23 added the bug Something isn't working label Feb 25, 2024
@mdkeydama23 mdkeydama23 changed the title [BUG]: Title [BUG]: 'keras.md' code refers erroneously to downloaded model file Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant