Aller au contenu
ModelPrésentéExterne
Browse files

Sit Faf Generate Edit

This repository contains the trained model weights for the SiT FAF Generation and Editing project. See the Github repository here

TypeOtherVersion10k age judgeCClasse

Source du modèle

Type
Other
Taille du fichier
42,7 MB–10,1 GB
Version
v10k age judge
Mis à jour
27 oct. 2026
Source
Hugging Face

Description de la source

SiT FAF Generation & Editing

This repository contains the trained model weights for the SiT FAF Generation and Editing project. See the Github repository here

File Structure

sit/

  • sit_checkpoint_0110000.pt: Main SiT model checkpoint (1.1M steps).
    • Architecture: SiT-XL/2
    • Resolution: 256x256
    • Dataset: FAF Retinal Scans

stylegan/

  • stylegan_checkpoint.pkl: Pre-trained StyleGAN2-ADA model.
    • Used for baseline comparisons and FID calculation.

judges/

  • 10k_age_judge.pt: Regression model used to evaluate age preservation.
  • laterality_judge.pt: Classification model used to evaluate eye laterality (Left/Right) preservation.

Usage

These weights are designed to be used with the scripts in the GitHub repository.

# Example: Generate Synthetic Dataset of 10k Samples
python scripts/prepare_datasets/generate_synthetic_dataset.py \
    --ckpt {path to sit/sit_checkpoint_0110000.pt} \
    --data-path data/images_256_cleaned/metadata_cleaned_256.csv \
    --mapping-file data/class_mapping.json \
    --output-dir data/synthetic_10kSamples \
    --num-samples 10000 \
    --batch-size 32 \
    --cfg-scale 4.0 \
    --seed 42

Sources

1 source
Hugging FacePrincipalVersion d38ba16cc310484c67738600b5e5c3aa807b2150
huggingface.co/johnamit/sit-faf-generate-edit/tree/d38ba16cc310484c67738600b5e5c3aa807b2150

Vérifié 27 oct.

Download files

Artefacts du modèle

5 artefacts

judges/10k_age_judge.pt

pt · 42,7 MB · SHA-256 fa2121da97a2…67af · Hugging Face

Download file

judges/10k_laterality_judge.pt

pt · 42,7 MB · SHA-256 3b8d935ddc5b…1820 · Hugging Face

Download file

judges/1k_age_judge.pt

pt · 42,7 MB · SHA-256 d8a2a59a3bbf…32cc · Hugging Face

Download file

judges/1k_laterality_judge.pt

pt · 42,7 MB · SHA-256 5d0752659bc7…1fa4 · Hugging Face

Download file

sit/sit_checkpoint_0110000.pt

pt · 10,1 GB · SHA-256 fafd643aa2fe…07d8 · Hugging Face

Download file

Extraits de sources

2 extraits

--- license: mit tags: - medical - image-generation - diffusion - flow-matching pipeline_tag: unconditional-image-generation --- # SiT FAF Generation & Editing This repository contains the trained model weights for the **SiT FAF Generation and Editing** project. See the Github repository [here](https://github.com/johnamit/sit-faf-generate-edit) ## File Structure ### `sit/` - **`sit_checkpoint_0110000.pt`**: Main SiT model checkpoint (1.1M steps). - *Architecture:* SiT-XL/2 - *Resolution:* 256x256 - *Dataset:* FAF Retinal Scans ### `stylegan/` - **`stylegan_checkpoint.pkl`**: Pre-trained StyleGAN2-ADA model. - Used for baseline comparisons and FID calculation. ### `judges/` - **`10k_age_judge.pt`**: Regression model used to evaluate age preservation. - **`laterality_judge.pt`**: Classification model used to evaluate eye laterality (Left/Right) preservation. ## Usage These weights are designed to be used with the scripts in the GitHub repository. ```bash # Example: Generate Synthetic Dataset of 10k Samples python scripts/prepare_datasets/generate_synthetic_dataset.py \ --ckpt {path to sit/sit_checkpoint_0110000.pt} \ --data-path data/images_256_cleaned/metadata_cleaned_256.csv \ --mapping-file data/class_mapping.json \ --output-dir data/synthetic_10kSamples \ --num-samples 10000 \ --batch-size 32 \ --cfg-scale 4.0 \ --seed 42 ```

Source context: 0 downloads · 0 likes · Pipeline unconditional-image-generation · Repo johnamit/sit-faf-generate-edit