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
在resnet34中最后用于分类的全连接实现是这样的: self.fc = nn.Linear(512, num_classes) 想问一下这里的输入特征维数512应该是算出来的吧,受输入图片大小影响吧?
self.fc = nn.Linear(512, num_classes)
The text was updated successfully, but these errors were encountered:
正解,所以输入图片时要resize
Sorry, something went wrong.
thank you! I also find this problem and solve it by your idea.
No branches or pull requests
在resnet34中最后用于分类的全连接实现是这样的:
self.fc = nn.Linear(512, num_classes)
想问一下这里的输入特征维数512应该是算出来的吧,受输入图片大小影响吧?
The text was updated successfully, but these errors were encountered: