justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
BSD 2-Clause "Simplified" License
417 stars 110 forks source link

train后面的epoch1出错 #95

Open niuzhan opened 2 years ago

niuzhan commented 2 years ago

epoch:1 后报 IndexError: boolean index did not match indexed array along dimension 0; dimension is 4194304 but corresponding boolean dimension is 65536 的错误

wang673523745 commented 2 years ago

降低numpy的版本

niuzhan commented 2 years ago

降低numpy的版本

我降到了1.16了还是报错...

wang673523745 commented 2 years ago

再降,我记得我好像降到了1.8还是多少,忘记了

---原始邮件--- 发件人: @.> 发送时间: 2022年5月19日(周四) 下午2:49 收件人: @.>; 抄送: @.**@.>; 主题: Re: [justchenhao/STANet] train后面的epoch1出错 (Issue #95)

降低numpy的版本

我降到了1.16了还是报错...

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

niuzhan commented 2 years ago

再降,我记得我好像降到了1.8还是多少,忘记了 ---原始邮件--- 发件人: @.> 发送时间: 2022年5月19日(周四) 下午2:49 收件人: @.>; 抄送: @.**@.>; 主题: Re: [justchenhao/STANet] train后面的epoch1出错 (Issue #95) 降低numpy的版本 我降到了1.16了还是报错... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

好勒,谢谢您

wang673523745 commented 2 years ago

不好意思,我用的版本是1.18.1

jarvii218 commented 2 years ago

请问您解决了吗?我降到楼上所说的版本还是报错...

stiwfmjX commented 1 year ago

不好意思,我用的版本是1.18.1

不行啊,1.18.1还是报错

xiaocheng2333 commented 1 year ago

报错+1

pythone1 commented 1 year ago

企业微信截图_16768805997178 我遇到了同样的问题,结合以前做的项目,尝试改变torch的版本最终解决了,python版本不需要动

git1812220729 commented 1 year ago

企业微信截图_16768805997178 我遇到了同样的问题,结合以前做的项目,尝试改变torch的版本最终解决了,python版本不需要动

Hello, I would like to ask you about the version of numpy for reference. Thank you very much.