Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seedot #249

Open
mehreenjabeen opened this issue Nov 25, 2021 · 7 comments
Open

Seedot #249

mehreenjabeen opened this issue Nov 25, 2021 · 7 comments

Comments

@mehreenjabeen
Copy link

Hi,

I want to generate inference code corresponding to an onnx model. Although readme file in overview section says "SeeDot takes as input trained floating-point models", I cannot find any argument in the SeeDot-dev.py file which takes trained model as input.

Please help to resolve this.

@ShikharJ
Copy link
Contributor

@mehreenjabeen Hi, could you mention which model do you wish to generate the corresponding code for?

@mehreenjabeen
Copy link
Author

mehreenjabeen commented Nov 25, 2021

Hi @ShikharJ,

I have two onnx models for keyword spotting task based on dnn and gru architecture

@ShikharJ
Copy link
Contributor

@mehreenjabeen SeeDot/Shiftry might not have the full support for these models, but you can always try. See this for an example.

@mehreenjabeen
Copy link
Author

mehreenjabeen commented Nov 25, 2021

@ShikharJ: I am following the same link you have shared, but my query is that there is no argument for feeding the trained onnx model to SeeDot-dev.py file.
usage: SeeDot-dev.py [-h] [-a] [-e] [-d] [-m] [-n] [-dt] [-t] [-s] [-sf] [-l] [-lsf] [-tdr] [-o]

@ShikharJ
Copy link
Contributor

Ah, sorry, please follow the instructions from here. Please note that the generated seedot_ast.txt will be the input.sd file that you need. As for dumping the model weights, you can simply do an online search on how to dump weights from a trained ONNX model.

@mehreenjabeen
Copy link
Author

mehreenjabeen commented Nov 27, 2021

@ShikharJ
Upon running compile.sh from here, following error appears: python: can't open file 'create_input.py': [Errno 2] No such file or directory
I ran the below command: ./compile.sh ./models/dnn.onnx

@ShikharJ
Copy link
Contributor

@mehreenjabeen Sorry for the delayed response, it seems that the SeeDot converter is currently broken, and might need a substantial amount of work. We're planning a new release in February, but till then, I don't see this issue getting resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants