Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 912 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 912 Bytes

RESNET18 + PonderNet

This code is adopted from one of the PyTorch Lightning examples and this PonderNet implementation.

Train CIFAR10 with PyTorch

I'm playing with PyTorch on the CIFAR10 dataset.

Prerequisites

  • Python 3.6+
  • PyTorch 1.0+

Training

# Start training INTERPOLATION TASK with: 
python interpolation.py
# Start training EXTRAPOLATION TASK with: 
python extrapolation.py

Accuracy

INTERPOLATION TASK

Model Acc.
ResNet18 93.02%
ResNet18 + PonderNet (epochs=10) 83.24%
ResNet18 + PonderNet (epochs=50) 90.96%