Skip to content

Ffhq¤

Module: benchmarks.datasets.ffhq

Source: benchmarks/datasets/ffhq.py

Overview¤

FFHQ Dataset Implementation for StyleGAN3 Benchmarks.

This module provides FFHQ (Flickr-Faces-HQ) dataset integration for high-resolution face generation benchmarks with StyleGAN3.

Key Features:

  • High-resolution face image dataset (256x256, 1024x1024)
  • Mock data generation for development and testing
  • Efficient batching and preprocessing
  • Few-shot adaptation capabilities

Classes¤

CelebADataset¤

class CelebADataset

FFHQDataset¤

class FFHQDataset

Functions¤

call¤

def __call__()

call¤

def __call__()

init¤

def __init__()

init¤

def __init__()

get_few_shot_batch¤

def get_few_shot_batch()

Module Statistics¤

  • Classes: 2
  • Functions: 5
  • Imports: 4