Skip to content

Added support for specifying custom models under all existing presets. #163

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

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

michalgregor
Copy link
Contributor

@michalgregor michalgregor commented Aug 11, 2020

To make it easier to use any of the existing presets with a custom model, I forwarded the model creation functions to the presets' interfaces as optional parameters. Default arguments ensure that the previous behaviour remains unchanged unless a custom model constructor is actually specified.

@cpnota cpnota changed the base branch from master to develop August 11, 2020 15:18
Copy link
Owner

@cpnota cpnota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to go through and update not only the constructors, but also all of the docstrings!

@cpnota
Copy link
Owner

cpnota commented Aug 13, 2020

Thanks for the contribution! The Travis CI issues seem to stem from some PyTorch changes, will fix on another branch.

@cpnota cpnota closed this Aug 13, 2020
@cpnota cpnota reopened this Aug 13, 2020
@cpnota cpnota merged commit 1d2cf9f into cpnota:develop Aug 13, 2020
@michalgregor
Copy link
Contributor Author

michalgregor commented Aug 18, 2020

I just realized that this eventually got merged into the master in my fork and not in the upstream repository. That's not right, is it?

Also, a word of appreciation: I've been working with this repo for a couple of days now, preparing some examples for my ML class, and I can't get over how clear and beautiful all the interfaces are. It's absolutely amazing.

EDIT: Oh no, my mistake, obviously, on upstream it's in develop of course...

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.

2 participants