Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.22 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.22 KB

Image to Latex

Introduction

This respository implement the Seq2Seq Image to Latex architecture from paper “Image to Latex.” of Genthial, Guillaume. (2017).

Architecture

This structure is based on Seq2Seq architecture, it use one Convolutional Encoder and one RNN Decoder.

  • Convolution (only)
  • Convolution with Row Encoder (BiLSTM)
  • Convolution with Batch Norm
  • ResNet 18 with Row Encoder (BiLSTM)
  • ResNet 18 (only)

Dataset

im2latex100k

im2latex170k

How to use?

Login wandb

  • wandb login <key>

python main.py --batch-size 2 --data-path C:\Users\nvatu\OneDrive\Desktop\dataset5\dataset5 --img-path C:\Users\nvatu\OneDrive\Desktop\dataset5\dataset5\formula_images --dataset 170k --val --decode-type beamsearch

Example