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!
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!