登录 注册

pytorch-image-models

去点 Star
AI 模型与开发框架数据分析与数据处理
37,280
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Python
语言
创建时间
最近更新

项目能做什么

PyTorch 图像骨干网络合集,包含各类主流模型、预训练权重及训练推理脚本。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

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

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# PyTorch Image Models
- [What's New](#whats-new)
- [Introduction](#introduction)
- [Models](#models)
- [Features](#features)
- [Results](#results)
- [Getting Started (Documentation)](#getting-started-documentation)
- [Train, Validation, Inference Scripts](#train-validation-inference-scripts)
- [Awesome PyTorch Resources](#awesome-pytorch-resources)
- [Licenses](#licenses)
- [Citing](#citing)

## What's New

## November 3, 2026

* `reset_classifier()` and checkpoint reconstruction: fixes across ViT, EVA, BEiT, NaFlexViT, RepViT and iFormer
  preserve normalization placement and distillation settings when exporting / reloading models after changing the
  classifier or pooling. Also fix unpooled PiT export and EfficientFormerV2 with distillation disabled.
* NaFlex: fix ViT / EVA norm placement during conversion, support SwiGLU alignment for DINOv3 / Lingbot checkpoints,
  and preserve grayscale / non-RGB input channels in data loaders.
* Fix layer-wise LR decay grouping for RepViT, HGNet, MViTv2 and pre-norm ViTs, and InceptionNeXt feature sizes with
  `output_stride=8/16`.
* Release 1.0.31.

## October 24, 2026

* `forward_intermediates()` and `prune_intermediate_layers()` are now supported by every model. Newly added for CSPNet, NFNet, DLA, DenseNet (#2870, thanks [ghaith-mq](https://github.com/ghaith-mq)), CoaT, ConViT, ConvMixer, CrossViT, HRNet, Inception-v3, Inception-ResNet-v2, NASNet, PNASNet, SelecSLS, SENet, Sequencer2d, VGG, Visformer, Xception and Aligned Xception, with `prune_intermediate_layers()` for NaFlexViT and MobileNetV5 encoders. CoaT, ConViT, ConvMixer, CrossViT and Visformer gain `features_only` support.
* `prune_intermediate_layers()` fixes
  * `prune_head=True` removes the whole head (head norm, pre-logits layers, attention pooling) so the pruned model leaves no unused params (DDP w/o `find_unused_parameters`), except CoaT, CrossViT and HRNet when only some of their parallel scales / branches are taken. Pass `prune_head=False` to keep it.
  * Pruning a hierarchical model to an earlier stage removes the final norm and head sized for the last stage, `forward_features()` ends at the last kept feature and `num_features` / `head_hidden_size` match it. Pruning to the stem feature removes the stem pooling after it.
  * Fixes for grad checkpointing, `stop_early`, class token / post network removal, and TorchScript of pruned / `feature_cls='getter'` models across many families.
* `head_hidden_size` is the actual pre-logits (pooled) width in all models, including concat pooling (`catavgmax`) and after `reset_classifier()`. Pool types a model can't apply now raise at creation / reset instead of being silently ignored or failing in forward.
* Other fixes: VOLO `num_classes=0` output is the class token embedding (matching `forward_head(pre_logits=True)`), `vit_pe_core` `reset_classifier()` w/ a non `map` pool removes the attention pool, pool type export via `save_for_hf` reads the head's current pooling, and headless (`num_classes=0`) S
阅读完整原文

商业机会分析 规则生成(AI 未配置)

综合评分 49.5 分。该项目在“个人可实施性”维度得 60 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 pytorch-image-models 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断

封装为在线小工具或 API 服务

产品构想把项目最常用的一个功能做成网页小工具,靠流量变现或按量计费。
目标用户搜索引擎带来的长尾用户
难度/周期低 · 1~3 周
收费模式免费引流 + 增值功能 / API 按量计费
竞争风险同质化竞争,需做好 SEO
依据 AI 推测:基于技术栈与部署特征的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

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

项目中文简介Stars语言
huggingface/diffusers 中文介绍暂未生成
🤗 Diffusers: State-of-the-art diffusion models for image, vi
34,903 Python
tamarott/SinGAN 中文介绍暂未生成
Official pytorch implementation of the paper: "SinGAN: Learn
3,344 Python
Janspiry/Palette-Image-to-Image-Diffusion-Models 中文介绍暂未生成
Unofficial implementation of Palette: Image-to-Image Diffusi
1,832 Python
hysts/pytorch_image_classification 中文介绍暂未生成
PyTorch implementation of image classification models for CI
1,451 Python
jrzaurin/pytorch-widedeep 中文介绍暂未生成
A flexible package for multimodal-deep-learning to combine t
1,417 Python
lucidrains/transfusion-pytorch 中文介绍暂未生成
Pytorch implementation of Transfusion, "Predict the Next Tok
1,412 Python
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

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

安装与使用

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