We are trying to understand how to visualize CoreML
MLModel
.predict
"waiting time" for our users, UI-wise.
Is there any way to estimate the time or get the actual progress of the MLModel
prediction?
AFAIK there is no API for this.
If your model takes so long that users have to wait for it, it can be argued the model is too large.
Assuming that the model doesn't take 10s of seconds, putting up an indeterminate waiting animation is the best you can do.