-
Notifications
You must be signed in to change notification settings - Fork 13
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
AttributeError: module 'fastai.vision.gan' has no attribute 'unet_config' #128
Comments
Hi. Thanks for letting me know. From the python side, the tutorial is here. And as far as I understand, this function is no longer in fast.ai. https://github.com/fastai/fastai/blob/master/dev_nbs/course/lesson7-superres.ipynb
This could be in another place but I am not sure. |
Thanks. fastai/fastai@eaa588f#diff-fa360114e1afbe049ed12f6aa92ac3945ceca61d72d73cec953217ddf602a1aa create_gen_learner = function() {
unet_learner(dls_gen, arch, loss_func = loss_gen,
blur=TRUE, norm_type = "Weight",
self_attention = TRUE, y_range = y_range)
}
learn_gen = create_gen_learner()
# work ! |
I think you are right. We need to add this |
fixed recipe:
|
I am using this tutorial for super resolution Unet model. https://cran.r-project.org/web/packages/fastai/vignettes/super_res_gan.html. However, the
create_gen_learner
function resulted inError in py_get_attr_impl(x, name, silent) : AttributeError: module 'fastai.vision.gan' has no attribute 'unet_config'
error. The basic Unet withoutunet_config
argument works fine. https://github.com/henry090/fastai#unet-exampleThe text was updated successfully, but these errors were encountered: