Closed RHEPI closed 1 year ago
Sorry for the confusion. The w.mat file is the simulated true residual that was previously used to test and tune the model parameter. It's no longer necessary for the fixed model so I've deleted the relevant variable and statements in the updated version.
Where is the supplementary material for this paper?
Where is the supplementary material for this paper?
Updated in the repository.
Is UaUDeblur_demo.py code used for training? Would it be convenient to publish the code for the test?
In debugging the file "UaUDeblur_demo.py", there is a error: self.img_est_np = torch_to_np(self.img_est_torch).squeeze() AttributeError: 'DeepResPrior' object has no attribute 'img_est_torch' How could I revise this error?
line 140 'self.img_est_torch = torch.real(torch.fft.irfft2(torch.fft.rfft2(self.img_out_torch) * self.PSF))'
Did you have declared a new variable 'img_est_torch' or comment out the line 140? There's literally no attribute 'img_est_torch' in the latest version.
Hello, when I run UaUDeblur_demo.py according to the readme file, there is a problem of inconsistent dimensions. I found that the dimensions of the variables self.img_est_torch and self.img_blurred_torch are inconsistent when calculating mse. How could I revise this error
李付谦已收到。
Hello, when I run UaUDeblur_demo.py according to the readme file, there is a problem of inconsistent dimensions. I found that the dimensions of the variables self.img_est_torch and self.img_blurred_torch are inconsistent when calculating mse. How could I revise this error
It’s been noticed that many attempts have ended up with the same issue. To the best of my knowledge, it is concerned with the FFT transformation on line 139 since the experiment is implemented on PyTorch 1.10.1, which is an old version. Therefore, it’s recommended to try another version or find alternative functions for torch.fft.xxx.
I get it.Thanks for your reply.
---Original--- From: @.> Date: Sat, Jul 29, 2023 23:26 PM To: @.>; Cc: @.**@.>; Subject: Re: [xl-tang01/UAUDeblur] Are any files missing? (Issue #1)
Hello, when I run UaUDeblur_demo.py according to the readme file, there is a problem of inconsistent dimensions. I found that the dimensions of the variables self.img_est_torch and self.img_blurred_torch are inconsistent when calculating mse. How could I revise this error
Hello, when I run UaUDeblur_demo.py according to the readme file, there is a problem of inconsistent dimensions. I found that the dimensions of the variables self.img_est_torch and self.img_blurred_torch are inconsistent when calculating mse. How could I revise this error
It’s been noticed that many attempts have ended up with the same issue. To the best of my knowledge, it is concerned with the FFT transformation on line 139 since the experiment is implemented on PyTorch 1.10.1, which is an old version.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
李付谦已收到。
Is the w.moat file missing for the line w_mat = scio.loadmat(' w.moat ') in the UaUDeblur_demo.py file? If not, could you please provide the file for learning?