Skip to main content

Quickstart Guide

This guide will help you get started with the Transfer Learning Video Processing Pipeline.

Installation

Use our automated installation scripts: On macOS/Linux:
chmod +x scripts/install.sh
./scripts/install.sh
On Windows:
scripts\install.bat

Manual Installation

  1. Clone the repository:
git clone https://github.com/Wearer-Lab/transfer-learning.git
cd transfer-learning
  1. Create a virtual environment and install dependencies using UV:
python -m venv .venv
source .venv/bin/activate  # On Windows, use `.venv\Scripts\activate`
pip install uv
uv pip install -e .
  1. Set up your OpenAI API key:
echo "OPENAI_API_KEY=your-api-key-here" > .env

Basic Usage

Process a Local Video

Extract frames and analyze content from a local video file:
transfer-learning process-video path/to/video.mp4

Process a YouTube Video

Download and process a YouTube video:
transfer-learning process-youtube "https://youtube.com/watch?v=VIDEO_ID"

Generate a Guide

Generate a step-by-step guide from processed video content:
transfer-learning generate-guide output/processed_data

Complete YouTube Pipeline

Download a YouTube video and generate a guide in one command:
transfer-learning youtube-guide "https://youtube.com/watch?v=VIDEO_ID"

Real-time Monitoring

Monitor processing progress and system performance in real-time:
# Monitor current processing
transfer-learning monitor

# Monitor specific video
transfer-learning monitor --video-id=your_video_id

# View historical metrics
transfer-learning monitor --video-id=your_video_id --show-history
The monitoring dashboard provides:
  • Processing progress and status
  • System resource usage (CPU, Memory, Disk, Network)
  • Performance metrics (latency, throughput)
  • API statistics
  • Custom metrics

Configuration

Configure the pipeline using environment variables or the config command:
# Show current configuration
transfer-learning config --show

# Reset configuration to defaults
transfer-learning config --reset

# Interactive configuration
transfer-learning config

Next Steps

Support

For help and support: