GXYM/DRRG

FileNotFoundError: [Errno 2] No such file or directory: 'pretrained/mlt2017_pretain/textsnake_vgg_100.pth'

Joneo opened this issue · 5 comments

Joneo commented
FileNotFoundError: [Errno 2] No such file or directory: 'pretrained/mlt2017_pretain/textsnake_vgg_100.pth'
Joneo commented

Why is this a problem?

GXYM commented

Why is this a problem?

no, it is just because there is no pretrain model. you can delete the "--resume xxx" if you have no pretrain model. The open source code has changed "textsnake" to "textgraph". The "textsnake_vgg_100.pth" is our previous model name, but the model name of the open code should be "textgraph_vgg_xxx.pth". You can change this path to your own.

Joneo commented

Thank you.Could you please give me the pre-training model you used? I feel that the effect of the pre-training model is much worse without it.

GXYM commented

you can run the script "tool/train_MLT2017.sh" and "tool/train_SynText.sh" to train the model as pretrain model. I get pretrain model by this way.

Joneo commented

thank you.I really appreciate your geneous help.