runtime error
Exit code: 1. Reason: 76it/s, Materializing param=pooler.dense.weight][A Loading weights: 100%|ββββββββββ| 199/199 [00:00<00:00, 7225.36it/s, Materializing param=pooler.dense.weight][A Loading weights: 100%|ββββββββββ| 199/199 [00:00<00:00, 7194.72it/s, Materializing param=pooler.dense.weight] [1mBertModel LOAD REPORT[0m from: bert-base-uncased Key | Status | | -------------------------------------------+------------+--+- cls.predictions.bias | UNEXPECTED | | cls.predictions.transform.dense.bias | UNEXPECTED | | cls.seq_relationship.weight | UNEXPECTED | | cls.predictions.transform.dense.weight | UNEXPECTED | | cls.seq_relationship.bias | UNEXPECTED | | cls.predictions.transform.LayerNorm.weight | UNEXPECTED | | cls.predictions.transform.LayerNorm.bias | UNEXPECTED | | [3mNotes: - UNEXPECTED[3m :can be ignored when loading from different task/architecture; not ok if you expect identical arch.[0m Traceback (most recent call last): File "/home/user/app/app.py", line 65, in <module> model = load_model_hf(config_file, ckpt_repo_id, ckpt_filenmae) File "/home/user/app/app.py", line 39, in load_model_hf model = build_model(args) File "/home/user/app/groundingdino/models/__init__.py", line 17, in build_model model = build_func(args) File "/home/user/app/groundingdino/models/GroundingDINO/groundingdino.py", line 372, in build_groundingdino model = GroundingDINO( File "/home/user/app/groundingdino/models/GroundingDINO/groundingdino.py", line 111, in __init__ self.bert = BertModelWarper(bert_model=self.bert) File "/home/user/app/groundingdino/models/GroundingDINO/bertwarper.py", line 29, in __init__ self.get_head_mask = bert_model.get_head_mask File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1964, in __getattr__ raise AttributeError( AttributeError: 'BertModel' object has no attribute 'get_head_mask'
Container logs:
Fetching error logs...