TextFuseNet icon indicating copy to clipboard operation
TextFuseNet copied to clipboard

Testing on custom datasets

Open Gokulnath-Sourirajan opened this issue 4 years ago • 5 comments

Hi, after having downloaded the pretrained model, is there a way to test them on my custom dataset or ant other datasets that do not have its corresponding .py file in demo folder? Thanks!

Gokulnath-Sourirajan avatar Sep 01 '21 05:09 Gokulnath-Sourirajan

put images inside input_images folder give the path of downloded model in demo/***det.py and run demo/det.py. output will be saved in test_icdar file

Aditya-5895 avatar Oct 06 '21 11:10 Aditya-5895

Hi there, I have followed Aditya's instructions. But when i run "python demo/icdar2015_detection.py", it takes quite awhile (10-15 minutes) before generating an error "RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR".

I thought it could be due to the batch size? So I changed the IMS_PER_BATCH in configs yml from 4 to 1, but the same error popped up. Have you encountered this?

ipheiman avatar Oct 08 '21 04:10 ipheiman

I encountered That error but after reducing batch size it worked. Its a cuda bug .If IMS_PER_BATCH=1 is also not working for you check without cuda or check proper pytorch or cuda version for your GPU. check with this link https://github.com/pytorch/pytorch/issues/27588

Aditya-5895 avatar Oct 08 '21 04:10 Aditya-5895

Thanks Aditya for the quick reply. You're probably right that its a cuda bug, and my GPU is RTX3080 which could be incompatible with cuda 10. Cheers!

ipheiman avatar Oct 08 '21 06:10 ipheiman

Can I use SVHN dataset on this model?

kaxapatel avatar Jan 09 '22 11:01 kaxapatel