akhilpm / DroneDetectron2

Pytorch code for our CVPRw 2023 paper "Cascaded Zoom-in Detector for High Resolution Aerial Images"
MIT License
52 stars 7 forks source link

Unable to resolve this error #40

Closed yuxuan-life closed 7 months ago

yuxuan-life commented 7 months ago

Can you help me see why there are errors in this place

962573538d3e815eaa8cf36601d2159

yuxuan-life commented 7 months ago

e1f6893fd65f4c70e0dac20987b67d8

yuxuan-life commented 7 months ago

There should be an error with label data of 0

yuxuan-life commented 7 months ago

When I changed the label_dicts in line 79 to unlabel_dicts, it seemed like there was no problem 6ba732c211510ae8a13c8396f7b9145

yuxuan-life commented 7 months ago

I found that this error occurs on my Windows system and requires this modification, while it runs normally on Linux system

akhilpm commented 7 months ago

You might have made some changes in the config file. You can even remove the call to divide_label_unlabel function, I just used it to make a random split of the data for some debugging. SUP_PERCENT variable in the config file controls how many samples are in labeled and unlabeled dicts. Set it to 100 always.