浏览代码

delete reverse

syyxsxx 5 年之前
父节点
当前提交
019e05fc59
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      deploy/openvino/python/convertor.py

+ 0 - 6
deploy/openvino/python/convertor.py

@@ -46,12 +46,6 @@ def arg_parser():
     return parser
 
 
-def reverse_input(shape):
-    shape_list = shape[1:-1].split(',')
-    shape = '[1,3,' + shape_list[1] + ',' + shape_list[0] + ']'
-    return shape
-
-
 def export_openvino_model(model, args):
     if model.model_type == "detector" or model.__class__.__name__ == "FastSCNN":
         print(