Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deemoo-wang opened this issue Mar 26, 2020 · 2 comments
Open

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

deemoo-wang opened this issue Mar 26, 2020 · 2 comments

Comments

@deemoo-wang
Copy link

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

@DavidHalcyon
Copy link

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

@calmiLovesAI
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants