fix comment

This commit is contained in:
Jia Guo
2018-07-03 14:14:34 +08:00
parent 39919c3cce
commit f61956fda3

View File

@@ -84,8 +84,6 @@ class FaceModel:
return aligned
def get_feature(self, aligned):
#face_img is bgr image
#print(nimg.shape)
input_blob = np.expand_dims(aligned, axis=0)
data = mx.nd.array(input_blob)
db = mx.io.DataBatch(data=(data,))
@@ -95,8 +93,6 @@ class FaceModel:
return embedding
def get_ga(self, aligned):
#face_img is bgr image
#print(nimg.shape)
input_blob = np.expand_dims(aligned, axis=0)
data = mx.nd.array(input_blob)
db = mx.io.DataBatch(data=(data,))