인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

evaluation-metrics

evaluation-metrics

Evaluate StudioGAN image folders with IS/FID/PRDC, cache feature and moment inputs, choose backbones/resizers, and troubleshoot metric backends.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: evaluation-metrics description: "Evaluate StudioGAN image folders with IS/FID/PRDC, cache feature and moment inputs, choose backbones/resizers, and troubleshoot metric backends." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

StudioGAN evaluation metrics

Use this sub-skill when a task asks to evaluate generated or real image folders with StudioGAN metrics, choose an evaluation backbone or post-resizer, reuse precomputed reference features/moments, or diagnose metric input, CUDA, DDP, pretrained-weight, or cache failures.

First decision

Safe helper scripts

The bundled scripts do not execute StudioGAN metrics, do not download weights, and do not train. They require explicit paths supplied by the caller.

  • Build a dry-run command:

    python scripts/evaluate_image_folders_command.py \
      --repo-root /path/to/PyTorch-StudioGAN \
      --dset1 /path/to/real_imagefolder \
      --dset2 /path/to/generated_imagefolder \
      --metrics fid prdc \
      --gpus 0
    
  • Check input combinations and lightweight folder/cache structure:

    python scripts/check_metric_inputs.py \
      --dset1 /path/to/real_imagefolder \
      --dset2 /path/to/generated_imagefolder \
      --metrics fid prdc
    

Non-negotiable routing and safety notes

  • Do not claim meaningful metric values from CLI help, config compatibility, tiny fixtures, or command-builder checks. Those only prove wiring and argument compatibility.
  • The actual StudioGAN evaluation path is GPU-oriented: it queries torch.cuda.current_device() and moves models/tensors to CUDA devices. Treat CPU-only metric execution as unsupported unless the user has patched the checkout.
  • Standalone folder metrics expect ImageFolder-like directories with class subdirectories, even for generated samples.
  • --dset1_feats and --dset1_moments are different cache files. FID needs a real/reference folder or moments; PRDC needs a real/reference folder or features.
  • Legacy TensorFlow 1.x inception-score code is not part of the current verified PyTorch metric path.
저장한 Skills