Instructions to use FrankCCCCC/ddpm-ema-10k_cfm-corr-2-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-2-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-2-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
Add files using upload-large-folder tool
Browse files- README.md +22 -0
- ckpt/data.ckpt +3 -0
- ckpt/model.safetensors +3 -0
- ckpt/optimizer.bin +3 -0
- ckpt/random_states_0.pkl +3 -0
- ckpt/scheduler.bin +3 -0
- config.json +46 -0
- epochs/ep0/model_index.json +15 -0
- epochs/ep10/model_index.json +15 -0
- epochs/ep10/scheduler/scheduler_config.json +18 -0
- epochs/ep10/unet/config.json +48 -0
- epochs/ep100/model_index.json +15 -0
- epochs/ep15/model_index.json +15 -0
- epochs/ep15/scheduler/scheduler_config.json +18 -0
- epochs/ep15/unet/config.json +48 -0
- epochs/ep15/unet/diffusion_pytorch_model.safetensors +3 -0
- epochs/ep20/model_index.json +15 -0
- epochs/ep20/scheduler/scheduler_config.json +18 -0
- epochs/ep20/unet/config.json +48 -0
- epochs/ep25/model_index.json +15 -0
- epochs/ep30/model_index.json +15 -0
- epochs/ep35/model_index.json +15 -0
- epochs/ep40/model_index.json +15 -0
- epochs/ep45/model_index.json +15 -0
- epochs/ep5/model_index.json +15 -0
- epochs/ep50/model_index.json +15 -0
- epochs/ep55/model_index.json +15 -0
- epochs/ep60/model_index.json +15 -0
- epochs/ep60/scheduler/scheduler_config.json +18 -0
- epochs/ep60/unet/config.json +48 -0
- epochs/ep60/unet/diffusion_pytorch_model.safetensors +3 -0
- epochs/ep65/model_index.json +15 -0
- epochs/ep70/model_index.json +15 -0
- epochs/ep70/scheduler/scheduler_config.json +18 -0
- epochs/ep70/unet/config.json +48 -0
- epochs/ep75/model_index.json +15 -0
- epochs/ep80/model_index.json +15 -0
- epochs/ep85/model_index.json +15 -0
- epochs/ep90/model_index.json +15 -0
- epochs/ep90/scheduler/scheduler_config.json +18 -0
- epochs/ep90/unet/config.json +48 -0
- epochs/ep95/model_index.json +15 -0
- finished.json +3 -0
- model_index.json +15 -0
- result.json +25 -0
- sample_config.json +68 -0
- scheduler/scheduler_config.json +18 -0
- training_result.json +4 -0
- unet/config.json +48 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# cfm_corr_2_ss0.0_ep100_ema-run1
|
| 2 |
+
|
| 3 |
+
This repository contains model artifacts and configuration files from the CFM_CORR_EMA_50k experiment.
|
| 4 |
+
|
| 5 |
+
## Contents
|
| 6 |
+
|
| 7 |
+
This folder contains:
|
| 8 |
+
- Model checkpoints and weights
|
| 9 |
+
- Configuration files (JSON)
|
| 10 |
+
- Scheduler and UNet components
|
| 11 |
+
- Training results and metadata
|
| 12 |
+
- Sample directories (excluding image files)
|
| 13 |
+
|
| 14 |
+
## Experiment Details
|
| 15 |
+
|
| 16 |
+
- Experiment: CFM_CORR_EMA_50k
|
| 17 |
+
- Folder: cfm_corr_2_ss0.0_ep100_ema-run1
|
| 18 |
+
- Images excluded from upload
|
| 19 |
+
|
| 20 |
+
## Usage
|
| 21 |
+
|
| 22 |
+
This repository contains the necessary files to reproduce or analyze the model from this specific experimental run.
|
ckpt/data.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e471ac5cabb2aa25d83f897aec933a344505ded9e0d237a38272abc236296e9e
|
| 3 |
+
size 1243
|
ckpt/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95e447288dcbb2c14a49eaff6a7853f5407fbac89cb73ca68b20fef4937e8477
|
| 3 |
+
size 143020060
|
ckpt/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d548caad44958589b840d56670a733b4e9e04260dac6c5dd9499f4297be6839e
|
| 3 |
+
size 286245835
|
ckpt/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdb66846bda7ecdf05de022f6ffa9634006d2188f33faacb67f8f0bfc5390622
|
| 3 |
+
size 14821
|
ckpt/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61075d077748e9637aab9b774944a7d50da6dc5d37153967dc1718a620cd1aa6
|
| 3 |
+
size 1465
|
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"save_model_per_ep": 5,
|
| 3 |
+
"checkpoint_per_ep": 5,
|
| 4 |
+
"ep_model_dir": "epochs",
|
| 5 |
+
"output_dir": "fm_cifar10",
|
| 6 |
+
"ckpt_dir": "ckpt",
|
| 7 |
+
"ckpt_data_file": "data.ckpt",
|
| 8 |
+
"is_save_all_model_epochs": false,
|
| 9 |
+
"args_key": "args",
|
| 10 |
+
"default_key": "default",
|
| 11 |
+
"final_key": "final",
|
| 12 |
+
"config_file": "config.json",
|
| 13 |
+
"optim_name": "adamw",
|
| 14 |
+
"shed_name": "poly_decay",
|
| 15 |
+
"sched_num_warmup_steps": 45000,
|
| 16 |
+
"optim_weight_decay": 0.0,
|
| 17 |
+
"optim_beta_1": 0.9,
|
| 18 |
+
"optim_beta_2": 0.999,
|
| 19 |
+
"optim_epsilon": 1e-08,
|
| 20 |
+
"sched_lr_end": 1e-07,
|
| 21 |
+
"sched_power": 1.0,
|
| 22 |
+
"sched_t_max": 200,
|
| 23 |
+
"sched_last_epoch": -1,
|
| 24 |
+
"training_result_file": "training_result.json",
|
| 25 |
+
"check_finished_file": "finished.json",
|
| 26 |
+
"project": "CFM_CORR_EMA_Final",
|
| 27 |
+
"name_postfix": "ema-run1",
|
| 28 |
+
"saving_strategy": "best_valid_loss",
|
| 29 |
+
"optim_lr": 0.0005,
|
| 30 |
+
"model_id": "google/ddpm-cifar10-32",
|
| 31 |
+
"train_dataset": "cifar10",
|
| 32 |
+
"traj_dataset": "data/traj_dataset/TRAJ-DS_PS-DM_DDPM_PSS-1000_SZ-10000",
|
| 33 |
+
"batch_size": 256,
|
| 34 |
+
"num_epochs": 100,
|
| 35 |
+
"num_train_timesteps": 1000,
|
| 36 |
+
"predictor_num_inference_steps": 1000,
|
| 37 |
+
"corrector_num_inference_steps": 5,
|
| 38 |
+
"sigma_min": 0.0,
|
| 39 |
+
"sigma_src": 0.0,
|
| 40 |
+
"corr_trained_timestep": 2,
|
| 41 |
+
"ds_size": 50000,
|
| 42 |
+
"seed": 42,
|
| 43 |
+
"device": "cuda:0",
|
| 44 |
+
"overwrite": false,
|
| 45 |
+
"weight_decay": 0.0
|
| 46 |
+
}
|
epochs/ep0/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep10/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep10/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep10/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep100/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep15/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep15/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep15/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep15/unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a98a3567be40440b54c604966c651c2b580f3c1e2b206fda7d09b444fa8123a6
|
| 3 |
+
size 143020060
|
epochs/ep20/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep20/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep20/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep25/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep30/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep35/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep40/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep45/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep5/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep50/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep55/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep60/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep60/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep60/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep60/unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2b2fce806e26b97173addfe9daae41e3f044f6d50520cef8adcdc87674f8400
|
| 3 |
+
size 143020060
|
epochs/ep65/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep70/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep70/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep70/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep75/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep80/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep85/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep90/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
epochs/ep90/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
epochs/ep90/unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
epochs/ep95/model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
finished.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Msg": "Training finished."
|
| 3 |
+
}
|
model_index.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMCorrectorPipeline",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"allowed_ctrl_timesteps": [
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
"scheduler": [
|
| 8 |
+
"diffusers",
|
| 9 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 10 |
+
],
|
| 11 |
+
"unet": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UNet2DModel"
|
| 14 |
+
]
|
| 15 |
+
}
|
result.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 9.160543897973866,
|
| 3 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-10_SZ-10000_F-png": 9.246251328038227,
|
| 4 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-1_SZ-10000_F-png": 184.04142366015301,
|
| 5 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-20_SZ-10000_F-png": 9.342601124556609,
|
| 6 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-50_SZ-10000_F-png": 9.295757357548155,
|
| 7 |
+
"corr_M-fid_EP--1_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-5_SZ-10000_F-png": 9.014279702758245,
|
| 8 |
+
"corr_M-fid_EP-10_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 8.652539129082243,
|
| 9 |
+
"corr_M-fid_EP-10_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-10_SZ-10000_F-png": 9.92214611117862,
|
| 10 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 7.371318271139387,
|
| 11 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-10_SZ-10000_F-png": 8.163039539490285,
|
| 12 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-1_SZ-10000_F-png": 118.92836376370201,
|
| 13 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-20_SZ-10000_F-png": 7.619706494956631,
|
| 14 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-50_SZ-10000_F-png": 7.427592071216623,
|
| 15 |
+
"corr_M-fid_EP-30_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-5_SZ-10000_F-png": 8.180700282743373,
|
| 16 |
+
"corr_M-fid_EP-50_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 8.177825406836178,
|
| 17 |
+
"corr_M-fid_EP-50_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-20_SZ-10000_F-png": 8.68803560560275,
|
| 18 |
+
"corr_M-fid_EP-5_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 12.569175078986405,
|
| 19 |
+
"corr_M-fid_EP-5_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-10_SZ-10000_F-png": 14.27274628089333,
|
| 20 |
+
"corr_M-fid_EP-5_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-20_SZ-10000_F-png": 13.185705580402043,
|
| 21 |
+
"corr_M-fid_EP-5_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-5_SZ-10000_F-png": 16.8036665707844,
|
| 22 |
+
"corr_M-fid_EP-80_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-100_SZ-10000_F-png": 8.778016231373897,
|
| 23 |
+
"corr_M-fid_EP-80_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-20_SZ-10000_F-png": 9.405777085220961,
|
| 24 |
+
"corr_M-fid_EP-80_PS-DM_DDPM_PSS-1000_CS-FM_EulDis_CSS-5_SZ-10000_F-png": 9.83976431088513
|
| 25 |
+
}
|
sample_config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"save_model_per_ep": 5,
|
| 3 |
+
"checkpoint_per_ep": 5,
|
| 4 |
+
"saving_strategy": "best_valid_loss",
|
| 5 |
+
"ep_model_dir": "epochs",
|
| 6 |
+
"output_dir": "fm_cifar10",
|
| 7 |
+
"ckpt_dir": "ckpt",
|
| 8 |
+
"ckpt_data_file": "data.ckpt",
|
| 9 |
+
"is_save_all_model_epochs": false,
|
| 10 |
+
"args_key": "args",
|
| 11 |
+
"default_key": "default",
|
| 12 |
+
"final_key": "final",
|
| 13 |
+
"config_file": "sample_config.json",
|
| 14 |
+
"dataset_stat_path": "tts_dm/data/init_bias.safetensors",
|
| 15 |
+
"fid_dims": 2048,
|
| 16 |
+
"mode_init_puzzle": "init_puzzle",
|
| 17 |
+
"mode_final_puzzle": "final_puzzle",
|
| 18 |
+
"mode_intermediate_puzzle": "intermediate_puzzle",
|
| 19 |
+
"mode_final_samples": "final_samples",
|
| 20 |
+
"mode_allowed_ctrl_puzzle": "allowed_ctrl_puzzle",
|
| 21 |
+
"mode_fid": "fid",
|
| 22 |
+
"mode_save_traj_dataset": "save_traj_dataset",
|
| 23 |
+
"supported_modes": [
|
| 24 |
+
"init_puzzle",
|
| 25 |
+
"final_puzzle",
|
| 26 |
+
"intermediate_puzzle",
|
| 27 |
+
"final_samples",
|
| 28 |
+
"allowed_ctrl_puzzle",
|
| 29 |
+
"fid",
|
| 30 |
+
"save_traj_dataset"
|
| 31 |
+
],
|
| 32 |
+
"training_config_key": "training_config",
|
| 33 |
+
"project": "default",
|
| 34 |
+
"name_postfix": "",
|
| 35 |
+
"mode": "fid",
|
| 36 |
+
"init_bias_dataset_name": "",
|
| 37 |
+
"predictor_path": "FrankCCCCC/ddpm_ema_cifar10",
|
| 38 |
+
"predictor_sched": "DM_DDPM",
|
| 39 |
+
"predictor_num_train_timesteps": 1000,
|
| 40 |
+
"predictor_num_inference_steps": 1000,
|
| 41 |
+
"corrector_path": "fm_cifar10/CFM_CORR_EMA_Final/cfm_corr_2_ss0.0_ep100_ema-run1",
|
| 42 |
+
"corrector_sched": "FM_EulDis",
|
| 43 |
+
"corrector_epoch": 30,
|
| 44 |
+
"corrector_step": -1,
|
| 45 |
+
"corrector_num_train_timesteps": 1000,
|
| 46 |
+
"corrector_num_inference_steps": 50,
|
| 47 |
+
"controllor_path": "",
|
| 48 |
+
"result_metric_path": "",
|
| 49 |
+
"result_sample_path": "",
|
| 50 |
+
"traj_path": "",
|
| 51 |
+
"batch_size": 2500,
|
| 52 |
+
"sample_num": 10000,
|
| 53 |
+
"split_sample_num": [
|
| 54 |
+
[
|
| 55 |
+
"train",
|
| 56 |
+
"test"
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
1,
|
| 60 |
+
1
|
| 61 |
+
]
|
| 62 |
+
],
|
| 63 |
+
"seed": 42,
|
| 64 |
+
"device": "cuda:0",
|
| 65 |
+
"img_format": "png",
|
| 66 |
+
"fid_batch_size": 512,
|
| 67 |
+
"fid_ref_data_path": "data/cifar10_train_png"
|
| 68 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 1.15,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": null,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": false,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
training_result.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_epoch": 100,
|
| 3 |
+
"best_step": 19531
|
| 4 |
+
}
|
unet/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.34.0",
|
| 4 |
+
"_name_or_path": "/home/sc3379_cornell_edu/.cache/huggingface/hub/models--google--ddpm-cifar10-32/snapshots/267b167dc01f0e4e61923ea244e8b988f84deb80",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"layers_per_block": 2,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 32 |
+
"norm_eps": 1e-06,
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"num_class_embeds": null,
|
| 35 |
+
"num_train_timesteps": null,
|
| 36 |
+
"out_channels": 3,
|
| 37 |
+
"resnet_time_scale_shift": "default",
|
| 38 |
+
"sample_size": 32,
|
| 39 |
+
"time_embedding_dim": null,
|
| 40 |
+
"time_embedding_type": "positional",
|
| 41 |
+
"up_block_types": [
|
| 42 |
+
"UpBlock2D",
|
| 43 |
+
"UpBlock2D",
|
| 44 |
+
"AttnUpBlock2D",
|
| 45 |
+
"UpBlock2D"
|
| 46 |
+
],
|
| 47 |
+
"upsample_type": "conv"
|
| 48 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95e447288dcbb2c14a49eaff6a7853f5407fbac89cb73ca68b20fef4937e8477
|
| 3 |
+
size 143020060
|