SURFZJY / Real-time-Text-Detection-DBNet

PyTorch re-implementation of ''Real-time Scene Text Detection with Differentiable Binarization'' (AAAI 2020)
Apache License 2.0
97 stars 18 forks source link

Cant handle polygon in dataset.py, it needs to be rectangle points having 4 coordinates? Getting "load label failed" #7

Open Akshay-Ijantkar opened 3 years ago

Akshay-Ijantkar commented 3 years ago

@SURFZJY How can I use your work if my dataset contains polygon instead of rectangles?

I am getting "load label failed" as of now or does it bound to have rectangle to use your work?

Akshay-Ijantkar commented 3 years ago

@SURFZJY Trying to train of own custom dataset

SURFZJY commented 3 years ago

If you want to train polygon type dataset, you need to modify the dataloader part.