Traceback (most recent call last):


 "D:\Downloads\Environment\Anaconda\envs\starcraft\lib\site-packages\sacred\run.py", line 217, in __call__

with capture_stdout() as self._output_file:


 "D:\Downloads\Environment\Anaconda\envs\starcraft\lib\contextlib.py", line 81, in __enter__

return next(self.gen)


 "D:\Downloads\Environment\Anaconda\envs\starcraft\lib\site-packages\sacred\stdout_capturing.py", line 136, in tee_output_fd

except (
NotFoundError, (OSError, AttributeError)):
TypeError: catching classes that do not inherit from BaseException is not allowed

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/models/auto/tokenization_auto.py", line 410, in from_pretrained

return tokenizer_class_fast.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/tokenization_utils_base.py", line 1704, in from_pretrained

return cls._from_pretrained(


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/tokenization_utils_base.py", line 1717, in _from_pretrained

slow_tokenizer = (cls.slow_tokenizer_class)._from_pretrained(


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/tokenization_utils_base.py", line 1776, in _from_pretrained

tokenizer = cls(*init_inputs, **init_kwargs)


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/models/roberta/tokenization_roberta.py", line 159, in __init__

super().__init__(


 "/mnt/nvme1/code/huggingface/transformers-master/src/transformers/models/gpt2/tokenization_gpt2.py", line 179, in __init__

with open(vocab_file, encoding="utf-8") as vocab_handle:
TypeError: expected str, bytes or os.PathLike object, not NoneType
