Skip to content

GFPGAN tries to run even when I don't specify --gfpgan #100

Description

@Cubox

When running dream.py, on each image generated, I get the following message:
GFPGAN not initialized, it must be loaded via the --gfpgan argument█████████████████████| 50/50 [00:07<00:00, 6.74it/s]

And when running dream_web.py, I get

Request to generate with prompt: test
100%|███████████████████████████████████████████████████████████████████████████████████| 50/50 [00:09<00:00,  5.04it/s]
Error running GFPGAN - Your image was not enhanced.█████████████████████████████████████| 50/50 [00:09<00:00,  5.27it/s]
'>' not supported between instances of 'NoneType' and 'int'
Sampling: 100%|███████████████████████████████████████████████████████████████████████████| 1/1 [00:11<00:00, 11.62s/it]

I assume this isn't the intended behaviour, unless I explicitly call for GFPGAN, I don't want to try to run it/initialize it

Thanks for the work on this

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions