Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError in prep_mtsd_for_yolo.py #3

Open
JohnZhang000 opened this issue Jun 12, 2023 · 1 comment
Open

ImportError in prep_mtsd_for_yolo.py #3

JohnZhang000 opened this issue Jun 12, 2023 · 1 comment

Comments

@JohnZhang000
Copy link

Thank you very much for your solid contribution, which provides a unified benchmark for evaluating physical adversarial examples. We are trying to follow your work but encountered an error when preparing the dataset.

when we run prep_mtsd_for_yolo.py, the following error happens:
ImportError: cannot import name 'MIN_OBJ_AREA' from 'hparams'
similar import error happens to PATH_APB_ANNO, PATH_MTSD_BASE,PATH_MTSD_BASE

By the way. failed to find prep_mtsd_for_detectron.py described in README.md

@chawins
Copy link
Member

chawins commented Jun 25, 2023

Thank you for taking an interest in our work! And sorry for the trouble and the delay. prep_mtsd_for_yolo.py is deprecated; we previously used it with the old YOLO code/scripts.

I believe that it is not necessary to preprocess MTSD now, but I couldn't exactly test this because I haven't been able to download the original MTSD from their website https://www.mapillary.com/dataset/trafficsign. I will keep you posted if I get any updates on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants