Closed radish512 closed 6 months ago
This command is for training from scratch. The MODEL.WEIGHTS totaltext_final.pth represents the weight of DPText-DETR or TESTR. The pretrained DiG is presented here
Do you mean that by removing MODEL.WEIGHTS totaltext_final.pth
, it becomes the code for training the model from scratch?
Our method is based on the pretrained detector and recognizer. Therefore, you need to load pre-trained detectors and recognizers. If you want to train the detector and recognizer from scratch, you can remove the file MODEL.WEIGHTS totaltext_final.pth, and it will become an end-to-end text spotting system.
Dear author, I noticed that only the pretraining code is provided in the document, like
python tools/train_net.py --config-file configs/Bridge/TotalText/R_50_poly.yaml --num-gpus 4 MODEL.WEIGHTS totaltext_final.pth
Is there any code available for training from scratch?