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

Details on Training RefineNet #30

Open
yx-chan131 opened this issue Oct 29, 2021 · 4 comments
Open

Details on Training RefineNet #30

yx-chan131 opened this issue Oct 29, 2021 · 4 comments

Comments

@yx-chan131
Copy link

In the paper's Implementation Details section it is stated that the RefineNet is trained with exposure estimation and FusionNet together but freezing the latter two. I already trained the FusionNet. But I didn't see in the code that RefineNet training process used my pre-trained FusionNet, The RefineNet just defined new netG and netM models.

I'm a bit confused about this training process. If the trained FusionNet is never used, then what's the point of training a FusionNet?

@fl82hope
Copy link
Contributor

There is some bugs for loading I think, previously, refineNet is bulid in a second branch, in the merging into current branch, the loading have some bugs.

if opt.load_dir and opt.load_dir != 'None':
print('load fusion net from:', opt.load_dir)
model.load_networks('latest', opt.load_dir)

here for loading fusion network weights, please have a check the if statement.

@Season-Chan
Copy link

This problem confuses me a lot too! Have you solved it yet? Could you provide the solution? Thanks.

@xuhangc
Copy link

xuhangc commented Jan 16, 2023

This problem confuses me a lot too! Have you solved it yet? Could you provide the solution? Thanks.

In this line, add a check after the for loop

for name in self.model_names:

if name == "R":
    continue

@HarryHsing
Copy link

if name == "R":
    continue

thanks bruh

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

5 participants