Instructions to use Geo2425/pretrained_models_sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Geo2425/pretrained_models_sdxl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Geo2425/pretrained_models_sdxl", 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
Upload 7 files
Browse files- Shadow_cls.pth +3 -0
- Shadow_cls_label.pkl +3 -0
- Shadow_ppp.ckpt +3 -0
- Shadow_reg.pth +3 -0
- controlnet/config.json +58 -0
- controlnet/diffusion_pytorch_model.safetensors +3 -0
- ip_adapter.ckpt +3 -0
Shadow_cls.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cf4cd937e61c8511dd9183485cf443bcc8f4187a3453a7851f19f12491f2a64
|
| 3 |
+
size 96463231
|
Shadow_cls_label.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e973dbfc7855895c99a37d91d4d12d6a5c0121f3c3cf162e4b7f8cd7ba530f1
|
| 3 |
+
size 2106768
|
Shadow_ppp.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0801befd445d20a57566a43f6d0565510a55c6a47551699b0df553bbc733f489
|
| 3 |
+
size 727382368
|
Shadow_reg.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:559b3c786ae19a24efdcec8d9daf8d4f6a9c986b69e94c9b267f5b1211ccbe6f
|
| 3 |
+
size 27081605
|
controlnet/config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "ControlNetModel",
|
| 3 |
+
"_diffusers_version": "0.34.0.dev0",
|
| 4 |
+
"_name_or_path": "./ckpts_sdxl_diffusers/epoch-21/controlnet",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"addition_embed_type": "text_time",
|
| 7 |
+
"addition_embed_type_num_heads": 64,
|
| 8 |
+
"addition_time_embed_dim": 256,
|
| 9 |
+
"attention_head_dim": [
|
| 10 |
+
5,
|
| 11 |
+
10,
|
| 12 |
+
20
|
| 13 |
+
],
|
| 14 |
+
"block_out_channels": [
|
| 15 |
+
320,
|
| 16 |
+
640,
|
| 17 |
+
1280
|
| 18 |
+
],
|
| 19 |
+
"class_embed_type": null,
|
| 20 |
+
"conditioning_channels": 5,
|
| 21 |
+
"conditioning_embedding_out_channels": [
|
| 22 |
+
16,
|
| 23 |
+
32,
|
| 24 |
+
96,
|
| 25 |
+
256
|
| 26 |
+
],
|
| 27 |
+
"controlnet_conditioning_channel_order": "rgb",
|
| 28 |
+
"cross_attention_dim": 2048,
|
| 29 |
+
"down_block_types": [
|
| 30 |
+
"DownBlock2D",
|
| 31 |
+
"CrossAttnDownBlock2D",
|
| 32 |
+
"CrossAttnDownBlock2D"
|
| 33 |
+
],
|
| 34 |
+
"downsample_padding": 1,
|
| 35 |
+
"encoder_hid_dim": null,
|
| 36 |
+
"encoder_hid_dim_type": null,
|
| 37 |
+
"flip_sin_to_cos": true,
|
| 38 |
+
"freq_shift": 0,
|
| 39 |
+
"global_pool_conditions": false,
|
| 40 |
+
"in_channels": 4,
|
| 41 |
+
"layers_per_block": 2,
|
| 42 |
+
"mid_block_scale_factor": 1,
|
| 43 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 44 |
+
"norm_eps": 1e-05,
|
| 45 |
+
"norm_num_groups": 32,
|
| 46 |
+
"num_attention_heads": null,
|
| 47 |
+
"num_class_embeds": null,
|
| 48 |
+
"only_cross_attention": false,
|
| 49 |
+
"projection_class_embeddings_input_dim": 2816,
|
| 50 |
+
"resnet_time_scale_shift": "default",
|
| 51 |
+
"transformer_layers_per_block": [
|
| 52 |
+
1,
|
| 53 |
+
2,
|
| 54 |
+
10
|
| 55 |
+
],
|
| 56 |
+
"upcast_attention": null,
|
| 57 |
+
"use_linear_projection": true
|
| 58 |
+
}
|
controlnet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55647989dc0d8a9b20e4c9a38895f4c0a1e7760fd7e6e1ab656965f6bf216fc8
|
| 3 |
+
size 5004169016
|
ip_adapter.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9435864af1bb3286614b3b9dae34e28be457421cdc11c918c4a5d87ff6abc810
|
| 3 |
+
size 1380003918
|