xxradon / PytorchToCaffe

Pytorch model to caffe model, supported pytorch 0.3, 0.3.1, 0.4, 0.4.1 ,1.0 , 1.0.1 , 1.2 ,1.3 .notice that only pytorch 1.1 have some bugs
MIT License
782 stars 224 forks source link

upsample layer error:out=self.obj(self.raw,*args,**kwargs) TypeError: _div() got an unexpected keyword argument 'rounding_mode' #119

Open qinqiang-huihui opened 1 year ago

qinqiang-huihui commented 1 year ago

upsample layer is :self.up = nn.Upsample(scale_factor=2, mode='nearest', align_corners=None)