Skip to content

Compare Neural Networks with Nerual ODE on MNIST

Notifications You must be signed in to change notification settings

sdrel/pytorch-mnist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-mnist

Replicating the experiment presented in the paper Neural ODE.

Implementing models MLP with 1 hidden layer, ResNet, RK-Net (Runge Kutta Net) and ODE-Net using framework PyTorch and comparing their performance on MNIST. Also used torchdiffeq library provided by authors of the paper.

Model architectures and process of training are saved in log files in logs directory. Models were given 30 epochs on training. Batch size is 128, learning rate - 0.01.

Performance

The observed performance is similar to the one presented by authors of the paper.

Test error Parameters
1-layer MLP 4.59% 0.20 M
ResNet 0.40% 0.58 M
RK-Net 0.64% 0.21 M
ODENet 0.57% 0.21 M

Training time comparison

All models were training on a CPU.

Batch processing time Average time with momentum

About

Compare Neural Networks with Nerual ODE on MNIST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%