MapTR icon indicating copy to clipboard operation
MapTR copied to clipboard

custom_dataset

Open scream68 opened this issue 1 year ago • 1 comments

I'm trying to train using a custom dataset, and sometimes the number of actual labels in the scene is less than 10 (the predicted count). Should I perform padding or any other processing? If so, how should I do it? For example, if I'm predicting two classes, 0 and 1, and I set num_classes=2, before calculating the loss, the code will fill it as [1, 1, 2, 0, 2, 2, 2, 0, 1, 2]. such as the figure L6M 9UHANVOZ2~WE}WEG)P7

scream68 avatar Jul 15 '23 02:07 scream68

Hello, have you succeeded? I also want to use a custom dataset to run maptr. How can I build my own dataset, which means what data and annotation information are needed?

lio5474 avatar Apr 07 '24 17:04 lio5474