tensorflow / cloud

The TensorFlow Cloud repository provides APIs that will allow to easily go from debugging and training your Keras and TensorFlow code in a local environment to distributed training in the cloud.
https://github.com/tensorflow/cloud
Apache License 2.0
370 stars 84 forks source link

List index error while _get_colab_notebook_content() #389

Closed BenK3nobi closed 1 year ago

BenK3nobi commented 1 year ago

Hello, I am trying to run cloud tuning. Everything works fine but when I use either a prepared example or my own code I get a list index out of range error.

The error stack is: errorstack

If I got it correctly the method collects all the source code, but when it gets to the cell where it is executed, the source field in the corresponding dictionary is empty? Which is already sufficient to give an index error. Are there any suggestions on how to fix that?

BenK3nobi commented 1 year ago

Apparently I just need to rant publicly about something to find the culprit: There was a mistake in the tuner defnition, such that it somehow didn't find the tuner definition and therefore took empty cells into account? Anyway, this is not an issue anymore.