How alexdelise/activeconditionalgcs works
This repository implements experiments for prompt-conditioned compressed-sensing image recovery. The main workflow prepares target images and empirical Christoffel sampling laws, then runs Fourier sampling and latent-optimization reconstruction, records image-quality metrics, and analyzes saved results. Separate branches cover CFG ablations and Christoffel convergence. The graph follows documented capabilities and SOURCE INDEX references; unsampled experiment wiring is not inferred, so some relationships are omitted.
Main entry points: runner.py Sweep orchestration · reconstruction.py Latent reconstruction · diffusion.py Diffusion model helpers · datasets.py Target datasets
Components 22
Experiment workflows
- Experiment launchers
run_suite.py - Convergence trials
run_ktilde_convergence.py - Target dataset building
build_dataset.py
Recovery engine
- Run configuration
src/config.py - Sweep orchestration
src/runner.py - Diffusion model helpers
src/diffusion.py - Christoffel estimation
src/ktilde.py - Frequency sampling
src/sampling.py - Fourier operators
src/fft.py - Latent reconstruction
src/reconstruction.py - Recovery metrics
src/metrics.py
Experiment artifacts
- Target datasets
src/datasets.py - Sampling-law artifacts
src/ktilde.py - Saved experiment results
Result analysis
- CFG ablation analysis
analyze_results/sd15_cfg_ablation_analysis.py - Recovery analysis
analyze_results/sd15_recovery_analysis.py - Conditioning analysis
analyze_results/sd15_conditioning_experiment.py - Weighted study analysis
analyze_results/weighted/prompt_mismatched/analysis.py - Christoffel analysis
analyze_results/weighted/ktilde/cross_analysis.py - Convergence analysis
analyze_results/weighted/ktilde/cfg_analysis.py
Other components
- Researcher
- Stable Diffusion 1.5
Connections 24
- Researcher → Experiment launchers: launches
README.md - Researcher → Convergence trials: launches
README.md - Researcher → Target dataset building: builds targets
README.md - Experiment launchers → Sweep orchestration: runs sweeps
run_suite.py - Sweep orchestration → Run configuration: uses settings
src/runner.py - Sweep orchestration → Target datasets: loads targets
src/runner.py - Target dataset building → Target datasets: builds
build_dataset.py - Target datasets → Diffusion model helpers: generates images
src/datasets.py - Christoffel estimation → Diffusion model helpers: uses model
src/ktilde.py - Diffusion model helpers → Stable Diffusion 1.5: loads pipeline
src/diffusion.py - Convergence trials → Christoffel estimation: uses estimator
run_ktilde_convergence.py - Sweep orchestration → Sampling-law artifacts: loads laws
src/runner.py - Sweep orchestration → Latent reconstruction: runs recovery
src/runner.py - Latent reconstruction → Diffusion model helpers: uses model
src/reconstruction.py - Latent reconstruction → Frequency sampling: uses samples
src/reconstruction.py - Frequency sampling → Fourier operators: applies Fourier
src/sampling.py - Latent reconstruction → Recovery metrics: computes scores
src/reconstruction.py - Sweep orchestration → Saved experiment results: records runs
README.md - CFG ablation analysis → Saved experiment results: analyzes ablations
README.md - Recovery analysis → Saved experiment results: analyzes recovery
README.md - Conditioning analysis → Saved experiment results: analyzes conditioning
README.md - Weighted study analysis → Saved experiment results: reproduces figures
README.md - Christoffel analysis → Sampling-law artifacts: validates laws
analyze_results/weighted/ktilde/cross_analysis.py - Convergence analysis → Saved experiment results: analyzes convergence
README.md