Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not import optim #272

Open
xiaobenhou opened this issue Feb 24, 2020 · 2 comments
Open

can not import optim #272

xiaobenhou opened this issue Feb 24, 2020 · 2 comments

Comments

@xiaobenhou
Copy link

Hello,

Below is the error message I got when I tried to import optim.

ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from hyperas import optim

~\AppData\Local\Continuum\anaconda3\lib\site-packages\hyperas\optim.py in
9 from nbconvert import PythonExporter
10
---> 11 from .ensemble import VotingModel
12 from .utils import (
13 remove_imports, remove_all_comments, extract_imports, temp_string,

~\AppData\Local\Continuum\anaconda3\lib\site-packages\hyperas\ensemble.py in
1 import numpy as np
----> 2 from keras.models import model_from_yaml
3
4
5 class VotingModel(object):

ModuleNotFoundError: No module named 'keras'

Thanks

@JonnoFTW
Copy link
Collaborator

Have you tried installing keras?

pip install keras

@xiaobenhou
Copy link
Author

xiaobenhou commented Feb 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants