Skip to content

Clarify multi_worker_with_keras.ipynb example code (#1) #2002

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

Merged
merged 6 commits into from
Feb 4, 2022

Conversation

nhansendev
Copy link
Contributor

Suggesting that the "mnist.py" file be renamed to something else like "mnist_setup.py" since the resulting "import mnist" is confusingly in conflict with the mnist package. This threw me off until I re-read the instructions, since I had placed the code in one file which resulted in errors executing mnist.mnist_dataset and mnist.build_and_compile_cnn_model.

Suggesting that the "mnist.py" file be renamed to something else like "mnist_setup.py" since the resulting "import mnist" is confusingly in conflict with the mnist package. This threw me off until I re-read the instructions, since I had placed the code in one file which resulted in errors executing mnist.mnist_dataset and mnist.build_and_compile_cnn_model.
MarkDaoust
MarkDaoust previously approved these changes Jan 27, 2022
Copy link
Member

@MarkDaoust MarkDaoust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a reasonable change, I'm just not sure which "mnist" package are you talking about.

@github-actions github-actions bot added the lgtm Community-added approval label Jan 27, 2022
@nhansendev
Copy link
Contributor Author

The mnist package could be either:
pip install python-mnist
or
pip install mnist
Both are imported as "import mnist" like the tutorial file

@MarkDaoust
Copy link
Member

LGTM, Thanks!

8bitmp3
8bitmp3 previously approved these changes Feb 3, 2022
@8bitmp3 8bitmp3 added the ready to pull Start merge process label Feb 3, 2022
@copybara-service copybara-service bot merged commit a1c5b3c into tensorflow:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Community-added approval ready to pull Start merge process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants