I'm training a machine learning model in PyTorch using YOLOv5 from Ultralytics.
CoreMLTools from Apple is used to convert the PyTorch (.pt) model into a CoreML model (.mlmodel).
This works fine, and I can use it in my iOS App, but I have to access the prediction output of the Model "manually".
The output shape of the model is MultiArray : Float32 1 × 25500 × 46 array.
From the VNCoreMLRequest I receive only VNCoreMLFeatureValueObservation from this I can get the MultiArray and iterate through it, to find the data I need.
But I see that Apple offers for Object Detection models VNRecognizedObjectObservation type, which is not returned for my model.
What is the reason why my model is not supported to return the VNRecognizedObjectObservation type? Can I use CoreMLTools to enable it?
Post
Replies
Boosts
Views
Activity
Hello,
I'm writing a small app which requires user accounts and authenticating against a remote backend (REST API) which belongs to the app.
What I've done so far, is adding the "Sign in with Apple" button to my SwiftUI and receiving a ASAuthorization object containing user, IdToken, AuthCode, ...
When a user signs in the first time, I have to create an account in the backend, saving the userId and Name. This and all future calls to my backend API I want to secure by using the IdToken as Bearer for Authentication. My backend will verify the token as described here.
For me, it's not clear how to refresh the IdToken in my App without asking the user again for his sign in (like the button does). Or what should I save on the users' device that he has not to sign in after restarting the app.
This documentation saves the userid in the Keychain and tries to get the userid again on app start - but where is the idToken / what if the idToken is expired?
Hi all,
Does anyone know if it's possible to get detailed information about the cellular network?
For example:
Connection speed: E, 3G, 4G, 5G
Number of radio towers near me
Information about the connected radio tower
I found this code *3001#12345#* on a website, is it possible to get the information at least from this hidden menu?