Open pd162 opened 1 year ago
Hi @pd162 I found that you used the original number of classes on COCO dataset as num_classes. Why did NOT u change the num_classes as the number of classes on your dataset?
Hi @pd162 I found that you used the original number of classes on COCO dataset as num_classes. Why did NOT u change the num_classes as the number of classes on your dataset?
In fact, I have modified the num_classes=1 for my task. But it occupied so large graphic memory to train and test that I cannot stand.
Hi @pd162 Thanks for your reply. I also tried to use num_classes == 1 but the training fails in the loss computation step. I could not find the reason yet. Can we cooperate on this issue?
I have met similar problem with RTMDet detection inference. The inference was quite slow. I noticed init_detector does not return the model on GPU even if device argument pass correctly.
I fixed the issue simply call detector.cuda() right after calling init_detector.
I don't know why the issue occurred. But now I am satisfied.
Checklist
Describe the issue
I tried to use RTMDet with segmentation head in scene text detection. Except a replacement of dataset, I didn't change any config. However, when I have trained a model and tried to analysis its inference speed, I found the speed of RTMDet only less than 10 fps, which is much lower than the report.
Reproduction
Did you make any modifications on the code or config? Did you understand what you have modified? Yes. I did.
What dataset did you use? ICDAR 2015, a text detection dataset.
Environment
I guarantee my environment works.
Results
If applicable, paste the related results here, e.g., what you expect and what you get.