Closed shuangyichen closed 4 years ago
For ABCNet training, we do not need point annotation.
txt format annotation looks like x y x y x y ...x y x y ||||text So what is the number of groups (x y) needed?
@shuangyichen As much as needed. For example, for Total-text, the number of points is 10 (5 upper boundary and 5 lower boundary; for CTW1500, the number is 14.
@Yuliang-Liu But in generate_bezier_json.py,
segs
= [float(kkpart) for kkpart in parts[:16]] `.
So this part is only for data with 8 points annonated?
@Yuliang-Liu Actually, I use the pretrained model tt_attn_R_50.pth to inference my own data, and the results were good but I still want to improve it. I made my own dataset following the steps the other issue mentioned. After training, the inference results were even worse than the pre-trained model. So I guess maybe the problem is in the process of generating annotation json. Because the number of each group(x,y) is different. Could you plz give me some advice how to train or just locate my problem.
In generate_bezier_json.py
print("Usage: python convert_to_detectron_json.py root_path phase split") print("For example: python convert_to_detectron_json.py data train 100200")
what dose split mean?
Thanks for your great work and sharing the code. I wonder what is the number of point to annotate the curved text area.