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

上一篇:google colab tensorflow2.6.2-gpu环境部署


下一篇:初学 Python 需要安装哪些软件?