DynRefer icon indicating copy to clipboard operation
DynRefer copied to clipboard

demo error: bert-base-uncased

Open ericyq opened this issue 6 months ago • 2 comments

dynrefer_inference.py model = task.build_model(cfg) tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")

OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.

ericyq avatar Aug 12 '24 07:08 ericyq