• Hello @ThomasVikström !
    Great to hear that is not crushing. The structure looks pretty much like mine, the minor differences are:

    1. input x is an Array because my model has more than one input.
    2. I set the input as tf.getInput().set(x_array); I think this is better when you have more than one input.
    3. Invoke is the same.
    4. Output is similar: output = tf.getOutput(); basically instead of selecting the first element of the output I select all the output values because my model has more than one output.
  • Thx for the comments!
    As I have a .tfmodel file exported from Edge Impulse, I’d like to use that but I’m not sure how to read it with JS and if it needs conversion before.
    The same .tfmodel file works as such with the Bangle gesture functions.

    @Gordon I guess you are superbusy with the Kickstarter campaign right now. When you get time, could you please shed some light on how to use a .tfmodel file created by an external system in Javascript.
    I.e., like in the code in post #9 above, how should the .tfmodel-file be "introduced" into the code? As the Bangle gesture functions can use it, I guess there should be a way to use it within JS also?

About