简体   繁体   English

在GCP TPU上训练我的模型

[英]Train my model on GCP TPU

What architecture of program can run in TPU? TPU中可以运行什么程序架构?

Is it must to use tf.contrib.tpu.TPUEstimator ? 是否必须使用tf.contrib.tpu.TPUEstimator

Is there any tpu-program example for reference except the tensorflow official model? 除tensorflow官方模型外,是否有任何tpu程序示例可供参考?

Google Cloud TPUs uses TensorFlow [1] which supports Python, C++, Java, Go and Swift APIs [2]. Google Cloud TPU使用TensorFlow [1],它支持Python,C ++,Java,Go和Swift API [2]。 Here is the link to Google Cloud TPU System Architecture [1]. 这是Google Cloud TPU系统架构[1]的链接。 TPUEstimator handle low-level, hardware-specific details and it makes it easier to achieve maximum performance by applying performance optimizations automatically on your behalf [3]. TPUEstimator处理低级的,特定于硬件的详细信息,并且它可以代表您自动应用性能优化,从而更轻松地实现最高性能[3]。 Also, if you are using for neural network, then you should use TPUEstimator. 同样,如果您用于神经网络,则应使用TPUEstimator。 Here are some steps to convert from TensorFlow Estimator to TPUEstimator [4]. 以下是将TensorFlow估算器转换为TPUEstimator [4]的一些步骤。 Additional tutorials are located on Google Cloud TPU Tutorials page [5] and also on GitHub [6]. 其他教程位于Google Cloud TPU教程页面[5]和GitHub [6]上。

[1] https://cloud.google.com/tpu/docs/system-architecture [1] https://cloud.google.com/tpu/docs/system-architecture

[2] https://www.tensorflow.org/api_docs/ [2] https://www.tensorflow.org/api_docs/

[3] https://cloud.google.com/tpu/docs/using-estimator-api [3] https://cloud.google.com/tpu/docs/using-estimator-api

[4] https://cloud.google.com/tpu/docs/using-estimator-api#converting_from_tensorflow_estimator_to_tpuestimator [4] https://cloud.google.com/tpu/docs/using-estimator-api#converting_from_tensorflow_estimator_to_tpuestimator

[5] https://cloud.google.com/tpu/docs/tutorials [5] https://cloud.google.com/tpu/docs/tutorials

[6] https://github.com/tensorflow/tpu [6] https://github.com/tensorflow/tpu

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 TPU 在 Google Colab 上训练对象检测模型 - Train object detection model on Google Colab with TPU 在 Colab TPU 上使用分布式策略训练 model - Train model on Colab TPU with distributed strategy Colab 中的 TPU 训练,自定义 model,来自我自己的 GCP 帐户的数据:单元似乎挂起,没有进度或错误消息 - TPU training in colab, custom model, data from my own GCP account: Cell just seems to hang, no progress or error message 如何在Cloud TPU v2中使用SQUAD 2.0训练BERT模型? - How to train BERT model with SQUAD 2.0 in Cloud TPU v2? 在没有来自 GCP 的数据的情况下在 colab TPU 上进行训练,数据可以全部加载到 memory - Train on colab TPU without data from GCP, for data that can be all loaded into memory 使用 TPU 在 GCP 上进行 Keras/Tensorflow 培训 - Keras/Tensorflow training on GCP with TPU 在estimator模型函数中使用tf.cond()在TPU上训练WGAN会导致加倍的global_step - Using tf.cond() in an estimator model function to train a WGAN on a TPU causes doubled global_step GCP:无法连接到云TPU - GCP: Unable to connect to cloud TPU 使用 GOOGLE COLAB TPU 在 IMAGENET 上训练 VGG-16 model 需要多长时间? - How long will it take to train the VGG-16 model on IMAGENET using GOOGLE COLAB TPU? 如何使用 fit_generator 在 GCP 上训练 Keras model - How to train a Keras model on GCP with fit_generator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM