acuity-models icon indicating copy to clipboard operation
acuity-models copied to clipboard

How to run those models or convert them to tflite?

Open ondrejhennel opened this issue 2 years ago • 1 comments

I tried to find tools online that I could use to run those models or convert them to a format that I can run but so far I've been unsuccessful. The furthest I got was loading the json file to an AcuityNet object using python acuitylib but I couldn't find a way to run it or convert it. Do I need Acuity IDE or are there any tools that I am not aware of? Any help would be much appreciated.

ondrejhennel avatar May 19 '22 07:05 ondrejhennel

The uploaded model only contain the graph connection description json file to just show our Acuity Toolkit can succesfully convert the releative pre-trained NN model into Acuity format, and can be compiled to instruction to run on Verislicon NPU hardware. To inference model or convert model to TFLite, you ned do all operations from scratch, thant is to say, you need use python acuitylib to convert the orginal pretrained NN model to Acuity format .json .data file firstly, and then use python acuitylib to load the json file and data file to an AcuityNet object, then inference model or convert it to TFLite.

You can do import/inference/convert from scratch

geneyoung avatar Sep 28 '22 10:09 geneyoung