Commit
·
5342c93
0
Parent(s):
initial commit
Browse files- .gitattributes +55 -0
- README.md +165 -0
.gitattributes
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
# Audio files - uncompressed
|
38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
41 |
+
# Audio files - compressed
|
42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
47 |
+
# Image files - uncompressed
|
48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
52 |
+
# Image files - compressed
|
53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- stable-diffusion
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
widget:
|
9 |
+
- text: '-'
|
10 |
+
output:
|
11 |
+
url: images/image 2.png
|
12 |
+
- text: '-'
|
13 |
+
output:
|
14 |
+
url: images/image 1.png
|
15 |
+
- text: '-'
|
16 |
+
output:
|
17 |
+
url: images/image.png
|
18 |
+
- text: '-'
|
19 |
+
output:
|
20 |
+
url: images/image g2.png
|
21 |
+
- text: '-'
|
22 |
+
output:
|
23 |
+
url: images/image b.png
|
24 |
+
- text: '-'
|
25 |
+
output:
|
26 |
+
url: images/image l.png
|
27 |
+
- text: '-'
|
28 |
+
output:
|
29 |
+
url: images/image a.png
|
30 |
+
- text: '-'
|
31 |
+
output:
|
32 |
+
url: images/image vv.png
|
33 |
+
- text: '-'
|
34 |
+
output:
|
35 |
+
url: images/image d.png
|
36 |
+
- text: '-'
|
37 |
+
output:
|
38 |
+
url: images/image c.png
|
39 |
+
- text: '-'
|
40 |
+
output:
|
41 |
+
url: images/image t.png
|
42 |
+
- text: '-'
|
43 |
+
output:
|
44 |
+
url: images/image w.png
|
45 |
+
- text: '-'
|
46 |
+
output:
|
47 |
+
url: images/image g.png
|
48 |
+
- text: '-'
|
49 |
+
output:
|
50 |
+
url: images/image r.png
|
51 |
+
- text: '-'
|
52 |
+
output:
|
53 |
+
url: images/image x.png
|
54 |
+
- text: '-'
|
55 |
+
output:
|
56 |
+
url: images/image n.png
|
57 |
+
- text: '-'
|
58 |
+
output:
|
59 |
+
url: images/image 6.png
|
60 |
+
- text: '-'
|
61 |
+
output:
|
62 |
+
url: images/image 4.png
|
63 |
+
- text: '-'
|
64 |
+
output:
|
65 |
+
url: images/image 3.png
|
66 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
67 |
+
instance_prompt: >-
|
68 |
+
Star Trek TNG, TV still, Picard, Riker, Troi, Crusher, Data, Worf, Romulan,
|
69 |
+
Klingon, Borg, on the Enterprise, control panel, Borg, Klingon, Romulan,
|
70 |
+
wearing a red Starfleet uniform, wearing Klingon armor, wearing a Romulan
|
71 |
+
uniform
|
72 |
+
|
73 |
+
---
|
74 |
+
# Star Trek SDXL
|
75 |
+
|
76 |
+
<Gallery />
|
77 |
+
|
78 |
+
## Model description
|
79 |
+
|
80 |
+
I was inspired upon using Dall-E3, seeing how well it recreated the look of the classic show Star Trek The Next Generation, but being disappointed that it could only recreate Picard.
|
81 |
+
|
82 |
+
This lora includes changes to the text encoder, and the training data was captioned by hand by me, so you'll be able to invoke different characters by name, different sections, different clothing, etc. I hope to demonstrate this in images, but here are some of the key terms:
|
83 |
+
|
84 |
+
Main keywords: Star Trek TNG, TV still
|
85 |
+
|
86 |
+
Characters:
|
87 |
+
Picard
|
88 |
+
Riker
|
89 |
+
Data
|
90 |
+
Geordi
|
91 |
+
Worf
|
92 |
+
Crusher (Beverly, I left out Wil)
|
93 |
+
Troi
|
94 |
+
Romulan
|
95 |
+
Klingon
|
96 |
+
Borg
|
97 |
+
(there are some more, leaving them a secret for fun (to whom?))
|
98 |
+
|
99 |
+
Clothing:
|
100 |
+
wearing a (red/yellow/blue) Starfleet uniform (other colors can be invoked if you try to varying degrees of success)
|
101 |
+
wearing Klingon armor
|
102 |
+
wearing a Romulan uniform
|
103 |
+
(and some more)
|
104 |
+
|
105 |
+
Objects:
|
106 |
+
Geordi wears a 'visor', Worf has a 'metal sash', Borgs may have a 'holographic eyepiece'. I tried to train the lora on many different things.
|
107 |
+
|
108 |
+
Environments:
|
109 |
+
'On the Enterprise' - generically included for on the ship
|
110 |
+
'In a Klingon building'
|
111 |
+
'In crew quarters', 'In engineering', 'on the bridge', 'sitting in the captain's chair' etc can be invoked to a degree
|
112 |
+
I included terms like 'atmospheric', lighting colors, 'dark', viewing angles, etc.
|
113 |
+
|
114 |
+
I called all the interfaces on the ship 'control panels', the screen on the ship is the 'ship's viewscreen', you can try to invoke different ship exteriors (to little success)
|
115 |
+
|
116 |
+
|
117 |
+
Training:
|
118 |
+
Bog-standard lora with constant rate 1*10^-5, >1500 images (hand picked), ~8000 steps
|
119 |
+
|
120 |
+
## Trigger words
|
121 |
+
|
122 |
+
You should use `Star Trek TNG` to trigger the image generation.
|
123 |
+
|
124 |
+
You should use `TV still` to trigger the image generation.
|
125 |
+
|
126 |
+
You should use `Picard` to trigger the image generation.
|
127 |
+
|
128 |
+
You should use `Riker` to trigger the image generation.
|
129 |
+
|
130 |
+
You should use `Troi` to trigger the image generation.
|
131 |
+
|
132 |
+
You should use `Crusher` to trigger the image generation.
|
133 |
+
|
134 |
+
You should use `Data` to trigger the image generation.
|
135 |
+
|
136 |
+
You should use `Worf` to trigger the image generation.
|
137 |
+
|
138 |
+
You should use `Romulan` to trigger the image generation.
|
139 |
+
|
140 |
+
You should use `Klingon` to trigger the image generation.
|
141 |
+
|
142 |
+
You should use `Borg` to trigger the image generation.
|
143 |
+
|
144 |
+
You should use `on the Enterprise` to trigger the image generation.
|
145 |
+
|
146 |
+
You should use `control panel` to trigger the image generation.
|
147 |
+
|
148 |
+
You should use `Borg` to trigger the image generation.
|
149 |
+
|
150 |
+
You should use `Klingon` to trigger the image generation.
|
151 |
+
|
152 |
+
You should use `Romulan` to trigger the image generation.
|
153 |
+
|
154 |
+
You should use `wearing a red Starfleet uniform` to trigger the image generation.
|
155 |
+
|
156 |
+
You should use `wearing Klingon armor` to trigger the image generation.
|
157 |
+
|
158 |
+
You should use `wearing a Romulan uniform` to trigger the image generation.
|
159 |
+
|
160 |
+
|
161 |
+
## Download model
|
162 |
+
|
163 |
+
Weights for this model are available in Safetensors format.
|
164 |
+
|
165 |
+
[Download](/Jigen/Star_Trek_SDXL/tree/main) them in the Files & versions tab.
|