google-cloud-tpu

TPU local Filesystem doesn't exist?

主宰稳场 提交于 2019-12-02 04:57:31
问题 I wrote a NN model that analyze an image and extract 8 floating numbers at the end. The model is working fine (but slowly) on my computer so I try it on the TPU cloud and there BAM! I have an error: I1008 12:58:47.077905 140221679261440 tf_logging.py:115] Error recorded from training_loop: File system scheme '[local]' not implemented (file: '/home/gcloud_iba/Data/CGTR/model/GA_subset/model.ckpt-0_temp_e840841d93124a67b54074b1c0fd7ae4') [[{{node save/SaveV2}} = SaveV2[dtypes=[DT_FLOAT, DT

ValueError: Operation u'tpu_140462710602256/VarIsInitializedOp' has been marked as not fetchable

我的未来我决定 提交于 2019-12-01 21:43:00
The code works fine on GPU and CPU.But when I use keras_to_tpu_model function to make the model able to run on TPU, the error occurred. This is the full output on colab: https://colab.research.google.com/gist/WangHexie/2252beb26f16354cb6e9ba2639970e5b/tpu-error.ipynb Change runtype to TPU,I think this can be reproduced. Code on github: https://github.com/WangHexie/DHNE/blob/master/src/hypergraph_embedding.py#L60 You can test the code on GPU by changing to the gpu branch. Traceback Traceback (most recent call last): File "src/hypergraph_embedding.py", line 158, in <module> h.train(dataset) File