官方给出的理由是,tf团队只再 pypi发布: Note: Do not install TensorFlow with conda.conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0.> print ( "TensorFlow version: ", tf._version_ ) Num GPUs Available: 1 > import tensorflow as tf > print ( "Num GPUs Available: ", len (tf.config.list_physical_devices ( 'GPU' )) ) > import tensorflow as tf print (tf.config.list_physical_devices ( 'GPU' )) > import tensorflow as tf Type "help", "copyright", "credits" or "license" for more information. (d: \condaPythonEnvs \tf210 ) PS C: \Users \cxxu \Desktop > py. Tensorflow 2.8.2 mkl_p圓9hfd350ca_0 anaconda/pkgs/main Tensorflow 2.8.2 mkl_p圓7h31f2aba_0 anaconda/pkgs/main Tensorflow 2.8.2 gpu_p圓10h5cc41f4_0 anaconda/pkgs/main Tensorflow 2.8.2 eigen_p圓9h9b0e0cb_0 anaconda/pkgs/main Tensorflow 2.8.2 eigen_p圓8h0b14ea6_0 anaconda/pkgs/main Tensorflow 2.8.2 eigen_p圓7h326eb71_0 anaconda/pkgs/main Loading channels: done # Name Version Build Channel 查找2.8版本 conda search tensorflow=2.8 (d: \condaPythonEnvs \tf2.5 ) PS D: \repos \blogs \python > conda search tensorflow = 2.8 Tensorflow 2.10.0 mkl_p圓9ha510bab_0 anaconda/pkgs/main Tensorflow 2.10.0 gpu_p圓9h9bca9fa_0 anaconda/pkgs/main Install Microsoft Visual C Redistributable?
0 Comments
Leave a Reply. |