GithubHelp home page GithubHelp logo

rvente / texnet Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 98.5 MB

im2latex solution: Transcribe mathematical expressions from screenshots using machine learning.

Shell 0.02% HTML 0.06% Python 12.02% Jupyter Notebook 71.62% Makefile 0.01% TeX 16.25% Emacs Lisp 0.01% JavaScript 0.01%

texnet's Introduction

The prospect of accurately transcribing mathematical expression into a markup representation is enticing because it opens the doors for bringing new life to old mathematical texts or those for which the source code is unavailable.

We make that dream a reality with this project, where we build on Sumeet Singh's work porting the model to Python3 and bringing our own dataset of 170,000 examples.

Dynamic Content

Demonstration Video

Sumeet S. Singh's Project Site

Static Content

Complete Dataset

Research Paper

Team

Directory Structure

TEXNET
│   
│      
│
└───data -> has to be made by the user (extract data folder in there)
│   │   
│   │   
│   │
│   └───formula_images
│       │   *.png    
│   
└───src -> main directory of where model will be ran
│   │   
│   │   
│   │
│   └───tools
│   │   │   prepareData.py -> run first when images are placed in inference folder
│   │   │   predict.py -> run this script after running the model based on the script outputted from prepareData.py
│   │   │   predictions.csv -> outputted csv with filenames and LaTeX predictions
│   │   
│   │   
│   │
│   └───tb_metrics -> main logging directory where logs from model training will be stored
│   │
│   │
│   │  run.py -> main file that runs the model, has settable hyperparameters and variables that need to be specified based on the training machine
|
└───predictions
│   │   
│   │   
│   │
│   └───formula_images -> paste images to perform inference on here before running inference scripts

texnet's People

Contributors

rvente avatar taradactyl27 avatar

Stargazers

 avatar  avatar Nguyễn Văn Anh Tuấn avatar Arifur avatar  avatar  avatar Chao Yihu avatar Karan Brar avatar  avatar

Watchers

 avatar

Forkers

songyanyi yrq66

texnet's Issues

Need of model parameters!

Hey, @rvente I've been working on this project referenced to Im2latex for 4 months but because of lack of computational power I'm unable to train it properly, so this is my humble request can you provide me the data reflecting your model, a naive one will also work. I just need to show it to my professors and classmates.

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.