paulchhuang / bstro

The official code for BSTRO in paper: Capturing and Inferring Dense Full-Body Human-Scene Contact, CVPR2022
84 stars 7 forks source link

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

Closed JiahongWu1995 closed 2 years ago

JiahongWu1995 commented 2 years ago

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 2 years ago

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 2 years ago

thank you for your reply!