Instructions to use FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download sample_config.json from FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1/resolve/main/sample_config.json
- Command line
-
hf download hf://FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1/sample_config.json
-
curl -L -o sample_config.json https://huggingface.co/FrankCCCCC/ddpm-ema-10k_cfm-corr-50-ss0.0-ep100-ema-run1/resolve/main/sample_config.json
2.01 kB
| { | |
| "save_model_per_ep": 5, | |
| "checkpoint_per_ep": 5, | |
| "saving_strategy": "best_valid_loss", | |
| "ep_model_dir": "epochs", | |
| "output_dir": "fm_cifar10", | |
| "ckpt_dir": "ckpt", | |
| "ckpt_data_file": "data.ckpt", | |
| "is_save_all_model_epochs": false, | |
| "args_key": "args", | |
| "default_key": "default", | |
| "final_key": "final", | |
| "config_file": "sample_config.json", | |
| "dataset_stat_path": "tts_dm/data/init_bias.safetensors", | |
| "fid_dims": 2048, | |
| "mode_init_puzzle": "init_puzzle", | |
| "mode_final_puzzle": "final_puzzle", | |
| "mode_intermediate_puzzle": "intermediate_puzzle", | |
| "mode_final_samples": "final_samples", | |
| "mode_allowed_ctrl_puzzle": "allowed_ctrl_puzzle", | |
| "mode_fid": "fid", | |
| "mode_save_traj_dataset": "save_traj_dataset", | |
| "supported_modes": [ | |
| "init_puzzle", | |
| "final_puzzle", | |
| "intermediate_puzzle", | |
| "final_samples", | |
| "allowed_ctrl_puzzle", | |
| "fid", | |
| "save_traj_dataset" | |
| ], | |
| "training_config_key": "training_config", | |
| "project": "default", | |
| "name_postfix": "", | |
| "mode": "fid", | |
| "init_bias_dataset_name": "", | |
| "predictor_path": "FrankCCCCC/ddpm_ema_cifar10", | |
| "predictor_sched": "DM_DDPM", | |
| "predictor_num_train_timesteps": 1000, | |
| "predictor_num_inference_steps": 1000, | |
| "corrector_path": "fm_cifar10/CFM_CORR_EMA_Final/cfm_corr_50_ss0.0_ep100_ema-run1", | |
| "corrector_sched": "FM_EulDis", | |
| "corrector_epoch": 100, | |
| "corrector_step": -1, | |
| "corrector_num_train_timesteps": 1000, | |
| "corrector_num_inference_steps": 1000, | |
| "controllor_path": "", | |
| "result_metric_path": "", | |
| "result_sample_path": "", | |
| "traj_path": "", | |
| "batch_size": 2500, | |
| "sample_num": 10000, | |
| "split_sample_num": [ | |
| [ | |
| "train", | |
| "test" | |
| ], | |
| [ | |
| 1, | |
| 1 | |
| ] | |
| ], | |
| "seed": 43, | |
| "device": "cuda:0", | |
| "img_format": "png", | |
| "fid_batch_size": 512, | |
| "fid_ref_data_path": "data/cifar10_train_png" | |
| } |