Skip to content

Encoder.__init__() got an unexpected keyword argument 'condition' #2

Description

@Dan-Kouba

I installed everything on OSX, but I get this error when I try to run the program:

dankouba@dan-koubas-macbook-pro:~/Documents/personal/Color-diffusion$ python3 inference.py --image-path ~/Downloads/md.jpg --checkpoint ./checkpoint/md.jpg --save_path ./output
Traceback (most recent call last):
File "/Users/dankouba/Documents/personal/Color-diffusion/inference.py", line 37, in
encoder = Encoder(**enc_config)
^^^^^^^^^^^^^^^^^^^^^
TypeError: Encoder.init() got an unexpected keyword argument 'condition'

My guess is one of the requirements needs to be pinned to a version, but they all take up the latest. Any insight you can provide?

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