karolpiczak / echonet

Convolutional neural networks for sound classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Running esc_convnet_paper.py

yujulucy opened this issue · comments

Hi, I am trying to run esc_convnet_paper.py, but came across the error:
ImportError: No module named 'keras'

However, I have followed the instructions as to install the required dependencies:
sudo pip install -r requirements.txt
After running the command, the following is shown: Successfully installed keras-2.0.8 pyyaml-3.12

May I know what could have caused this problem? Thank you.

Are you sure you're using the same Python installation/virtual env as pip? Maybe pip3?

Maybe this will guide you:
https://stackoverflow.com/questions/39930952/cannot-import-keras-after-installation

I tried both pip and pip3. Will there be a problem if I am working on VMWorkstation? I will check that link out, thanks!

I'm not sure what could be causing this. Is pip freeze listing Keras as installed?

Yes, pip freeze list Keras==2.0.8

That's weird. Maybe trying from scratch with a new virtualenv could help.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, but feel free to re-open a closed issue if needed.