Skip to content

hello。训练时候报错,pretrain权重没有。这儿填stabilityai/stable-diffusion-xl-base-1.0吗? #8

@gangxu822

Description

@gangxu822

Repository Not Found for url: https://huggingface.co/None/resolve/main/tokenizer/tokenizer_config.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "train_GPSDiffusion_sdxl.py", line 1627, in
main(args)
File "train_GPSDiffusion_sdxl.py", line 1027, in main
tokenizer_one = AutoTokenizer.from_pretrained(
File "/opt/nas/p/conda/envs/GPSDiffusion/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 833, in from_pretrained
tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)
File "/opt/nas/p/conda/envs/GPSDiffusion/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 665, in get_tokenizer_config
resolved_config_file = cached_file(
File "/opt/nas/p/conda/envs/GPSDiffusion/lib/python3.8/site-packages/transformers/utils/hub.py", line 425, in cached_file
raise EnvironmentError(
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>

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