docs icon indicating copy to clipboard operation
docs copied to clipboard

Change to follow the change of Keras v3.5.0

Open jaesuk opened this issue 10 months ago • 3 comments

Description

Keras has introduced a new way of what/how get_file() returns since v3.5.0 with this commit. Therefore, the tutorial is not working anymore with the latest TensorFlow with the affected Keras, for instance, TensorFlow v2.18.0 and Keras v3.8.0 are currently installed in Colab and it failed to get the data file as in the screenshot below. Screenshot 2025-02-10 at 7 17 33 PM It could be dealt with in the better way to consider the older versions, though, it's a bit off-track from the tutorial's purpose itself. So, this PR starts from the shortest version.

Please feel free to correct me. I'm usually making a mistake. Thank you! :D

References

  • https://github.com/keras-team/keras/compare/v3.5.0...master
  • https://github.com/keras-team/keras/commit/dcefb139863505d166dd1325066f329b3033d45a

jaesuk avatar Feb 10 '25 15:02 jaesuk

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin patch/change-to-follow-the-change-of-keras-v3.5.0

github-actions[bot] avatar Feb 10 '25 15:02 github-actions[bot]

@MarkDaoust @markmcd PTAL

8bitmp3 avatar Feb 10 '25 16:02 8bitmp3

Dear @8bitmp3 @MarkDaoust @markmcd , Please feel free to close this PR if you have another plan, or let me know if you want me to close this. ;) Thank you.

jaesuk avatar May 23 '25 04:05 jaesuk