Markus
Markus

Reputation: 11

How do I install Tensorflow v1?

I am trying to run code that was written with tensorflow v1 and I am struggling to migrate it to tensorflow v2. I thought it might be easiest to install tensorflow v1 but I couldn't find a tutorial on how to do that. Is it even still possible to install Tensorflow 1?

Upvotes: 1

Views: 1258

Answers (1)

user11530462
user11530462

Reputation:

Code written using Tensorflow V1 can be easily upgraded to Tensorflow v2 by following Tensorflow migrate guide.

And also convert Tensorflow v1 based code to Tensorflow V2 just by running upgrade code, to know more about this library see here.

To install Tensorflow v1 version,

pip install tensorflow==1.15

Follow the instructions mentioned to install Tensorflow.

Upvotes: 1

Related Questions