Sander Land
commited on
Commit
·
d2cd7a8
1
Parent(s):
3a367d5
Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ This is a Stable Diffusion model fine-tuned on the sbtstyle concept with DreamBo
|
|
18 |
|
19 |
This model was created as part of the DreamBooth Hackathon 🔥. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!
|
20 |
|
21 |
-
## Examples
|
22 |
|
23 |
<table>
|
24 |
<tr>
|
@@ -40,6 +40,23 @@ This model was created as part of the DreamBooth Hackathon 🔥. Visit the [orga
|
|
40 |
</tr>
|
41 |
</table>
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
## Usage
|
45 |
|
|
|
18 |
|
19 |
This model was created as part of the DreamBooth Hackathon 🔥. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!
|
20 |
|
21 |
+
## Examples and data
|
22 |
|
23 |
<table>
|
24 |
<tr>
|
|
|
40 |
</tr>
|
41 |
</table>
|
42 |
|
43 |
+
## Dataset
|
44 |
+
|
45 |
+
The full dataset used to train on can be found here: [`Sanderbaduk/sobotta-anatomical-dataset`](https://huggingface.co/datasets/Sanderbaduk/sobotta-anatomical-dataset).
|
46 |
+
These images and others like it can be found on wikimedia commons.
|
47 |
+
|
48 |
+
If you use this directly you will get an error as the raw images have different numbers of channels. Include a grayscale step to fix this and ensure that classic feel.
|
49 |
+
```
|
50 |
+
self.transforms = transforms.Compose(
|
51 |
+
[
|
52 |
+
transforms.Resize(size),
|
53 |
+
transforms.Grayscale(num_output_channels=3),
|
54 |
+
transforms.CenterCrop(size),
|
55 |
+
transforms.ToTensor(),
|
56 |
+
transforms.Normalize([0.5], [0.5]),
|
57 |
+
]
|
58 |
+
)
|
59 |
+
```
|
60 |
|
61 |
## Usage
|
62 |
|