GithubHelp home page GithubHelp logo

Insufficient Permission (to submit GPU work from background) when running MobileNetV2+SSDLite code with my own model about coreml-survival-guide HOT 5 OPEN

hollance avatar hollance commented on June 17, 2024
Insufficient Permission (to submit GPU work from background) when running MobileNetV2+SSDLite code with my own model

from coreml-survival-guide.

Comments (5)

hollance avatar hollance commented on June 17, 2024

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.

MarkTension avatar MarkTension commented on June 17, 2024

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?
screenshot

from coreml-survival-guide.

hollance avatar hollance commented on June 17, 2024

That 91 is somewhere in your model.

from coreml-survival-guide.

MarkTension avatar MarkTension commented on June 17, 2024

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.

hollance avatar hollance commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.