awoo
Browse filesSigned-off-by: Balazs Horvath <[email protected]>
This view is limited to 50 files because it contains too many changes.
See raw diff
- dataset_tools/Create Empty caption Files for Images.ipynb +46 -10
- tests/earbou-v1e400/earbou-v1e400.safetensors +3 -0
- tests/earbou-v1e400/earbou_000100_00_20240615164757_1.png +3 -0
- tests/earbou-v1e400/earbou_000100_01_20240615164759_1.png +3 -0
- tests/earbou-v1e400/earbou_000100_02_20240615164853_1.png +3 -0
- tests/earbou-v1e400/earbou_000200_00_20240615170938_1.png +3 -0
- tests/earbou-v1e400/earbou_000200_01_20240615170941_1.png +3 -0
- tests/earbou-v1e400/earbou_000200_02_20240615171034_1.png +3 -0
- tests/earbou-v1e400/earbou_000200_03_20240615171039_1.png +3 -0
- tests/earbou-v1e400/earbou_000300_00_20240615173128_1.png +3 -0
- tests/earbou-v1e400/earbou_000300_01_20240615173130_1.png +3 -0
- tests/earbou-v1e400/earbou_000300_02_20240615173224_1.png +3 -0
- tests/earbou-v1e400/earbou_000300_03_20240615173229_1.png +3 -0
- tests/earbou-v1e400/earbou_000400_00_20240615175322_1.png +3 -0
- tests/earbou-v1e400/earbou_000400_01_20240615175325_1.png +3 -0
- tests/earbou-v1e400/earbou_000400_02_20240615175419_1.png +3 -0
- tests/earbou-v1e400/earbou_000400_03_20240615175423_1.png +3 -0
- tests/earbou-v2e400/earbou-v2e400.safetensors +3 -0
- tests/earbou-v2e400/earbou_000100_03_20240616054223_1.png +3 -0
- tests/earbou-v2e400/earbou_000100_07_20240616054429_1.png +3 -0
- tests/earbou-v2e400/earbou_000100_14_20240616054819_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_01_20240616064330_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_03_20240616064432_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_06_20240616064627_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_07_20240616064638_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_08_20240616064727_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_10_20240616064827_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_11_20240616064843_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_12_20240616064927_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_13_20240616064946_1.png +3 -0
- tests/earbou-v2e400/earbou_000200_15_20240616065049_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_00_20240616074519_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_01_20240616074522_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_03_20240616074625_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_04_20240616074719_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_05_20240616074728_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_06_20240616074819_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_07_20240616074830_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_09_20240616074933_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_10_20240616075020_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_11_20240616075036_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_12_20240616075121_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_13_20240616075139_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_14_20240616075221_1.png +3 -0
- tests/earbou-v2e400/earbou_000300_15_20240616075242_1.png +3 -0
- tests/earbou-v2e400/earbou_000400_00_20240616084727_1.png +3 -0
- tests/earbou-v2e400/earbou_000400_01_20240616084730_1.png +3 -0
- tests/earbou-v2e400/earbou_000400_02_20240616084827_1.png +3 -0
- tests/earbou-v2e400/earbou_000400_03_20240616084833_1.png +3 -0
- tests/earbou-v2e400/earbou_000400_04_20240616084927_1.png +3 -0
dataset_tools/Create Empty caption Files for Images.ipynb
CHANGED
@@ -1,8 +1,17 @@
|
|
1 |
{
|
2 |
"cells": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"metadata": {},
|
7 |
"outputs": [
|
8 |
{
|
@@ -11,16 +20,43 @@
|
|
11 |
"text": [
|
12 |
"Caption files created successfully.\n"
|
13 |
]
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
{
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
|
20 |
-
"\u001b[1;31mThe Kernel crashed while executing code in the current cell or a previous cell. \n",
|
21 |
-
"\u001b[1;31mPlease review the code in the cell(s) to identify a possible cause of the failure. \n",
|
22 |
-
"\u001b[1;31mClick <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. \n",
|
23 |
-
"\u001b[1;31mView Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
|
24 |
]
|
25 |
}
|
26 |
],
|
|
|
1 |
{
|
2 |
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"metadata": {},
|
6 |
+
"source": [
|
7 |
+
"## Create Empty `.txt` Files For Images\n",
|
8 |
+
"\n",
|
9 |
+
"---"
|
10 |
+
]
|
11 |
+
},
|
12 |
{
|
13 |
"cell_type": "code",
|
14 |
+
"execution_count": 1,
|
15 |
"metadata": {},
|
16 |
"outputs": [
|
17 |
{
|
|
|
20 |
"text": [
|
21 |
"Caption files created successfully.\n"
|
22 |
]
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"source": [
|
26 |
+
"from pathlib import Path\n",
|
27 |
+
"\n",
|
28 |
+
"def create_caption_file(directory):\n",
|
29 |
+
" for image_path in Path(directory).rglob('*'):\n",
|
30 |
+
" if image_path.suffix.lower() in ['.jpg', '.jpeg', '.png']:\n",
|
31 |
+
" caption_file = image_path.with_suffix('.txt')\n",
|
32 |
+
" if not caption_file.exists():\n",
|
33 |
+
" caption_file.touch()\n",
|
34 |
+
"\n",
|
35 |
+
"if __name__ == \"__main__\":\n",
|
36 |
+
" directory = r'E:\\training_dir_staging'\n",
|
37 |
+
" create_caption_file(directory)\n",
|
38 |
+
" print(\"Caption files created successfully.\")"
|
39 |
+
]
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"cell_type": "markdown",
|
43 |
+
"metadata": {},
|
44 |
+
"source": [
|
45 |
+
"## Create Empty `.caption` Files For Images\n",
|
46 |
+
"\n",
|
47 |
+
"---"
|
48 |
+
]
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"cell_type": "code",
|
52 |
+
"execution_count": 1,
|
53 |
+
"metadata": {},
|
54 |
+
"outputs": [
|
55 |
{
|
56 |
+
"name": "stdout",
|
57 |
+
"output_type": "stream",
|
58 |
+
"text": [
|
59 |
+
"Caption files created successfully.\n"
|
|
|
|
|
|
|
|
|
60 |
]
|
61 |
}
|
62 |
],
|
tests/earbou-v1e400/earbou-v1e400.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f29ae81f39061a67925db77bec4b7a459fc9a23c35f651727aa079b5b1ce823
|
3 |
+
size 240580432
|
tests/earbou-v1e400/earbou_000100_00_20240615164757_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000100_01_20240615164759_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000100_02_20240615164853_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000200_00_20240615170938_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000200_01_20240615170941_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000200_02_20240615171034_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000200_03_20240615171039_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000300_00_20240615173128_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000300_01_20240615173130_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000300_02_20240615173224_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000300_03_20240615173229_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000400_00_20240615175322_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000400_01_20240615175325_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000400_02_20240615175419_1.png
ADDED
Git LFS Details
|
tests/earbou-v1e400/earbou_000400_03_20240615175423_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou-v2e400.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:753faca3409886c93bfc4bc9de9173dc655dbddc2c2f127e40a764c341e8f4c8
|
3 |
+
size 240587808
|
tests/earbou-v2e400/earbou_000100_03_20240616054223_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000100_07_20240616054429_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000100_14_20240616054819_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_01_20240616064330_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_03_20240616064432_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_06_20240616064627_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_07_20240616064638_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_08_20240616064727_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_10_20240616064827_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_11_20240616064843_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_12_20240616064927_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_13_20240616064946_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000200_15_20240616065049_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_00_20240616074519_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_01_20240616074522_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_03_20240616074625_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_04_20240616074719_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_05_20240616074728_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_06_20240616074819_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_07_20240616074830_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_09_20240616074933_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_10_20240616075020_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_11_20240616075036_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_12_20240616075121_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_13_20240616075139_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_14_20240616075221_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000300_15_20240616075242_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000400_00_20240616084727_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000400_01_20240616084730_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000400_02_20240616084827_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000400_03_20240616084833_1.png
ADDED
Git LFS Details
|
tests/earbou-v2e400/earbou_000400_04_20240616084927_1.png
ADDED
Git LFS Details
|