-
hey there, I notice that your code for loss function in ssim_loss_function.py is quite similar to the code I found in https://stackoverflow.com/questions/39051451/ssim-ms-ssim-for-tensorflow
Howeve…
-
Hi, thanks a lot for your swift response and your reminder helps a lot.
One more thing, I train on the DTU dataset with augmentation and co-seg deactivated. The training loss looks like bel…
-
whty do we need set the requires_grad = True in the `img2 = Variable( img2, requires_grad = True)` ,while the value in the img1 is False
```
import pytorch_ssim
import torch
from torch.autograd im…
-
您好,我把这个方法用于13个波段的遥感图像,数据来自SEN12MS-CR的5个场景,并提供SAR作为辅助图像,在只更改数据加载方式不更改其他参数的情况下,训练后得到的恢复结果过于平滑。
我也用SpAGAN、HS2P等方法进行了训练,但在恢复区域都出现了过平滑问题,效果如下:
![image](https://github.com/user-attachments/assets/ea86…
-
while ssim_value < 0.95:
optimizer.zero_grad()
ssim_out = -ssim_loss(img1, img2)
ssim_value = - ssim_out.item()
print(ssim_value)
ssim_out.backward()
optimizer.step()
…
-
Hi,
I am not able to run the example script. Could you please let me know what is missing?
basic usage script :
import pytorch_ssim
import torch
from torch.autograd import Variable
i…
-
Thank you for your great work. I finish the whole training process on paper-windmill dataset using 7 hours. But from the results, the rendered image is not clear enough.
This is some results from t…
-
Hello, @liuff19
Recently, I found your project very interesting and started reading your paper. However, I have some questions on some equations in the paper.
1.
For equations (12)
$$\ L_{\t…
-
Dear Authors,
Thank you for sharing your excellent paper and the complete codebase. We have a question regarding the reproduction and would greatly appreciate your guidance.
After following the …
-
Thanks for your work!
In my understanding,**num_classes** represents the number of categories that classifier can output,and 256 seems a little bit big.
I only change the config/gaussian_da…