Skip to content

LeNet Convolutional Network with KAN as classifier

Notifications You must be signed in to change notification settings

SimoSbara/kan-lenet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

kan-lenet

Description

LeNet Convolutional Network with KAN as classifier

This python script is derived from the efficient_kan MNIST example.

The KAN classifier receives the flatten data from convolution layers, the accuracy is around 98.7 %.

At the end of the script, it will convert the model in ONNX.

Requirements

  • You need to download efficient_kan and put it in the same folder of the script
  • You need PyTorch CUDA for training with GPU

Testing

I'm using HandOCRPaint as handwritten OCR tester.

Ideas

  • Training on the entire alphabet
  • Training on different fonts
  • Benchmark with MLP equivalent

About

LeNet Convolutional Network with KAN as classifier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages