针对mnn模型处理,输出增加shape
This commit is contained in:
@ -36,7 +36,7 @@ export class GenderAge extends Model {
|
||||
data: nchwImage,
|
||||
type: "float32",
|
||||
}
|
||||
}).then(res => res[output.name]);
|
||||
}).then(res => res[output.name].data);
|
||||
|
||||
return {
|
||||
gender: result[0] > result[1] ? "F" : "M",
|
||||
|
Reference in New Issue
Block a user