JXingZhao / EGNet

EGNet:Edge Guidance Network for Salient Object Detection (ICCV 2019)
311 stars 62 forks source link

run problem #6

Open luoqiang10605 opened 4 years ago

luoqiang10605 commented 4 years ago

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_imagetest 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

JXingZhao commented 4 years ago

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

发件人:luoqiang10605 notifications@github.com 发送日期:2019-09-10 15:41:40 收件人:JXingZhao/EGNet EGNet@noreply.github.com 抄送人:Subscribed subscribed@noreply.github.com 主题:[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_imagetest 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.

luoqiang10605 commented 4 years ago

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

JXingZhao commented 4 years ago

yeah, you are right.

发件人:luoqiang10605 notifications@github.com 发送日期:2019-09-10 16:00:31 收件人:JXingZhao/EGNet EGNet@noreply.github.com 抄送人:JXingZhao zhaojiaxing@mail.nankai.edu.cn,Comment comment@noreply.github.com 主题: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.

luoqiang10605 commented 4 years ago

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