hwz-zju / Instruct-ReID

A General-purpose Person Re-identification Task with Instructions
115 stars 4 forks source link

problem with running the example (prcc model) #15

Open barshag opened 5 months ago

barshag commented 5 months ago

Got error:

Instruct-ReID/reid/models/tokenization_bert.py", line 155, in get_vocab
    return dict(self.vocab, **self.added_tokens_encoder)
                ^^^^^^^^^^
AttributeError: 'BertTokenizer' object has no attribute 'vocab'

Installed transofmers in 4.25.1 or 4.31 still no work.