Giter Club home page Giter Club logo

Comments (2)

dhruvsheth-ai avatar dhruvsheth-ai commented on July 18, 2024 4

The SHAVES are vector processors in DepthAI.

  • For 1080p, 13 SHAVES (of 16) are free for neural network stuff.
  • For 4K sensor resolution, 10 SHAVES are available for neural operations.

Usually for compute extensive models like pose estimation, OCR, facial landmarks etc, 13 SHAVES are required. However, the terminal will showcase an output recommendation for 6 SHAVES (usually). So this isn't an issue to bother about. However if you wish to compile models with an alternative number of SHAVES, you can follow this -

https://docs.luxonis.com/projects/api/en/latest/tutorials/local_convert_openvino/

At the end, compile it with required SHAVES in the argument -VPU_NUMBER_OF_SHAVES <enter the number of shaves>

$MYRIAD_COMPILE -m ~/open_model_zoo_downloads/intel/face-detection-retail-0004/FP16/face-detection-retail-0004.xml -ip U8 -VPU_MYRIAD_PLATFORM VPU_MYRIAD_2480 -VPU_NUMBER_OF_SHAVES 4 -VPU_NUMBER_OF_CMX_SLICES 4

Or if you are using the Gen1 API, you could run the detection with the additional arguments, sh and cmx which use the required number of shaves -
./depthai_demo.py -nce 2 -sh 14 -cmx 14

Let me know if this helps, Thanks

from depthai-experiments.

AndrewBarfield avatar AndrewBarfield commented on July 18, 2024 2

Thank you! This resolves my issue. I'll close it.

from depthai-experiments.

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.