Grounded-Segment-Anything icon indicating copy to clipboard operation
Grounded-Segment-Anything copied to clipboard

The download speed is so slow...

Open David-19940718 opened this issue 2 years ago • 4 comments

image

Is it any solution to address?

David-19940718 avatar Apr 07 '23 10:04 David-19940718

image

Is it any solution to address?

You can check the network situation, this may be a network issue.

rentainhe avatar Apr 07 '23 10:04 rentainhe

image Is it any solution to address?

You can check the network situation, this may be a network issue.

Hello, can u provide the bert weight for me? I can't fixed the network issue.

David-19940718 avatar Apr 10 '23 09:04 David-19940718

Actually, I haved download the pretrained weight from huggingface, unfortunately, it raise some error: Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertModel: ['cls.predictions.transform.dense.weight', 'cls.predictions.transform.dense.bias', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight', 'cls.predictions.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias']

  • This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
  • This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). _IncompatibleKeys(missing_keys=[], unexpected_keys=['label_enc.weight'])

David-19940718 avatar Apr 10 '23 09:04 David-19940718

Actually, I haved download the pretrained weight from huggingface, unfortunately, it raise some error: Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertModel: ['cls.predictions.transform.dense.weight', 'cls.predictions.transform.dense.bias', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight', 'cls.predictions.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias']

  • This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
  • This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). _IncompatibleKeys(missing_keys=[], unexpected_keys=['label_enc.weight'])

You may load models under unstrict mode. Just ignoring the incompatible keys is fine. See our examples for reference: https://github.com/IDEA-Research/Grounded-Segment-Anything/blob/main/grounded_sam.ipynb

SlongLiu avatar Apr 10 '23 09:04 SlongLiu