data-and-checkpoints
Use this repo skill for Swin-Transformer ImageNet folder, zip, ImageNet-22K, SimMIM data layouts, and checkpoint resume/pretrained loading behavior.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- data-and-checkpoints
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use this repo skill for Swin-Transformer ImageNet folder, zip, ImageNet-22K, SimMIM data layouts, and checkpoint resume/pretrained loading behavior.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/checkpoint-loading.md1.7 KB
- 参考文档references/data-formats.md2.0 KB
- 参考文档references/troubleshooting.md1.2 KB
03 SKILL.md 正文
data-and-checkpoints
Use this sub-skill when a task involves data roots, zipped ImageNet maps, ImageNet-22K annotations, SimMIM input batches, checkpoint files, pretrained-vs-resume semantics, or class-head remapping.
What this sub-skill covers
- ImageNet-1K folder layout for
torchvision.datasets.ImageFolder. - Zipped ImageNet layout with
train.zip,val.zip,train_map.txt, andval_map.txt. - ImageNet-22K layout and JSON map expectations for
IN22KDATASET. - SimMIM pretraining data shape: images plus generated masks.
- Checkpoint dictionary expectations for
load_checkpointandload_pretrained. - ImageNet-22K-to-1K classifier head remapping through the 22K class map.
Boundaries
- For model constructors and output tensor shapes, use
core-models. - For supervised train/eval commands, use
training-eval-cli. - For SimMIM launch commands and mask-loss details, use
simmim-workflows. - For MoE checkpoint sharding and Tutel-specific behavior, use
moe-and-acceleration.
Standard workflow
- Identify the data mode:
imagenetfolder, zippedimagenet,imagenet22K, or SimMIM pretrain/fine-tune. - Read
references/data-formats.mdfor the exact structure. - Run
scripts/validate_imagenet_layout.pyon a small or full data root before composing a training command. - If a checkpoint is involved, read
references/checkpoint-loading.mdto choose--resumevs--pretrainedand anticipate classifier-head behavior. - Use
references/troubleshooting.mdif data loaders report empty datasets, malformed maps, or checkpoint key mismatches.
Safe checks
The bundled validator checks schema and small samples only. It does not download ImageNet, rewrite validation folders, unzip archives, or load model weights.
Linked files
references/data-formats.md- folder, zip, 22K, and SimMIM data structures.references/checkpoint-loading.md- resume/pretrained/checkpoint remap behavior.references/troubleshooting.md- common data and checkpoint failures.scripts/validate_imagenet_layout.py- safe schema validator for folder, zip, and ImageNet-22K JSON map layouts.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.