TensorFlow v0.12.0 RC0

텐서플로우 0.12 버전의 릴리즈 캔디데이트(Release Candidate)가 깃허브에 올라왔습니다. 0.12 버전에서 가장 눈에 띄는 것은 윈도우즈에 대한 지원과 Go 언어를 위한 API 추가인 것 같습니다. 윈도우 버전은 파이썬 3.5 에서 가능합니다. 0.12 RC0 버전 부터는 텐서플로우 패키지가 PyPI 에 업로드되어 있어 pip 명령으로 간단히 설치할 수 있게 되었습니다. 다만 맥, 리눅스의 GPU 버전은 파일 사이즈 때문에 PyPI 에 업로드가 안된다고 하네요. 😦

맥, 리눅스, 윈도우즈 CPU 버전(아나콘다 권장)

$ pip install tensorflow

윈도우즈 GPU 버전(아나콘다 권장)

$ pip install tensorflow-gpu

맥, 리눅스 GPU 버전

# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
# Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp27-none-linux_x86_64.whl

# Mac OS X, GPU enabled, Python 2.7:
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.0rc0-py2-none-any.whl

# Ubuntu/Linux 64-bit, GPU enabled, Python 3.4
# Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp34-cp34m-linux_x86_64.whl

# Ubuntu/Linux 64-bit, GPU enabled, Python 3.5
# Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-linux_x86_64.whl

# Mac OS X, GPU enabled, Python 3.4 or 3.5:
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.0rc0-py3-none-any.whl

sudo pip install --upgrade $TF_BINARY_URL

TensorFlow v0.12.0 RC0”에 대한 4개의 생각

  1. Matthew Park

    안녕하세요. 텐서플로 첫걸음 책 잘 보고 있습니다. 감사합니다.
    궁금한게 있는데, 책 내용 중 마지막 부록의 코드를 r0.12 윈도우즈에서 실행하면 from tensorflow.models.rnn.ptb import reader에서 tensorflow.models가 없다는 오류가 발생하네요.
    anaconda3에서 pip로 설치했는데, 제가 설치를 잘못한건지.. r0.12에서 바뀐건지 몰라서 댓글을 남깁니다. ^^

    Liked by 1명

    응답
    1. 로드홈 글의 글쓴이

      아 그러시군요. 제가 윈도우즈 환경을 사용하지 않아 미처 몰랐습니다. 확인할 수 있는 방법을 찾아보고 다시 댓글 드릴께요. 감사합니다. 🙂

      좋아요

      응답

댓글 남기기

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.