Skip to content

broken inference example #29

@albert-maker-cmd

Description

@albert-maker-cmd

hi, i tried to start:

python run_inference.py --prompt "a ginger cat wearing a tiny wizard hat reading a spellbook" --output out.png --quantization "nf4" --magic-prompt-key

and got stopped:

Traceback (most recent call last):
  File "C:\projects\ideogram4\run_inference.py", line 217, in <module>
    main()
  File "C:\projects\ideogram4\run_inference.py", line 186, in main
    images = pipe(
  File "C:\projects\ideogram4\venv\lib\site-packages\torch\utils\_contextlib.py", line 120, in decorate_context
    return func(*args, **kwargs)
  File "C:\projects\ideogram4\venv\lib\site-packages\ideogram4\pipeline_ideogram4.py", line 523, in __call__
    self._verify_prompts(prompts, raise_on_issues=raise_on_caption_issues)
  File "C:\projects\ideogram4\venv\lib\site-packages\ideogram4\pipeline_ideogram4.py", line 500, in _verify_prompts
    raise ValueError(combined)
ValueError: caption verifier flagged prompt[0]:
invalid JSON: Expecting value: line 1 column 1 (char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions