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

Deprecate config in create_cnn and instead pass kwargs directly #2966

Merged
merged 4 commits into from
Nov 10, 2020

Conversation

borisdayma
Copy link
Contributor

cnn_learner and unet_learner have now direct access to all config parameters and don't require a separate config object anymore.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@borisdayma
Copy link
Contributor Author

Now I'm getting more params logged than before!

The next step will be to figure out how to log params from learn.fit, learn.fit_one_cycle, etc… (included method name).

@borisdayma
Copy link
Contributor Author

It should now be backwards compatible

fastai/vision/learner.py Outdated Show resolved Hide resolved
@borisdayma
Copy link
Contributor Author

The CI failure seems unrelated

@jph00 jph00 closed this Nov 10, 2020
@jph00 jph00 reopened this Nov 10, 2020
@jph00
Copy link
Member

jph00 commented Nov 10, 2020

Thank you!

@jph00 jph00 changed the title feat: vision learners config Deprecate config in create_cnn and instead pass kwargs directly Nov 10, 2020
@jph00 jph00 merged commit eaa588f into fastai:master Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants