Closed yui1061236135 closed 2 years ago
stuck in here as well i took a look in modules.py and i found where down_ref is required
down ref is an argument for the decode and forward function but no indication is given in regarding to what it is @Holmes-Alan or @yui1061236135 could you help me please??
if i try to remove down_ref as an argument then i get the following error message
Traceback (most recent call last):
File "C:\Users\mario\Desktop\dSRVAE-master\main_denoiser.py", line 159, in
Any feedback would be apreciated thank you in advance!!!!
Hello, you can remove "down_ref" from the function since it is not used. I have updated the file and you can try again.
Traceback (most recent call last): File "main_denoiser.py", line 142, in
train(epoch)
File "main_denoiser.py", line 63, in train
Denoise_LR, KL = model(HR_feat, input)
File "D:\Anaconda3\envs\SR\lib\site-packages\torch\nn\modules\module.py", line 532, in call
result = self.forward(*input, kwargs)
File "D:\Anaconda3\envs\SR\lib\site-packages\torch\nn\parallel\data_parallel.py", line 150, in forward
return self.module(*inputs[0], *kwargs[0])
File "D:\Anaconda3\envs\SR\lib\site-packages\torch\nn\modules\module.py", line 532, in call
result = self.forward(input, kwargs)
TypeError: forward() missing 1 required positional argument: 'down_ref
I don't know how to fix the problem,please help