Load model failed in server

Himanshu Kumar 1 Reputation point
2021-11-24T05:43:12.8+00:00

core.js:4442 ERROR Error: Uncaught (in promise): Error: Mtcnn - load model before inference
Error: Mtcnn - load model before inference
at Mtcnn.<anonymous> (Mtcnn.js:49)
at step (tslib.es6.js:100)
at Object.next (tslib.es6.js:81)
at tslib.es6.js:74
at new ZoneAwarePromise (zone-evergreen.js:960)
at __awaiter (tslib.es6.js:70)
at Mtcnn.push./HfR.Mtcnn.forwardInput (Mtcnn.js:42)
at Mtcnn.<anonymous> (Mtcnn.js:119)
at step (tslib.es6.js:100)
at Object.next (tslib.es6.js:81)
at resolvePromise (zone-evergreen.js:798)
at zone-evergreen.js:705
at rejected (tslib.es6.js:72)
at ZoneDelegate.invoke (zone-evergreen.js:364)
at Object.onInvoke (core.js:27545)
at ZoneDelegate.invoke (zone-evergreen.js:363)
at Zone.run (zone-evergreen.js:123)
at zone-evergreen.js:857
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:27533)

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
165 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,741 Reputation points
    2021-11-29T05:34:53.457+00:00

    @Himanshu Kumar Thanks, create the model file in the working directory and uploaded it to the run using upload_file and then register the model.

    Here is the document to deploy and test service and link to troubleshooting.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.