open_clip
AI 模型与开发框架开发者工具图像、视频与音频
computer-visioncontrastive-lossdeep-learninglanguage-modelmulti-modal-learningpretrained-models
14,256
Stars
1,336
Forks
81
Watchers
26
Open Issues
NOASSERTION
许可证
Python
语言
2021-07-28
创建时间
2026-11-10
最近更新
项目能做什么
CLIP 的开源实现。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# OpenCLIP [[Paper]](https://arxiv.org/abs/2212.07143) [[Citations]](#citing) [[Clip Colab]](https://colab.research.google.com/github/mlfoundations/open_clip/blob/main/docs/Interacting_with_open_clip.ipynb) [[Coca Colab]](https://colab.research.google.com/github/mlfoundations/open_clip/blob/main/docs/Interacting_with_open_coca.ipynb) [](https://pypi.python.org/pypi/open_clip_torch) > **Versions** > > - **4.x** is the current release line, developed on `main`. 4.2.1 is the first 4.x release on PyPI; earlier 4.x version numbers were development versions only. > - **3.x** remains available on the [`v3` branch](https://github.com/mlfoundations/open_clip/tree/v3). To stay on it, run `pip install 'open_clip_torch<4'`. Further 3.3.x releases will only be made if needed. > - **Upgrading from 3.x:** pretrained image/text inference is intended to remain compatible, but training scripts and downstream integrations need review. See the [migration guide](https://github.com/mlfoundations/open_clip/blob/main/docs/MIGRATING_3_TO_4.md). Welcome to an open source implementation of OpenAI's [CLIP](https://arxiv.org/abs/2103.00020) (Contrastive Language-Image Pre-training). OpenCLIP also includes language-audio ([CLAP](https://arxiv.org/abs/2211.06687)) models and related generative models. Using this codebase, we have trained several models on a variety of data sources and compute budgets, ranging from [small-scale experiments](docs/LOW_ACC.md) to larger runs including models trained on datasets such as [LAION-400M](https://arxiv.org/abs/2111.02114), [LAION-2B](https://arxiv.org/abs/2210.08402) and [DataComp-1B](https://arxiv.org/abs/2304.14108). Many of our models and their scaling properties are studied in detail in the paper [reproducible scaling laws for contrastive language-image learning](https://arxiv.org/abs/2212.07143). Some of the best models we've trained and their zero-shot ImageNet-1k accuracy are shown below, along with the ViT-L model trained by OpenAI and other state-of-the-art open source alternatives (all can be loaded via OpenCLIP). We provide more details about our full collection of pretrained models [here](docs/PRETRAINED.md), and zero-shot results for 38 datasets [here](docs/openclip_results.csv). Experimental helper scripts for [multilabel zero-shot evaluation](docs/multilabel_zeroshot.md) (`scripts/multilabel_zeroshot.py`) and [linear probes](docs/linear_probe.md) (`scripts/linear_probe.py`) are also available. | Model | Training data | Resolution | # of samples seen | ImageNet zero-shot acc. | | -------- | ------- | ------- | ------- | ------- | | ConvNext-Base | LAION-2B | 256px | 13B | 71.5% | | ConvNext-Large | LAION-2B | 320px | 29B | 76.9% | | ConvNext-XXLarge | LAION-2B | 256px | 34B | 79.5% | | ViT-B-32-256 | DataComp-1B | 256px | 34B | 72.8% | | ViT-B-16 | DataComp-1B | 224px | 13B | 73.5% | | ViT-L-14 | LAION-2B | 224px | 32B | 75.3% | | ViT-H-14 |阅读完整原文
商业机会分析 规则生成(AI 未配置)
综合评分 62.1 分。该项目在“个人可实施性”维度得 60 分,“付费可能性”维度得 20.0 分,差异化空间 100.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 open_clip 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
封装为在线小工具或 API 服务
| 产品构想 | 把项目最常用的一个功能做成网页小工具,靠流量变现或按量计费。 |
| 目标用户 | 搜索引擎带来的长尾用户 |
| 难度/周期 | 低 · 1~3 周 |
| 收费模式 | 免费引流 + 增值功能 / API 按量计费 |
| 竞争风险 | 同质化竞争,需做好 SEO |
| 依据 | AI 推测:基于技术栈与部署特征的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| opencv/opencv | 中文介绍暂未生成 Open Source Computer Vision Library |
91,523 | C++ |
| Developer-Y/cs-video-courses | 中文介绍暂未生成 List of Computer Science courses with video lectures. |
84,805 | - |
| d2l-ai/d2l-zh | 中文介绍暂未生成 《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。 |
82,444 | Python |
| rohitg00/ai-engineering-from-scratch | 中文介绍暂未生成 Learn AI Engineering! Learn it. Build it. Ship it for others |
78,307 | Python |
| microsoft/AI-For-Beginners | 中文介绍暂未生成 12 Weeks, 24 Lessons, AI for All! |
70,701 | Jupyter Notebook |
| ultralytics/ultralytics | 中文介绍暂未生成 Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detectio |
63,283 | Python |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2021-07-28,近 30 天仍在推送,发布过 60 个 Release |
| 社区活跃 | Star 14,256 / Fork 1,336 / Issue 26(数据支持,可自行核实) |
| 许可证 | NOASSERTION |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/mlfoundations/open_clip.git cd open_clip # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。