Git Product home page Git Product logo

Comments (3)

brmarkus avatar brmarkus commented on May 24, 2024

Looks like the code doesn't match to the model (anylonger).
Which version of the code/notebook/repo and which version of the model do you use? Do you use the original model of the sample, or used your own retrieved one?
Can you add a few print-log-messages of the provided input-shape and of the expected input-shape? You might check the model via a model-viewer like "Netron" and check the expected input-shape.

from learnopencv.

ArushikaBansal avatar ArushikaBansal commented on May 24, 2024

I have simply run the notebook below:
https://github.com/spmallick/learnopencv/blob/master/OpenPose-Multi-Person/multi-person-openpose.ipynb
with protoFile and weightFile as given. I kept the input also the same.
The Openpose vesion is 4.7.0

from learnopencv.

brmarkus avatar brmarkus commented on May 24, 2024

Now I tried it under MS-Win10 in a Python virt-env using thhe Jupyter notebook as well.
I got a cv2.error: Unknown C++ exception with the instruction net.setInput(inpBlob).

Via Google search I found e.g. this pointer: "https://stackoverflow.com/questions/75334101/layeroutputs-net-forwardoutput-layers-names-cv2-error-unknown-c-exception"

Yes, I had manually installed pip3 install opencv-python, and now manually installed pip3 install opencv-python==4.6.0.66.

With this version I got the Jupyter notebook to run successfully:

image

image

image

from learnopencv.

Related Issues (20)

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.