Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
pbcquoc committed Dec 3, 2022
1 parent 04a8f34 commit 54e8a77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
10 changes: 4 additions & 6 deletions config/vgg-seq2seq.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
pretrain:
id_or_url: 1nTKlEog9YFK74kPyX0qLwCWi60_YHHk4
md5: efcabaa6d3adfca8e52bda2fd7d2ee04
cached: /tmp/tranformerorc.pth
# for train
pretrain: https://vocr.vn/data/vietocr/vgg_seq2seq.pth

# url or local path
weights: https://drive.google.com/uc?id=1nTKlEog9YFK74kPyX0qLwCWi60_YHHk4
# url or local path (for predict)
weights: https://vocr.vn/data/vietocr/vgg_seq2seq.pth

backbone: vgg19_bn
cnn:
Expand Down
10 changes: 4 additions & 6 deletions config/vgg-transformer.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
pretrain:
id_or_url: 13327Y1tz1ohsm5YZMyXVMPIOjoOA0OaA
md5: af6b46e9295eb1c27ca90bddf8c8729a
cached: /tmp/tranformerorc.pth
# for training
pretrain: https://vocr.vn/data/vietocr/vgg_transformer.pth

# url or local path
weights: https://drive.google.com/uc?id=13327Y1tz1ohsm5YZMyXVMPIOjoOA0OaA
# url or local path (predict)
weights: https://vocr.vn/data/vietocr/vgg_transformer.pth

backbone: vgg19_bn
cnn:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="vietocr",
version="0.3.9",
version="0.3.10",
author="pbcquoc",
author_email="[email protected]",
description="Transformer base text detection",
Expand Down

0 comments on commit 54e8a77

Please sign in to comment.