[skip ci] Update MNIST_on_TPU.ipynb#2252
Merged
vfdev-5 merged 3 commits intopytorch:masterfrom Oct 14, 2021
Merged
Conversation
Collaborator
|
Looks good ! Thanks @FarehaNousheen Notebook can be checked here: |
Collaborator
|
@FarehaNousheen could you please also add missing f-strings: pbar.log_message(
- "Training Results - Epoch: {engine.state.epoch} Avg accuracy: {avg_accuracy:.2f} Avg loss: {avg_nll:.2f}"
+ f"Training Results - Epoch: {engine.state.epoch} Avg accuracy: {avg_accuracy:.2f} Avg loss: {avg_nll:.2f}"
)and print(
- "Validation Results - Epoch: {engine.state.epoch} Avg accuracy: {avg_accuracy:.2f} Avg loss: {avg_nll:.2f}"
+ f"Validation Results - Epoch: {engine.state.epoch} Avg accuracy: {avg_accuracy:.2f} Avg loss: {avg_nll:.2f}"
) |
Contributor
Author
Contributor
|
Hi @FarehaNousheen thanks for the changes. |
Contributor
Author
|
ok, doing it now. Actually, after committing the changes some error
occurred. Checking it now.
…On Fri, Oct 8, 2021 at 12:58 AM Ishan Kumar ***@***.***> wrote:
Hi @FarehaNousheen <https://github.com/FarehaNousheen> thanks for the
changes.
I think your latest commit has messed up the notebook JSON format. I am
not able to open it here and locally.
It might have been caused due to making edits in the raw format, to fix it
you can remove the changes in the last commit and then update the text
after opening as a Jupyter notebook.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2252 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVNZ23U2W4MWGDOJIHI74TDUFXYEFANCNFSM5FPMZUBA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
[image: photo]
Fareha Nousheen
M 9049800892 <+9049800892>
E ***@***.*** ***@***.***>
W www.hubsab.com <http://+www.hubsab.com>
<http://www.facebook.com/fareha.nousheen>
<http://www.linkedin.com/in/fareha-nousheen-913132170/>
<http://twitter.com/FarehaNousheen> <http://www.instagram.com/hubsab_2018/>
Create your own email signature
<https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own>
|
d535935 to
03ec7c2
Compare
vfdev-5
approved these changes
Oct 14, 2021
Collaborator
vfdev-5
left a comment
There was a problem hiding this comment.
Thanks @FarehaNousheen !
Contributor
Author
|
The notebook is checked on google collab. Sharing the link below for further step. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2239
Description: Update Install links for PyTorch XLA in MNIST TPU
Check list: