I had follow the tutorial to run the code ,the paths of data also were modified.but I can not run the code successfully. there are the error infomation.
Traceback (most recent call last):
File "/work/shared_pool_data02/multi_modal/mist/main_agqa_v2.py", line 36, in
bert_tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
File "/home/wpx/miniconda3/envs/mistenv/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 1795, in from_pretrained
raise EnvironmentError(
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.
I had follow the tutorial to run the code ,the paths of data also were modified.but I can not run the code successfully. there are the error infomation.
Traceback (most recent call last):
File "/work/shared_pool_data02/multi_modal/mist/main_agqa_v2.py", line 36, in
bert_tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
File "/home/wpx/miniconda3/envs/mistenv/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 1795, in from_pretrained
raise EnvironmentError(
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.