YOLOv3_TensorFlow2 icon indicating copy to clipboard operation
YOLOv3_TensorFlow2 copied to clipboard

您好,发现测试时,输出没有预测边框

Open deemoo-wang opened this issue 5 years ago • 2 comments

我在debug时发现,test_on_single_image中的tf.image.resize_with_pad函数将图片张量全部变为了0,我很困惑,新手一枚,可以解答以下吗

deemoo-wang avatar Mar 26 '20 02:03 deemoo-wang

请问你解决了吗,我遇到同样的问题

DavidHalcyon avatar Apr 24 '20 10:04 DavidHalcyon

tf.image.resize_with_pad()这个函数就像readme中两张图片所展示的那样,是将一张图片resize为指定的大小,同时保持长宽比不变,这样就需要在图片周围加上黑边,也就是你说的很多0

calmiLovesAI avatar May 12 '20 14:05 calmiLovesAI