paulchhuang/bstro

ImportError: cannot import name 'METRO' from 'metro.modeling.bert.modeling_bstro'

Closed this issue · 2 comments

hi, I am very interesting in your excellenct work! but i found there is a bug in the code when i run the demo code. https://github.com/paulchhuang/bstro/blob/main/docs/DEMO.md#human-scene-contact-detection.
ImportError: cannot import name 'METRO' from 'metro.modeling.bert.modeling_bstro'

Thanks for giving the code a try. We have committed a fix. Please pull the latest code.
There should be a METRO class in metro/modeling/bert/modeling_bstro.py now.

thank you for your reply!