njvisionpower / mxnet-insightface-cpp

CPU realtime face recognition pipeline with mxnet c++ framework
128 stars 41 forks source link

how to use 512 model ? #6

Closed MyraBaba closed 5 years ago

MyraBaba commented 5 years ago

Hi ,

How we can use insightface 512 model instead of the 128 mobile model ?

When I change it to 512 model it stops:

MXPredSetInput(pred_feature, "data", input.data(), input.size()); MXPredForward(pred_feature);

njvisionpower commented 5 years ago

I think no obvious difference with 512 mobile model, just make make_label also generated 512 dim feature. If there's exception when use MXNet, you can call MXGetLastError() before exception to print the cause of error.