Closed MarkDaoust closed 4 years ago
These changes ensure notebooks continue to work smoothly.
It's hard to review large notebook changes.
Here is a human-readable diff created by converting both branches to markdown:
find . -type f -name "*.ipynb" -exec jupyter nbconvert --to markdown {} \; find . -type f -not -path '*/\.*' -name "*.md" -exec sed -i "s/\`\`\`python/\`\`\`/g" {} \; find . -type f -name "*.ipynb" -exec rm {} \;
And then pulling the changes onto the master side with:
find . -type f -not -path '*/\.*' -name "*.md" -exec git checkout from_branch -- {} \;
Fixed broken visualization in Course 1 - Part 8 - Lesson 4 - Notebook.ipynb [5a106085fad6aff34be3e03ae79f44c7296f9ca2]
tf.train.AdamOptimizer
tf.optimizers.Adam
fit_generator
fit
tf.enable_eager_execution()
pip install tensorflow=2.0.0b
pip install tensorflow-gpu
nbfmt.py
Ran: https://github.com/tensorflow/docs/blob/master/tools/nbfmt.py on all notebooks.
Colab is switching to TF2 as default.
These changes ensure notebooks continue to work smoothly.
Human readable diff
It's hard to review large notebook changes.
Here is a human-readable diff created by converting both branches to markdown:
And then pulling the changes onto the master side with:
Changes
Manual fixes:
Fixed broken visualization in Course 1 - Part 8 - Lesson 4 - Notebook.ipynb [5a106085fad6aff34be3e03ae79f44c7296f9ca2]
Replace:
tf.train.AdamOptimizer
=>tf.optimizers.Adam
fit_generator
=>fit
tf.enable_eager_execution()
=> ``pip install tensorflow=2.0.0b
=> ``pip install tensorflow-gpu
=> ``nbfmt.py
Ran: https://github.com/tensorflow/docs/blob/master/tools/nbfmt.py on all notebooks.