LaTeX-OCR
LaTeX-OCR copied to clipboard
How to get the model with weights,Want to Export PyTorch model to ONNX format
Thank you for the hard work. As a beginner, I would like to export a complete network model (including structure and weights),and transform it into ONNX format,How to do it?Thanks.
https://github.com/lukas-blecher/LaTeX-OCR/blob/main/pix2tex/model/checkpoints/get_latest_checkpoint.py#L41
Hi all, I currently convert model Latex-OCR to ONNX sucessfully. The model's encoder and decoder are converted separately. Details about the code via Code If it's useful for your work please ⭐ my repo