Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model name with trailing space causes an error while converting #376

Closed
ssube opened this issue May 6, 2023 · 0 comments
Closed

model name with trailing space causes an error while converting #376

ssube opened this issue May 6, 2023 · 0 comments
Labels
scope/convert status/fixed issues that have been fixed and released type/bug broken features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented May 6, 2023

Using a model name in the extras file with a trailing space, like:

    {
      "name": "diffusion-aniflatmix ",
      "source": "civitai://40816",
      "format": "safetensors",
      "label": "Anime Flat Color",
    },
    {
      "name": "diffusion-mistoon-anime ",
      "source": "civitai://28861",
      "format": "safetensors",
      "label": "Mistoon-Anime",
    },
    {
      "name": "diffusion-mistoon-emerald ",
      "source": "civitai://57368",
      "format": "safetensors",
      "label": "Mistoon-Emerald",
    },
    {
      "name": "diffusion-mistoon-amethyst ",
      "source": "civitai://56710",
      "format": "safetensors",
      "label": "Mistoon-Amethyst",
    }

Will cause an error when the model is being converted, and it will not convert correctly. I'm not sure why or where the space is being removed, but the paths do not agree, and the inner models cannot be found:

FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: 'E:\\Stable Diffusion\\models\\diffusion-mistoon-emerald \\text_encoder'
FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: 'E:\\Stable Diffusion\\models\\diffusion-mistoon-amethyst \\text_encoder'
[2023-05-06 22:01:04,078] ERROR: MainProcess MainThread onnx_web.convert.__main__: error while converting models: ['diffusion-instruct-pix2pix', 'diffusion-anything-v4', 'diffusion-aniflatmix ', 'diffusion-mistoon-anime ', 'diffusion-mistoon-emerald ', 'diffusion-mistoon-amethyst ']
@ssube ssube added status/new issues that have not been confirmed yet type/bug broken features scope/convert labels May 6, 2023
@ssube ssube modified the milestones: v0.10, v0.11 Dec 3, 2023
@ssube ssube added status/fixed issues that have been fixed and released and removed status/new issues that have not been confirmed yet labels Dec 10, 2023
@ssube ssube closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/convert status/fixed issues that have been fixed and released type/bug broken features
Projects
None yet
Development

No branches or pull requests

1 participant