-
Notifications
You must be signed in to change notification settings - Fork 52
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
可不可以改成全卷积网络,来适应不同大小图片 #17
Comments
本身这个网络已经可以适应不同大小图片了,采用crop成224x224的原因是用来做数据增强的。改成全卷积而没有全连接层,怎么做分数回归呢?而且本身的GAP操作就是用来适应不同size的。这是我的意见,哈哈。 |
如果遇到图片小于224x224,不是需要resize么后才能让网络进行预测,这样resize过程已经影响了分数 |
224x224这个尺寸已经非常小了,为了验证自己方法的可行性最终我们都是要根据不同的数据集去进行相关的实验,这些数据集中图片的尺寸都没有小于224x224的,所以这个问题不必担心。 |
如果实际想用这个模型,测试图片会有小于224x224的,我尝试resize或者补色块分数都会不一样 |
224x224在实际情况下也是非常小了吧,没有什么实际内容,要真正应用的情况下还是得按照普遍的图片大小。 |
如果真的想测试小于224×224尺寸的图像,还是用resize比较好,但效果不一定准确,毕竟这种小尺寸的图像即使在人看来也很难判断其质量如何。 之所以把网络的输入统一到一个尺度,一是因为前置resnet网络的感受野是固定的,否则难以提取一些尺寸超越感受野图像的语义特征,二也是为了能把训练图像集成到同一个batch中。 |
Hi, I have tried using various sizes of images for inference, but it raises error. It seems it does not support flexible input of image for now. @SSL92 @lllllllllllll-llll GAP may tackle the flexibility for Hyper Network, but can't deal with Target Network. |
Hi! Did you use the demo.py to test the various sizes of images? |
Hi, yes, but after remove |
Hello! You can not remove this |
Hi @lllllllllllll-llll , thank you for your kind reply. I get your point, but I don't think it is a good way though.
|
Hi, it'll be really meaningful to expand the flexibility of the network input size, however, before that, perhaps two issues have to be considered:
Thus in our model, we just fix the input size to 224x224 for convenience, but we also welcome any modifications to make it better : ) |
如题,这样会不会影响效果呢
The text was updated successfully, but these errors were encountered: