gwxie / Document-Dewarping-with-Control-Points

Document Dewarping with Control Points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More details about training

Sanster opened this issue · comments

commented

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

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 {})"

commented

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

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.