Skip to content
Back to skills

Data And Checkpoints

ASecurity

"Use this repo skill for Swin-Transformer ImageNet folder, zip,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
tools

Works with

  • cli

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-and-checkpoints --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data And Checkpoints?

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

Security grade badge for Data And Checkpoints
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-and-checkpoints/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-and-checkpoints)

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: data-and-checkpoints
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
metadata:
  disco-role: operating
license: MIT
---

# 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`, and `val_map.txt`.
- ImageNet-22K layout and JSON map expectations for `IN22KDATASET`.
- SimMIM pretraining data shape: images plus generated masks.
- Checkpoint dictionary expectations for `load_checkpoint` and `load_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

1. Identify the data mode: `imagenet` folder, zipped `imagenet`, `imagenet22K`, or SimMIM pretrain/fine-tune.
2. Read `references/data-formats.md` for the exact structure.
3. Run `scripts/validate_imagenet_layout.py` on a small or full data root before composing a training command.
4. If a checkpoint is involved, read `references/checkpoint-loading.md` to choose `--resume` vs `--pretrained` and anticipate classifier-head behavior.
5. Use `references/troubleshooting.md` if 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.

Files in this skill

  • SKILL.md2.4 KB
  • references/checkpoint-loading.md1.7 KB
  • references/data-formats.md2 KB
  • references/troubleshooting.md1.2 KB
  • scripts/validate_imagenet_layout.py3.8 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.