Closed Jackandrome closed 5 years ago
Yes, code in total_text.py assumes that gt are given with polygon(x0, y0, x1, y1..., xn, yn) format, so icdar(rectangle text annotation) can be used if you treat annotations as a quadrangles(x0, y0, x1, y1, x2, y2, x3, y3).
thank you for your response I don't really use pytorch,so when I'm running your code, I got this error: DataLoader worker (pid 1008) exited unexpectedly with exit code 1.
so I can't load data,eventhough I changed the batch size into 1 , could you help me with that?
@Jackandrome can you provide the exact error output and the full exception track stack?
@princewang1994
-`Traceback (most recent call last):
File "train.py", line 158, in
RuntimeError: DataLoader worker (pid 4322) is killed by signal: Bus error. Details are lost due to multiprocessing. Rerunning with num_workers=0 may give better error trace. `
If i let the num_worker= 0 , there is no error ,but the data loading is very slow.
Sorry I cannot reproduce this error, but someone else met the same error on this issue. May using the same python environment or pytorch version will help you.
does the total_text.py can only deal with curved texts ?