Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please refer to requirements.txt for the requisite python modules.

Large Scale TSP

You are free to choose the experiment hyperparameters by modifying TSP/config.json, where all notation is as per the paper. To run the experiment, execute large_tsp_solver.py

CNN

CIFAR10

Usage: python train.py --epochs_stage1 400 --epochs_stage2 400

Faceboxes

Please install the WIDER_train dataset from Wider Face, and place it in CNN/faceboxes/WIDER_train/images.

Train script usage:

python train_resnet_adcless.py -b [batch_size] --num_workers [num_workers] --no_wandb --w_bits [weight_bits] --a_bits [activation_bits] --xbar_size [xbar_size] --epochs_stage1 100 --epochs_stage2 100

Test script usage: Install the PASCAL datasets for the VOC 2007, 2008, 2009, 2010, 2011, and add them to faceboxes_data/PASCAL/images. The provided img_list serves as a reference of the images expected to be downloaded.

python test_resnet_adcless.py -m [path_to_trained_checkpoint.pth] --w_bits [weight_bits] --a_bits [activation_bits] --xbar_size [xbar_size] --test_mode [adc_less/wa_quant]

IMPORTANT: Specify the correct category of the checkpoint you're evaluating on (weights/activations quantized only (after first train stage) or adc_less (after the two train stages))

After running the test script, for PASCAL evaluation, please refer to: PASCAL eval

About

Official code for LIMO: Low Power In-Memory Annealer and Matrix Multiplication Primitive for Edge Computing

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages