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

crop #38

Open
ChenShisen opened this issue Apr 20, 2020 · 2 comments
Open

crop #38

ChenShisen opened this issue Apr 20, 2020 · 2 comments

Comments

@ChenShisen
Copy link

作者你好,crop时特征图有时大小刚好相等,也有特征图不等的情况,那么offset是怎么设置的呢,prototxt中没有offset的值,caffe这个层不太懂,没有设置offset是默认居中裁剪吗?

@Charrin
Copy link
Owner

Charrin commented Apr 20, 2020

offset有默认参数,在caffe源码的caffe.proto可以看到

@ChenShisen
Copy link
Author

嗯呐,默认的offset=2,如果特征图相等时还用crop吗,这点不太理解,输入图片size变化,那么每一个crop的offset是变化的才对呀,都是一个默认值有点迷惑,谢谢作者了

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

2 participants