loading saved keras model from gs to pydatalab

前端 未结 4 1460
情话喂你
情话喂你 2021-01-15 03:05

My keras model is saved in google storage with model.save(model_name)

I cannot load the model on pydatalab. When I save the model on my local machine, I can just ope

4条回答
  •  春和景丽
    2021-01-15 03:58

    I don't think Keras supports the TensorFlow file system which in turn knows how to read from GCS.

    You could try downloading from GCS to a local path, and then reading from that to load the model.

提交回复
热议问题