YBYBZhang/ControlVideo

ValueError: Calling CLIPTokenizer.from_pretrained() with the path to a single file or url is not supported for this tokenizer. Use a model identifier or the path to a directory instead.

Rkunique opened this issue · 0 comments

Hello! I am running the Inference: inference.sh
which results in the following error:

Traceback (most recent call last):
File "inference.py", line 96, in
tokenizer = CLIPTokenizer.from_pretrained(sd_path, subfolder="tokenizer")
File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1702, in from_pretrained
raise ValueError(
ValueError: Calling CLIPTokenizer.from_pretrained() with the path to a single file or url is not supported for this tokenizer. Use a model identifier or the path to a directory instead.