GithubHelp home page GithubHelp logo

Comments (5)

RcTomcat1 avatar RcTomcat1 commented on September 28, 2024 1

Ok. I gave up on windows and switched to a pi.
Got different issues now....

(opencv) pi@raspberrypi:~/depthai/oak-model-samples/openpose $ python3 main.py -vid ./demo.mp4
Traceback (most recent call last):
  File "main.py", line 17, in <module>
    main()
  File "main.py", line 13, in main
    inference(model_cls, root_model_path, visualization)
  File "/home/pi/depthai/opencv/lib/python3.7/site-packages/oak_inference_utils/inference.py", line 63, in inference
    model.model_load(openvino_version=openvino_version, use_camera=args.camera)
  File "/home/pi/depthai/opencv/lib/python3.7/site-packages/oak_inference_utils/base_model.py", line 93, in model_load
    self.create_pipeline(model_blob)
  File "/home/pi/depthai/opencv/lib/python3.7/site-packages/oak_inference_utils/base_model.py", line 79, in create_pipeline
    self.model_blob.setBlobPath(model_blob)
RuntimeError: BlobReader error: File does not seem to be a supported neural network blob

from oak-model-samples.

PVSemk avatar PVSemk commented on September 28, 2024

Hello!
Do you have a single version of python3 installed on your device? If not, I'd suggest to check that you setup and launch the package with the same interpreter (it seems like 'pip' refers to python3.9).
Also you may try to setup a virtual environment to install and test packages inside it to avoid messing up with the system interpreter (see https://docs.python.org/3/library/venv.html )

from oak-model-samples.

RcTomcat1 avatar RcTomcat1 commented on September 28, 2024

Thanks. I justs tried with a virtual environment and am running into the same issue.
Module error after module error unless i manually download, build and copy those modules into the folder of the sample i am trying to run.

from oak-model-samples.

PVSemk avatar PVSemk commented on September 28, 2024

Could you reproduce steps you did to launch samples on Windows?
As for issue on a pi, it seems like a git-lfs connected trouble. Please, see #7 for details

from oak-model-samples.

RcTomcat1 avatar RcTomcat1 commented on September 28, 2024

Thank you, the git lfs pull did the trick :)

I can't seem to figure out what is wrong with the windows install. Guess i messed it up somewhere along the way.

from oak-model-samples.

Related Issues (8)

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.