Skip to content
Back to skills

Paddlevit

ASecurity

"Guide PaddleViT computer-vision workflows for transformer and MLP

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashexpressapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill paddlevit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Paddlevit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Paddlevit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-paddlevit/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-paddlevit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: paddlevit
description: "Guide PaddleViT computer-vision workflows for transformer and MLP
  image classification, object detection, semantic segmentation, DINO
  self-supervision, GANs, configuration, distributed/AMP execution, and Paddle
  deployment with explicit data, backend, and checkpoint boundaries."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# PaddleViT

Use this skill when a task names PaddleViT/PPViT, its standalone model
folders, PaddlePaddle vision transformers, or a workflow that matches one of
its classification, detection, segmentation, self-supervised, GAN, or export
surfaces. PaddleViT is a collection of source-rooted projects, not one
installable Python package: each model folder commonly has its own `config.py`,
model module, dataset code, and entry script.

## Start with a bounded plan

Before writing a command, record:

1. task family and exact model directory;
2. operation: inspect, configure, train, evaluate, predict, export, or port;
3. YAML config, recursive `BASE` files, data root/split, checkpoint prefix, and
   output directory;
4. expected device (`cpu`, one CUDA device, or distributed CUDA), budget, and
   whether downloads or long training are permitted;
5. preprocessing (channel order, resize/crop, normalization) and expected
   output shape/metric.

Run the read-only environment probe before attributing failures to a model:

```bash
python scripts/check_paddlevit_environment.py --help
python scripts/check_paddlevit_environment.py --json
```

Install PaddlePaddle using the official wheel that matches the host and CUDA
runtime. The repository documents PaddlePaddle 2.1-era APIs; current releases
may need a per-model smoke or a small compatibility patch. Add `yacs` and
`pyyaml` for the shared configuration pattern. Segmentation additionally uses
OpenCV, SciPy, and `cityscapesScripts`; COCO detection uses `pycocotools`; GAN
LSUN workflows use `lmdb`. Do not install every optional dependency or download
weights/data merely to inspect a config.

## Route by user intent

- [Classification](sub-skills/classification/SKILL.md): ViT, DeiT, Swin,
  VOLO, CSwin, PVTv2, BEiT, mobile/MLP/Conv/Rep families, MAE fine-tuning,
  ImageNet-style data, and facial-expression Swin.
- [Detection](sub-skills/detection/SKILL.md): DETR, Swin/PVTv2 detection,
  COCO layout, transforms, matching, RPN/RoI/FPN, train/eval and post-process.
- [Segmentation](sub-skills/segmentation/SKILL.md): SETR, UperNet, DPT,
  Segmenter, Trans2Seg, SegFormer, TopFormer, dataset layouts, demo and mIoU
  validation.
- [Self-supervised](sub-skills/self-supervised/SKILL.md): DINO multi-crop
  teacher/student training, checkpoint/resume, AMP and multi-GPU boundaries.
- [Generative](sub-skills/generative/SKILL.md): TransGAN, Styleformer,
  CIFAR/STL10/CelebA/LSUN-LMDB data and FID/PSNR/SSIM evaluation.
- [Deployment and operations](sub-skills/deployment-and-operations/SKILL.md):
  config precedence, environment diagnosis, AMP/distributed launch, static
  export, Paddle Inference, prediction, quantization and optional weight port.

Read [model-catalog.md](references/model-catalog.md) when a request does not
name a model family. Read [configuration.md](references/configuration.md) when
YAML, CLI overrides, source-root imports, or checkpoint paths are involved.
Read [troubleshooting.md](references/troubleshooting.md) before retrying an
import, backend, data, export, or checkpoint failure.

## Source-root discipline

Run one family in one fresh process. Put only the selected model directory (and
its documented sibling utilities) on `PYTHONPATH`; many folders contain bare
modules named `config`, `datasets`, `utils`, or `models`. Never combine several
model directories in one interpreter and assume imports are unambiguous.
Generated helper scripts are source-independent and must not be used as proof
that a source model's current API is compatible.

## Evidence and safety gates

A config parse, dependency import, or tiny CPU forward does not prove CUDA,
AMP, distributed, dataset, checkpoint, or benchmark behavior. For GPU claims,
run a tiny operation on the requested CUDA device. For a real metric, require a
real compatible split and checkpoint. Treat training, multi-scale/slide
segmentation, COCO evaluation, DINO ImageNet pretraining, GAN FID, multi-GPU
launch, export, quantization, and cross-framework porting as explicit
operations with an approved output path and stop condition.

Do not overwrite checkpoints, delete demo output trees, mutate a dataset, or
fetch external weights/data without explicit authorization. Prefer a new output
prefix and read-only preflight. Record the source commit and effective config
in any downstream experiment handoff; consult
[repo-provenance.md](references/repo-provenance.md) before deciding whether a
checkout is stale.

Files in this skill

  • SKILL.md4.8 KB
  • references/configuration.md2.8 KB
  • references/model-catalog.md2.7 KB
  • references/repo-provenance.md2.9 KB
  • references/repo-routing-metadata.json494 B
  • references/troubleshooting.md3.6 KB
  • scripts/check_paddlevit_environment.py2.5 KB
  • scripts/validate_checkpoint_manifest.py1.8 KB
  • sub-skills/classification/SKILL.md4.3 KB
  • sub-skills/classification/references/configuration.md2.4 KB
  • sub-skills/classification/references/model-overview.md5.5 KB
  • sub-skills/classification/references/troubleshooting.md2.7 KB
  • sub-skills/classification/references/workflows.md2.5 KB
  • sub-skills/classification/scripts/check_classification_config.py4.5 KB
  • sub-skills/classification/scripts/classification_model_smoke.py4.5 KB
  • sub-skills/deployment-and-operations/SKILL.md5.9 KB
  • sub-skills/deployment-and-operations/references/configuration.md5.3 KB
  • sub-skills/deployment-and-operations/references/deployment.md7 KB
  • sub-skills/deployment-and-operations/references/distributed-and-amp.md5.3 KB
  • sub-skills/deployment-and-operations/references/troubleshooting.md5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.