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

输入数据尺寸咨询 #2

Open
zhangxiaopang88 opened this issue Jan 13, 2021 · 3 comments
Open

输入数据尺寸咨询 #2

zhangxiaopang88 opened this issue Jan 13, 2021 · 3 comments

Comments

@zhangxiaopang88
Copy link

你好,我看你对神经网络没做修改,我想咨询一下,你的输入数据的尺寸是多大? @HypoX64

@HypoX64
Copy link
Owner

HypoX64 commented Jan 13, 2021

其实输入尺寸是多少都行。用2d的cnn的话会自动执行stft,通过控制stft_size,stft_stride改变生成图片的大小,当然无论多大的图片理论都是可以的,因为resnet,mobilenet这类网络全连接层前都会有nn.AdaptiveAvgPool2d((1, 1)),将每个特征池化到1.

@zhangxiaopang88
Copy link
Author

好的,谢谢你,你用哪一个网络觉得效果比较好

@HypoX64
Copy link
Owner

HypoX64 commented Jan 13, 2021

在数据量足够大而且只考虑准确率的话当然是参数越多的网络越好啊比如densenet121,同时考虑计算量做trade off的话可以选择LSTM或者stft后用mobilenet

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