Skip to content

OSError: Can't load tokenizer for 'stablediffusionapi/realistic-vision-v51' #3

@zeroyi37

Description

@zeroyi37

Hello! first of all, thank you for writing good paper.
I have a question when I run run.py

Traceback (most recent call last):
File "/data/yul31/TC-Light-main/run.py", line 13, in
pipe, scheduler, config.model_key = init_iclight(config.device)
File "/data/yul31/TC-Light-main/utils/model_utils.py", line 14, in init_iclight
tokenizer = CLIPTokenizer.from_pretrained(sd15_name)#, subfolder="tokenizer"
File "/home/fortress/anaconda3/envs/tclight1/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2200, in from_pretrained
raise EnvironmentError(
OSError: Can't load tokenizer for 'stablediffusionapi/realistic-vision-v51'. 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 'stablediffusionapi/realistic-vision-v51' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.

Has anyone experienced this issue with stablediffusionapi/realistic‑vision‑v51 and found a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions