Views
No views yet
checkpoints/last.ckptconfigs/charset/malayalam.yamlmagles/malayalam-synthetic-ocr-datsetthh.ckpt checkpoint, not a native Hugging Face Transformers model. Use it with the original PARSeq codebase for inference or further fine-tuning.1from strhub.models.parseq.system import PARSeq
2
3model = PARSeq.load_from_checkpoint("checkpoints/last.ckpt")
4model.eval()1python train.py \
2 charset=malayalam \
3 dataset=malayalam \
4 data.root_dir=data \
5 data.train_dir=YOUR_LMDB_DIR \
6 data.normalize_unicode=false \
7 trainer.accelerator=gpu \
8 trainer.devices=1 \
9 ckpt_path=checkpoints/last.ckpt