未验证 提交 20568af7 编写于 作者: B BreezeDeus 提交者: GitHub

Merge pull request #75 from breezedeus/dev

fix: wrong urls for model downloading
......@@ -32,4 +32,12 @@ predict:
python scripts/cnocr_predict.py --model_name $(MODEL_NAME) --file examples/rand_cn1.png
.PHONY: gen-lst gen-rec train evaluate predict
package:
python setup.py sdist bdist_wheel
VERSION = 1.1.1
upload:
python -m twine upload dist/cnocr-$(VERSION)* --verbose
.PHONY: gen-lst gen-rec train evaluate predict package upload
__version__ = '1.1.1'
__version__ = '1.1.2.1'
......@@ -12,7 +12,7 @@ SEQ_MODEL_TYPES = ['lstm', 'gru', 'fc']
root_url = (
'https://raw.githubusercontent.com/breezedeus/cnocr-models/master/models/%s'
% __version__
% MODEL_VERSION
)
# name: (epochs, url)
AVAILABLE_MODELS = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册