简体   繁体   中英

Installing Tensorflow for Python 2.7 for Keras and CoreML conversion on Windows 10

I am currently working on an artificial neural network model with Keras for image recognition and I want to convert it using CoreML.

Unfortunately, I have been working with Python3 and CoreML only works with Python 2.7 at the moment. Moreover, Tensorflow for Python 2.7 does not seem to be supported by Windows... So my only hope is to find a way to install it.

I saw some tips using Docker Toolbox but I did not catch it and I failed when trying this solution, even though it looks like the only thing that works.

So, is there any quite simple way to install Tensorflow for Python 2.7 on Windows 10?

Thank you very much!

A non-optimal solution (the only one I found) in my opinion, is to install a Linux virtual machine. I used VitualBox for it.

Then, it is very easy to download Anaconda and Python 2, as well as the right versions of the packages. For example, you can download Tensorflow 1.1.0 using the following command $ pip install -I tensorflow==1.1.0 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM