Reputation: 369
I have installed tensorflow 1.4 from conda with python 3.7.7 and numpy 1.18.1.
The instruction I used is the following
conda install -c conda-forge tensorflow=1.14
When I import tensorflow I get a lot of FutureWarning because i guess the version of numpy used for tensorflow is not the latest, can I remove all the warnings?
The messages are like this:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
Upvotes: 0
Views: 412
Reputation: 369
There was a mismatch between tensorflow 1.4 and numpy 1.18.1.
To solve the issue you just need to install numpy 1.16.4, for instance:
conda install numpy=1.16.4
Upvotes: 2