如何使用Google Cloud TPU训练keras模型 [英] How to train keras model using Google Cloud TPU

查看:76
本文介绍了如何使用Google Cloud TPU训练keras模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从理论上讲,我们能够在任何支持Tensorflow的平台上训练Tensorflow支持的 Keras模型.但是,我似乎无法在Google文档 https://cloud .google.com/tpu/docs/.

Theoretically, we are able to train Tensorflow backed Keras model on any platform that supports Tensorflow. However, I can't seem to find any info on how to do it in Google's documentation https://cloud.google.com/tpu/docs/.

推荐答案

我们在TPU存储库中有一个示例: https://github.com/tensorflow/tpu/blob/master/models/experimental/cifar_keras/cifar_keras.py

We have an example in the TPU repository here: https://github.com/tensorflow/tpu/blob/master/models/experimental/cifar_keras/cifar_keras.py

这篇关于如何使用Google Cloud TPU训练keras模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆