Open
Conversation
… TPU is present in the Colab environment)
taomanwai
reviewed
Dec 10, 2018
Owner
taomanwai
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
But when I tried, error "No OpKernel was registered to support Op 'ConfigureDistributedTPU' with these attrs" occurs!
Do u know why? Or do u have full set of testing code which works? So that i can debug too!
To avoid the "No OpKernel was registered to support Op 'ConfigureDistributedTPU' with these attrs"
To avoid the "No OpKernel was registered to support Op 'ConfigureDistributedTPU' with these attrs"
Author
|
I think this TPU error has nothing to do with my modifications. In my experience it can be due to compatibility issues between the installed Tensorflow and Keras versions. A solution is to import the Keras pieces from tensorflow.python.keras . I have modified it accordingly, could you give it a try? |
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.
TensorBoard startup is extended with TPU profiling option (in case of TPU is present in the Colab environment)
See: https://cloud.google.com/tpu/docs/cloud-tpu-tools