donut
Official Implementation of OCR-free Document Understanding Transformer (Donut) and Synthetic Document Generator (SynthDoG), ECCV 2022
File Explorer
Download Latest Version (.zip)- train_cord.yaml
- train_docvqa.yaml
- train_rvlcdip.yaml
- train_zhtrainticket.yaml
- .gitkeep
- __init__.py
- _version.py
- model.py
- util.py
- overview.png
- sample_image_cord_test_receipt_00004.png
- sample_image_donut_document.png
- sample_synthdog.png
- screenshot_gradio_demos.png
- .gitkeep
- __init__.py
- background.py
- content.py
- document.py
- paper.py
- textbox.py
- __init__.py
- grid.py
- grid_stack.py
- bedroom_83.jpg
- bob+dylan_83.jpg
- coffee_122.jpg
- coffee_18.jpeg
- crater_141.jpg
- cream_124.jpg
- eagle_110.jpg
- farm_25.jpg
- hiking_18.jpg
- enwiki.txt
- jawiki.txt
- kowiki.txt
- zhwiki.txt
- NotoSans-Regular.ttf
- NotoSerif-Regular.ttf
- NotoSansJP-Regular.otf
- NotoSerifJP-Regular.otf
- NotoSansKR-Regular.otf
- NotoSerifKR-Regular.otf
- NotoSansSC-Regular.otf
- NotoSerifSC-Regular.otf
- paper_1.jpg
- paper_2.jpg
- paper_3.jpg
- paper_4.jpg
- paper_5.jpg
- paper_6.jpg
- config_en.yaml
- config_ja.yaml
- config_ko.yaml
- config_zh.yaml
- README.md
- template.py
- .gitignore
- app.py
- LICENSE
- lightning_module.py
- NOTICE
- README.md
- setup.py
- test.py
- train.py
# Installation Guide
1. Get the code
git clone https://github.com/clovaai/donut
Downloads the entire project code from GitHub to your computer.
cd donut
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install donut-python
Installs the package published on PyPI directly โ no need to clone the source.
pip install .
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install donut-python
Installs the package published on PyPI directly โ no need to clone the source.
pip install .
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
