OnderT / XoFTR

XoFTR is a cross-modal cross-view method for local feature matching between thermal infrared (TIR) and visible images.
Apache License 2.0
58 stars 0 forks source link

ValueError: `Dataloader` returned 0 length. Please make sure that it returns at least 1 batch #5

Open rfLiu123 opened 2 weeks ago

rfLiu123 commented 2 weeks ago

This is a great job. Hello, when reproducing your work, I followed the steps you provided and the demo file ran smoothly. However, I encountered a problem during training. This is my running log: +++ readlink -f ./pretrain.sh ++ dirname /media/tom/新加卷/XoFTR/scripts/reproduce_train/pretrain.sh

OnderT commented 2 weeks ago

Thank you for your interest in our work!

Based on the image you provided, it seems there may be a download issue with the KAIST-CVPR15 dataset (KAIST Multispectral Pedestrian Detection Benchmark). To ensure proper pretraining, please make sure to download the KAIST-CVPR15 dataset as described in the training documentation. The folder named "kaist-cvpr15" should then be placed within the "data" directory, as shown below. Alternatively, you can set up a symbolic link if you'd rather keep the files in a different location. I hope this helps resolve the issue!

XoFTR/
├── data/
│      ├── kaist-cvpr15/
│      ├── megadepth/
│      └── METU_VisTIR/
└── ...