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

关于repconv switch-to-deploy的问题 #93

Open
pierrelzw opened this issue Jul 13, 2022 · 0 comments
Open

关于repconv switch-to-deploy的问题 #93

pierrelzw opened this issue Jul 13, 2022 · 0 comments

Comments

@pierrelzw
Copy link

assert isinstance(branch, nn.BatchNorm2d)

使用这个 assert 的原因是?
我基于repConv block 搭建了网络,并尝试在 doCheckpoint 时 export onnx 模型,所以我会在每次保存模型时把模型转换为deploy模型。
基于单卡训练的时候,一起正常。但是使用多机多卡,就触发了这个assert,所以像问问这个 assert 的作用

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

1 participant