diff --git a/x2paddle/__init__.py b/x2paddle/__init__.py index 1e963372fdc9e65d75c1abc788b08c179f9965df..5b80bf179120ff08852f52333a336db9c9afbb77 100644 --- a/x2paddle/__init__.py +++ b/x2paddle/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.8.1" +__version__ = "0.8.4" from .core.program import PaddleProgram diff --git a/x2paddle/op_mapper/caffe_op_mapper.py b/x2paddle/op_mapper/caffe_op_mapper.py index 17797ed01a0783af14a46edcb96a7a6a29f5911e..1ec79dd8ec6a264f8b47daa5e300ac1191c4ce98 100644 --- a/x2paddle/op_mapper/caffe_op_mapper.py +++ b/x2paddle/op_mapper/caffe_op_mapper.py @@ -226,7 +226,7 @@ class CaffeOpMapper(OpMapper): data.append( np.zeros([output_c, input_c, kernel[0], kernel[1]]).astype( 'float32')) - data.append(np.zeros([output_c, ])).astype('float32') + data.append(np.zeros([output_c, ]).astype('float32')) else: data = self.adjust_parameters(node) self.weights[node.layer_name + '_weights'] = data[0]