Comments (5)
Are you trying to run the model while the app is backgrounded?
91 is indeed the number of COCO classes + the background.
from coreml-survival-guide.
I'm not, interestingly enough. Only change made to the code was swap models, and changed to the new model's name. Is the 91 defined somewhere in the app's code? Can't seem to find it. Model's specs seem alright? Or have I probably messed up my model in some way?
from coreml-survival-guide.
That 91 is somewhere in your model.
from coreml-survival-guide.
Riight! Thanks. Turned out I forgot to change the number of classes in the training config file, while setting number of classes in the .pb to .mlmodel conversion to 1.
Interestingly enough, it also solved the GPU on the background error, and my model worked!
from coreml-survival-guide.
Good to hear. That "GPU on background" error was probably just a misleading error message that was triggered by the error with the shapes.
from coreml-survival-guide.
Related Issues (13)
- Question about performance of SSDLite with Core ML HOT 1
- Update for SwiftUI HOT 6
- Unable to make predictions using the pipeline (MobileNet+SSD) HOT 1
- Fix bbox offset for center-cropped frames
- Do you update this book? HOT 2
- Dimension 1 of input confidence (-1880735433) is not consistent with the number of classes (80) HOT 8
- validator error: Layer 'Postprocessor/scale_logits:0' consumes an input named 'concat__0' which is not present in this network. HOT 2
- Output node for handtracking model HOT 2
- How to create proper saved_model.pb
- AttributeError: 'ArrayFeatureType' object has no attribute 'shapeRange' HOT 3
- DeepLab: output_tensor = "ResizeBilinear_3:0" HOT 4
- VNCoreMLTransformer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coreml-survival-guide.