Tensorflow를 사용하기 위해서는 높은 사양의 컴퓨터가 요구된다.
Google Colab은 google의 클라우드 서비스로, 해당 클라우드 컴퓨터의 gpu를 빌려쓸 수 있는 장점이 있다.
클라우드 컴퓨터를 빌려서 가상환경에 접속했다.
이 가상환경에는 tensorflow가 설치되어있지 않기 때문에 install 해야한다.
!pip install tensorflow-gpu==2.0.0-rc1
import tensorflow as tf
Tensorflow를 install하고, import했다.