Code for "Characterising Across Stack Optimisations for Deep Convolutional Neural Networks"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
imagenet
img
include
src
weights
LICENCE
Makefile
MobileNet_CPU_cifar.c
ResNet-18_CPU_cifar.c
VGG-16_CPU_cifar.c
readme.txt

readme.txt


You need to include the weights file (e.g. vgg_plain.txt) file generated from scratchpad/codes/pytorch-cifar/


compile:	gcc -O3 VGG16_CPU_cifar.c -lm -fopenmp -o VGG16_CPU_cifar 

run (example):	./VGG-16_CPU_cifar weights/vgg.txt img/filelist_cf.txt result_cf_conv.txt 1	(only convolutional layers)
run (example):	./VGG-16_CPU_cifar weights/vgg.txt img/filelist_cf.txt result_cf.txt		(all layers)