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 HyperTransformer code #8

Open
fyoung26 opened this issue Dec 1, 2022 · 11 comments
Open

A problem when reproduced HyperTransformer code #8

fyoung26 opened this issue Dec 1, 2022 · 11 comments

Comments

@fyoung26
Copy link

fyoung26 commented Dec 1, 2022

Hello Chaminda,

Thank you for the code and work on HyperTransformer. When I tried to reproduce the score on the botswana4 dataset, the metrics I got are far from expectation:

pretrain:
{"loss": 0.07473030593246222, "cc": 0.9290400743484497, "sam": 3.0020320415496826, "rmse": 0.021659649908542633, "ergas": 0.6483104825019836, "psnr": 27.892120361328125}

train:
{"loss": 0.08555552270263433, "cc": 0.8993576765060425, "sam": 3.35520076751709, "rmse": 0.02654602937400341, "ergas": 0.7366535663604736, "psnr": 26.585630416870117}

I also used the trained model you provided, and I got:
{"loss": 0.05360260047018528, "cc": 0.9539724588394165, "sam": 2.2932522296905518, "rmse": 0.01636636257171631, "ergas": 1.8692368268966675, "psnr": 30.393962860107422}

Both results are far from expectation.

Then,I checked the github issue of HyperTransformer, then I changed "max_value": 8000 to "max_value": 9816(I got this value from the proccess code of matlab),the pretrain metrics got improvement:

{"loss": 0.03306201007217169, "cc": 0.964657187461853, "sam": 1.863145351409912, "rmse": 0.01357241254299879, "ergas": 0.3927982747554779, "psnr": 32.014068603515625}

But still far away from expectation.

Do you know how to solve this problem?

@fyoung26
Copy link
Author

fyoung26 commented Dec 1, 2022

I tried to contact you via email(wbandar1@jhu.edu), but dont get reply, I really need your help, thank you.T T

@wgcban
Copy link
Owner

wgcban commented Dec 1, 2022

@fyoung26 I am not exactly sure what is the reason for lower scores on the Botswana dataset. Let me look into it.

@fyoung26
Copy link
Author

fyoung26 commented Dec 1, 2022

@wgcban Thank you sincerely, I'm looking for your reply💖

@maozan
Copy link

maozan commented Dec 8, 2022

Hi @fyoung26 . May I ask, did you solve your puzzle?

@fyoung26
Copy link
Author

fyoung26 commented Dec 8, 2022

Hi @fyoung26 . May I ask, did you solve your puzzle?

Hi @maozan , I didn't solve it yet, do you have any idea about?

@HaiMaoShiTang
Copy link

@fyoung26我不确定博茨瓦纳数据集得分较低的原因是什么。让我调查一下。

Hello Sir,
Thank you for the code and work on HyperTransformer. I am very confused about the data set processed by matlab. Could you please send me a copy of the processed data set? Email: xiaozhengwang95@gmail.com. Thank you very much.

@HaiMaoShiTang
Copy link

@wgcban
Hello Sir,
Thank you for the code and work on HyperTransformer. I am very confused about the data set processed by matlab. Could you please send me a copy of the processed data set? Email: xiaozhengwang95@gmail.com . Thank you very much.

@wgcban
Copy link
Owner

wgcban commented Mar 12, 2023

@HaiMaoShiTang Hi, I am not sure about I still have the dataset saved in my machine since I am not continuing right now, but I will check and respond to you tomorrow. Thanks.

@HaiMaoShiTang
Copy link

HaiMaoShiTang commented Mar 12, 2023 via email

@hachreak
Copy link

Hi @wgcban ,
it looks like there are many issues with the code and also with the pretrained.

E.g. dataset padova:

I downloaded your pretrained of N_modules 8 for pavia and I tried to compute the PSNR, running the test function.

The test function returns a PSNR of 41.60820770263672 but in the paper you wrote 43.80!

How can I replicate your results?
I'm doing something wrong?
Could you please share the your datasets?
Thanks a lot for your help!

@ChenJFU
Copy link

ChenJFU commented Aug 21, 2023

@HaiMaoShiTang Hi, I am not sure about I still have the dataset saved in my machine since I am not continuing right now, but I will check and respond to you tomorrow. Thanks.

Hello Sir,
Thank you for the code and work on HyperTransformer. I'm also confused about the preprocessed data set. Could you please send me a copy of the processed data set? My Email: chenjiafu113@gmail.com. Thank you very much.

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

6 participants