Yangr116 / BoxSnake

[ICCV 2023] BoxSnake official repository.
https://arxiv.org/pdf/2303.11630.pdf
Apache License 2.0
66 stars 6 forks source link

AttributeError: ENABLE_ROI_JITTER #3

Closed www-ly closed 1 year ago

www-ly commented 1 year ago

hello,I found a problem while running experiments: File "/home/ubt/devdata1/ly/BoxSnake-master/modeling/roi_heads/roi_heads.py", line 129, in from_config 'enable_roi_jitter': cfg.MODEL.ROI_MASK_HEAD.ENABLE_ROI_JITTER, File "/home/ubt/anaconda3/envs/boxsnake/lib/python3.7/site-packages/yacs/config.py", line 141, in getattr raise AttributeError(name) AttributeError: ENABLE_ROI_JITTER

After checking I found cfg. MODEL. ROI_MASK_HEAD. ENABLE_ROI_JITTE,cfg. MODEL. ROI_MASK_HEAD. NUM_ROI_JITTER these parameters are not initialized, I want to ask if the code is missing some configuration files?

Yangr116 commented 1 year ago

I had update the code, just now.

www-ly commented 1 year ago

Thank you very much, it has been successfully run!

Yangr116 commented 1 year ago

If there is any question about BoxSnake, please feel free to contact me~