Skip to content

File "solve.py", line 17, in <module> def precompute(args, prompts:List[str], solver) -> List[torch.Tensor]: TypeError: __init__() takes 1 positional argument but 2 were given #3

Description

@1415-huangheqing

When I type: python solve.py --img_size 768 --img_path samples/div2k_example.png --prompt "a high quality photo of animal, bush, close-up, fox, grass, green, greenery, hide, panda, red, red panda, stare" --task sr_bicubic --deg_scale 12 --efficient_memory;
What about the above error? Is it a problem with my configuration?

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