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

Remove warnings from tests. Issue 264 #265

Closed
wants to merge 3 commits into from
Closed

Conversation

bsolino
Copy link
Contributor

@bsolino bsolino commented Jul 31, 2020

Pull request for issue #264

@bsolino bsolino self-assigned this Jul 31, 2020
@bsolino bsolino marked this pull request as draft July 31, 2020 10:59
@bsolino bsolino linked an issue Jul 31, 2020 that may be closed by this pull request
@bsolino
Copy link
Contributor Author

bsolino commented Jul 31, 2020

Only trivial warnings were solved, one warning missing: https://travis-ci.org/github/NLeSC/mcfly/jobs/713646901#L2807

@bsolino bsolino mentioned this pull request Jul 31, 2020
outputfile, model.metrics_names[0])
outputfile)
Copy link
Contributor Author

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.
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@lyashevska lyashevska deleted the branch master December 14, 2022 14:52
@lyashevska lyashevska closed this Dec 14, 2022
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

Successfully merging this pull request may close these issues.

Warnings in tests
2 participants