Please share the following so we may better assist you:
Project type (Object detection, Classification, Polygon, etc.)
Object detection
The operating system & browser you are using and their versions
iOS Swift.
The screenshot of the error being triggered in your browser’s developer tools/console. Please copy/paste the url below to watch how to pull up your devtools
I’m able to successfully use the hosted API, but when I try to deploy a model to iOS I always get No Model Found. Trying Again. Error loading model. Check your API_KEY, project name, and version along with your network.
Any tips on what I need to do to properly configure it?
import Roboflow
let rf = RoboflowMobile(apiKey: "API_KEY")
let (model, loadingError, modelName, modelType) = await rf.load(model: "YOUR-MODEL-ID", modelVersion: YOUR-MODEL-VERSION-#)
You should be replacing the API key, model ID, and model version with info from your account. Your error suggests it might not be loading in the model properly, so double-check that.
API Key: Go to the Roboflow App, click on Account > Settings > Under your workspace click Roboflow API > Make sure to use the Private API Key, not the publishable one.
Model Name & Version: Go to your model version in the Roboflow App, look in the URL: https://app.roboflow.com/project/*model name*/*model version*
If that isn’t the issue, sending the code you’re having trouble with might help us fix your problem quicker. (Make sure to remove sensitive info such as your API key when sending it)
Hi @tbelote - thank you for adding the details. I wanted to ask if you can email me with a Google Drive folder containing your XCode files -and specifically, the code file with this snippet:
I’ll use it in a comparison to a personal test with my own projects, to see where the issue is coming up.
I’m emailing your forum-email, and sending a forum DM with my email address, now.