JosephKJ / OWOD

(CVPR 2021 Oral) Open World Object Detection
https://josephkj.in
Apache License 2.0
1.04k stars 155 forks source link

Not able to load: datasets/VOC2007/Annotations/006423.xml. Continuing without aboarting... #124

Open jinweiisgreat opened 1 year ago

jinweiisgreat commented 1 year ago
image

Hi guys! Have you encountered this problem before? How did you solve it? My environment is Python 3.8+torch1.10+cuda113;reliability == 0.5.6

Thank you!

xxyzll commented 1 year ago

Did you solve it?

xxyzll commented 1 year ago

Hello, I have resolved the issue. The problem was caused by an excessive number of threads loading the data. Therefore, you need to set num_workers to 1. You can add the following to the configuration file:

DATALOADER:
  NUM_WORKERS: 1