follow icdar15 dataset format, x1,y1,x2,y2,x3,y3,x4,y4,label
image
│ 1.jpg
│ 2.jpg
│ ...
label
│ gt_1.txt
│ gt_2.txt
| ...
Support switching basemodel,(mobilenet,squeezenet,shufflenet,resnet)
python3 train.py --backbone mobile
python3 inference.py
python3 train.py --backbone resnet --sr_lr 0.00001
python3 prune.py
python3 train_prune_finetune.py
python3 inference_prune.py
Method | precision | recall | hmean | prune ratio | modelsize(M) | infer time(v100)(ms) |
---|---|---|---|---|---|---|
PSENet-1s (ResNet50) | 0 | 114.5 | 12 | |||
PSENet-1s (ResNet50) | 0.8179 | 0.7958 | 0.8067 | 0.8 | 25.1 | 9 |
PSENet-1s (ResNet50) | 0.8124 | 0.7862 | 0.7991 | 0.9 | 16.6 | 7 |