解决HRNet在trace.jit.trace()过程中assert(if(instance))错误

按照以下该文档的方式将None改为nn.Identity
https://github.com/cpbotha/deep-high-resolution-net.pytorch/commit/b1a7fdb49b437ff864f2e01d8b393fe0be389aaf

猜你喜欢

转载自blog.csdn.net/weixin_39326879/article/details/114656668