Selaa lähdekoodia

delete reverse

syyxsxx 5 vuotta sitten
vanhempi
commit
019e05fc59
1 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  1. 0 6
      deploy/openvino/python/convertor.py

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

@@ -46,12 +46,6 @@ def arg_parser():
     return 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):
 def export_openvino_model(model, args):
     if model.model_type == "detector" or model.__class__.__name__ == "FastSCNN":
     if model.model_type == "detector" or model.__class__.__name__ == "FastSCNN":
         print(
         print(