ucbdrive / few-shot-object-detection

Implementations of few-shot object detection benchmarks
Apache License 2.0
1.12k stars 225 forks source link

A code error in prepare_voc_few_shot.py? #176

Open henanwg opened 2 years ago

henanwg commented 2 years ago

I think the judgment condition of "if s not in c_data" is to prevent the image path already contained in box_(k-1) shot_category_train.txt from appearing in box_kshot_category_train.txt

If you operate according to the method in the figure, the result of the judgment will always be true

23c4d19d4a7d93c7c28f5e8a71e122d