Coder Social home page Coder Social logo

Comments (1)

meelislootus avatar meelislootus commented on May 31, 2024

@Michael-F-Bryan yes - that sounds about right! The case of an image model and an audio/accelerometer model are slightly different:

For image, we can just take one sample (one snap of the camera), at say 2 Hz (twice per second) to begin with, for the simplest case (though later we can use multiple samples as @kthakore mentioned).

CAPABILITY<f32[96,96]> image IMAGE --sampling_frequency_hz=2

For audio/accelerometer: as you explain above. Depending on the model/application, we can decide / a data scientist can decide what length window, in seconds, is appropriate to capture the signal. E.g. in gesture, a suitable window size might be 2 seconds. Then we need to consider what size the model requires as input: in the case of our gesture model, this is 128 samples. Therefore we ask the accelerometer for 128 samples over 2 seconds. And let's say we provide take the window of 128 samples twice per second (at 2Hz).

CAPABILITY<f32[128,3]> accelerometer ACCEL --window_size_in_milliseconds 2000 --sampling_frequency_hz=2

from rune.

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.