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
问题如题,想请教下为什么最后一层使用conv而不是linear,改成conv会导致最终输出维度不定
self.linear=nn.Conv2d(self.base_channel*4*block.expansion,self.base_channel*4*block.expansion,1,1,0) # self.linear = nn.Linear(self.base_channel*4*block.expansion, num_classes)
The text was updated successfully, but these errors were encountered:
有道理啊。感觉这行是测试用的代码,提交时没改回去。可以手动改,或者直接用标准的 resnet,比如 torchvision.models.resnet18
torchvision.models.resnet18
Sorry, something went wrong.
感谢,我尝试下。测试trt的时候被64维度弄懵逼了,还在想为什么会这样...
还有一个问题,目前这个库不支持pytorch1.12版本,升级到1.12运行qat会报错
No branches or pull requests
问题如题,想请教下为什么最后一层使用conv而不是linear,改成conv会导致最终输出维度不定
The text was updated successfully, but these errors were encountered: