From 4f95023ef9214e669e540392e5b43ee5e4c4d28f Mon Sep 17 00:00:00 2001 From: guosheng Date: Fri, 26 May 2017 19:54:09 +0800 Subject: [PATCH] delete useless code --- image_classification/caffe2paddle.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/image_classification/caffe2paddle.py b/image_classification/caffe2paddle.py index 07769906..7db23e9c 100644 --- a/image_classification/caffe2paddle.py +++ b/image_classification/caffe2paddle.py @@ -98,13 +98,6 @@ class ModelConverter(object): layer = layer_dict[layer_name] layer_params = layer.blobs layer_type = layer.type - print layer_name, layer_type, len(layer_params) - if layer_type == "BatchNorm": - print layer_params[0].data.shape, layer_params[ - 1].data.shape, layer_params[2].data, type( - layer_params[0].data) - #print dir(layer) - #continue if len(layer_params) > 0: self.pre_layer_name = getattr( self, "convert_" + layer_type + "_layer")(layer_params) -- GitLab