提交 b62f8ce8 编写于 作者: B breezedeus

fix: model urls

上级 8d20bc9b
......@@ -35,7 +35,7 @@ predict:
package:
python setup.py sdist bdist_wheel
VERSION = 1.2.3
VERSION = 1.2.3.1
upload:
python -m twine upload dist/cnocr-$(VERSION)* --verbose
......
# Release Notes
### Update 2021.08.26: 发布 cnocr V1.2.3.1
主要变更:
* 变更了模型下载地址;
* 去掉了对numpy的版本约束。
### Update 2020.05.29: 发布 cnocr V1.2.2
主要变更:
......
__version__ = '1.2.3'
__version__ = '1.2.3.1'
......@@ -35,7 +35,7 @@ EMB_MODEL_TYPES = [
SEQ_MODEL_TYPES = ['lstm', 'gru', 'fc']
root_url = (
'https://beiye-model.oss-cn-beijing.aliyuncs.com/models/cnstd/%s/'
'https://beiye-model.oss-cn-beijing.aliyuncs.com/models/cnocr/%s/'
% MODEL_VERSION
)
# name: (epochs, url)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册