Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem when reproduced on large scale factor super-resolution #11

Open
Caoxuheng opened this issue Mar 25, 2023 · 0 comments
Open

A problem when reproduced on large scale factor super-resolution #11

Caoxuheng opened this issue Mar 25, 2023 · 0 comments

Comments

@Caoxuheng
Copy link

Caoxuheng commented Mar 25, 2023

Thank you for your work on Hypertransformer! When I tried HyperTransformer on CAVE dataset with 32-scale factor super-resolution, the loss is so huge. In order to make the code suitable for 32x super resolution tasks, I upsampled the MS_image 4 times and then fed it into the feature extractor in backbone (i.e., the self.SFE in code). The HSIs in CAVE have been normailized into 0~1. But the numerical range of reocnstructed HSI is very huge too, about 3e4.

The size of MS_image: 8x8x31; Size of PAN_image(RGB image): 32x32x3, Batchsize:5;

Training Epoch: 1 Loss: 3612763.764423077
Training Epoch: 2 Loss: 766998.2764423077
Training Epoch: 3 Loss: 350786.46514423075
Training Epoch: 4 Loss: 230237.5733173077
Training Epoch: 5 Loss: 184773.47115384616
Training Epoch: 6 Loss: 160125.31189903847
Training Epoch: 7 Loss: 137537.77524038462
Training Epoch: 8 Loss: 117618.86358173077
Training Epoch: 9 Loss: 106500.88341346153
Training Epoch: 10 Loss: 96507.72115384616

Furthermore, the output is displayed on RGB. I want to known if there is something wrong.
(https://github.com/Caoxuheng/imgs/blob/main/1.png)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant