lsylnnu / BiG-FSLF

5 stars 0 forks source link

修改目标域HSI数据集后遇到的问题 #4

Open HyperSun123 opened 2 months ago

HyperSun123 commented 2 months ago

源码已跑通,将HSI改为Hermiston,tar_input_dim改为242,HyperRview改为label后有报错: RuntimeWarning: invalid value encountered in scalar divide k = np.sum(w_mat confusion) / np.sum(w_mat expected)

raise ValueError("Sample larger than population or is negative")

ValueError: Sample larger than population or is negative 请问这是什么原因?修改数据集时还有什么要改的参数或格式吗?谢谢!

lsylnnu commented 2 months ago

Hermiston的ground truth中变类为1,不变类为2

---原始邮件--- 发件人: @.> 发送时间: 2024年7月10日(周三) 下午3:36 收件人: @.>; 抄送: @.***>; 主题: [lsylnnu/BiG-FSLF] 修改目标域HSI数据集后遇到的问题 (Issue #4)

源码已跑通,将HSI改为Hermiston,tar_input_dim改为242,HyperRview改为label后有报错: RuntimeWarning: invalid value encountered in scalar divide k = np.sum(w_mat confusion) / np.sum(w_mat expected) raise ValueError("Sample larger than population or is negative")
ValueError: Sample larger than population or is negative 请问这是什么原因?修改数据集时还有什么要改的参数或格式吗?谢谢!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>