-
Notifications
You must be signed in to change notification settings - Fork 4
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
Migrate to latest and fix code issues #5
base: main
Are you sure you want to change the base?
Conversation
@patzm Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ModuleNotFoundError: No module named 'keras.api._v2'
did you start with a fresh environment? Which Keras version are you running? Compare to the frozen versions I included in the fold comment of the PR.
Not sure about the other errors. But maybe we can clarify those points before.
"if model.model_type is 'MM_QP':\n", | ||
"if model.model_type == 'MM_QP':\n", | ||
" Ypred, Stats = MM_QP(model, verbose=True)\n", | ||
"if model.model_type is 'MM_LP':\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if model.model_type is 'MM_QP':
Ypred, Stats = MM_QP(model, verbose=True)
if model.model_type is 'MM_LP':
Ypred, Stats = MM_LP(model, verbose=True)
this warning should be gone after the changes I introduced here. Are you sure you had this branch pulled and were running Tutorial.ipynb
?
overall fixes #4 when removing the version constraints
amn_release/environment_amn.yml
Lines 6 to 8 in 10db2a6
scikeras
as an additional dependency to get the wrappers that were migrated thereLoss_Vin
:parameter
isn't used, looks like debug code. Also removed passing it from other places.Tutorial.ipynb
(string comparison with==
instead ofis
)full `pip freeze`