Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
custom-diffusion
Instructions to use briannlongzhao/44 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use briannlongzhao/44 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("briannlongzhao/44", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of <new1> ambulance" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files
learned_embeds.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4208
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11e88aed67a2fa902d7be7956a859b84e063ba11b86c23576c77b09ab416227c
|
| 3 |
size 4208
|
logs/textual_inversion/1706463885.735264/events.out.tfevents.1706463886.node-0.2750.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d73fe018922c86e5872b7de960fefff2d7a18ba0e5302e072aecf555247d89b7
|
| 3 |
+
size 2508
|
logs/textual_inversion/1706463886.5935464/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 |
+
center_crop: false
|
| 7 |
+
checkpointing_steps: 500
|
| 8 |
+
checkpoints_total_limit: null
|
| 9 |
+
class_name: ambulance
|
| 10 |
+
dataloader_num_workers: 0
|
| 11 |
+
enable_xformers_memory_efficient_attention: true
|
| 12 |
+
gradient_accumulation_steps: 4
|
| 13 |
+
gradient_checkpointing: false
|
| 14 |
+
hub_model_id: null
|
| 15 |
+
hub_token: null
|
| 16 |
+
idx: 44
|
| 17 |
+
initializer_token: ambulance
|
| 18 |
+
learnable_property: object
|
| 19 |
+
learning_rate: 0.008
|
| 20 |
+
local_rank: -1
|
| 21 |
+
logging_dir: logs
|
| 22 |
+
lr_num_cycles: 1
|
| 23 |
+
lr_scheduler: constant
|
| 24 |
+
lr_warmup_steps: 0
|
| 25 |
+
max_train_steps: 35
|
| 26 |
+
mixed_precision: fp16
|
| 27 |
+
no_safe_serialization: false
|
| 28 |
+
num_train_epochs: 5
|
| 29 |
+
num_validation_images: 4
|
| 30 |
+
num_vectors: 1
|
| 31 |
+
output_dir: /mnt/default/textual_inversion_models_medium/44
|
| 32 |
+
placeholder_token: <ambulance>
|
| 33 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
| 34 |
+
push_to_hub: true
|
| 35 |
+
repeats: 1
|
| 36 |
+
report_to: tensorboard
|
| 37 |
+
resolution: 512
|
| 38 |
+
resume_from_checkpoint: null
|
| 39 |
+
revision: null
|
| 40 |
+
save_as_full_pipeline: false
|
| 41 |
+
save_steps: 500
|
| 42 |
+
scale_lr: true
|
| 43 |
+
seed: null
|
| 44 |
+
tokenizer_name: null
|
| 45 |
+
train_batch_size: 4
|
| 46 |
+
train_data_dir: /mnt/default/imagenet/images/train_medium/n02701002
|
| 47 |
+
validation_epochs: null
|
| 48 |
+
validation_prompt: null
|
| 49 |
+
validation_steps: 100
|
| 50 |
+
wnid: n02701002
|
logs/textual_inversion/events.out.tfevents.1706463885.node-0.2750.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d703909963de37857a6996ce945a4901ed91b59c73a202f73db9d6c9c29d5a8
|
| 3 |
+
size 10326
|
text_encoder/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1361601112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6aaf220efd2439c387622ebb7e0e8bf301dbb539a0aac335b938abda525dca8
|
| 3 |
size 1361601112
|