pytorch/ios-demo-app

The operation couldn’t be completed. (PyTorchDemo.-CameraController.CameraControllerError error 1.)

MarkLyubimov opened this issue · 3 comments

Hello!

I was trying to run pytorch demo app for image classification and got this error: "The operation couldn’t be completed. (PyTorchDemo.-CameraController.CameraControllerError error 1.)".
I don't have any swift experience so could you please help me fix it?

What could be the reason?

Thank you!

PS. It worked for NLP part.

image

It does not work when testing on the Simulator but if you push the app on your iPhone it actually works. To do so, follow this great tutorial https://codewithchris.com/deploy-your-app-on-an-iphone/

Now it works, thank you!

Don't forget to close the issue