Skip to content

HFValidationError #6

Description

@gebaltso

Hello! I downloaded v2-1_512-ema-pruned.ckpt and changed the Line106 of train.py with the corresponding path. However I get

Traceback (most recent call last):
  File "train.py", line 767, in <module>
    main(args)
  File "train.py", line 423, in main
    tokenizer = AutoTokenizer.from_pretrained(
  File ".../conda_envs/IDEGAN/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 686, in from_pretrained
    tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)
  File ".../conda_envs/IDEGAN/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 519, in get_tokenizer_config
    resolved_config_file = cached_file(
  File ".../conda_envs/IDEGAN/lib/python3.8/site-packages/transformers/utils/hub.py", line 429, in cached_file
    resolved_file = hf_hub_download(
  File ".../conda_envs/IDEGAN/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 111, in _inner_fn
    validate_repo_id(arg_value)
  File ".../conda_envs/IDEGAN/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 159, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/mnt/cephfs/home/gebaltso/home/gebaltso/SD2ch/2'. Use `repo_type` argument if needed.

Any idea what I can do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions