Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
dreambooth
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Instructions to use AvinashAmballa/custom_cond with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AvinashAmballa/custom_cond with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AvinashAmballa/custom_cond", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks_candle candle, a photo of sks_capsule capsule, a photo of sks_cashew cashew" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files- logs/dreambooth/1737609184.815172/events.out.tfevents.1737609184.gypsum-gpu005.1381779.1 +3 -0
- logs/dreambooth/1737609184.8321729/hparams.yml +61 -0
- logs/dreambooth/1737609296.88594/events.out.tfevents.1737609296.gypsum-gpu005.1381843.1 +3 -0
- logs/dreambooth/1737609296.916773/hparams.yml +61 -0
- logs/dreambooth/events.out.tfevents.1737609184.gypsum-gpu005.1381779.0 +3 -0
- logs/dreambooth/events.out.tfevents.1737609296.gypsum-gpu005.1381843.0 +3 -0
- unet/diffusion_pytorch_model.safetensors +1 -1
logs/dreambooth/1737609184.815172/events.out.tfevents.1737609184.gypsum-gpu005.1381779.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eee4695dd91f3d420e309b43f34aece6f2479a555c6ff01dc58f0378c0fde597
|
| 3 |
+
size 3018
|
logs/dreambooth/1737609184.8321729/hparams.yml
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
center_crop: false
|
| 7 |
+
checkpointing_steps: 500
|
| 8 |
+
checkpoints_total_limit: null
|
| 9 |
+
class_data_dir: VISA/custom/normal
|
| 10 |
+
class_labels_conditioning: null
|
| 11 |
+
class_prompt: a photo of candle, a photo of capsule, a photo of cashew
|
| 12 |
+
dataloader_num_workers: 0
|
| 13 |
+
enable_xformers_memory_efficient_attention: false
|
| 14 |
+
gradient_accumulation_steps: 1
|
| 15 |
+
gradient_checkpointing: false
|
| 16 |
+
hub_model_id: null
|
| 17 |
+
hub_token: null
|
| 18 |
+
instance_data_dir: VISA/custom/anomaly
|
| 19 |
+
instance_prompt: a photo of candle with dru anomaly, a photo of capsule with ibc anomaly,
|
| 20 |
+
a photo of cashew with ucn anomaly
|
| 21 |
+
learning_rate: 5.0e-06
|
| 22 |
+
local_rank: -1
|
| 23 |
+
logging_dir: logs
|
| 24 |
+
lr_num_cycles: 1
|
| 25 |
+
lr_power: 1.0
|
| 26 |
+
lr_scheduler: constant
|
| 27 |
+
lr_warmup_steps: 0
|
| 28 |
+
max_grad_norm: 1.0
|
| 29 |
+
max_train_steps: 400
|
| 30 |
+
mixed_precision: null
|
| 31 |
+
num_class_images: 18
|
| 32 |
+
num_train_epochs: 23
|
| 33 |
+
num_validation_images: 4
|
| 34 |
+
offset_noise: false
|
| 35 |
+
output_dir: results/VISA/custom_cond
|
| 36 |
+
pre_compute_text_embeddings: false
|
| 37 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 38 |
+
prior_generation_precision: null
|
| 39 |
+
prior_loss_weight: 1.0
|
| 40 |
+
push_to_hub: true
|
| 41 |
+
report_to: tensorboard
|
| 42 |
+
resolution: 512
|
| 43 |
+
resume_from_checkpoint: null
|
| 44 |
+
revision: null
|
| 45 |
+
sample_batch_size: 4
|
| 46 |
+
scale_lr: false
|
| 47 |
+
seed: null
|
| 48 |
+
set_grads_to_none: false
|
| 49 |
+
skip_save_text_encoder: false
|
| 50 |
+
snr_gamma: null
|
| 51 |
+
text_encoder_use_attention_mask: false
|
| 52 |
+
tokenizer_max_length: null
|
| 53 |
+
tokenizer_name: null
|
| 54 |
+
train_batch_size: 1
|
| 55 |
+
train_text_encoder: false
|
| 56 |
+
use_8bit_adam: false
|
| 57 |
+
validation_prompt: null
|
| 58 |
+
validation_scheduler: DPMSolverMultistepScheduler
|
| 59 |
+
validation_steps: 100
|
| 60 |
+
variant: null
|
| 61 |
+
with_prior_preservation: true
|
logs/dreambooth/1737609296.88594/events.out.tfevents.1737609296.gypsum-gpu005.1381843.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62ca706d666198d44ca423aa069df6c3a55ee53015a6f736fcc87131e15947fb
|
| 3 |
+
size 3018
|
logs/dreambooth/1737609296.916773/hparams.yml
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
center_crop: false
|
| 7 |
+
checkpointing_steps: 500
|
| 8 |
+
checkpoints_total_limit: null
|
| 9 |
+
class_data_dir: VISA/custom/normal
|
| 10 |
+
class_labels_conditioning: null
|
| 11 |
+
class_prompt: a photo of candle, a photo of capsule, a photo of cashew
|
| 12 |
+
dataloader_num_workers: 0
|
| 13 |
+
enable_xformers_memory_efficient_attention: false
|
| 14 |
+
gradient_accumulation_steps: 1
|
| 15 |
+
gradient_checkpointing: false
|
| 16 |
+
hub_model_id: null
|
| 17 |
+
hub_token: null
|
| 18 |
+
instance_data_dir: VISA/custom/anomaly
|
| 19 |
+
instance_prompt: a photo of candle with dru anomaly, a photo of capsule with ibc anomaly,
|
| 20 |
+
a photo of cashew with ucn anomaly
|
| 21 |
+
learning_rate: 5.0e-06
|
| 22 |
+
local_rank: -1
|
| 23 |
+
logging_dir: logs
|
| 24 |
+
lr_num_cycles: 1
|
| 25 |
+
lr_power: 1.0
|
| 26 |
+
lr_scheduler: constant
|
| 27 |
+
lr_warmup_steps: 0
|
| 28 |
+
max_grad_norm: 1.0
|
| 29 |
+
max_train_steps: 400
|
| 30 |
+
mixed_precision: null
|
| 31 |
+
num_class_images: 18
|
| 32 |
+
num_train_epochs: 23
|
| 33 |
+
num_validation_images: 4
|
| 34 |
+
offset_noise: false
|
| 35 |
+
output_dir: results/VISA/custom_cond
|
| 36 |
+
pre_compute_text_embeddings: false
|
| 37 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 38 |
+
prior_generation_precision: null
|
| 39 |
+
prior_loss_weight: 1.0
|
| 40 |
+
push_to_hub: true
|
| 41 |
+
report_to: tensorboard
|
| 42 |
+
resolution: 512
|
| 43 |
+
resume_from_checkpoint: null
|
| 44 |
+
revision: null
|
| 45 |
+
sample_batch_size: 4
|
| 46 |
+
scale_lr: false
|
| 47 |
+
seed: null
|
| 48 |
+
set_grads_to_none: false
|
| 49 |
+
skip_save_text_encoder: false
|
| 50 |
+
snr_gamma: null
|
| 51 |
+
text_encoder_use_attention_mask: false
|
| 52 |
+
tokenizer_max_length: null
|
| 53 |
+
tokenizer_name: null
|
| 54 |
+
train_batch_size: 1
|
| 55 |
+
train_text_encoder: false
|
| 56 |
+
use_8bit_adam: false
|
| 57 |
+
validation_prompt: null
|
| 58 |
+
validation_scheduler: DPMSolverMultistepScheduler
|
| 59 |
+
validation_steps: 100
|
| 60 |
+
variant: null
|
| 61 |
+
with_prior_preservation: true
|
logs/dreambooth/events.out.tfevents.1737609184.gypsum-gpu005.1381779.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d96f1e48b6889b7a9b7ef532543a303f5c22e2fe5318ef489912d2d954e5720
|
| 3 |
+
size 498
|
logs/dreambooth/events.out.tfevents.1737609296.gypsum-gpu005.1381843.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a673c602cf7f04e5c20bc1ef552085a61e84d7027d712fbc95102d07ced66d2b
|
| 3 |
+
size 33434
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3438167536
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9041485d0393ffa77995693d3ac0d2f80cc592a56e24a53f92a8ae344bea674c
|
| 3 |
size 3438167536
|