Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 952 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 952 Bytes

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