-
Notifications
You must be signed in to change notification settings - Fork 463
Home
Felix Dittrich edited this page Jan 17, 2025
·
5 revisions
Welcome to the doctr wiki!
- Check that the versions in setup.py & .conda/meta.yaml are correct
- Create a release on Github where the name and especially the tag matches the version specified in setup.py (e.g.: v0.11.0)
- After releasing apply post-release modifications ref.: https://github.com/mindee/doctr/commit/251aa22bdcac263767c6957c8f18c18bb2d20ffe
Then build the conda package and upload to anaconda:
conda build purge
conda build purge-all
rm -rf conda-dist/
BUILD_VERSION='X.Y.Z' python setup.py sdist
mkdir conda-dist
conda-build ./conda/ -c pytorch --output-folder conda-dist
ls -l conda-dist/noarch/*conda
anaconda upload conda-dist/noarch/*conda -u mindee
--epochs 40
- default config (`batch_size` adjusted to machine capacity)
--epochs 20
- default config (`batch_size` adjusted to machine capacity)
--epochs 25
-b 4
--grad_accumulation 16 (effective bs of 64)
--rotation
--eval-straight (faster eval)
--save-interval-epoch
--optim adamw
--lr 0.0001