• To give an update about my next steps:

    • recording and save samples locally works fine
    • train samples and store resulting model locally works fine. Two files are stored, first is a JSON file with a lot of description, second is a binary with weights.

    Ok, whats now. Tool from @PaulC takes the model, reads gesture data from bangle and recognizes gesture in browser. What we would like to do is to have both steps, read gesture data and recognize gesture on bangle. Therefore we need a TFLIE model.

    As @paulc mentioned there is no way to convert TFJS model to TFLITE.
    First I tried to find something like that in TFJS, no success.

    Next installed tflite_converter for python.
    Failed on my UBUNTU server, but got it running on windows.
    But again, no success, tflite_converter expects model in pbtxt or pb file.

    Next found another converter which converts tfjx model to Kera model, which then could be converted tflite (?).
    Startet tensorflowjs_wizard, and ....
    Unfortunately, this converter runs into an error
    AttributeError: 'list' object has no attribute 'items'
    No idea what that is, but now its weekend :-)

About

Avatar for JumJum @JumJum started