We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
输入要经过下采样和上采样,输入图片也就需要缩小和放大好几次,那我是不是要在__init__就把input size传进去,有什么办法能实时获取输入大小吗?
我有尝试在forward函数里获取x的大小,但后面训练很慢,我就意识到dct应该需要在搭建网络时预生成。
The text was updated successfully, but these errors were encountered:
@nnoyuwan 我们在检测的模型中考虑到了这个问题,其实这个大小只是一个“参考大小”,并不一定是要和输入一样的。具体的代码可以看这个地方:
FcaNet/model/layer.py
Lines 54 to 55 in aa5fb63
其实也有个简单的办法,你可以把所有的dct_w和dct_h统统都设置为7,不用考虑输入大小的问题。
Sorry, something went wrong.
谢谢
No branches or pull requests
输入要经过下采样和上采样,输入图片也就需要缩小和放大好几次,那我是不是要在__init__就把input size传进去,有什么办法能实时获取输入大小吗?
我有尝试在forward函数里获取x的大小,但后面训练很慢,我就意识到dct应该需要在搭建网络时预生成。
The text was updated successfully, but these errors were encountered: