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

ResNet-50 model and notebook release #30

Open
eneneli opened this issue Apr 28, 2022 · 4 comments
Open

ResNet-50 model and notebook release #30

eneneli opened this issue Apr 28, 2022 · 4 comments
Assignees

Comments

@eneneli
Copy link

eneneli commented Apr 28, 2022

Hi, I am wondering about the release mentioned in issue #17.

I have run into some problems implementing ResNet-18 with FINN and it would be very helpful to see the PyTorch/Brevitas model as well as the notebook with the transformations and steps applied to arrive at the ResNet-50 bitstream.

Is there any chance for this code to be added to the repository anytime soon?

@mmrahorovic
Copy link
Contributor

Hi @eneneli!
The Brevitas code for ResNet-50 is currently not released, but we are working on it and we will let you know in the upcoming months when it is ready!
For the transformation steps, you can find all details here in the build.py and custom_steps.py files.
Please let me know if you have any other question!

@0BAB1
Copy link

0BAB1 commented Jan 8, 2025

Hi everyone,

Any updates on this ? Is it possible to implement different kind of networks that uses residual nodes ?

@penrosed penrosed self-assigned this Jan 14, 2025
@penrosed
Copy link
Collaborator

It's definitely possible use FINN with residual networks, but it'll take some work to get there.

There is a branch of this repository, feature/rn-18, which contains a build script for ResNet18, and the Brevitas-trained model it takes as an input.

This branch isn't yet ready for release, as it has not yet been extensively tested, and is unfinished in places. It's likely you'll encounter some problems trying to use it. However, you could use this branch, in conjunction with the already existing ResNet18 Brevitas example (which was used to produce model mentioned above), and get a decent idea of how to use FINN end-to-end with a residual network.

@0BAB1
Copy link

0BAB1 commented Jan 15, 2025

Thanks for the input !

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

4 participants