You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final text_encoder_type: bert-base-uncased
Traceback (most recent call last):
File "/app/DetGPT/demo_detgpt.py", line 189, in
detector = load_model_hf(config_file, ckpt_repo_id, ckpt_filenmae)
File "/app/DetGPT/demo_detgpt.py", line 84, in load_model_hf
model = build_model(model_args)
File "/app/DetGPT/GroundingDINO/groundingdino/models/init.py", line 17, in build_model
model = build_func(args)
File "/app/DetGPT/GroundingDINO/groundingdino/models/GroundingDINO/groundingdino.py", line 372, in build_groundingdino
model = GroundingDINO(
File "/app/DetGPT/GroundingDINO/groundingdino/models/GroundingDINO/groundingdino.py", line 108, in init
self.bert = get_tokenlizer.get_pretrained_language_model(text_encoder_type)
File "/app/DetGPT/GroundingDINO/groundingdino/util/get_tokenlizer.py", line 23, in get_pretrained_language_model
return BertModel.from_pretrained(text_encoder_type)
File "/app/anaconda3/envs/detgpt/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2560, in from_pretrained
state_dict = load_state_dict(resolved_archive_file)
File "/app/anaconda3/envs/detgpt/lib/python3.9/site-packages/transformers/modeling_utils.py", line 429, in load_state_dict
with safe_open(checkpoint_file, framework="pt") as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
The text was updated successfully, but these errors were encountered:
final text_encoder_type: bert-base-uncased
Traceback (most recent call last):
File "/app/DetGPT/demo_detgpt.py", line 189, in
detector = load_model_hf(config_file, ckpt_repo_id, ckpt_filenmae)
File "/app/DetGPT/demo_detgpt.py", line 84, in load_model_hf
model = build_model(model_args)
File "/app/DetGPT/GroundingDINO/groundingdino/models/init.py", line 17, in build_model
model = build_func(args)
File "/app/DetGPT/GroundingDINO/groundingdino/models/GroundingDINO/groundingdino.py", line 372, in build_groundingdino
model = GroundingDINO(
File "/app/DetGPT/GroundingDINO/groundingdino/models/GroundingDINO/groundingdino.py", line 108, in init
self.bert = get_tokenlizer.get_pretrained_language_model(text_encoder_type)
File "/app/DetGPT/GroundingDINO/groundingdino/util/get_tokenlizer.py", line 23, in get_pretrained_language_model
return BertModel.from_pretrained(text_encoder_type)
File "/app/anaconda3/envs/detgpt/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2560, in from_pretrained
state_dict = load_state_dict(resolved_archive_file)
File "/app/anaconda3/envs/detgpt/lib/python3.9/site-packages/transformers/modeling_utils.py", line 429, in load_state_dict
with safe_open(checkpoint_file, framework="pt") as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
The text was updated successfully, but these errors were encountered: