ImportError: cannot import name 'METRO' from 'metro.modeling.bert.modeling_bstro'
Closed this issue · 2 comments
JiahongWu1995 commented
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'
paulchhuang commented
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.
JiahongWu1995 commented
thank you for your reply!