Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
Signed-off-by: yelias <[email protected]>
  • Loading branch information
yelias committed Sep 25, 2024
1 parent 4777e29 commit e802a4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/tensorflow/dist-mnist/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

FROM tensorflow/tensorflow:2.17.0

# Using keras-2.17 because of bug on keras-3.4.1 which used by default by TF-2.17
# Using keras-2.17 because of bug on keras-3.4.1
# which used by default by TF-2.17 (https://github.com/tensorflow/tensorflow/issues/72388)
ENV TF_USE_LEGACY_KERAS 1
RUN pip install tf_keras

Expand Down
2 changes: 1 addition & 1 deletion examples/tensorflow/mnist_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_data(fake_data=False, data_path=None, repeat=False):
Loads the MNIST dataset and converts it into TensorFlow datasets.
Args:
fake_data (bool): If `True`, loads a fake dataset for testing purposes.
fake_data (bool, optional): If `True`, loads a fake dataset for testing purposes.
If `False`, loads the real MNIST dataset.
data_path (str, optional): Path where to cache the dataset locally.
If `None`, the dataset is loaded to the default location.
Expand Down

0 comments on commit e802a4f

Please sign in to comment.