Visual-Template-Free-Form-Parsing icon indicating copy to clipboard operation
Visual-Template-Free-Form-Parsing copied to clipboard

Slow training

Open Bk073 opened this issue 3 years ago • 1 comments

Training the model is extremely slow. Is there anyway to make the training iteration fast? How long did it take for you to train detector network for 150,000 iterations and pairing network for 125,000 iterations?

Bk073 avatar Jun 25 '21 03:06 Bk073

Yes, training is slow. It took me a couple days for the detector. The pairing network takes even longer, on the order of a couple weeks. I'll also point you to my follow-on work, as it has a stronger model. However, I train it even longer. It takes about a month. I'd highly recommend fine-tuning a pre-trained model to your specific task.

http://arxiv.org/abs/2105.08194 https://github.com/herobd/FUDGE

Part of the reason for the slowness is getting the GT aligned to the predictions. In the code for FUDGE this has been sped up. FUDGE introduces more slowdowns with graph editing. However, if you use the non-graph (binary) version of FUDGE (which is very close to this repos model) it should be a little faster.

herobd avatar Jun 25 '21 19:06 herobd