Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

coreml Failed to get the home directory when checking model path

I wanted to create an image classifier with create ML. However, when I build, I get this error.

The target and path are correct, but I don't know why I'm getting this error.

Tried to set the path correctly. But even if I set it to the correct path, I get this error.

Does anyone know anything about this?

like image 806
Jerry Avatar asked Nov 26 '25 03:11

Jerry


1 Answers

What worked for me was making sure that I was testing the model on an actual device, not the simulator.(Make sure the path to the model is also correct)

like image 113
txb4 Avatar answered Nov 28 '25 02:11

txb4



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!