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

No contents in modeling_bert.py? #6

Closed HarrytheOrange closed 1 year ago

HarrytheOrange commented 1 year ago

(czm) lsd@actev:~/czm/bstro-main$ python ./metro/tools/demo_bstro.py --num_hidden_layers 4 --num_attention_heads 4 --input_feat_dim 2051,512,128 --hidden_feat_dim 1024,256,128 --input_img samples/body-scene-contact/sample4.png--output_dir ./demo --resume_checkpoint models/bstro/hsi_hrnet_3dpw_b32_checkpoint_15.bin Traceback (most recent call last): File "/home/lsd/czm/bstro-main/./metro/tools/demo_bstro.py", line 28, in from metro.modeling.bert import BertConfig, METRO File "/home/lsd/czm/bstro-main/metro/modeling/bert/init.py", line 3, in from .modeling_bert import (BertConfig, BertModel, File "/home/lsd/czm/bstro-main/metro/modeling/bert/modeling_bert.py", line 1 ../../../transformers/pytorch_transformers/modeling_bert.py

paulchhuang commented 1 year ago

modeling_bert.py is in transformers, which we include as a submodule (not our code).