当前位置:网站首页>Win10 install tensorflow

Win10 install tensorflow

2022-06-21 14:13:00 Skinhead strength 12138

win10 install TensorFlow

1. install anaconda

Enter official website :https://www.anaconda.com/ Select the corresponding computer version to download
Open setup , Go to the next step until the installation is completed ,

2. Create an environment

open Anaconda Navigator
 Insert picture description here
Selection environment , Create a new environment
 Insert picture description here
Choose your own python edition
 Insert picture description here
complete :
 Insert picture description here

3. Switch to tensorflow Pattern

Open as administrator promp
 Insert picture description here
Enter the following command

activate tensorflow
conda install tensorflow

 Insert picture description here
 Insert picture description here

5. test

Switch to python

import tensorflow as tf

If no error is reported, the installation is successful
PS

import os
os.environ[“TF_CPP_MIN_LOG_LEVEL”]=‘1’ # This is the default display level , Show all information
os.environ[“TF_CPP_MIN_LOG_LEVEL”]=‘2’ # Display only warning and Error
os.environ[“TF_CPP_MIN_LOG_LEVEL”]=‘3’ # Display only Error

原网站

版权声明
本文为[Skinhead strength 12138]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221426434911.html