본문으로 건너뛰기
cccskills
무료GitHub에 공개

biggan-pytorch

Guides CUDA-based BigGAN-PyTorch training, checkpoint sampling, dataset preparation, metric preparation, model customization, and optional TensorFlow Hub weight conversion.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(24)

  • SKILL.md4.4 KB
  • references/model-overview.md2.1 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json511 B
  • references/troubleshooting.md3.1 KB
  • scripts/check_environment.py1.9 KB
  • scripts/smoke_model.py1.8 KB
  • sub-skills/data-preparation/references/data-formats.md4.6 KB
  • sub-skills/data-preparation/references/troubleshooting.md5.9 KB
  • sub-skills/data-preparation/references/workflows.md5.8 KB
  • sub-skills/data-preparation/scripts/validate_hdf5.py4.7 KB
  • sub-skills/data-preparation/SKILL.md7.1 KB
  • sub-skills/sampling/references/api-reference.md9.3 KB
  • sub-skills/sampling/references/troubleshooting.md10.6 KB
  • sub-skills/sampling/references/workflows.md11.4 KB
  • sub-skills/sampling/SKILL.md7.6 KB
  • sub-skills/tfhub-conversion/references/api-reference.md9.4 KB
  • sub-skills/tfhub-conversion/references/troubleshooting.md8.7 KB
  • sub-skills/tfhub-conversion/references/workflows.md9.0 KB
  • sub-skills/tfhub-conversion/SKILL.md5.5 KB
  • sub-skills/training/references/api-reference.md15.1 KB
  • sub-skills/training/references/troubleshooting.md19.6 KB
  • sub-skills/training/references/workflows.md21.5 KB
  • sub-skills/training/SKILL.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

BigGAN-PyTorch

Use this skill for the author's unofficial PyTorch implementation of BigGAN and its adjacent BigGAN-deep, CIFAR, ImageNet/HDF5, sampling, metric, and TFHub conversion workflows. This is a research codebase rather than an installable library: run its entry points from a checkout, keep outputs outside source files, and treat long training and downloads as explicit user-approved work.

Route the request

  • Training, fine-tuning, architecture or optimizer changes, checkpoint resume, multi-GPU, EMA, spectral norm, or mixed precision: read sub-skills/training/SKILL.md and its references.
  • Generate images, load a checkpoint, use EMA, standing statistics, truncation curves, NPZ export, sample sheets, IS, or FID: read sub-skills/sampling/SKILL.md.
  • Prepare ImageFolder/CIFAR data, convert ImageNet to HDF5, validate HDF5, or calculate Inception moments: read sub-skills/data-preparation/SKILL.md.
  • Port DeepMind TFHub BigGAN weights: read sub-skills/tfhub-conversion/SKILL.md; this route is reference-only unless legacy TensorFlow 1.x, TensorFlow Hub, network access, and compatible GPU support are deliberately provisioned.

Read references/model-overview.md for the verified model/data matrix and references/troubleshooting.md for cross-cutting failures. Read references/repo-provenance.md before relying on version-sensitive details or planning a refresh.

Environment and invocation

The repository has no packaging metadata or console entry point. Use a Python environment with a CUDA-capable PyTorch/torchvision pair plus NumPy, SciPy, h5py, Pillow, and tqdm. The README documents an old PyTorch 1.0.1 baseline; the core modules were import-checked and a tiny CUDA generator forward pass was verified with a modern compatible PyTorch installation. Do not assume every legacy option works unchanged on a new PyTorch release.

Set SKILL_ROOT to the directory containing this file and REPO_ROOT to the checked-out BigGAN-PyTorch repository. Repository entry points run from REPO_ROOT; bundled skill helpers are invoked through their SKILL_ROOT paths:

SKILL_ROOT=/path/to/skills/disco/biggan-pytorch
REPO_ROOT=/path/to/BigGAN-PyTorch
cd "$REPO_ROOT"
python "$SKILL_ROOT/scripts/check_environment.py" --repo-root "$REPO_ROOT"

Other repository entry points can then be run from the same checkout, for example:

python -c "import torch; print(torch.__version__, torch.cuda.is_available())"
python train.py --dataset C10 --num_epochs 1 --batch_size 8
python sample.py --dataset C10 --experiment_name <name> --load_weights best0

The entry points hard-code cuda in training, sampling, metric, interpolation, and several utility paths. A CPU import is useful for static inspection but is not evidence that the operational workflows work. The environment helper above is intentionally diagnostic; it does not download data, modify checkpoints, or launch training.

Shared operational rules

  1. Decide the dataset and resolution first. Dataset names (I32, I64, I128, I256, their _hdf5 variants, C10, and C100) determine image size, class count, root name, and model output shape.
  2. Keep data_root, weights_root, logs_root, and samples_root explicit. base_root can re-root the four locations, but parent directories must already exist when the code creates child directories.
  3. Use the launch recipes as parameter references, not as unattended jobs. ImageNet preparation, TFHub downloads, full sampling metrics, and training are expensive or network-dependent.
  4. Record the exact model module (BigGAN or BigGANdeep), latent settings, class count, EMA choice, and checkpoint suffix with every result.
  5. Do not compare this repository's PyTorch Inception scores/FID directly with official TensorFlow metrics; read the sampling and metric references.

The bundled scripts are safe diagnostics or validators. They do not replace the repository's full training/data entry points; pass an explicit --repo-root when a diagnostic needs to import the checked-out model. They never download data, mutate checkpoints, or launch a production run by default.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고