Upload 5 files
Browse files- feature_extractor/preprocessor_config.json +28 -0
- logs/instruct-pix2pix/1680460604.9765248/events.out.tfevents.1680460604.6e8c97f0a654.5275.1 +3 -0
- logs/instruct-pix2pix/1680460604.9782972/hparams.yml +50 -0
- logs/instruct-pix2pix/events.out.tfevents.1680460604.6e8c97f0a654.5275.0 +3 -0
- scheduler/scheduler_config.json +14 -0
feature_extractor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
| 12 |
+
"image_mean": [
|
| 13 |
+
0.48145466,
|
| 14 |
+
0.4578275,
|
| 15 |
+
0.40821073
|
| 16 |
+
],
|
| 17 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.26862954,
|
| 20 |
+
0.26130258,
|
| 21 |
+
0.27577711
|
| 22 |
+
],
|
| 23 |
+
"resample": 3,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"shortest_edge": 224
|
| 27 |
+
}
|
| 28 |
+
}
|
logs/instruct-pix2pix/1680460604.9765248/events.out.tfevents.1680460604.6e8c97f0a654.5275.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b30bf9263910e3a138dd46a99397b0cbe4ae181bda6817ffcc64ff7374461b9
|
| 3 |
+
size 2432
|
logs/instruct-pix2pix/1680460604.9782972/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 |
+
center_crop: false
|
| 8 |
+
checkpointing_steps: 50
|
| 9 |
+
checkpoints_total_limit: 1
|
| 10 |
+
conditioning_dropout_prob: 0.05
|
| 11 |
+
dataloader_num_workers: 0
|
| 12 |
+
dataset_config_name: null
|
| 13 |
+
dataset_name: sayakpaul/instructpix2pix-1000-samples
|
| 14 |
+
edit_prompt_column: edit_prompt
|
| 15 |
+
edited_image_column: edited_image
|
| 16 |
+
enable_xformers_memory_efficient_attention: true
|
| 17 |
+
gradient_accumulation_steps: 4
|
| 18 |
+
gradient_checkpointing: true
|
| 19 |
+
hub_model_id: null
|
| 20 |
+
hub_token: null
|
| 21 |
+
learning_rate: 5.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: 200
|
| 29 |
+
mixed_precision: fp16
|
| 30 |
+
non_ema_revision: null
|
| 31 |
+
num_train_epochs: 1
|
| 32 |
+
num_validation_images: 4
|
| 33 |
+
original_image_column: input_image
|
| 34 |
+
output_dir: instruct-pix2pix-model
|
| 35 |
+
pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
|
| 36 |
+
push_to_hub: false
|
| 37 |
+
random_flip: true
|
| 38 |
+
report_to: tensorboard
|
| 39 |
+
resolution: 256
|
| 40 |
+
resume_from_checkpoint: null
|
| 41 |
+
revision: null
|
| 42 |
+
scale_lr: false
|
| 43 |
+
seed: 42
|
| 44 |
+
train_batch_size: 1
|
| 45 |
+
train_data_dir: null
|
| 46 |
+
use_8bit_adam: true
|
| 47 |
+
use_ema: false
|
| 48 |
+
val_image_url: null
|
| 49 |
+
validation_epochs: 1
|
| 50 |
+
validation_prompt: null
|
logs/instruct-pix2pix/events.out.tfevents.1680460604.6e8c97f0a654.5275.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bc4ae75e81c51448c844318de6c779e494f3fd6c9e564ca8eba6508e22f635b
|
| 3 |
+
size 9761
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "PNDMScheduler",
|
| 3 |
+
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
+
"beta_end": 0.012,
|
| 5 |
+
"beta_schedule": "scaled_linear",
|
| 6 |
+
"beta_start": 0.00085,
|
| 7 |
+
"clip_sample": false,
|
| 8 |
+
"num_train_timesteps": 1000,
|
| 9 |
+
"prediction_type": "epsilon",
|
| 10 |
+
"set_alpha_to_one": false,
|
| 11 |
+
"skip_prk_steps": true,
|
| 12 |
+
"steps_offset": 1,
|
| 13 |
+
"trained_betas": null
|
| 14 |
+
}
|