d0908cd306d37d6063ae65875ba10681d7a6d2e70e34af5e4bcbabbf4439aaec
Browse files- .gitattributes +3 -0
- Inkpunk-Diffusion-v2.ckpt +3 -0
- README.md +28 -0
- args.json +59 -0
- feature_extractor/preprocessor_config.json +28 -0
.gitattributes
CHANGED
|
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
inkpunk-v1-samples.png filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
inkpunk-v2-samples-1.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
inkpunk-v2-samples-2.png filter=lfs diff=lfs merge=lfs -text
|
Inkpunk-Diffusion-v2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2182245415908822cbac065128a4c5144cc547d0701feb21241cb4e70bb5cf56
|
| 3 |
+
size 2132856622
|
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: creativeml-openrail-m
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- text-to-image
|
| 8 |
+
- diffusers
|
| 9 |
+
---
|
| 10 |
+
# Overview
|
| 11 |
+
|
| 12 |
+
This is simply Envvi/Inkpunk-Diffusion with the safety checker disabled.
|
| 13 |
+
|
| 14 |
+
**DO NOT** attempt to use this model to generate harmful or illegal content.
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# Inkpunk Diffusion
|
| 18 |
+
|
| 19 |
+
Finetuned Stable Diffusion model trained on dreambooth. Vaguely inspired by Gorillaz, FLCL, and Yoji Shinkawa. Use **_nvinkpunk_** in your prompts.
|
| 20 |
+
|
| 21 |
+
# Gradio
|
| 22 |
+
|
| 23 |
+
We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run Inkpunk-Diffusion:
|
| 24 |
+
[](https://huggingface.co/spaces/akhaliq/Inkpunk-Diffusion)
|
| 25 |
+
|
| 26 |
+
# Sample images
|
| 27 |
+

|
| 28 |
+

|
args.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pretrained_model_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 3 |
+
"pretrained_vae_name_or_path": "stabilityai/sd-vae-ft-mse",
|
| 4 |
+
"revision": "fp16",
|
| 5 |
+
"tokenizer_name": null,
|
| 6 |
+
"instance_data_dir": null,
|
| 7 |
+
"class_data_dir": null,
|
| 8 |
+
"instance_prompt": null,
|
| 9 |
+
"class_prompt": null,
|
| 10 |
+
"save_sample_prompt": "nvinkpunk male portrait",
|
| 11 |
+
"save_sample_negative_prompt": null,
|
| 12 |
+
"n_save_sample": 4,
|
| 13 |
+
"save_guidance_scale": 7.5,
|
| 14 |
+
"save_infer_steps": 50,
|
| 15 |
+
"pad_tokens": false,
|
| 16 |
+
"with_prior_preservation": true,
|
| 17 |
+
"prior_loss_weight": 1.0,
|
| 18 |
+
"num_class_images": 500,
|
| 19 |
+
"output_dir": "/content/drive/MyDrive/stable_diffusion_weights/nvinkpunk",
|
| 20 |
+
"seed": 1337,
|
| 21 |
+
"resolution": 512,
|
| 22 |
+
"center_crop": false,
|
| 23 |
+
"train_text_encoder": true,
|
| 24 |
+
"train_batch_size": 1,
|
| 25 |
+
"sample_batch_size": 4,
|
| 26 |
+
"num_train_epochs": 6,
|
| 27 |
+
"max_train_steps": 3000,
|
| 28 |
+
"gradient_accumulation_steps": 1,
|
| 29 |
+
"gradient_checkpointing": false,
|
| 30 |
+
"learning_rate": 1e-06,
|
| 31 |
+
"scale_lr": false,
|
| 32 |
+
"lr_scheduler": "constant",
|
| 33 |
+
"lr_warmup_steps": 0,
|
| 34 |
+
"use_8bit_adam": true,
|
| 35 |
+
"adam_beta1": 0.9,
|
| 36 |
+
"adam_beta2": 0.999,
|
| 37 |
+
"adam_weight_decay": 0.01,
|
| 38 |
+
"adam_epsilon": 1e-08,
|
| 39 |
+
"max_grad_norm": 1.0,
|
| 40 |
+
"push_to_hub": false,
|
| 41 |
+
"hub_token": null,
|
| 42 |
+
"hub_model_id": null,
|
| 43 |
+
"logging_dir": "logs",
|
| 44 |
+
"log_interval": 10,
|
| 45 |
+
"save_interval": 1500,
|
| 46 |
+
"save_min_steps": 0,
|
| 47 |
+
"mixed_precision": "fp16",
|
| 48 |
+
"not_cache_latents": false,
|
| 49 |
+
"hflip": false,
|
| 50 |
+
"local_rank": -1,
|
| 51 |
+
"concepts_list": [
|
| 52 |
+
{
|
| 53 |
+
"instance_prompt": "nvinkpunk",
|
| 54 |
+
"class_prompt": "artstyle",
|
| 55 |
+
"instance_data_dir": "/content/data/nvinkpunk",
|
| 56 |
+
"class_data_dir": "/content/drive/MyDrive/artstyle"
|
| 57 |
+
}
|
| 58 |
+
]
|
| 59 |
+
}
|
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": "CLIPImageProcessor",
|
| 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 |
+
}
|