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

@1415-huangheqing

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?

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