I can train tensorflow models on google cloud machine learning engine. But when I use Keras code, I get error No module named keras
on google cloud.
相关问题
- batch_dot with variable batch size in Keras
- Why do Dataflow steps not start?
- How to use Reshape keras layer with two None dimen
- __call__() missing 1 required positional argument:
- Why keras use “call” instead of __call__?
相关文章
- Tensorflow: device CUDA:0 not supported by XLA ser
- How do I create a persistent volume claim with Rea
- Change loss function dynamically during training i
- Why does this Keras model require over 6GB of memo
- How to measure overfitting when train and validati
- keras model subclassing examples
- How to disable keras warnings?
- GKE does not scale to/from 0 when autoscaling enab
I found out that in order to use keras on google cloud one has to install it with a setup.py script and put it on the same place folder where you run the gcloud command:
And in the setup.py you put content such as:
Then you can start your job running on gcloud such as:
To use GPU then add a file such as
cloudml-gpu.yaml
in your module with the following content: