Google colab查看gpu
Posted ArdenWang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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查看gpu的主要内容,如果未能解决你的问题,请参考以下文章