mlzxy / devit

CoRL 2024
https://mlzxy.github.io/devit
MIT License
330 stars 45 forks source link

datasets cant loading correctly #34

Open Austin98 opened 9 months ago

Austin98 commented 9 months ago

I have downloaded the datasets and weights from gdrive, but when I try to train the model, some error happened. When I try to run vit=l task=ovd dataset=coco bash scripts/train.sh The error is FileNotFoundError: [Errno 2] No such file or directory: 'datasets/coco/train2017/000000183332.jpg' When I try to run task=ovd dataset=lvis bash scripts/train.sh MODEL.MASK_ON True The error is FileNotFoundError: [Errno 2] No such file or directory: 'datasets/lvis/lvis_v1_val.json'

My datasets download from the link in Downloads.md haven't the above paths, I don't know where is wrong? Maybe I need deal with the datasets firstly?

Btw, need I uncompress the files cocosplit.tar.gz & cocosplit2017.tar.gz in the datasets/coco and what is it used for? Thank you for you great work!

yujiao12 commented 6 months ago

Hello, have you solved it? I had the same problem. Thank you.

SodaPlusIce commented 5 months ago

I have the same problem. When I try to run vit=l task=ovd dataset=coco bash scripts/eval.sh The error is FileNotFoundError: [Errno 2] No such file or directory: 'datasets/coco/val2017/000000000139.jpg'

elE0710 commented 5 months ago

You need to download the Coco Dataset from the website and place the images into datasets/coco/valXXXX so the images are in the devit folder. If you are on linux you can just use wget http://images.cocodataset.org/zips/val2017.zip and then unzip the files into the directory