Model card auto-generated by SimpleTuner
Browse files
README.md
CHANGED
@@ -18,12 +18,12 @@ widget:
|
|
18 |
negative_prompt: 'blurry, cropped, ugly'
|
19 |
output:
|
20 |
url: ./assets/image_0_0.png
|
21 |
-
- text: 'a photo of a woman'
|
22 |
parameters:
|
23 |
negative_prompt: 'blurry, cropped, ugly'
|
24 |
output:
|
25 |
url: ./assets/image_1_0.png
|
26 |
-
- text: 'a photo of a woman, nsfw'
|
27 |
parameters:
|
28 |
negative_prompt: 'blurry, cropped, ugly'
|
29 |
output:
|
@@ -40,7 +40,7 @@ The main validation prompt used during training was:
|
|
40 |
|
41 |
|
42 |
```
|
43 |
-
a photo of a woman, nsfw
|
44 |
```
|
45 |
|
46 |
## Validation settings
|
@@ -65,7 +65,7 @@ You may reuse the base model text encoder for inference.
|
|
65 |
## Training settings
|
66 |
|
67 |
- Training epochs: 0
|
68 |
-
- Training steps:
|
69 |
- Learning rate: 0.0001
|
70 |
- Effective batch size: 4
|
71 |
- Micro-batch size: 1
|
@@ -87,7 +87,7 @@ You may reuse the base model text encoder for inference.
|
|
87 |
|
88 |
### dreambooth-512
|
89 |
- Repeats: 0
|
90 |
-
- Total number of images:
|
91 |
- Total number of aspect buckets: 1
|
92 |
- Resolution: 0.262144 megapixels
|
93 |
- Cropped: False
|
@@ -95,7 +95,7 @@ You may reuse the base model text encoder for inference.
|
|
95 |
- Crop aspect: None
|
96 |
### dreambooth-768
|
97 |
- Repeats: 0
|
98 |
-
- Total number of images:
|
99 |
- Total number of aspect buckets: 1
|
100 |
- Resolution: 0.589824 megapixels
|
101 |
- Cropped: False
|
@@ -103,7 +103,7 @@ You may reuse the base model text encoder for inference.
|
|
103 |
- Crop aspect: None
|
104 |
### dreambooth-1024
|
105 |
- Repeats: 0
|
106 |
-
- Total number of images:
|
107 |
- Total number of aspect buckets: 1
|
108 |
- Resolution: 1.048576 megapixels
|
109 |
- Cropped: False
|
@@ -111,7 +111,7 @@ You may reuse the base model text encoder for inference.
|
|
111 |
- Crop aspect: None
|
112 |
### dreambooth-512-crop
|
113 |
- Repeats: 0
|
114 |
-
- Total number of images:
|
115 |
- Total number of aspect buckets: 1
|
116 |
- Resolution: 0.262144 megapixels
|
117 |
- Cropped: True
|
@@ -119,7 +119,7 @@ You may reuse the base model text encoder for inference.
|
|
119 |
- Crop aspect: square
|
120 |
### dreambooth-768-crop
|
121 |
- Repeats: 0
|
122 |
-
- Total number of images:
|
123 |
- Total number of aspect buckets: 1
|
124 |
- Resolution: 0.589824 megapixels
|
125 |
- Cropped: True
|
@@ -127,7 +127,7 @@ You may reuse the base model text encoder for inference.
|
|
127 |
- Crop aspect: square
|
128 |
### dreambooth-1024-crop
|
129 |
- Repeats: 0
|
130 |
-
- Total number of images:
|
131 |
- Total number of aspect buckets: 1
|
132 |
- Resolution: 1.048576 megapixels
|
133 |
- Cropped: True
|
@@ -147,7 +147,7 @@ adapter_id = 'tungdop2/nsfw-1024-id-only'
|
|
147 |
pipeline = DiffusionPipeline.from_pretrained(model_id)
|
148 |
pipeline.load_lora_weights(adapter_id)
|
149 |
|
150 |
-
prompt = "a photo of a woman, nsfw"
|
151 |
|
152 |
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
|
153 |
image = pipeline(
|
|
|
18 |
negative_prompt: 'blurry, cropped, ugly'
|
19 |
output:
|
20 |
url: ./assets/image_0_0.png
|
21 |
+
- text: 'a photo of a nude woman'
|
22 |
parameters:
|
23 |
negative_prompt: 'blurry, cropped, ugly'
|
24 |
output:
|
25 |
url: ./assets/image_1_0.png
|
26 |
+
- text: 'a photo of a nude woman, nsfw'
|
27 |
parameters:
|
28 |
negative_prompt: 'blurry, cropped, ugly'
|
29 |
output:
|
|
|
40 |
|
41 |
|
42 |
```
|
43 |
+
a photo of a nude woman, nsfw
|
44 |
```
|
45 |
|
46 |
## Validation settings
|
|
|
65 |
## Training settings
|
66 |
|
67 |
- Training epochs: 0
|
68 |
+
- Training steps: 100
|
69 |
- Learning rate: 0.0001
|
70 |
- Effective batch size: 4
|
71 |
- Micro-batch size: 1
|
|
|
87 |
|
88 |
### dreambooth-512
|
89 |
- Repeats: 0
|
90 |
+
- Total number of images: 3984
|
91 |
- Total number of aspect buckets: 1
|
92 |
- Resolution: 0.262144 megapixels
|
93 |
- Cropped: False
|
|
|
95 |
- Crop aspect: None
|
96 |
### dreambooth-768
|
97 |
- Repeats: 0
|
98 |
+
- Total number of images: 3984
|
99 |
- Total number of aspect buckets: 1
|
100 |
- Resolution: 0.589824 megapixels
|
101 |
- Cropped: False
|
|
|
103 |
- Crop aspect: None
|
104 |
### dreambooth-1024
|
105 |
- Repeats: 0
|
106 |
+
- Total number of images: 3984
|
107 |
- Total number of aspect buckets: 1
|
108 |
- Resolution: 1.048576 megapixels
|
109 |
- Cropped: False
|
|
|
111 |
- Crop aspect: None
|
112 |
### dreambooth-512-crop
|
113 |
- Repeats: 0
|
114 |
+
- Total number of images: 3984
|
115 |
- Total number of aspect buckets: 1
|
116 |
- Resolution: 0.262144 megapixels
|
117 |
- Cropped: True
|
|
|
119 |
- Crop aspect: square
|
120 |
### dreambooth-768-crop
|
121 |
- Repeats: 0
|
122 |
+
- Total number of images: 3984
|
123 |
- Total number of aspect buckets: 1
|
124 |
- Resolution: 0.589824 megapixels
|
125 |
- Cropped: True
|
|
|
127 |
- Crop aspect: square
|
128 |
### dreambooth-1024-crop
|
129 |
- Repeats: 0
|
130 |
+
- Total number of images: 3984
|
131 |
- Total number of aspect buckets: 1
|
132 |
- Resolution: 1.048576 megapixels
|
133 |
- Cropped: True
|
|
|
147 |
pipeline = DiffusionPipeline.from_pretrained(model_id)
|
148 |
pipeline.load_lora_weights(adapter_id)
|
149 |
|
150 |
+
prompt = "a photo of a nude woman, nsfw"
|
151 |
|
152 |
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
|
153 |
image = pipeline(
|