-
Notifications
You must be signed in to change notification settings - Fork 81
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
Remove warnings from tests. Issue 264 #265
Conversation
Only trivial warnings were solved, one warning missing: https://travis-ci.org/github/NLeSC/mcfly/jobs/713646901#L2807 |
outputfile, model.metrics_names[0]) | ||
outputfile) |
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.
Removed explicitly setting up metrics because it is deprecated
model_type='CNN') # Because CNNs are quick to train. | ||
model_types=['CNN']) # Because CNNs are quick to train. |
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.
Updated. "model_type" doesn't seem to be a valid parameter
model, _parameters, _type = modelgen.generate_models((num_samples_train, num_time_steps, num_channels), 5, 1)[0] | ||
model, _parameters, _type = modelgen.generate_models( | ||
(num_samples_train, num_time_steps, num_channels), 5, 1, | ||
['CNN'] # Chosen one model type to avoid warnings |
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.
The model type is irrelevant, it's just necessary that it is only one
Pull request for issue #264