Skip to content
Back to skills

Pytorch Models

ASecurity

"Use ResNeSt's PyTorch package and Torch Hub models,

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 9, 2026
dataapibackend

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Pytorch Models?

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

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

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: pytorch-models
description: "Use ResNeSt's PyTorch package and Torch Hub models,
  Split-Attention layers, safe no-pretrained inference, ImageNet config
  interpretation, and PyTorch troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# PyTorch Models

Use this sub-skill when the task is about the PyTorch side of ResNeSt: package imports, Torch Hub loading, model factories, Split-Attention layers, safe smoke checks, or PyTorch training/config interpretation.

## Read first

- Read [references/api-reference.md](references/api-reference.md) when you need model names, signatures, registry behavior, or Torch Hub entry points.
- Read [references/workflows.md](references/workflows.md) when you need a safe no-pretrained smoke, a Torch Hub loading recipe, or a distilled ImageNet verification flow.
- Read [references/training-and-configs.md](references/training-and-configs.md) when you need the bundled training config keys, dataset layout, loss selection, or launcher semantics.
- Read [references/troubleshooting.md](references/troubleshooting.md) when imports, pretrained weights, tensor shapes, cache behavior, or dataset layout fail.
- Run [scripts/pytorch_tiny_inference.py](scripts/pytorch_tiny_inference.py) for a safe offline-first model smoke and optional Split-Attention check.

## Covers

- Public PyTorch factories: `resnest50`, `resnest101`, `resnest200`, `resnest269`, and the fast variants `resnest50_fast_1s1x64d`, `resnest50_fast_2s1x64d`, `resnest50_fast_4s1x64d`, `resnest50_fast_1s2x40d`, `resnest50_fast_2s2x40d`, `resnest50_fast_4s2x40d`, `resnest50_fast_1s4x24d`.
- Registry-backed builders and internals: `get_model`, `ResNet`, `Bottleneck`, `SplAtConv2d`, and `rSoftMax`.
- Safe `pretrained=False` inference by default, with explicit warnings for any weight download attempt.
- ImageNet transform, loss, scheduler, and config interpretation at the level needed for future agents.
- PyTorch-specific troubleshooting for optional dependencies, pretrained cache, classifier-head mismatch, and unsupported layer settings.

## Does not cover

- Gluon / MXNet model zoo workflows.
- Detectron2 backbone and COCO workflows.
- Full ImageNet extraction or training launchers.

When a task leaves the classification path and moves into Gluon or Detectron2, route it to the sibling sub-skill for that backend instead of extending this one.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md6.4 KB
  • references/training-and-configs.md4.1 KB
  • references/troubleshooting.md3.7 KB
  • references/workflows.md3.5 KB
  • scripts/pytorch_tiny_inference.py7.9 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.