ZhangGongjie / SAM-DETR

[CVPR'2022] SAM-DETR & SAM-DETR++: Official PyTorch Implementation
MIT License
292 stars 50 forks source link

Data preparation mistake #3

Closed MusherM closed 2 years ago

MusherM commented 2 years ago

Hey!It's me again, I forgot to tell u another small mistake in Data Preparation

code_root/
└── data/
    └── coco/
        ├── train2017/
        ├── val2017/
        └── annotations/
            ├── instances_train2017.json
            └── instances_val2017.json

This does not seem to meet the file structure written in your code. The correct Tree seems to be like this:

code_root/
└── data/
    └── coco/
        └── images/
               ├── train2017/
               └──val2017/
        └── annotations/
            ├── instances_train2017.json
            └── instances_val2017.json

Please check it out, thx

ZhangGongjie commented 2 years ago

Thank you so much for providing issues. @MusherM 💯 👍

I have changed the code for parsing the dataset so that the dataset directory does not need to change. Have a nice day!