Skip to content

Errors Encountered During Inference #4

Description

@gotUsername

File "D:\UniRestore\src\modules\diffuie\autoencoder.py", line 112, in init
from .taskeditor import TaskEditorV1c as TaskEditor
ImportError: cannot import name 'TaskEditorV1c' from 'modules.diffuie.taskeditor' (D:\UniRestore\src\modules\diffuie\taskeditor.py)
To resolve the first issue, I changed TaskEditorV1c to TaskFeatureAdapter in the autoencoder.py file. However, this change led to a new error. When calling the forward method of the SkipConnectedAutoEncoder class, a TypeError occurred.
TypeError: SkipConnectedAutoEncoder.forward() missing 1 required positional argument: 'task'
How can I fix the Error?Any help or suggestions would be greatly appreciated!

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