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

What is the meaning of the param 'PH' in test_single.py? #1

Open
ToT-12136 opened this issue Jul 2, 2023 · 1 comment
Open

What is the meaning of the param 'PH' in test_single.py? #1

ToT-12136 opened this issue Jul 2, 2023 · 1 comment

Comments

@ToT-12136
Copy link

This param is multiplied by 'xhat_1' in the function 'p_sample_loop_progressive'.

What is the meaning of the param 'PH' in test_single.py?

PH = th.from_numpy(np.float32(data['H'])).unsqueeze(0).unsqueeze(-1)

In addition, can the author provide the datasets used in the actual test? The available links are not consistent with the treatment described in the paper

'Unsupervised Pansharpening via Low-rank Diffusion Model'

@xyrui
Copy link
Collaborator

xyrui commented Jun 3, 2024

"PH" means the spectral response vector "r" in Eq. (2).

I've uploaded all datasets used in our experiments for reproduce the results. Please find them in https://drive.google.com/drive/folders/161ExMLMeGTyckdyAGdGjN0hKe3ONemkD?usp=sharing.

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

2 participants