acuity-toolkit-LIBRARY

Hello, @rayeleigh ,

Is the code is copied from the 0_import_model.sh? I copy your code and find some symbols are not English. It can run after i modify them. Here is the code i modify and the result i run.

NAME=converted_model.tflite
ACUITY_PATH=../bin/

pegasus=${ACUITY_PATH}pegasus
if [ ! -e "$pegasus" ]; then
pegasus=${ACUITY_PATH}pegasus.py
fi

#TFLITE
$pegasus import tflite \
    --model converted_model.tflite \
    --output-model converted_model.json \
    --output-data converted_model.data

@Louis-Cheng-Liu uis-Cheng-Liu
umm…
I copied and entered the code but it doesn’t work…

I ran 0._bash.import right after downloading the sdk tool, is it wrong??
Give me your email and I’ll send you my files.
my email is asue04164@gmail.com
can you help me?

Hello @rayeleigh ,

From your description, i think you forget to install the tool. Please try again after installing.

This picture is from aml_npu_sdk/docs/en/Model Transcoding and Running User Guide (1.0).pdf. Some more converting details can be found in it.

If still fail, please send your files for me. My e-mail is louis.liu@wesion.com.

@Louis-Cheng-Liu
hi i read it
but i have problem…
what is it?


i don’t have reqirement.txt…
please help me

Hello @rayeleigh ,

Create a requirements.txt and write in as follows.


Please use tensorflow==2.0.0a0 instead of tensorflow==2.0.0.

Have you remembered how you download the tool? Git clone or download zip in windows?

yes!!! i remember
i use git clone
and
I need to create a txt file
@Louis-Cheng-Liu

I need your advice!

I’m making a Korean sign language translator in Python language

The gui is using the tkinter program
The real-time recognition program is using open cv.

Is it not the right choice for me to use the c/c++ sdk now?

Should I use open cv dnn?
By the way, what is the difference between python ksnn and opencv dnn??

Also, what are the advantages of using opencv dnn??

Once these programs are used, npu can be used, but I have to make an inference process, right?
@Louis-Cheng-Liu @numbqq @goenjoy

Hello @rayeleigh ,

I advise you to use C++. C++ can interface npu directly.
Both opencv dnn and ksnn provide python API. But the API is different.
If you want to use ksnn, you should convert model first. But opencv dnn can use onnx model.(Onnx model still need to be quantized)
Opencv dnn is more general. Ksnn is easier but only be use in Khadas.
Yes, after you convert model, you should make an inference process in C++.

@Louis-Cheng-Liu Do you know the difference between the versions??

raw or not raw
Speaking of dates, these are two files from April 25
i i know gnome and server

Hello @rayeleigh ,

Versions with raw is installing by oowow. Without raw is installing by usb.

I suggest you to install by usb.

@Louis-Cheng-Liu good
and Open cv dnn should also be done on a computer?

I’m almost on my way to the answer. thank you for helping me

Hello @rayeleigh ,

If you want to use opencv dnn, you do not need to download in VIM3.