ronghanghu / snmn

Code release for Hu et al., Explainable Neural Computation via Stack Neural Module Networks. in ECCV, 2018
http://ronghanghu.com/snmn/
BSD 2-Clause "Simplified" License
72 stars 6 forks source link

Problem in test #9

Closed trx14 closed 4 years ago

trx14 commented 4 years ago

When I run the test code, I faced this error "ImportError: cannot import name 'merge_cfg_from_file' ". I checked the models_clevr_snmn.config file, and change the function name from "merge_cfg_from_file" to "_merge_cfg_from_file" and it work. Is this a bug or I make some mistakes?

ronghanghu commented 4 years ago

This seems to be a typo in the code release. I'll fix it in the repo. Thanks for reporting it!