GithubHelp home page GithubHelp logo

ayan-cs / handwritten-character-recognition-banglalekha Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 81.83 MB

Handwritten Bangla Character Classification using ResNet-34 trained using BanglaLekha Dataset. System has been implemented in PyTorch. For details, see the README file.

Jupyter Notebook 83.95% Python 16.05%
bangla-dataset bengali-dataset classification classification-model handwritten-character-recognition python3 pytorch pytorch-implementation resnet-34 torchvision

handwritten-character-recognition-banglalekha's Introduction

Handwritten Bangla Character Recognition using CNN in PyTorch

About the dataset

The Original Dataset contains Handwritten Bangla Characters and Digits, a total of 84 classes where,

  • 11 are Vowels
  • 37 are consonants
  • Rest are some of the Complex characters (consisting of 2 or more graphemes)

Instructions for Training the model

  • Open CMD/Terminal and clone the repository using the command : git clone [email protected]:ayan-cs/handwritten-character-recognition-banglalekha
  • Download the BanglaLekha Numerals dataset from the given link above and extract inside the repository folder. It is recommended not to make any change to the dataset folder.
  • Preprocess the data by executing the Data_Preparation.ipynb notebook. This should create Train and Validation splits inside the parent dataset folder. (If you want to reverse the split and re-split the dataset again, a code snippet is available inside the notebook)
  • Configure train_config.yaml file.
  • Run the script on CMD/Terminal : python main.py train
  • The trained model will be available inside Checkpoints folder and the plots will be saved inside Plots & Outputs folder.

Instructions for Inference/Prediction

  • Open CMD/Terminal and clone the repository using the command : git clone [email protected]:ayan-cs/handwritten-character-recognition-banglalekha
  • Make sure the data is preprocessed.
  • Configure inference_config.yaml file. For demo, one trained ResNet-34 model has been provided.
  • Open CMD/Terminal, run the command : python main.py inference
  • The outputs will be available inside the Plots & Outputs folder.

handwritten-character-recognition-banglalekha's People

Contributors

ayan-cs avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.