Closed ghost closed 1 year ago
@joseph-o3h found the cause to be some very weird C++ quirk. Fix coming later today or tomorrow morning.
@joseph-o3h fixed in NatML 1.1.4. Thank you so much for catching this!
Oh, and MLEdgeModel.Create
can now be called from any arbitrary thread. That was also an excellent catch 😉
These are the models being loaded (both are embedded):
@natml/blazepose-detector
@natml/blazepose-landmark
This cannot be solved by calling
MLEdgeModel.Create
on a non-main thread as it makes a call toPlayerPrefs.GetString
which is a main thread only API.Happens on latest NatML (1.1.3)