mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
fix comment
This commit is contained in:
@@ -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,))
|
||||
|
||||
Reference in New Issue
Block a user