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
783 stars 224 forks source link

net.add_layer(layer_params,before='',after='') add a new layer with Layer_Param object #87

Open 205418367 opened 4 years ago

205418367 commented 4 years ago

请问layer_params 怎么填什么?有没有demo?

ShenDC commented 4 years ago

pytorch_to_caffe.py line 107