Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
The data set is just resized to 224*224
|
6 |
+
|
7 |
+
https://huggingface.co/datasets/KBlueLeaf/danbooru2023-webp-4Mpixel
|
8 |
+
|
9 |
+
Pseudo code for processing
|
10 |
+
|
11 |
+
```
|
12 |
+
def resize_image(file_path):
|
13 |
+
with Image.open(file_path) as img:
|
14 |
+
resized_img = img.resize((224, 224))
|
15 |
+
resized_img.save(file_path)
|
16 |
+
```
|