Skip to content
Back to skills

3d Resnets Pytorch

ASecurity

"Routes 3D ResNets PyTorch video action-recognition workflows

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspython

Works with

  • cli

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 3d-resnets-pytorch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 3d Resnets Pytorch?

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

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

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: "3d-resnets-pytorch"
description: "Routes 3D ResNets PyTorch video action-recognition workflows
  across training, inference, and data preparation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# 3D ResNets PyTorch

Use this root skill when the user asks about the 3D ResNets PyTorch repository, its CLI flags, its dataset layouts, or its video action-recognition workflows.

## Read first

- `references/cli-reference.md`
- `references/troubleshooting.md`
- `references/repo-provenance.md`
- `scripts/check_imports.py`
- `scripts/check_main_help.py`

## What this skill covers

- Training, validation, inference, and fine-tuning for video action recognition.
- Dataset preparation from raw videos into JPEG frame trees, RGB HDF5 files, and annotation JSONs.
- Checkpoint handling, model-family selection, and result evaluation.
- Common data-layout and runtime compatibility pitfalls.

## Route to a sub-skill

### `training-and-inference`
Use this route for:

- Fresh training runs, resume flows, and pretrained fine-tuning.
- Validation-only runs and sliding-window inference.
- Result scoring and DataParallel checkpoint cleanup.
- Questions about model families, class counts, `ft_begin_module`, or `resume_path` / `pretrain_path` behavior.

Read:

- `sub-skills/training-and-inference/SKILL.md`
- `sub-skills/training-and-inference/references/workflows.md`
- `sub-skills/training-and-inference/references/model-catalog.md`
- `sub-skills/training-and-inference/references/troubleshooting.md`
- `sub-skills/training-and-inference/scripts/evaluate_results.py`
- `sub-skills/training-and-inference/scripts/strip_dataparallel.py`

### `data-preparation`
Use this route for:

- Extracting JPEG frames or RGB HDF5 files from raw videos.
- Building Kinetics, UCF101, HMDB51, MIT, or ActivityNet JSON metadata.
- Adding ActivityNet `fps` fields.
- Questions about class directories, split files, HDF5 manifests, or `jpg` versus `hdf5` layout.

Read:

- `sub-skills/data-preparation/SKILL.md`
- `sub-skills/data-preparation/references/workflows.md`
- `sub-skills/data-preparation/references/data-formats.md`
- `sub-skills/data-preparation/references/troubleshooting.md`
- `sub-skills/data-preparation/scripts/extract_video_frames.py`
- `sub-skills/data-preparation/scripts/extract_video_hdf5.py`
- `sub-skills/data-preparation/scripts/build_annotation_json.py`

## Quick runtime helpers

- `scripts/check_imports.py` verifies that the core source modules import from a checkout and applies the temporary legacy `Scale` alias when needed.
- `scripts/check_main_help.py` prints the full `main.py` CLI help through the same compatibility shim.
- `scripts/run_main.py` forwards into the repository CLI after preparing the checkout and compatibility shim.

## Shared environment facts

This repo expects a Python environment with PyTorch, torchvision, pandas, h5py, scikit-learn, joblib, and FFmpeg/FFprobe available on PATH.

A modern torchvision wheel may not expose `torchvision.transforms.Scale`. If that happens, use the compatibility shim in `scripts/_torchvision_compat.py` or a legacy torchvision release that still ships `Scale`.

## Route selection guidance

- If the user already has prepared videos and annotation JSONs, start with `training-and-inference`.
- If the user still needs frames, HDF5 files, or split JSONs, start with `data-preparation`.
- If the request mentions both, do data preparation first unless the videos and labels are already ready.
- If the user only wants command discovery or environment checks, use the root helpers and the sub-skill references rather than reopening the source repo.

## Common handoff sequence

1. Prepare or verify the dataset layout with `data-preparation`.
2. Verify the environment with `scripts/check_imports.py`.
3. Inspect the CLI with `scripts/check_main_help.py`.
4. Run the desired training or inference command with `scripts/run_main.py`.
5. Score or clean outputs with the training-and-inference helpers.

## Don’t do this

- Do not point future agents back to the original checkout paths.
- Do not use `flow` with JPEG inputs.
- Do not assume resume checkpoints can change architecture.
- Do not score `--inference_no_average` JSON with the result evaluator before aggregating segment outputs.

Files in this skill

  • SKILL.md4.2 KB
  • references/cli-reference.md2.2 KB
  • references/repo-provenance.md1.1 KB
  • references/repo-routing-metadata.json342 B
  • references/troubleshooting.md2 KB
  • scripts/_torchvision_compat.py1.5 KB
  • scripts/check_imports.py1.8 KB
  • scripts/check_main_help.py1.3 KB
  • scripts/run_main.py1.7 KB
  • sub-skills/data-preparation/SKILL.md2.9 KB
  • sub-skills/data-preparation/references/data-formats.md7 KB
  • sub-skills/data-preparation/references/troubleshooting.md6 KB
  • sub-skills/data-preparation/references/workflows.md8.7 KB
  • sub-skills/data-preparation/scripts/build_annotation_json.py20.1 KB
  • sub-skills/data-preparation/scripts/extract_video_frames.py8.2 KB
  • sub-skills/data-preparation/scripts/extract_video_hdf5.py11.9 KB
  • sub-skills/training-and-inference/SKILL.md2.2 KB
  • sub-skills/training-and-inference/references/model-catalog.md3.3 KB
  • sub-skills/training-and-inference/references/troubleshooting.md3.1 KB
  • sub-skills/training-and-inference/references/workflows.md7.1 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.