Loading
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more

crowdAI is shutting down - please read our blog post for more information

Learning How to Walk

Reinforcement learning environments with musculoskeletal models


Completed
200
Submissions
125
Participants
18142
Views

Windows 64: keras

Posted by flopit almost 3 years ago

Hi,

next challenge is to get keras for windows-64 installed, can you please also provide help (as with the opensim package; maybe there is a URL for keras for Windows available)? Thanks!

Regards Florian

Details

(opensim-rl) C:\WINDOWS\system32>conda install keras Fetching package metadata ………..

PackageNotFoundError: Package not found: ‘’ Package missing in current win-64 channels: - keras

You can search for packages on anaconda.org with

anaconda search -t conda keras

Posted by spMohanty  almost 3 years ago |  Quote

Did you try : pip install keras

inside the conda environment ?

Cheers, Mohanty

Posted by flopit  almost 3 years ago |  Quote

No, I am afraid it does not help: …

(opensim-rl) C:\WINDOWS\system32>pip install keras Collecting keras Collecting pyyaml (from keras) Using cached PyYAML-3.12-cp27-cp27m-win_amd64.whl Collecting theano (from keras) Requirement already satisfied: six in c:\users\florian\anaconda2\envs\opensim-rl\lib\site-packages (from keras) Requirement already satisfied: numpy>=1.7.1 in c:\users\florian\anaconda2\envs\opensim-rl\lib\site-packages (from theano->keras) Collecting scipy>=0.11 (from theano->keras) Using cached scipy-0.18.1.tar.gz Building wheels for collected packages: scipy Running setup.py bdist_wheel for scipy … error Complete output from command C:\Users\Florian\Anaconda2\envs\opensim-rl\python.exe -u -c “import setuptools, tokenize;file=’c:\users\florian\appdata\local\temp\pip-build-uofiw6\scipy\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d c:\users\florian\appdata\local\temp\tmpotcgmjpip-wheel- –python-tag cp27: lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in [‘C:\Users\Florian\Anaconda2\envs\opensim-rl\lib’, ‘C:\’, ‘C:\Users\Florian\Anaconda2\envs\opensim-rl\libs’] NOT AVAILABLE

Posted by spMohanty  almost 3 years ago |  Quote

or this : conda install -c jaikumarm keras=1.2.0

?

Posted by Lukasz_  almost 3 years ago |  Quote

Hi, unfortunately installing keras on windows is a big challenge in general. Some people succeeded - you can try this: http://ankivil.com/installing-keras-theano-and-dependencies-on-windows-10/

or as Mohanty suggested conda install -c jaikumarm keras=1.2.0

Our environment is fully independent from keras, so you can use any other RL framework available on windows, ex. https://pypi.python.org/pypi/Reinforcement-Learning-Toolkit/1.0 https://github.com/rlpy/rlpy

Please let us know if you succeed moving forward.

Best, Łukasz

Posted by rahulbakshee  almost 3 years ago |  Quote

Hi, I am unable to install theano on my windows 7 machine using anaconda3-4.2.0. I am using python3.5.

I searched lot of Q and A on stackoverflow but couldn’t resolve the issue. some posts mentioned to use anaconda’s older version which uses python3.4 or earlier pthon3.x But i couldn’t find such anaconda version on the continnum website. Could anybody suggest me the correct way to install theano.

Many Thanks

EDIT: I will check the link mentioned in the discussion thread and come back how it goes. http://ankivil.com/installing-keras-theano-and-dependencies-on-windows-10/

Posted by flopit  almost 3 years ago |  Quote

Hi I am afraid I still can not get keras running with the command and links you provided. The new code for submitting (havent seen the old one) for submitting uses “import keras”. Do I need keras for submitting?

Posted by spMohanty  almost 3 years ago |  Quote

@flopit : No you do not need keras for this challenge. As @Lukasz mentions, you are free to choose any framework that works for you. To help you quickly get started, here is a gist detailing how you can put up a submission with random actions (and the inline comments also have pointers on what changes you would need to make when you are changing between a submission script and a training script.

https://gist.github.com/spMohanty/ff32891453fe65222b4b3a184a8d9c96

Cheers, Mohanty

Posted by ViktorM  over 2 years ago |  Quote

Hi, what version of Windows do you have? If it’s Win 10, pip install worked ok for me. But I didn’t try it installing Keras in the conda environment and still is using Ubuntu for opensim-rl.