from mxnet_model_service import MXNetBaseService
from utils.mxnet_utils import Image


class MXNetVisionService(MXNetBaseService):
	def _preprocess(self, data):
		img_list = []
		for image in data:
			img_arr = Image.read(image)
			img_arr = Image.transform_shape(img_arr)
			img_list.append(img_arr)
		return img_list

	def _postprocess(self, data):
		return data



@@ -124,17 +124,20 @@
 rvice):%0A
-%09
+    
 def _pre
@@ -157,18 +157,24 @@
  data):%0A
-%09%09
+        
 img_list
@@ -179,18 +179,24 @@
 st = %5B%5D%0A
-%09%09
+        
 for imag
@@ -206,19 +206,28 @@
 n data:%0A
-%09%09%09
+            
 img_arr 
@@ -246,19 +246,28 @@
 (image)%0A
-%09%09%09
+            
 img_arr 
@@ -303,11 +303,20 @@
 rr)%0A
-%09%09%09
+            
 img_
@@ -336,18 +336,24 @@
 mg_arr)%0A
-%09%09
+        
 return i
@@ -361,17 +361,20 @@
 g_list%0A%0A
-%09
+    
 def _pos
@@ -399,10 +399,16 @@
 a):%0A
-%09%09
+        
 retu

Indent fix