tensorflow-deeplab-v3-plus icon indicating copy to clipboard operation
tensorflow-deeplab-v3-plus copied to clipboard

run the evaluate.py

Open LiouCZ opened this issue 5 years ago • 5 comments

problem: tensorflow.python.framework.errors_impl.InvalidArgumentError: Can not squeeze dim[3], expected a dimension of 1, got 3

the label image`s result is diffrent from tf.image and PIL

LiouCZ avatar Jun 10 '19 06:06 LiouCZ

Have you solved the problem? I had the same problem

Xchangjiang avatar Jul 23 '19 09:07 Xchangjiang

@LiouCZ Have you solved the problem? I had the same problem

BillGreenHand avatar Jul 30 '19 08:07 BillGreenHand

maybe You should add the channel number parameter in the decode_image method of your proccessing.py code

------------------ 原始邮件 ------------------ 发件人: "BillGreenHand"[email protected]; 发送时间: 2019年7月30日(星期二) 下午4:29 收件人: "rishizek/tensorflow-deeplab-v3-plus"[email protected]; 抄送: "刘宸哲"[email protected]; "Mention"[email protected]; 主题: Re: [rishizek/tensorflow-deeplab-v3-plus] run the evaluate.py (#53)

@LiouCZ Have you solved the problem? I had the same problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

LiouCZ avatar Aug 03 '19 08:08 LiouCZ

@LiouCZ Thank you for your reply. What about is the result of your training?

BillGreenHand avatar Aug 05 '19 00:08 BillGreenHand

not good

------------------ 原始邮件 ------------------ 发件人: "BillGreenHand"[email protected]; 发送时间: 2019年8月5日(星期一) 上午8:34 收件人: "rishizek/tensorflow-deeplab-v3-"[email protected]; 抄送: "刘宸哲"[email protected]; "Mention"[email protected]; 主题: Re: [rishizek/tensorflow-deeplab-v3-plus] run the evaluate.py (#53)

@LiouCZ Thank you for your reply. What about is the result of your training?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

LiouCZ avatar Aug 10 '19 10:08 LiouCZ