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

More details about training #12

Open
Sanster opened this issue Aug 2, 2022 · 3 comments
Open

More details about training #12

Sanster opened this issue Aug 2, 2022 · 3 comments

Comments

@Sanster
Copy link

Sanster commented Aug 2, 2022

Thanks for sharing the code and dataset. The encoder-only architecture makes DDCP faster and lighter than other methods, I really like the idea. I try to reimplement the paper, however, some training details are missing in the paper.

loss
image

  1. What are α and β used for the pre-train model? In the utilsV4.py it's all equal 1

Experiments
image

  1. What are the total epochs for the pre-train model? In train.py, the default epochs=300
@gwxie
Copy link
Owner

gwxie commented Aug 14, 2022

Hi,
1、please see here.

FlatImg.lambda_loss_a = 0.1

2、We have printed the EPOCH of pre-train model. see here
print("Loaded checkpoint '{}' (epoch {})"

@Sanster
Copy link
Author

Sanster commented Aug 16, 2022

Thanks for your response!

Have you tried adding a semantic segmentation head? I tried to add an encoder to predict document mask, but the network does not converge.

image

image

@gwxie
Copy link
Owner

gwxie commented Sep 14, 2022

Thanks for your response!

Have you tried adding a semantic segmentation head? I tried to add an encoder to predict document mask, but the network does not converge.

image

image

Hi,
I've never done anything like this before.

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

2 participants