• Stefy Lanza (nextime / spora )'s avatar
    Fix colorspace detection to handle single-channel outputs (grayscale) · 818ddf67
    Stefy Lanza (nextime / spora ) authored
    The detection was failing with 'index out of bounds' when models output
    single-channel or channels-first tensor formats. Now handles:
    - Grayscale (H, W) -> expands to 3 channels
    - Single channel (H, W, 1) -> replicates to 3 channels
    - Channels-first (C, H, W) -> transposes to channels-last
    - 2-channel images -> adds third channel
    - >3 channels (e.g., RGBA) -> takes first 3
    
    Also removed incorrect 8GB RAM check that was blocking detection.
    818ddf67
Name
Last commit
Last update
static Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
EXAMPLES.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
SKILL.md Loading commit data...
check_model.py Loading commit data...
check_pipelines.py Loading commit data...
debug_model_select.py Loading commit data...
logo.png Loading commit data...
requirements.txt Loading commit data...
screenshot.png Loading commit data...
videogen.py Loading commit data...
videogen_mcp_server.py Loading commit data...
videogen_models.json Loading commit data...
webapp.py Loading commit data...