Matthijs Hollemans
Matthijs Hollemans
It works for me. What version of PyTorch are you using?
There is nothing in this book that is related to Swift UI. Not sure what there is to update?
I see your point but it's a little premature to call UIKit "legacy". I don't think I'm going to update the code samples to SwiftUI anytime soon, but feel free...
Sorry, but I currently don't offer discount codes.
I don't know. This was a contribution and I didn't test it myself.
I didn't actually do any speed tests (hehe) but 2x speed difference is quite a bit! I wouldn't have expected that... Doing these operations inside the model will run them...
It should give exactly the same results. I used it with pretty good success in this competition: https://www.kaggle.com/c/deepfake-detection-challenge/
Probably. But PyTorch Mobile is still very experimental, so you're probably better off with TF Lite.
I haven't tried this myself but I see other people reporting similar issues (with CoreML and Vision).
In this app, the execution time also includes the time needed to schedule the Vision request (which in turn calls Core ML), the preprocessing, the neural network, the post-processing of...