Code Monkey home page Code Monkey logo

Comments (6)

Corallo avatar Corallo commented on August 16, 2024

Hi, could you ssh in the camera and run
journalctl -u larod

it might give us more informations about the issue

from acap-computer-vision-sdk-examples.

JoniSuominen avatar JoniSuominen commented on August 16, 2024

@Corallo
JournalCtl only gives the same message as I got before:
Session 63: Could not run job: Could only read 196608 out of 786432 bytes from file descriptor

from acap-computer-vision-sdk-examples.

JoniSuominen avatar JoniSuominen commented on August 16, 2024

Im also curious about the chip id in environment files. If I want to run a TFLite model on the armv7hf CPU, which chip id do i choose? Previously I tried chip id 2 when using CPU models. Are these documented anywhere?

from acap-computer-vision-sdk-examples.

Corallo avatar Corallo commented on August 16, 2024

Regarding the chip, it is not properly documented yet, we are going to add a note in the readme, thanks for reporting this issue.

In the meanwhile, yes, -c 2 makes the inference run on cpu. If you have an axis camera with an hardware accellerator you can use -c 4 to run on artpec7 tpu, or -c 12 to run on the artpec8 dlpu.

Regarding the issue with your model, as you mentioned you are using a "custom" model, please be aware that our deep learning API doesn't support custom layers, so it is not enough that the model runs on your local machine.

I'm in touch with the responsible team to see if we can provide you with more information to debug your specific issue, I'll give an update when I have news.

from acap-computer-vision-sdk-examples.

Corallo avatar Corallo commented on August 16, 2024

Another possiblity, which is more likely considering the error that you get, is that you are providing the wrong input to your model.
Maybe you supllied the input as uint8 while the model wanted a float32?
196608 [uint8] * 4 = 786432 [float32]

from acap-computer-vision-sdk-examples.

JoniSuominen avatar JoniSuominen commented on August 16, 2024

That was actually it, I had forgotten to quantize the inputs of one model to int8. Thanks for pointing out a dumb mistake!

from acap-computer-vision-sdk-examples.

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.