Google Colab 免费GPU服务器使用教程

Google Colab免费使用GPU服务器教程

Google Colab Free GPU Tutorial

Colaboratory

相关查询命令

```

!/opt/bin/nvidia-smi

```


```

!pip install

!apt-get install

!pip install -q keras

import keras

!apt-get install libnvrtc8.0

!pip install mxnet-cu80

import mxnet as mx


```


```

import tensorflow as tf

tf.test.gpu_device_name()

```



Which GPU Am I Using?

```

from tensorflow.python.client import device_lib

device_lib.list_local_devices()

```

What about RAM?

```

!cat /proc/meminfo

```

What about CPU?

```

!cat /proc/cpuinfo

```

How to Restart Google Colab


```

!kill -9 -1

```

How to Use Tensorboard with Google Colab?

I recommend this repo:

https://github.com/mixuala/colab_utils


你可能感兴趣的:(Linux)