Google colab TPU bugged or I do something wrong?

646 Views Asked by At

Trying to port my dcgan to tpu. But this error:

Error recorded from training_loop: File system scheme '[local]' not implemented

Here is notebook https://colab.research.google.com/drive/101FjBAIMVuXyNyeUvq_Vfx-Z6CR3g4df

1

There are 1 best solutions below

3
On

The local filesystem is not available on Cloud TPU's. You can use Google Cloud Storage (GCS), like in this example. GCS is free up to 5GB a month.

Alternatively Keras models running on TPU's copy variables back to the CPU so they can be used without GCS for the model directory.