未验证 提交 2acad636 编写于 作者: K Kaipeng Deng 提交者: GitHub

update to 2.1 version (#3073)

上级 15c59d3c
......@@ -72,7 +72,7 @@ PaddleDetection can be installed in the following two ways:
```
# Install paddledet via pip
pip install paddledet==2.0.1 -i https://mirror.baidu.com/pypi/simple
pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple
# Download and use the configuration files and code examples in the source code
git clone https://github.com/PaddlePaddle/PaddleDetection.git
......
......@@ -62,7 +62,7 @@ python -c "import paddle; print(paddle.__version__)"
```
# pip安装paddledet
pip install paddledet==2.0.1 -i https://mirror.baidu.com/pypi/simple
pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple
# 下载使用源码中的配置文件和代码示例
git clone https://github.com/PaddlePaddle/PaddleDetection.git
......
......@@ -41,7 +41,9 @@ def package_model_zoo():
# exclude dataset base config
if osp.split(osp.split(cfg)[0])[1] not in ['datasets']:
valid_cfgs.append(cfg)
model_names = [osp.relpath(cfg, cfg_dir).replace(".yml", "") for cfg in valid_cfgs]
model_names = [
osp.relpath(cfg, cfg_dir).replace(".yml", "") for cfg in valid_cfgs
]
model_zoo_file = osp.join(cur_dir, 'ppdet', 'model_zoo', 'MODEL_ZOO')
with open(model_zoo_file, 'w') as wf:
......@@ -69,7 +71,7 @@ if __name__ == "__main__":
packages=find_packages(exclude=("configs", "tools", "deploy")),
package_data={'ppdet.model_zoo': package_model_zoo()},
author='PaddlePaddle',
version='2.0.1',
version='2.1.0',
install_requires=parse_requirements('./requirements.txt'),
description='Object detection and instance segmentation toolkit based on PaddlePaddle',
long_description=readme(),
......@@ -85,9 +87,8 @@ if __name__ == "__main__":
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Topic :: Utilities'
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Topic :: Utilities'
'Programming Language :: Python :: 3.9', 'Topic :: Utilities'
],
license='Apache License 2.0',
ext_modules=[])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册