1 Star 0 Fork 0

fuyb/omniparse

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
download.py 604 Bytes
一键复制 编辑 原始数据 按行查看 历史
"""
Script to download models
"""
import argparse
from omniparse import load_omnimodel
def download_models():
parser = argparse.ArgumentParser(description="Download models for omniparse")
parser.add_argument("--documents", action='store_true', help="Load document models")
parser.add_argument("--media", action='store_true', help="Load media models")
parser.add_argument("--web", action='store_true', help="Load web models")
args = parser.parse_args()
load_omnimodel(args.documents, args.media, args.web)
if __name__ == '__main__':
download_models()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HALOBING/omniparse.git
git@gitee.com:HALOBING/omniparse.git
HALOBING
omniparse
omniparse
main

搜索帮助