EGNet icon indicating copy to clipboard operation
EGNet copied to clipboard

run problem

Open luoqiang10605 opened this issue 5 years ago • 4 comments

when I run the commend :python3 run.py --mode test --sal_mode t and have this problem : File "/home/luoqiang/auto_drive/EGNet-master/dataset.py", line 158, in load_image_test in_ -= np.array((104.00699, 116.66877, 122.67892)) ValueError: non-broadcastable output operand with shape () doesn't match the broadcast shape (3,) what should I do to solve this problem

luoqiang10605 avatar Sep 10 '19 07:09 luoqiang10605

It is because that the image path is wrong. You can check the image path.

发件人:luoqiang10605 [email protected] 发送日期:2019-09-10 15:41:40 收件人:JXingZhao/EGNet [email protected] 抄送人:Subscribed [email protected] 主题:[JXingZhao/EGNet] run problem (#6) when I run the commend :python3 run.py --mode test --sal_mode t and have this problem : File "/home/luoqiang/auto_drive/EGNet-master/dataset.py", line 158, in load_image_test in_ -= np.array((104.00699, 116.66877, 122.67892)) ValueError: non-broadcastable output operand with shape () doesn't match the broadcast shape (3,) what should I do to solve this problem — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

JXingZhao avatar Sep 10 '19 07:09 JXingZhao

I use the DUTS-TR-Image dataset.should I need use the DUTS-TE/DUTS-TE-Image/ dataset

luoqiang10605 avatar Sep 10 '19 08:09 luoqiang10605

yeah, you are right.

发件人:luoqiang10605 [email protected] 发送日期:2019-09-10 16:00:31 收件人:JXingZhao/EGNet [email protected] 抄送人:JXingZhao [email protected],Comment [email protected] 主题:Re: [JXingZhao/EGNet] run problem (#6) I use the DUTS-TR-Image dataset.should I need use the DUTS-TE/DUTS-TE-Image/ dataset — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

JXingZhao avatar Sep 10 '19 08:09 JXingZhao

could you give me a link to download DUTS-TE/DUTS-TE-Image/ dataset thank you

luoqiang10605 avatar Sep 10 '19 08:09 luoqiang10605