From b53bba9efdf30dda9d323ca8eab99580a024ae67 Mon Sep 17 00:00:00 2001 From: Channingss Date: Wed, 1 Jul 2020 06:59:15 +0000 Subject: [PATCH] fix bug --- x2paddle/op_mapper/paddle_op_mapper.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/x2paddle/op_mapper/paddle_op_mapper.py b/x2paddle/op_mapper/paddle_op_mapper.py index bbd942a..0ba7ad6 100644 --- a/x2paddle/op_mapper/paddle_op_mapper.py +++ b/x2paddle/op_mapper/paddle_op_mapper.py @@ -99,18 +99,6 @@ class PaddleOpMapper(object): self.name_counter[name] += 1 return name + '.{}'.format(self.name_counter[name]) - def im2sequence(self, op, block): - from .paddle_custom_layer.im2sequence import im2sequence - return im2sequence(op, block) - - def yolo_box(self, op, block): - from .paddle_custom_layer.yolo_box import yolo_box - return yolo_box(op, block) - - def multiclass_nms(self, op, block): - from .paddle_custom_layer.multiclass_nms import multiclass_nms - return multiclass_nms(op, block) - def convert_weights(self, program): var_names = program.global_block().vars nodes = list() -- GitLab