登录 注册
教育与学习
64,422
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Python
语言
创建时间
最近更新

项目能做什么

专为人类开发者打造的极简深度学习框架。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Keras 3: Deep Learning for Humans

Keras 3 is a multi-backend deep learning framework, with support for JAX, TensorFlow, PyTorch, and OpenVINO (for inference-only).
Effortlessly build and train models for computer vision, natural language processing, audio processing,
timeseries forecasting, recommender systems, etc.

- **Accelerated model development**: Ship deep learning solutions faster thanks to the high-level UX of Keras
and the availability of easy-to-debug runtimes like PyTorch or JAX eager execution.
- **State-of-the-art performance**: By picking the backend that is the fastest for your model architecture (often JAX!),
leverage speedups ranging from 20% to 350% compared to other frameworks. [Benchmark here](https://keras.io/getting_started/benchmarks/).
- **Datacenter-scale training**: Scale confidently from your laptop to large clusters of GPUs or TPUs.

Join nearly three million developers, from burgeoning startups to global enterprises, in harnessing the power of Keras 3.


## Installation

### Install with pip

Keras 3 is available on PyPI as `keras`. Note that Keras 2 remains available as the `tf-keras` package.

1. Install `keras`:

```
pip install keras --upgrade
```

2. Install backend package(s).

To use `keras`, you should also install the backend of choice: `tensorflow`, `jax`, or `torch`. Additionally,
The `openvino` backend is available with support for model inference only.

3. (Optional) Install remote file access support.

To save to and load from Google Cloud Storage (`gs://` paths) without TensorFlow, install the `gcs` extra:

```
pip install "keras[gcs]"
```

### Local installation

#### Minimal installation

Keras 3 is compatible with Linux and macOS systems. For Windows users, we recommend using WSL2 to run Keras.
To install a local development version:

1. Install dependencies:

```
pip install -r requirements.txt
```

2. Run installation command from the root directory.

```
python pip_build.py --install
```

3. Run API generation script when creating PRs that update `keras_export` public APIs:

```
./shell/api_gen.sh
```

## Backend Compatibility Table

The following table lists the minimum supported versions of each backend for the latest stable release of Keras (v3.x):

| Backend    | Minimum Supported Version |
|------------|---------------------------|
| TensorFlow | 2.16.1                    |
| JAX        | 0.4.20                    |
| PyTorch    | 2.6.0                     |
| OpenVINO   | 2026.2.0                  |

#### Adding GPU support

The `requirements.txt` file will install a CPU-only version of TensorFlow, JAX, and PyTorch. For GPU support, we also
provide a separate `requirements-{backend}-cuda.txt` for TensorFlow, JAX, and PyTorch. These install all CUDA
dependencies via `pip` and expect a NVIDIA driver to be pre-installed. We recommend a clean Python environment for each
backend to avoid CUDA version mismatches. As an example, here is how to create a JAX GPU environment with `conda`:

```shel
阅读完整原文

商业机会分析 AI 生成

Keras 3 多后端一键部署与端侧导出工具 (Keras-Deploy SaaS/CLI)

产品构想基于 Keras 3 支持 OpenVINO、Torch 等后端的事实,打造将 Keras 模型一键优化、量化并打包为微服务(Triton/FastAPI)或边缘运行时(OpenVINO/ONNX)的轻量级商业化 CLI 工具或托管服务。
核心功能一键模型静态图固化与量化(INT8/FP16)、自动比对不同后端(PyTorch/OpenVINO)推理时延与吞吐、开箱即用的 Docker 镜像与 API 服务代码生成。
目标用户中小企业 AI 工程师、独立开发者、端侧/边缘设备算法落地团队。
难度/周期中等 · 1-2 个月 · 成本:极低(主要是本地开发和低配置云服务器进行打包测试)。
收费模式核心开源 + Pro版高级特性(如商业许可证、闭源硬件量化优化加速包、高级技术支持)。
竞争风险主流部署平台(如 Hugging Face、Triton、Ollama)本身更新快且易形成挤压;各后端边缘生态复杂度高。
依据 已验证事实

tf.keras 至 Keras 3 / JAX 代码迁移与重构咨询服务

产品构想针对企业存量 tf.keras (Keras 2) 资产向现代多后端 Keras 3 (如追求 20%-350% 性能加速的 JAX) 迁移痛点,提供自动化语法转换脚本、模型权重转换工具与专家咨询审计。
核心功能废弃 API 自动化扫描与替代建议、自定义 Layer/Loss/Metric 跨后端重写辅助工具、性能压测与等价性验证报告。
目标用户拥有大量 TensorFlow 历史技术债务的传统企业、追求算力成本缩减的中大型科技公司团队。
难度/周期高 · 2-3 个月(工具研发 + 案例沉淀) · 成本:低(时间成本为主,验证需租赁 GPU/TPU 资源)。
收费模式企业技术咨询费、迁移外包服务费、自动化代码审计工具的企业 License。
竞争风险属于劳动力与经验密集型业务,客单周期长,难以纯靠软件标准化实现高杠杆规模化。
依据 数据支持的判断

Keras 多后端算力成本基准评测与智能路由引擎

产品构想利用 Keras 3 官方宣称不同架构在 JAX/PyTorch/TF 下有 20%-350% 性能差异的事实,开发一个能够在云算力训练时自动评估最低算力成本并自动配置环境变量/后端的调度工具。
核心功能自动化微型基准测试(自动对比 JAX、PyTorch、TF 在指定显卡/TPU 上的耗时与显存开销)、训练成本预测看板、最优后端推荐与一键注入启动。
目标用户精打细算型 AI 初创公司、算力账单高企的研究团队。
难度/周期中等 · 1-2 个月 · 成本:中等(需要接入各主流 GPU 云厂商 API 进行性能跑分与标定)。
收费模式SaaS 订阅制;或联合算力云平台做引流分成/算力优化效果分成(Save-to-earn)。
竞争风险JAX/PyTorch 某些算子并非 100% 具备对齐性能;不同硬件架构差异大,评测结论维护成本高。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
fighting41love/funNLP 中文介绍暂未生成
中英文敏感词、语言检测、中外手机/电话归属地/运营商查询、名字推断性别、手机号抽取、身份证抽取、邮箱抽取、中日文人名库、
84,528 Python
lutzroeder/netron 中文介绍暂未生成
Visualizer for neural network, deep learning and machine lea
33,678 JavaScript
tqdm/tqdm 中文介绍暂未生成
:zap: A Fast, Extensible Progress Bar for Python and CLI
31,382 Python
d2l-ai/d2l-en 中文介绍暂未生成
Interactive deep learning book with multi-framework code, ma
30,033 Python
donnemartin/data-science-ipython-notebooks 中文介绍暂未生成
Data science Python notebooks: Deep learning (TensorFlow, Th
29,387 Python
matterport/Mask_RCNN 中文介绍暂未生成
Mask R-CNN for object detection and instance segmentation on
25,576 Python
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 ,最近推送 ,发布过 93 个 Release
社区活跃Star 64,422 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/keras-team/keras.git
cd keras
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。