gemmini-rocc-tests icon indicating copy to clipboard operation
gemmini-rocc-tests copied to clipboard

alexnet_params.h not found

Open k0nze opened this issue 2 years ago • 4 comments

In the imagenet directory is a alexnet.c which I would like to compile. However, the ? alexnet_params.h and alexnet_images.h are missing from that directory, and due to that, the compilation of AlexNet fails. Is it possible to get the header files for AlexNet?

k0nze avatar Feb 01 '23 08:02 k0nze

We generated one internally a long time ago, but we didn't end up pushing it because it was pretty large. I've taken a look, and I can't find it anymore. If I end up finding the file later, I'll update you.

In the meantime, if you want to run alexnet.c, you could ust images.h instead of alexnet_images.h, and perhaps generate dummy parameters for all the layers that are referenced in alexnet.c? The inferences will be incorrect of course, but the performance numbers should be identical.

hngenc avatar Feb 06 '23 19:02 hngenc

If you were to port a trained model parameters to work in RoCC/Gemmini, what steps would it take to do the necessary quantizations? Been looking around all available resources but couldn't get a solid answer for this.

HyunseokErikJung avatar Apr 24 '23 04:04 HyunseokErikJung

@k0nze Did you managed to generate the dummy parameters for alexnet? I am also interested in executing it.

mbelda avatar May 17 '23 09:05 mbelda

@mbelda No, I haven't I might have a look in the coming weeks.

k0nze avatar May 19 '23 17:05 k0nze