You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,非常出色的工作。在查看您源代码的时候,在models_mae_spectral.py中,我并没有看到关于Spectral-to-Spectral的 LOSS 是如何实现的,仅看到了 loss1+loss3,应该是关于Token-to-Token的损失,并且看到一个未使用的计算光谱角的calculate_metrics_per_pixel函数,但是并没有在LOSS中看到使用,想请教一下Spectral-to-Spectral Loss 是如何实现的呢?
Hello, excellent work. When reviewing your source code in models_mae_spectral.py, I did not see how the Spectral-to-Spectral LOSS is implemented. I only saw loss1 + loss3, which seems to be related to Token-to-Token loss. I also noticed an unused calculate_metrics_per_pixel function for calculating the spectral angle, but it is not used in the LOSS. Could you please explain how the Spectral-to-Spectral Loss is implemented?
Hello, loss1 is the implementation of token-to-token, and loss3 is the implementation of Spectral-to-Spectral, which is consistent with formula (3) in the paper. The calculate_metrics_per_pixel function is used in our subsequent research and is not related to this work. Subsequent research shows that this function can also enable the model to effectively learn spectral representation when calculating the loss.
您好,非常出色的工作。在查看您源代码的时候,在
models_mae_spectral.py
中,我并没有看到关于Spectral-to-Spectral
的 LOSS 是如何实现的,仅看到了 loss1+loss3,应该是关于Token-to-Token的损失,并且看到一个未使用的计算光谱角的calculate_metrics_per_pixel
函数,但是并没有在LOSS中看到使用,想请教一下Spectral-to-Spectral
Loss 是如何实现的呢?Hello, excellent work. When reviewing your source code in
models_mae_spectral.py
, I did not see how theSpectral-to-Spectral
LOSS is implemented. I only sawloss1 + loss3
, which seems to be related toToken-to-Token
loss. I also noticed an unusedcalculate_metrics_per_pixel
function for calculating the spectral angle, but it is not used in the LOSS. Could you please explain how the Spectral-to-Spectral Loss is implemented?IEEE_TPAMI_SpectralGPT/models_mae_spectral.py
Lines 453 to 465 in b42a079
The text was updated successfully, but these errors were encountered: