не могу обновить Tensorflow для Conda - PullRequest
0 голосов
/ 16 апреля 2020

Я хочу обновить Tensorflow с 1.14 до 2.1.0, но я не могу это сделать.

После того, как я установил его с помощью команды

conda install - c anaconda tenorflow-gpu

print (тензор потока. версия ) показывает, что у меня версия 1.14.0

То же самое после

conda update tenorflow-gpu

Даже после

conda install https://anaconda.org/anaconda/tensorflow-gpu/2.1.0/download/win-64/tensorflow-gpu-2.1.0-h0d30ee6_0.tar.bz2

I получить в командной строке:

Downloading and Extracting Packages
tensorflow-gpu-2.1.0 | ######################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

C:\Windows\system32>set "KERAS_BACKEND="

C:\Windows\system32>python C:\Anaconda3\etc\keras\load_config.py  1>temp.txt

C:\Windows\system32>set /p KERAS_BACKEND= 0<temp.txt

C:\Windows\system32>del temp.txt

C:\Windows\system32>python -c "import keras"  1>nul 2>&1

C:\Windows\system32>if errorlevel 1 (
ver  1>nul
 set "KERAS_BACKEND=theano"
 python -c "import keras"  1>nul 2>&1
)

но я все еще на 1.14.0

1 Ответ

1 голос
/ 26 апреля 2020

Вы можете обновить Tensorflow, введя эту команду в подсказку Anaconda.

conda install -c conda-forge tensorflow=2.1.0

Надеюсь, это работает!

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...