Google colab查看gpu

!/opt/bin/nvidia-smi
import tensorflow as tf
tf.test.gpu_device_name()

git-clone

!git clone https://github.com/wxs/keras-mnist-tutorial.git

下载数据

!wget https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/master/csv/datasets/Titanic.csv -P drive/app
```**
**运行.py**
```python
!python3 drive/app/mnist_cnn.py

来源:https://blog.csdn.net/linhai1028/article/details/79275945

原文地址:https://www.cnblogs.com/ArdenWang/p/15361373.html