Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
dreambooth
diffusers-training
stable-diffusion
stable-diffusion-diffusers
Instructions to use jihedonhf/dogbooth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jihedonhf/dogbooth with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jihedonhf/dogbooth", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of [v]dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (22)
- README.mdAdded+43
- checkpoint-500/optimizer.binAdded+3
- checkpoint-500/random_states_0.pklAdded+3
- checkpoint-500/scheduler.binAdded+3
- checkpoint-500/unet/config.jsonAdded+73
- checkpoint-500/unet/diffusion_pytorch_model.safetensorsAdded+3
- feature_extractor/preprocessor_config.jsonAdded+44
- logs/dreambooth/1711544505.7408059/events.out.tfevents.1711544505.jupyter-user1.412.1Added+3
- logs/dreambooth/1711544505.742246/hparams.ymlAdded+60
- logs/dreambooth/events.out.tfevents.1711544505.jupyter-user1.412.0Added+3
- model_index.jsonAdded+38
- scheduler/scheduler_config.jsonAdded+20
- text_encoder/config.jsonAdded+25
- text_encoder/model.safetensorsAdded+3
- tokenizer/merges.txtAdded
- tokenizer/special_tokens_map.jsonAdded+24
- tokenizer/tokenizer_config.jsonAdded+38
- tokenizer/vocab.jsonAdded
- unet/config.jsonAdded+73
- unet/diffusion_pytorch_model.safetensorsAdded+3
- vae/config.jsonAdded+34
- vae/diffusion_pytorch_model.safetensorsAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243---license: creativeml-openrail-mlibrary_name: diffuserstags:- text-to-image- dreambooth- diffusers-training- stable-diffusion- stable-diffusion-diffusersbase_model: stabilityai/stable-diffusion-2-1inference: trueinstance_prompt: a photo of [v]dog---
<!-- This model card has been generated automatically according to the information the training script had access to. Youshould probably proofread and complete it, then remove this comment. -->
# DreamBooth - jihedonhf/dogbooth
This is a dreambooth model derived from stabilityai/stable-diffusion-2-1. The weights were trained on a photo of [v]dog using [DreamBooth](https://dreambooth.github.io/).You can find some example images in the following.
DreamBooth for the text encoder was enabled: False.
## Intended uses & limitations
#### How to use
```python# TODO: add an example code snippet for running this diffusion pipeline```
#### Limitations and bias
[TODO: provide examples of latent issues and potential remediations]
## Training details
[TODO: describe the data used to train the model]123version https://git-lfs.github.com/spec/v1oid sha256:f73664eaa8432d7d33a226ae74f1dac8a1347122669bb83b08e878c8721783d1size 1737915525123version https://git-lfs.github.com/spec/v1oid sha256:98e6db53ccd7c67aa92038db5ec8676c9bb0d55a4283c19ff089972ddc147c2asize 14663123version https://git-lfs.github.com/spec/v1oid sha256:73fd5f417d1b160455bac391e57c588efe13ffb8e7c4ae93ce40d27dbbb261b5size 56312345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.28.0.dev0", "_name_or_path": "stabilityai/stable-diffusion-2-1", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": [ 5, 10, 20, 20 ], "attention_type": "default", "block_out_channels": [ 320, 640, 1280, 1280 ], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 1024, "cross_attention_norm": null, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "dropout": 0.0, "dual_cross_attention": false, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_only_cross_attention": null, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "out_channels": 4, "projection_class_embeddings_input_dim": null, "resnet_out_scale_factor": 1.0, "resnet_skip_time_act": false, "resnet_time_scale_shift": "default", "reverse_transformer_layers_per_block": null, "sample_size": 96, "time_cond_proj_dim": null, "time_embedding_act_fn": null, "time_embedding_dim": null, "time_embedding_type": "positional", "timestep_post_act": null, "transformer_layers_per_block": 1, "up_block_types": [ "UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D" ], "upcast_attention": true, "use_linear_projection": true}123version https://git-lfs.github.com/spec/v1oid sha256:a8179e88664612ddc2881b3c63f1e1736096013004a7d16014d67735ccdeb67csize 34637265041234567891011121314151617181920212223242526272829303132333435363738394041424344{ "_valid_processor_keys": [ "images", "do_resize", "size", "resample", "do_center_crop", "crop_size", "do_rescale", "rescale_factor", "do_normalize", "image_mean", "image_std", "do_convert_rgb", "return_tensors", "data_format", "input_data_format" ], "crop_size": { "height": 224, "width": 224 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPImageProcessor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:f1f387f87986a1052db94cf348e5d58831496542849cf045e589d2fadaa29ac2size 2696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08adam_weight_decay: 0.01allow_tf32: falsecenter_crop: falsecheckpointing_steps: 500checkpoints_total_limit: nullclass_data_dir: nullclass_labels_conditioning: nullclass_prompt: nulldataloader_num_workers: 0enable_xformers_memory_efficient_attention: truegradient_accumulation_steps: 1gradient_checkpointing: truehub_model_id: nullhub_token: nullinstance_data_dir: doginstance_prompt: a photo of [v]doglearning_rate: 1.0e-06local_rank: -1logging_dir: logslr_num_cycles: 1lr_power: 1.0lr_scheduler: constantlr_warmup_steps: 0max_grad_norm: 1.0max_train_steps: 800mixed_precision: nullnum_class_images: 100num_train_epochs: 160num_validation_images: 4offset_noise: falseoutput_dir: dogboothpre_compute_text_embeddings: falsepretrained_model_name_or_path: stabilityai/stable-diffusion-2-1prior_generation_precision: nullprior_loss_weight: 1.0push_to_hub: truereport_to: tensorboardresolution: 768resume_from_checkpoint: nullrevision: nullsample_batch_size: 4scale_lr: falseseed: nullset_grads_to_none: falseskip_save_text_encoder: falsesnr_gamma: nulltext_encoder_use_attention_mask: falsetokenizer_max_length: nulltokenizer_name: nulltrain_batch_size: 1train_text_encoder: falseuse_8bit_adam: truevalidation_prompt: nullvalidation_scheduler: DPMSolverMultistepSchedulervalidation_steps: 100variant: nullwith_prior_preservation: false123version https://git-lfs.github.com/spec/v1oid sha256:0f42bb761cc7279e5f9acaa158c4f5132aad82ff8f20c22e8994d1925647c031size 669861234567891011121314151617181920212223242526272829303132333435363738{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.28.0.dev0", "_name_or_path": "stabilityai/stable-diffusion-2-1", "feature_extractor": [ "transformers", "CLIPImageProcessor" ], "image_encoder": [ null, null ], "requires_safety_checker": false, "safety_checker": [ null, null ], "scheduler": [ "diffusers", "DDIMScheduler" ], "text_encoder": [ "transformers", "CLIPTextModel" ], "tokenizer": [ "transformers", "CLIPTokenizer" ], "unet": [ "diffusers", "UNet2DConditionModel" ], "vae": [ "diffusers", "AutoencoderKL" ]}1234567891011121314151617181920{ "_class_name": "DDIMScheduler", "_diffusers_version": "0.28.0.dev0", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085, "clip_sample": false, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "v_prediction", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "set_alpha_to_one": false, "skip_prk_steps": true, "steps_offset": 1, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null}12345678910111213141516171819202122232425{ "_name_or_path": "stabilityai/stable-diffusion-2-1", "architectures": [ "CLIPTextModel" ], "attention_dropout": 0.0, "bos_token_id": 0, "dropout": 0.0, "eos_token_id": 2, "hidden_act": "gelu", "hidden_size": 1024, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "num_attention_heads": 16, "num_hidden_layers": 23, "pad_token_id": 1, "projection_dim": 512, "torch_dtype": "float32", "transformers_version": "4.39.1", "vocab_size": 49408}123version https://git-lfs.github.com/spec/v1oid sha256:67e013543d4fac905c882e2993d86a2d454ee69dc9e8f37c0c23d33a48959d15size 1361596304123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "!", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}1234567891011121314151617181920212223242526272829303132333435363738{ "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "!", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49406": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "49407": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<|startoftext|>", "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": "<|endoftext|>", "errors": "replace", "model_max_length": 77, "pad_token": "!", "tokenizer_class": "CLIPTokenizer", "unk_token": "<|endoftext|>"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.28.0.dev0", "_name_or_path": "stabilityai/stable-diffusion-2-1", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": [ 5, 10, 20, 20 ], "attention_type": "default", "block_out_channels": [ 320, 640, 1280, 1280 ], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 1024, "cross_attention_norm": null, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "dropout": 0.0, "dual_cross_attention": false, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_only_cross_attention": null, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "out_channels": 4, "projection_class_embeddings_input_dim": null, "resnet_out_scale_factor": 1.0, "resnet_skip_time_act": false, "resnet_time_scale_shift": "default", "reverse_transformer_layers_per_block": null, "sample_size": 96, "time_cond_proj_dim": null, "time_embedding_act_fn": null, "time_embedding_dim": null, "time_embedding_type": "positional", "timestep_post_act": null, "transformer_layers_per_block": 1, "up_block_types": [ "UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D" ], "upcast_attention": true, "use_linear_projection": true}123version https://git-lfs.github.com/spec/v1oid sha256:4961e34bfb8c580e4cfa2057570ff4110d857f0f323e27f9bea09adbe40a8be4size 346372650412345678910111213141516171819202122232425262728293031323334{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.28.0.dev0", "_name_or_path": "/home/jovyan/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/vae", "act_fn": "silu", "block_out_channels": [ 128, 256, 512, 512 ], "down_block_types": [ "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D" ], "force_upcast": true, "in_channels": 3, "latent_channels": 4, "latents_mean": null, "latents_std": null, "layers_per_block": 2, "norm_num_groups": 32, "out_channels": 3, "sample_size": 768, "scaling_factor": 0.18215, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ]}123version https://git-lfs.github.com/spec/v1oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ecsize 334643268README.mdAdded+43
checkpoint-500/optimizer.binAdded+3
checkpoint-500/random_states_0.pklAdded+3
checkpoint-500/scheduler.binAdded+3
checkpoint-500/unet/config.jsonAdded+73
checkpoint-500/unet/diffusion_pytorch_model.safetensorsAdded+3
feature_extractor/preprocessor_config.jsonAdded+44
logs/dreambooth/1711544505.7408059/events.out.tfevents.1711544505.jupyter-user1.412.1Added+3
logs/dreambooth/1711544505.742246/hparams.ymlAdded+60
logs/dreambooth/events.out.tfevents.1711544505.jupyter-user1.412.0Added+3
model_index.jsonAdded+38
scheduler/scheduler_config.jsonAdded+20
text_encoder/config.jsonAdded+25
text_encoder/model.safetensorsAdded+3
tokenizer/merges.txtAdded
tokenizer/special_tokens_map.jsonAdded+24
tokenizer/tokenizer_config.jsonAdded+38
tokenizer/vocab.jsonAdded
unet/config.jsonAdded+73
unet/diffusion_pytorch_model.safetensorsAdded+3
vae/config.jsonAdded+34
vae/diffusion_pytorch_model.safetensorsAdded+3