Commit ·
41b3dec
1
Parent(s): 72f0b23
Upload 5 files
Browse files- batik-model/checkpoint-2/unet/config.json +65 -0
- batik-model/checkpoint-2/unet/diffusion_pytorch_model-001.bin +3 -0
- batik-model/logs/text2image-fine-tune/1691936131.8725798/events.out.tfevents.1691936131.0ba67c153606.2116.1 +3 -0
- batik-model/logs/text2image-fine-tune/1691936131.8743167/hparams.yml +50 -0
- batik-model/logs/text2image-fine-tune/events.out.tfevents.1691936131.0ba67c153606.2116.0 +3 -0
batik-model/checkpoint-2/unet/config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.20.0.dev0",
|
| 4 |
+
"_name_or_path": "CompVis/stable-diffusion-v1-4",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"addition_embed_type": null,
|
| 7 |
+
"addition_embed_type_num_heads": 64,
|
| 8 |
+
"addition_time_embed_dim": null,
|
| 9 |
+
"attention_head_dim": 8,
|
| 10 |
+
"block_out_channels": [
|
| 11 |
+
320,
|
| 12 |
+
640,
|
| 13 |
+
1280,
|
| 14 |
+
1280
|
| 15 |
+
],
|
| 16 |
+
"center_input_sample": false,
|
| 17 |
+
"class_embed_type": null,
|
| 18 |
+
"class_embeddings_concat": false,
|
| 19 |
+
"conv_in_kernel": 3,
|
| 20 |
+
"conv_out_kernel": 3,
|
| 21 |
+
"cross_attention_dim": 768,
|
| 22 |
+
"cross_attention_norm": null,
|
| 23 |
+
"down_block_types": [
|
| 24 |
+
"CrossAttnDownBlock2D",
|
| 25 |
+
"CrossAttnDownBlock2D",
|
| 26 |
+
"CrossAttnDownBlock2D",
|
| 27 |
+
"DownBlock2D"
|
| 28 |
+
],
|
| 29 |
+
"downsample_padding": 1,
|
| 30 |
+
"dual_cross_attention": false,
|
| 31 |
+
"encoder_hid_dim": null,
|
| 32 |
+
"encoder_hid_dim_type": null,
|
| 33 |
+
"flip_sin_to_cos": true,
|
| 34 |
+
"freq_shift": 0,
|
| 35 |
+
"in_channels": 4,
|
| 36 |
+
"layers_per_block": 2,
|
| 37 |
+
"mid_block_only_cross_attention": null,
|
| 38 |
+
"mid_block_scale_factor": 1,
|
| 39 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 40 |
+
"norm_eps": 1e-05,
|
| 41 |
+
"norm_num_groups": 32,
|
| 42 |
+
"num_attention_heads": null,
|
| 43 |
+
"num_class_embeds": null,
|
| 44 |
+
"only_cross_attention": false,
|
| 45 |
+
"out_channels": 4,
|
| 46 |
+
"projection_class_embeddings_input_dim": null,
|
| 47 |
+
"resnet_out_scale_factor": 1.0,
|
| 48 |
+
"resnet_skip_time_act": false,
|
| 49 |
+
"resnet_time_scale_shift": "default",
|
| 50 |
+
"sample_size": 64,
|
| 51 |
+
"time_cond_proj_dim": null,
|
| 52 |
+
"time_embedding_act_fn": null,
|
| 53 |
+
"time_embedding_dim": null,
|
| 54 |
+
"time_embedding_type": "positional",
|
| 55 |
+
"timestep_post_act": null,
|
| 56 |
+
"transformer_layers_per_block": 1,
|
| 57 |
+
"up_block_types": [
|
| 58 |
+
"UpBlock2D",
|
| 59 |
+
"CrossAttnUpBlock2D",
|
| 60 |
+
"CrossAttnUpBlock2D",
|
| 61 |
+
"CrossAttnUpBlock2D"
|
| 62 |
+
],
|
| 63 |
+
"upcast_attention": false,
|
| 64 |
+
"use_linear_projection": false
|
| 65 |
+
}
|
batik-model/checkpoint-2/unet/diffusion_pytorch_model-001.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc2c57c3d2f9da2e2fa7e86c04845c5253ca3192174439c6ab90da5fc6b57232
|
| 3 |
+
size 2501743143
|
batik-model/logs/text2image-fine-tune/1691936131.8725798/events.out.tfevents.1691936131.0ba67c153606.2116.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecc8a21a8d108f34aee70c5f16c04987f6195087c804f94f3e6a30e6c7daf867
|
| 3 |
+
size 2311
|
batik-model/logs/text2image-fine-tune/1691936131.8743167/hparams.yml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adam_beta1: 0.9
|
| 2 |
+
adam_beta2: 0.999
|
| 3 |
+
adam_epsilon: 1.0e-08
|
| 4 |
+
adam_weight_decay: 0.01
|
| 5 |
+
allow_tf32: false
|
| 6 |
+
cache_dir: null
|
| 7 |
+
caption_column: text
|
| 8 |
+
center_crop: true
|
| 9 |
+
checkpointing_steps: 1
|
| 10 |
+
checkpoints_total_limit: 1
|
| 11 |
+
dataloader_num_workers: 0
|
| 12 |
+
dataset_config_name: null
|
| 13 |
+
dataset_name: null
|
| 14 |
+
enable_xformers_memory_efficient_attention: false
|
| 15 |
+
gradient_accumulation_steps: 4
|
| 16 |
+
gradient_checkpointing: false
|
| 17 |
+
hub_model_id: null
|
| 18 |
+
hub_token: null
|
| 19 |
+
image_column: image
|
| 20 |
+
input_perturbation: 0
|
| 21 |
+
learning_rate: 1.0e-05
|
| 22 |
+
local_rank: -1
|
| 23 |
+
logging_dir: logs
|
| 24 |
+
lr_scheduler: constant
|
| 25 |
+
lr_warmup_steps: 0
|
| 26 |
+
max_grad_norm: 1.0
|
| 27 |
+
max_train_samples: null
|
| 28 |
+
max_train_steps: 20
|
| 29 |
+
mixed_precision: fp16
|
| 30 |
+
noise_offset: 0
|
| 31 |
+
non_ema_revision: null
|
| 32 |
+
num_train_epochs: 3
|
| 33 |
+
output_dir: batik-model
|
| 34 |
+
prediction_type: null
|
| 35 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 36 |
+
push_to_hub: false
|
| 37 |
+
random_flip: true
|
| 38 |
+
report_to: tensorboard
|
| 39 |
+
resolution: 512
|
| 40 |
+
resume_from_checkpoint: null
|
| 41 |
+
revision: null
|
| 42 |
+
scale_lr: false
|
| 43 |
+
seed: null
|
| 44 |
+
snr_gamma: null
|
| 45 |
+
tracker_project_name: text2image-fine-tune
|
| 46 |
+
train_batch_size: 2
|
| 47 |
+
train_data_dir: /content/batik/
|
| 48 |
+
use_8bit_adam: false
|
| 49 |
+
use_ema: false
|
| 50 |
+
validation_epochs: 5
|
batik-model/logs/text2image-fine-tune/events.out.tfevents.1691936131.0ba67c153606.2116.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4f59a3de37f7f69789aba7d38e68899341b91a80313568e8c6215012dcf0cf2
|
| 3 |
+
size 184
|