Coder Social home page Coder Social logo

Autokeras installation fails about autokeras HOT 15 CLOSED

PiotrMi avatar PiotrMi commented on May 18, 2024 7
Autokeras installation fails

from autokeras.

Comments (15)

beepmaster avatar beepmaster commented on May 18, 2024 12

I just start from a fresh Python 3.6 install.
Just need to install PyTorch from their website recommandation
IE : For A python, windows, pip configuration :

pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision

then a simple

pip install autokeras

works fine

from autokeras.

hiteshn97 avatar hiteshn97 commented on May 18, 2024 7

I have forked the original library here https://github.com/hiteshn97/autokeras/
Clone it, then python setup.py install
Worked.

from autokeras.

haifeng-jin avatar haifeng-jin commented on May 18, 2024 3

Thank you all for the help.
We haven't really tested on Windows, yet.
We will move to torch 0.4.1 in the next release.

from autokeras.

shachi01 avatar shachi01 commented on May 18, 2024 1

Command "pip install autokeras --ignore-installed" successfully worked.
Thanks!

from autokeras.

thomas-choi avatar thomas-choi commented on May 18, 2024 1

Do you have a setup.py for Windows? I always got into:
ERROR: Could not find a version that satisfies the requirement torch>=1.0.1.post2 (from autokeras) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.0.1.post2 (from autokeras)
And torch v 1.0.1.post2 is not for Windows.

from autokeras.

NicolasVidal avatar NicolasVidal commented on May 18, 2024

Same problem here windows 10
python 3.6.2
is it an issue with torch on windows ?

from autokeras.

MenEnger avatar MenEnger commented on May 18, 2024

I'm in the same trouble, so I'm looking for any workaround.
Example:
#44

from autokeras.

PiotrMi avatar PiotrMi commented on May 18, 2024

@hiteshn97 yes, this worked. I also managed to install it by simply installing torch by myself. Unfortunately it still seems to have problems. The examples aren't working.

from autokeras.

valinaga avatar valinaga commented on May 18, 2024

Same for me. The working solution was:

  1. pip install pytorch (from their homepage)
  2. download autokeras from https://pypi.org/project/autokeras/0.2.1/#history
  3. unpack, edit setup.py and change from torch==0.4.0 to torch==0.4.1 (line 6) and pack back to tar.gz
  4. pip install autokeras-0.2.1.tar.gz

from autokeras.

M-Aditya-Vamsi-Kiran avatar M-Aditya-Vamsi-Kiran commented on May 18, 2024

The one suggested by @beepmaster worked for me. Thanks.

from autokeras.

hemangjoshi37a avatar hemangjoshi37a commented on May 18, 2024

I just start from a fresh Python 3.6 install.
Just need to install PyTorch from their website recommandation
IE : For A python, windows, pip configuration :

pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision

then a simple

pip install autokeras

works fine

Error :
torch-0.4.1-cp36-cp36m-win_amd64.whl is not supported wheel on this platform

Please help

from autokeras.

beepmaster avatar beepmaster commented on May 18, 2024

Did you use the pytorch link generator ? Did you try a pip installation ? If so, what is your Python version ?
Did you check your Python environment and pip ?

from autokeras.

hemangjoshi37a avatar hemangjoshi37a commented on May 18, 2024

from autokeras.

eculiat avatar eculiat commented on May 18, 2024

I'm have windows 10 and used python 3.6 in an Anaconda environment.

  1. pip install torchvision=0.2.1
  2. pip install numpy==1.14.5
  3. pip install keras
  4. pip install scikit-learn==0.19.1
  5. pip install tensorflow
  6. pip install autokeras

This worked for me!

from autokeras.

apacha avatar apacha commented on May 18, 2024

However you tried to fix this before, it's broken again.

from autokeras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.