2021/01/29 Updated by

TensorFlow

Tips


Japanese English

現在のpython仮想環境で利用できるtensorflowのバージョンを調べる

tensorflow のversion
(gpu-dl-book12) PS G:\マイドライブ\deeplearning> python   
Python 3.6.12 |Anaconda, Inc.| (default, Sep  9 2020, 00:29:25) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf   
2021-01-28 18:43:17.171851: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-01-28 18:43:17.172011: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> print(tf.__version__)  
2.4.0
>>> exit()
(gpu-dl-book12) PS G:\マイドライブ\deeplearning>


http://ynitta.com/