Skip to content

Commit

Permalink
Remove type remark from readme, the assertion alone should suffice an…
Browse files Browse the repository at this point in the history
…d is more DRY
  • Loading branch information
Dobiasd committed Mar 18, 2024
1 parent ba14eb0 commit 50f7e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Would you like to build/train a model using Keras/Python? And would you like to
Usage
-----

1) Use Keras/Python to build (`model.compile(...)`), train (`model.fit(...)`) and test (`model.evaluate(...)`) your model as usual. Then save it to a single file using `model.save('....keras')`. The `image_data_format` in your model must be `channels_last`, which is the default when using the TensorFlow backend. Models created with a different `image_data_format` and other backends are not supported. The model must be of type `tensorflow.keras.models.Model`.
1) Use Keras/Python to build (`model.compile(...)`), train (`model.fit(...)`) and test (`model.evaluate(...)`) your model as usual. Then save it to a single file using `model.save('....keras')`. The `image_data_format` in your model must be `channels_last`, which is the default when using the TensorFlow backend. Models created with a different `image_data_format` and other backends are not supported.

2) Now convert it to the frugally-deep file format with `keras_export/convert_model.py`

Expand Down

0 comments on commit 50f7e6d

Please sign in to comment.