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

Ch7 Super Resolution unet_config not defined #44

Open
Rebolforces opened this issue Aug 10, 2021 · 0 comments
Open

Ch7 Super Resolution unet_config not defined #44

Rebolforces opened this issue Aug 10, 2021 · 0 comments

Comments

@Rebolforces
Copy link

currently using unet_config . An obsolete method for learner params

#Problem:
cfg = unet_config(blur=True, norm_type=NormType.Weight, self_attention=True,
y_range=y_range)

def create_gen_learner():
return unet_learner(dls_gen, bbone, loss_func=loss_gen, config=cfg)


#Fix: remove cfg lne & Feed the params in directly to the learner
def create_gen_learner():
return unet_learner(dls_gen, bbone, loss_func=loss_gen,
blur=True, norm_type=NormType.Weight, self_attention=True,
y_range=y_range)

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

1 participant