Instructions to use AIBatikBakaran/batik_model_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AIBatikBakaran/batik_model_final with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AIBatikBakaran/batik_model_final", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
5b8cbd4
1
Parent(s): e6c41c8
Upload folder using huggingface_hub (#4)
Browse files- Upload folder using huggingface_hub (7b5a05731a396e79d0e958c54dfdff18d611189a)
Co-authored-by: yonathan santosa <yonathansantosa@users.noreply.huggingface.co>
logs/text2image-fine-tune/1695892225.9776561/events.out.tfevents.1695892225.140911f1aedb.26839.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43c46c88b1257b4fae96a81e12bb3d9923cad16091c66145e4a86387847fb805
|
| 3 |
+
size 2336
|
logs/text2image-fine-tune/1695892225.979337/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: 100
|
| 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: 1
|
| 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: 3000
|
| 29 |
+
mixed_precision: fp16
|
| 30 |
+
noise_offset: 0
|
| 31 |
+
non_ema_revision: null
|
| 32 |
+
num_train_epochs: 13
|
| 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/drive/MyDrive/vektor/processed/
|
| 48 |
+
use_8bit_adam: false
|
| 49 |
+
use_ema: false
|
| 50 |
+
validation_epochs: 5
|
logs/text2image-fine-tune/events.out.tfevents.1695892225.140911f1aedb.26839.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a7ee17faea85d1c840703d933092249572f6a86a8e0dd91781c2b651b4f78ab
|
| 3 |
+
size 2173962
|
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:3c2d365612f3576a9d13978063ad436e4567d43c63c6c16b8a5be69662a60edf
|
| 3 |
size 3438167536
|