Cov txheej txheem:
Video: Kuv yuav nruab TensorFlow li cas?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Nruab TensorFlow CPU rau Python
- Qhib lub qhov rais Anaconda / Command Prompt tshiab thiab qhib lub tensorflow_cpu ib puag ncig (yog tias koj tsis tau ua li ntawd lawm)
- Thaum qhib, ntaus cov hauv qab no ntawm kab hais kom ua: pip nruab --tsis quav ntsej- ntsia --upgrade tensorflow ==1.
- Tos rau lub kev teeb tsa ua kom tiav.
Tsis tas li ntawd, kuv yuav rub tawm TensorFlow li cas?
Tsim. yml cov ntaub ntawv rau nruab Tensorflow thiab dependencies
- Nrhiav txoj kev ntawm Anaconda.
- Teem lub chaw ua haujlwm rau Anaconda.
- Tsim cov ntaub ntawv yml (Rau cov neeg siv MacOS, TensorFlow tau teeb tsa ntawm no)
- Kho cov ntaub ntawv yml.
- Sau cov ntaub ntawv yml.
- Qhib Anaconda.
- Nruab TensorFlow (Windows neeg siv nkaus xwb)
Tsis tas li ntawd, kuv yuav ua li cas rau nruab TensorFlow ntawm Windows 10?
- Kauj ruam 1: Xyuas cov software koj yuav tsum tau rau nruab.
- Kauj ruam 2: Download Visual Studio Express.
- Kauj ruam 3: Download CUDA Toolkit rau Windows 10.
- Kauj ruam 4: Download Windows 10 CUDA thaj ua rau thaj.
- Kauj ruam 5: Download tau thiab nruab cuDNN.
- Kauj ruam 6: Nruab Python (yog tias koj tsis tau muaj nws)
- Kauj ruam 7: Nruab Tensorflow nrog GPU txhawb.
Yog li ntawd, kuv yuav ua li cas rau nruab TensorFlow hauv zos?
HOWTO: Nruab Tensorflow hauv zos
- Clone python installation rau hauv zos directory. Peb lwm txoj kev tsim cov lus txib tau teev tseg.
- Qhib ib puag ncig clone. Rau lub plhaub bash: qhov chaw qhib hauv zos.
- Nruab pob. Nruab qhov tseeb version ntawm tensorflow uas yog gpu tshaj.
- Test python pob.
- Nruab koj tus kheej python modules.
Puas yog Python 3.7 txhawb TensorFlow?
TensorFlow kos npe rau Python 3 Nqe lus thiab 2.0 yuav txhawb nqa Python 3.5i ib 3.7 (Tau qhov teeb meem 25429). Yog li xyuas kom tseeb tias koj muaj Python version 2.7 lossis 3.6. Yog tias koj muaj ntau yam Python versions nyob rau hauv koj lub hauv paus ib puag ncig, koj tuaj yeem qhia qhov Python version thaum tsim ib puag ncig virtual.
Pom zoo:
Kuv yuav nruab Skype li cas ntawm kuv lub Windows 10 laptop?
Nruab Skype Saib Ua Ntej desktop app Download lub Installer. Thaum downloaded, right-click rau cov ntaub ntawv installer thiab xaiv'properties.' Nyob rau sab saum toj ntawm lub qhov rais, xaiv 'Compatibility'tab. Xaiv qhov 'Run this program in compatibility mode for:'option. Xaiv Windows 8 hauv cov ntawv qhia zaub mov. Xaiv OK
Kuv yuav manually nruab TensorFlow li cas?
Kuv tuaj yeem nruab TensorFlow li cas los ntawm cov pob ntawv rub tawm los ntawm https://pypi.org/simple/*? --trusted-host pip nruab tensorflow --trusted-host pypi. conda tsim conda tsim -n tensorflow pip python = 3.6 qhib tensorflow pip nruab --ignore-installed --upgrade tensorflow
Kuv yuav nruab thiab nruab Sublime Text ntawm Windows li cas?
Kev teeb tsa ntawm Windows Kauj Ruam 2 - Tam sim no, khiav cov ntaub ntawv executable. Kauj ruam 3 - Tam sim no, xaiv qhov chaw nyob rau hauv nruab Sublime Text3 thiab nyem Next. Kauj ruam 4 - Txheeb xyuas qhov chaw khaws cia thiab nyem Nruab. Kauj Ruam 5 - Tam sim no, nyem Finish kom tiav lub installation
Kuv yuav ua li cas rau nruab ib qhov program nruab Windows?
Koj tuaj yeem ua raws li cov kauj ruam hauv qab no rau nruab ib daim ntawv thov los ntawm cov ntaub ntawv an.exe. Nrhiav thiab rub tawm cov ntaub ntawv an.exe. Nrhiav thiab muab ob npaug rau-nias cov ntaub ntawv .exe. (Nws feem ntau yuav nyob hauv koj daim nplaub tshev Downloads.) Lub dialog box yuav tshwm sim. Ua raws li cov lus qhia rau nruab lub software. Lub software yuav raug ntsia
Yuav ua li cas koj nruab ib tug nruab nrab breaker plug?
VIDEO Ntxiv mus, dab tsi yog ntsaws rau nruab nrab breaker? Lub tswv yim yog muab ib nruab nrab bar ntawm qhov ncua deb ntawm txhua sab ntawm cov npav npav, yog li tsim tshwj xeeb AFCI lossis GFCI breakers ua tau ntsaws ncaj qha mus rau lub tsheb npav bar thiab nruab nrab bar tsis tas yuav tsum muaj kev sib txuas pigtail.