ml-data-pipeline

Create PyTorch Lightning DataModules for vision and graph ML pipelines.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-data-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-data-pipeline
Source: https://github.com/nishide-dev/claude-code-ml-research/tree/main/skills/ml-data-pipeline
Command: npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-data-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lmdb, tqdm, PIL, pickle, torchvision, torch, and includes scripts (resource) components.

What problem does it solve?

Creating reliable data loading, preprocessing, and augmentation pipelines is time-consuming and error-prone, especially when you need to match your task type (vision, NLP, graph ML) and keep training throughput high.

Core Features & Use Cases

  • Task-aware DataModule generation: Produce PyTorch Lightning DataModules tailored to computer vision and graph ML patterns (train/val/test setup and loaders).
  • Augmentation and preprocessing guidance: Apply suitable transforms for robustness (e.g., common vision augmentations; graph transforms like edge sampling).
  • Performance-minded data preparation: Convert datasets to LMDB for faster reads and easier experimentation iteration.
  • Validation and dataset diagnostics: Run dataset checks for structure, split sizes, class imbalance, image properties, and corrupted files.

Quick Start

Use the ml-data-pipeline skill to generate a PyTorch Lightning DataModule and scripts for preprocessing, validating, and (optionally) accelerating your dataset with LMDB.

Frequently Asked Questions about ml-data-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a PyTorch Lightning DataModule for computer vision and graph ML tasks?

To build a PyTorch Lightning DataModule, you can generate tailored loaders for computer vision and graph ML that handle train, validation, and test splits. This provides task-specific data loading and augmentation strategies for ready-to-train datasets.

What is the best way to speed up data loading for PyTorch training pipelines?

The best way to speed up data loading is converting your datasets to LMDB. This accelerates read speeds and improves experimentation iteration by providing performance-minded data preparation for your training pipelines.

How do I validate dataset structure and detect corrupted files before training?

You validate dataset structure by running diagnostic scripts that check split sizes, class imbalance, image properties, and corrupted files. This deterministic preprocessing ensures your dataset is correctly formatted before training begins.

Does this data pipeline approach work with both torchvision and torch-geometric workflows?

Yes, the data pipeline works with both torchvision and torch-geometric workflows. It provides task-specific loader construction and applies suitable transforms, including common vision augmentations and graph edge sampling for robustness.

How do I configure data augmentation strategies using Hydra for machine learning projects?

You configure data augmentation strategies using Hydra-style data configuration to select suitable transforms. This applies robust augmentations like common vision techniques or graph edge sampling tailored to your specific task type.

What are the limitations of using LMDB for dataset acceleration in PyTorch?

Using LMDB for dataset acceleration requires dependencies like lmdb, pickle, and torchvision, and is optional. While it improves read speeds, you must ensure your environment supports these specific libraries to leverage the acceleration.