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

InPainting results has default pre-trained flag turned on #25

Closed
bearpelican opened this issue Feb 25, 2020 · 2 comments
Closed

InPainting results has default pre-trained flag turned on #25

bearpelican opened this issue Feb 25, 2020 · 2 comments

Comments

@bearpelican
Copy link
Contributor

While trying to repro the in-painting notebook (really cool by the way), I noticed u-net is loading a frozen pre-trained imagenet stem:
learn = unet_learner(dbunch, partial(m, sa=sa), opt_func=opt_func, metrics=[], loss_func=MSELoss())

In this case, the default pretrained flag needs to be specifically turned off:
https://github.com/fastai/fastai2/blob/master/fastai2/vision/learner.py#L183

From my initial tests, it seems to matter.

@JoshVarty

@jph00
Copy link
Member

jph00 commented Feb 26, 2020

Thanks for noticing! I've set all imagewang results to 'NA' until we have updated numbers.

@jph00 jph00 closed this as completed Feb 26, 2020
@JoshVarty
Copy link
Contributor

Thanks for pointing this out. I will re-run and resubmit.

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

No branches or pull requests

3 participants