What do I need to do after converting the model #1192
Unanswered
bluemoon0321
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Please check out the hls4ml tutorial: https://github.com/fastmachinelearning/hls4ml-tutorial, which covers the necessary steps to convert the model and also deploy it on hardware. Relavant parts in your case would be: 1, 2, 7 and perhaps 6 if you are working with CNNs. Part 7 explains how to deploy the model on hardware and view the Vivado project. And yes, you're correct - all of these other ones are installed because they are marked as dependencies for hls4ml. Note, also, the command-line utility has been deprecated. The preferred method to use hls4ml is from the Python interface, as indicated on the tutorial. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello guys, I am new here.
I want to do a project using hls4ml to convert a nerual network, and eventually put it on PYNQ-Z2 to accelerate, so I decide to first test on a simple example to go through the whole process, including the convert part and the board part.
I think I have managed to install hls4ml and succesfully convert the example Keras_3layer by doing:
git clone https://github.com/hls-fpga-machine-learning/hls4ml.git
cd hls4ml
pip install .
cd example-models
hls4ml convert -c keras-config.yml
and then I got the directory : my-hls-test

I suppose that now I need to transfer these by the vivado tools onto my board?

something like the image below
but I am not sure is this the right thing to do or do I need to do something else first, or even did I do something wrong above.
Can someone tell me what should I do next or is there a tutorial about these steps that I can see.
And I also want to ask that as what I see, I need to install Tensorflow, QKears, etc before I can convert. However, the only thing I did is the steps above, but I think I still finish the convert. Is it because I install all these in the
pip install .
?Thank you guys so much, I have been looking for answer all these days but still find nothing.
Beta Was this translation helpful? Give feedback.
All reactions