Jordan Legg commited on
Commit
87fae93
·
1 Parent(s): 981dcd6

feat: dataset v1

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -0
  2. .gitignore +1 -0
  3. create-video.ipynb +273 -0
  4. high_quality_output.mov +3 -0
  5. image_metadata_extraction.ipynb +644 -0
  6. train/00a0068a-da19-457e-8ba0-0b46b897b42e.png +3 -0
  7. train/00a97a43-b046-4919-bda6-f7b78385f21b.png +3 -0
  8. train/00cd1b87-e1e5-4b8e-8943-091f7cec2bba.png +3 -0
  9. train/00de8e56-5bcc-4ab4-90c0-4ee1aa3014f5.png +3 -0
  10. train/00f6f318-af59-49d9-aca6-36fa511c7fb1.png +3 -0
  11. train/01827241-ba89-48eb-a755-ef551ea401a2.png +3 -0
  12. train/01d0e87a-852a-4626-9a07-a58a305168dc.png +3 -0
  13. train/022adad8-247c-47d2-95a5-2b6a1de14b7a.png +3 -0
  14. train/0250ba45-6931-400f-bf11-85cdd505069e.png +3 -0
  15. train/02ab3dda-69c6-454d-9e0c-92d722384aa0.png +3 -0
  16. train/02b0c84b-0e0c-435e-b018-3e1b5c52b042.png +3 -0
  17. train/02d0cd34-258d-4997-9d1f-bbef4b037822.png +3 -0
  18. train/03249403-3c2b-4acd-be2a-fd71ff5bb716.png +3 -0
  19. train/03565ccb-aee9-4c55-9189-a25f34a06b10.png +3 -0
  20. train/035b9a8f-2e86-423a-bc23-cfbf825aa48d.png +3 -0
  21. train/035d6aa5-6640-4063-a115-af0f8d34b2e0.png +3 -0
  22. train/036b17ec-ec44-48b3-bf39-aaa6c0679fc6.png +3 -0
  23. train/0376ab51-b56a-4078-83b7-8a17d89c849a.png +3 -0
  24. train/0382f5d7-a26f-4ba7-a466-9467a24208ce.png +3 -0
  25. train/03846406-650b-472b-a627-e2d5b0606019.png +3 -0
  26. train/0385a8f6-07c5-48f6-b0a0-552c4a006e63.png +3 -0
  27. train/03db290d-aff6-4951-a74f-effd163fa37a.png +3 -0
  28. train/046c01cc-f09b-49ed-9ba3-7eb1df584e15.png +3 -0
  29. train/04712ef9-7cf0-4023-8532-2aa68698d230.png +3 -0
  30. train/049b6f9e-c0c9-4f1c-a9a3-150eb7019e94.png +3 -0
  31. train/04a50dcf-cd48-4993-9abd-332ef6eb1115.png +3 -0
  32. train/04d74789-7c38-4a9e-8ad1-756bbcbba9ac.png +3 -0
  33. train/051c23f0-6441-4341-ba5b-9400e711dcda.png +3 -0
  34. train/053b92b4-32f5-400a-b31c-52695d9015fd.png +3 -0
  35. train/0540e84b-9d72-4934-ab04-6e3ab28859dc.png +3 -0
  36. train/0541c87e-b70b-442b-936f-490a05f9a125.png +3 -0
  37. train/058b5fbc-94b3-4ab7-80bc-773fa6b532a5.png +3 -0
  38. train/06055696-d6b7-4604-bc29-39e6d971d947.png +3 -0
  39. train/065032d8-4674-4c2a-b305-9d342c321fb8.png +3 -0
  40. train/069f4d61-3803-4ffb-9b90-f5e45d203992.png +3 -0
  41. train/06cd0991-761e-4471-ab3b-a0ca7102cc44.png +3 -0
  42. train/06db7824-f3ca-4985-b919-8d34f7cd9a3c.png +3 -0
  43. train/07e27cef-75f5-462f-b46c-4bf7b98d9df4.png +3 -0
  44. train/07fc2c3c-4125-47ef-9fe1-add87df4ddb5.png +3 -0
  45. train/084e46e8-080b-47b6-a131-9b514aff11a4.png +3 -0
  46. train/0879746b-433e-4827-ae36-978db8f1bd1d.png +3 -0
  47. train/08bb178a-bea3-4af3-987d-f590c46ad88d.png +3 -0
  48. train/08dbc956-3a17-4171-9dad-91ba23d9d6ca.png +3 -0
  49. train/09876de4-eec7-4736-b631-dacc576698df.png +3 -0
  50. train/098b50d9-44fa-4ce2-8e5b-a022d56bde6d.png +3 -0
.gitattributes CHANGED
@@ -56,3 +56,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ # Video files
60
+ *.mov filter=lfs diff=lfs merge=lfs -text
61
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .DS_Store
create-video.ipynb ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# Create Video!"
8
+ ]
9
+ },
10
+ {
11
+ "cell_type": "code",
12
+ "execution_count": null,
13
+ "metadata": {},
14
+ "outputs": [],
15
+ "source": [
16
+ "pip install opencv-python opencv-python-headless # If you do not need GUI features\n"
17
+ ]
18
+ },
19
+ {
20
+ "cell_type": "markdown",
21
+ "metadata": {},
22
+ "source": [
23
+ "## Creating the demo\n"
24
+ ]
25
+ },
26
+ {
27
+ "cell_type": "code",
28
+ "execution_count": null,
29
+ "metadata": {},
30
+ "outputs": [],
31
+ "source": [
32
+ "import os\n",
33
+ "import subprocess\n",
34
+ "import logging\n",
35
+ "from glob import glob\n",
36
+ "import re\n",
37
+ "\n",
38
+ "# Configure logging\n",
39
+ "logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')\n",
40
+ "logger = logging.getLogger(__name__)\n",
41
+ "\n",
42
+ "def create_near_lossless_h265_video(input_folder, output_file, fps=30, frames_per_image=3, crf=10):\n",
43
+ " if not os.path.exists(input_folder):\n",
44
+ " logger.error(f\"Input folder '{input_folder}' does not exist.\")\n",
45
+ " return\n",
46
+ "\n",
47
+ " png_files = sorted(glob(os.path.join(input_folder, '*.png')))\n",
48
+ " if not png_files:\n",
49
+ " logger.error(f\"No PNG files found in {input_folder}\")\n",
50
+ " return\n",
51
+ "\n",
52
+ " num_images = len(png_files)\n",
53
+ " logger.info(f\"Found {num_images} PNG files.\")\n",
54
+ "\n",
55
+ " # Calculate expected duration\n",
56
+ " expected_duration = (num_images * frames_per_image) / fps\n",
57
+ " logger.info(f\"Expected duration: {expected_duration:.2f} seconds\")\n",
58
+ "\n",
59
+ " # FFmpeg command for near-lossless 10-bit H.265 encoding\n",
60
+ " ffmpeg_command = [\n",
61
+ " 'ffmpeg',\n",
62
+ " '-framerate', f'{1/(frames_per_image/fps)}', # Input framerate\n",
63
+ " '-i', os.path.join(input_folder, '%*.png'), # Input pattern for all PNG files\n",
64
+ " '-fps_mode', 'vfr',\n",
65
+ " '-pix_fmt', 'yuv420p10le', # 10-bit pixel format\n",
66
+ " '-c:v', 'libx265', # Use libx265 encoder\n",
67
+ " '-preset', 'slow', # Slowest preset for best compression efficiency\n",
68
+ " '-crf', str(crf), # Constant Rate Factor (0-51, lower is higher quality)\n",
69
+ " '-profile:v', 'main10', # 10-bit profile\n",
70
+ " '-x265-params', f\"log-level=error:keyint={2*fps}:min-keyint={fps}:scenecut=0\", # Ensure consistent encoding\n",
71
+ " '-tag:v', 'hvc1',\n",
72
+ " '-y',\n",
73
+ " output_file\n",
74
+ " ]\n",
75
+ "\n",
76
+ " try:\n",
77
+ " logger.info(\"Starting near-lossless 10-bit video creation...\")\n",
78
+ " process = subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)\n",
79
+ " \n",
80
+ " encoding_speed = None\n",
81
+ " \n",
82
+ " for line in process.stderr:\n",
83
+ " print(line, end='') # Print FFmpeg output in real-time\n",
84
+ " \n",
85
+ " speed_match = re.search(r'speed=\\s*([\\d.]+)x', line)\n",
86
+ " if speed_match:\n",
87
+ " encoding_speed = float(speed_match.group(1))\n",
88
+ " \n",
89
+ " process.wait()\n",
90
+ " \n",
91
+ " if encoding_speed:\n",
92
+ " logger.info(f\"Encoding speed: {encoding_speed:.2f}x\")\n",
93
+ " \n",
94
+ " if process.returncode == 0:\n",
95
+ " logger.info(f\"Video created successfully: {output_file}\")\n",
96
+ " \n",
97
+ " probe_command = ['ffprobe', '-v', 'error', '-show_entries', 'stream=codec_name,width,height,duration,bit_rate,profile', '-of', 'default=noprint_wrappers=1', output_file]\n",
98
+ " probe_result = subprocess.run(probe_command, capture_output=True, text=True)\n",
99
+ " logger.info(f\"Video properties:\\n{probe_result.stdout}\")\n",
100
+ " \n",
101
+ " duration_command = ['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', output_file]\n",
102
+ " duration_result = subprocess.run(duration_command, capture_output=True, text=True)\n",
103
+ " actual_duration = float(duration_result.stdout.strip())\n",
104
+ " logger.info(f\"Actual video duration: {actual_duration:.2f} seconds\")\n",
105
+ " if abs(actual_duration - expected_duration) > 1:\n",
106
+ " logger.warning(f\"Video duration mismatch. Expected: {expected_duration:.2f}, Actual: {actual_duration:.2f}\")\n",
107
+ " else:\n",
108
+ " logger.info(\"Video duration check passed.\")\n",
109
+ " else:\n",
110
+ " logger.error(f\"Error during video creation. FFmpeg returned code {process.returncode}\")\n",
111
+ "\n",
112
+ " except subprocess.CalledProcessError as e:\n",
113
+ " logger.error(f\"Error during video creation: {e}\")\n",
114
+ " logger.error(f\"FFmpeg error output:\\n{e.stderr}\")\n",
115
+ "\n",
116
+ "if __name__ == \"__main__\":\n",
117
+ " input_folder = 'train'\n",
118
+ " output_file = 'near_lossless_output.mp4'\n",
119
+ " fps = 30\n",
120
+ " frames_per_image = 3\n",
121
+ " crf = 18 # Very low CRF for near-lossless quality (0 is lossless, but often overkill)\n",
122
+ "\n",
123
+ " create_near_lossless_h265_video(input_folder, output_file, fps, frames_per_image, crf)\n"
124
+ ]
125
+ },
126
+ {
127
+ "cell_type": "markdown",
128
+ "metadata": {},
129
+ "source": [
130
+ "## Transfer File"
131
+ ]
132
+ },
133
+ {
134
+ "cell_type": "code",
135
+ "execution_count": null,
136
+ "metadata": {},
137
+ "outputs": [],
138
+ "source": [
139
+ "import os\n",
140
+ "import subprocess\n",
141
+ "import logging\n",
142
+ "from glob import glob\n",
143
+ "import re\n",
144
+ "\n",
145
+ "# Configure logging\n",
146
+ "logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')\n",
147
+ "logger = logging.getLogger(__name__)\n",
148
+ "\n",
149
+ "def create_high_quality_video(input_folder, output_file, fps=60, frames_per_image=3, codec='ffv1'):\n",
150
+ " if not os.path.exists(input_folder):\n",
151
+ " logger.error(f\"Input folder '{input_folder}' does not exist.\")\n",
152
+ " return\n",
153
+ "\n",
154
+ " png_files = sorted(glob(os.path.join(input_folder, '*.png')))\n",
155
+ " if not png_files:\n",
156
+ " logger.error(f\"No PNG files found in {input_folder}\")\n",
157
+ " return\n",
158
+ "\n",
159
+ " num_images = len(png_files)\n",
160
+ " logger.info(f\"Found {num_images} PNG files.\")\n",
161
+ "\n",
162
+ " # Calculate expected duration\n",
163
+ " expected_duration = (num_images * frames_per_image) / fps\n",
164
+ " logger.info(f\"Expected duration: {expected_duration:.2f} seconds\")\n",
165
+ "\n",
166
+ " # Base FFmpeg command\n",
167
+ " ffmpeg_command = [\n",
168
+ " 'ffmpeg',\n",
169
+ " '-framerate', f'{1/(frames_per_image/fps)}', # Input framerate\n",
170
+ " '-i', os.path.join(input_folder, '%*.png'), # Input pattern for all PNG files\n",
171
+ " '-fps_mode', 'vfr',\n",
172
+ " ]\n",
173
+ "\n",
174
+ " # Codec-specific settings\n",
175
+ " if codec == 'ffv1':\n",
176
+ " output_file = output_file.rsplit('.', 1)[0] + '.mkv' # FFV1 is typically used with MKV container\n",
177
+ " ffmpeg_command.extend([\n",
178
+ " '-c:v', 'ffv1',\n",
179
+ " '-level', '3',\n",
180
+ " '-coder', '1',\n",
181
+ " '-context', '1',\n",
182
+ " '-g', '1',\n",
183
+ " '-slices', '24',\n",
184
+ " '-slicecrc', '1'\n",
185
+ " ])\n",
186
+ " logger.info(\"Using FFV1 codec (lossless)\")\n",
187
+ " elif codec == 'prores':\n",
188
+ " output_file = output_file.rsplit('.', 1)[0] + '.mov' # ProRes is typically used with MOV container\n",
189
+ " ffmpeg_command.extend([\n",
190
+ " '-c:v', 'prores_ks',\n",
191
+ " '-profile:v', '4444', # Highest quality ProRes\n",
192
+ " '-qscale:v', '5' # Lower values mean higher quality, 5 is very high quality\n",
193
+ " ])\n",
194
+ " logger.info(\"Using ProRes codec (near-lossless)\")\n",
195
+ " else:\n",
196
+ " logger.error(f\"Unsupported codec: {codec}\")\n",
197
+ " return\n",
198
+ "\n",
199
+ " ffmpeg_command.extend(['-y', output_file])\n",
200
+ "\n",
201
+ " try:\n",
202
+ " logger.info(f\"Starting high-quality video creation with {codec} codec...\")\n",
203
+ " process = subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)\n",
204
+ " \n",
205
+ " encoding_speed = None\n",
206
+ " \n",
207
+ " for line in process.stderr:\n",
208
+ " print(line, end='') # Print FFmpeg output in real-time\n",
209
+ " \n",
210
+ " speed_match = re.search(r'speed=\\s*([\\d.]+)x', line)\n",
211
+ " if speed_match:\n",
212
+ " encoding_speed = float(speed_match.group(1))\n",
213
+ " \n",
214
+ " process.wait()\n",
215
+ " \n",
216
+ " if encoding_speed:\n",
217
+ " logger.info(f\"Encoding speed: {encoding_speed:.4f}x\")\n",
218
+ " \n",
219
+ " if process.returncode == 0:\n",
220
+ " logger.info(f\"Video created successfully: {output_file}\")\n",
221
+ " \n",
222
+ " probe_command = ['ffprobe', '-v', 'error', '-show_entries', 'stream=codec_name,width,height,duration,bit_rate', '-of', 'default=noprint_wrappers=1', output_file]\n",
223
+ " probe_result = subprocess.run(probe_command, capture_output=True, text=True)\n",
224
+ " logger.info(f\"Video properties:\\n{probe_result.stdout}\")\n",
225
+ " \n",
226
+ " duration_command = ['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', output_file]\n",
227
+ " duration_result = subprocess.run(duration_command, capture_output=True, text=True)\n",
228
+ " actual_duration = float(duration_result.stdout.strip())\n",
229
+ " logger.info(f\"Actual video duration: {actual_duration:.2f} seconds\")\n",
230
+ " if abs(actual_duration - expected_duration) > 1:\n",
231
+ " logger.warning(f\"Video duration mismatch. Expected: {expected_duration:.2f}, Actual: {actual_duration:.2f}\")\n",
232
+ " else:\n",
233
+ " logger.info(\"Video duration check passed.\")\n",
234
+ " else:\n",
235
+ " logger.error(f\"Error during video creation. FFmpeg returned code {process.returncode}\")\n",
236
+ "\n",
237
+ " except subprocess.CalledProcessError as e:\n",
238
+ " logger.error(f\"Error during video creation: {e}\")\n",
239
+ " logger.error(f\"FFmpeg error output:\\n{e.stderr}\")\n",
240
+ "\n",
241
+ "if __name__ == \"__main__\":\n",
242
+ " input_folder = 'train'\n",
243
+ " output_file = 'high_quality_output.mp4'\n",
244
+ " fps = 60\n",
245
+ " frames_per_image = 3\n",
246
+ " codec = 'prores' # Options: 'ffv1' (lossless) or 'prores' (near-lossless)\n",
247
+ "\n",
248
+ " create_high_quality_video(input_folder, output_file, fps, frames_per_image, codec)"
249
+ ]
250
+ }
251
+ ],
252
+ "metadata": {
253
+ "kernelspec": {
254
+ "display_name": "Python 3",
255
+ "language": "python",
256
+ "name": "python3"
257
+ },
258
+ "language_info": {
259
+ "codemirror_mode": {
260
+ "name": "ipython",
261
+ "version": 3
262
+ },
263
+ "file_extension": ".py",
264
+ "mimetype": "text/x-python",
265
+ "name": "python",
266
+ "nbconvert_exporter": "python",
267
+ "pygments_lexer": "ipython3",
268
+ "version": "3.10.14"
269
+ }
270
+ },
271
+ "nbformat": 4,
272
+ "nbformat_minor": 2
273
+ }
high_quality_output.mov ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36287f2efdc17b550e2de146cb9c6d72a83c775ff4ed707637320004125d32eb
3
+ size 643265399
image_metadata_extraction.ipynb ADDED
@@ -0,0 +1,644 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "Dependencies"
8
+ ]
9
+ },
10
+ {
11
+ "cell_type": "code",
12
+ "execution_count": 1,
13
+ "metadata": {},
14
+ "outputs": [
15
+ {
16
+ "name": "stdout",
17
+ "output_type": "stream",
18
+ "text": [
19
+ "Requirement already satisfied: pillow in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (10.4.0)\n",
20
+ "Requirement already satisfied: datasets in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (2.20.0)\n",
21
+ "Requirement already satisfied: pandas in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (2.2.2)\n",
22
+ "Requirement already satisfied: pypng in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (0.20220715.0)\n",
23
+ "Requirement already satisfied: uuid in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (1.30)\n",
24
+ "Requirement already satisfied: requests>=2.32.2 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (2.32.3)\n",
25
+ "Requirement already satisfied: huggingface-hub>=0.21.2 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (0.23.5)\n",
26
+ "Requirement already satisfied: numpy>=1.17 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (1.26.4)\n",
27
+ "Requirement already satisfied: pyarrow>=15.0.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (17.0.0)\n",
28
+ "Requirement already satisfied: dill<0.3.9,>=0.3.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (0.3.8)\n",
29
+ "Requirement already satisfied: packaging in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (23.2)\n",
30
+ "Requirement already satisfied: filelock in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (3.15.4)\n",
31
+ "Requirement already satisfied: tqdm>=4.66.3 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (4.66.4)\n",
32
+ "Requirement already satisfied: multiprocess in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (0.70.16)\n",
33
+ "Requirement already satisfied: xxhash in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (3.4.1)\n",
34
+ "Requirement already satisfied: pyyaml>=5.1 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (6.0.1)\n",
35
+ "Requirement already satisfied: fsspec[http]<=2024.5.0,>=2023.1.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (2024.5.0)\n",
36
+ "Requirement already satisfied: pyarrow-hotfix in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (0.6)\n",
37
+ "Requirement already satisfied: aiohttp in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from datasets) (3.9.5)\n",
38
+ "Requirement already satisfied: tzdata>=2022.7 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from pandas) (2024.1)\n",
39
+ "Requirement already satisfied: pytz>=2020.1 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from pandas) (2024.1)\n",
40
+ "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from pandas) (2.9.0.post0)\n",
41
+ "Requirement already satisfied: aiosignal>=1.1.2 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (1.3.1)\n",
42
+ "Requirement already satisfied: attrs>=17.3.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (23.2.0)\n",
43
+ "Requirement already satisfied: frozenlist>=1.1.1 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (1.4.1)\n",
44
+ "Requirement already satisfied: multidict<7.0,>=4.5 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (6.0.5)\n",
45
+ "Requirement already satisfied: async-timeout<5.0,>=4.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (4.0.3)\n",
46
+ "Requirement already satisfied: yarl<2.0,>=1.0 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from aiohttp->datasets) (1.9.4)\n",
47
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from huggingface-hub>=0.21.2->datasets) (4.12.2)\n",
48
+ "Requirement already satisfied: six>=1.5 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)\n",
49
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from requests>=2.32.2->datasets) (2.2.2)\n",
50
+ "Requirement already satisfied: certifi>=2017.4.17 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from requests>=2.32.2->datasets) (2024.6.2)\n",
51
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from requests>=2.32.2->datasets) (3.3.2)\n",
52
+ "Requirement already satisfied: idna<4,>=2.5 in /Users/jordanlegg/.pyenv/versions/3.10.14/lib/python3.10/site-packages (from requests>=2.32.2->datasets) (3.7)\n",
53
+ "\n",
54
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.0.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m24.2\u001b[0m\n",
55
+ "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n",
56
+ "Note: you may need to restart the kernel to use updated packages.\n"
57
+ ]
58
+ }
59
+ ],
60
+ "source": [
61
+ "pip install pillow datasets pandas pypng uuid\n"
62
+ ]
63
+ },
64
+ {
65
+ "cell_type": "markdown",
66
+ "metadata": {},
67
+ "source": [
68
+ "Preproccessing"
69
+ ]
70
+ },
71
+ {
72
+ "cell_type": "code",
73
+ "execution_count": 2,
74
+ "metadata": {},
75
+ "outputs": [
76
+ {
77
+ "name": "stdout",
78
+ "output_type": "stream",
79
+ "text": [
80
+ "Moved and renamed: images/daytime-people_00785_.png -> train/ca7ceb63-2caf-42ac-9564-a2f4e83abc16.png\n",
81
+ "Moved and renamed: images/daytime-people_00910_.png -> train/6d637505-e10b-425b-9c0f-1316734419f1.png\n",
82
+ "Moved and renamed: images/daytime-people_00855_.png -> train/47617acc-b618-43d8-a0a8-bbc0333952bb.png\n",
83
+ "Moved and renamed: images/daytime-people_00506_.png -> train/4ffabe94-d017-4e54-99ff-241c382a6736.png\n",
84
+ "Moved and renamed: images/daytime-people_00678_.png -> train/158fe156-4d0b-4d28-8ff4-6978c3af284c.png\n",
85
+ "Moved and renamed: images/daytime-people_00697_.png -> train/8c95c62b-cce5-40c8-a84c-3fa88b4f3074.png\n",
86
+ "Moved and renamed: images/daytime-people_00551_.png -> train/68f37724-0cb5-4aa4-9024-472c435a25aa.png\n",
87
+ "Moved and renamed: images/daytime-people_00802_.png -> train/f846e560-56e2-41ca-b129-cd5def8c55ff.png\n",
88
+ "Moved and renamed: images/daytime-people_00681_.png -> train/1de9381e-75d6-4864-8aff-5a3c7800006f.png\n",
89
+ "Moved and renamed: images/daytime-people_00814_.png -> train/cb212c6d-4536-4985-8d3e-90cd2f54a42c.png\n",
90
+ "Moved and renamed: images/daytime-people_00547_.png -> train/1d369ecc-3842-4db7-93c3-f6502e55aac9.png\n",
91
+ "Moved and renamed: images/daytime-people_00639_.png -> train/4f8676fa-e460-4609-8ed2-b84ad5063c22.png\n",
92
+ "Moved and renamed: images/daytime-people_00793_.png -> train/37bd88cd-f0d8-4ea9-94bd-e31e7b8922f8.png\n",
93
+ "Moved and renamed: images/daytime-people_00906_.png -> train/18e68c49-262c-433c-b86c-8e1b6a76de0c.png\n",
94
+ "Moved and renamed: images/daytime-people_00510_.png -> train/163e2c45-892b-447a-8f36-b74a0c16a7ed.png\n",
95
+ "Moved and renamed: images/daytime-people_00843_.png -> train/27153d46-b801-427e-946d-f4818a056a83.png\n",
96
+ "Moved and renamed: images/daytime-people_00707_.png -> train/a17ac388-86f9-424e-9251-6faa2334acd7.png\n",
97
+ "Moved and renamed: images/daytime-people_00642_.png -> train/31145774-bbea-49b3-8f7d-94593c7bca12.png\n",
98
+ "Moved and renamed: images/daytime-people_00838_.png -> train/f43eb2ea-d1a4-4aad-a548-868a78191860.png\n",
99
+ "Moved and renamed: images/daytime-people_00584_.png -> train/6a803902-7128-4987-acba-8fba9a580718.png\n",
100
+ "Moved and renamed: images/daytime-people_00750_.png -> train/1ac6dc41-871a-48cf-a8ee-c1b6f235e85b.png\n",
101
+ "Moved and renamed: images/daytime-people_00615_.png -> train/20f0b984-a310-43d0-94a2-07c88f34e60e.png\n",
102
+ "Moved and renamed: images/daytime-people_00880_.png -> train/fa554b1b-df9e-4f04-9869-7d7aa31fa264.png\n",
103
+ "Moved and renamed: images/daytime-people_00746_.png -> train/687a54b2-5dc0-4bde-847a-f0174f2f79e2.png\n",
104
+ "Moved and renamed: images/daytime-people_00603_.png -> train/4f8ad803-b24b-47c9-a1ea-366c2a828ab2.png\n",
105
+ "Moved and renamed: images/daytime-people_00879_.png -> train/70a30b77-824e-420c-8b83-d81fc053c25a.png\n",
106
+ "Moved and renamed: images/daytime-people_00896_.png -> train/a13f2cc7-d928-45c0-9164-b44e5f5b7365.png\n",
107
+ "Moved and renamed: images/daytime-people_00711_.png -> train/4bea66a7-a819-44e4-b9c1-512254565524.png\n",
108
+ "Moved and renamed: images/daytime-people_00654_.png -> train/fd1fc382-0b15-4051-bbfb-dd6d53daad2d.png\n",
109
+ "Moved and renamed: images/daytime-people_00592_.png -> train/3e3f8acc-abd0-461d-a6c7-bcbb93ffbd26.png\n",
110
+ "Moved and renamed: images/daytime-people_00859_.png -> train/5da0fc6e-06b0-47ef-813a-cab17b6593c5.png\n",
111
+ "Moved and renamed: images/daytime-people_00623_.png -> train/c74bc564-ecbc-42c3-bd31-f541886af4da.png\n",
112
+ "Moved and renamed: images/daytime-people_00789_.png -> train/c4c338a4-c554-4702-86c0-f20c2b1b110c.png\n",
113
+ "Moved and renamed: images/daytime-people_00766_.png -> train/df9a748d-1844-4509-9cba-554fefa80430.png\n",
114
+ "Moved and renamed: images/daytime-people_00674_.png -> train/9bc57139-1a75-441a-8e3d-d2168aaff747.png\n",
115
+ "Moved and renamed: images/daytime-people_00731_.png -> train/c1f366a5-909f-4ac2-bc8b-015723e6bd68.png\n",
116
+ "Moved and renamed: images/daytime-people_00818_.png -> train/f4423aed-9bc5-42ff-aa5b-bc82105030c0.png\n",
117
+ "Moved and renamed: images/daytime-people_00662_.png -> train/9416da19-f0b1-465e-afc2-d80534c990db.png\n",
118
+ "Moved and renamed: images/daytime-people_00727_.png -> train/22904448-d4eb-460e-990b-dde4c7cf3320.png\n",
119
+ "Moved and renamed: images/daytime-people_00635_.png -> train/b5b320ed-9758-427a-ae3e-19b4f7431c19.png\n",
120
+ "Moved and renamed: images/daytime-people_00770_.png -> train/81dbd3c7-1824-4803-b27d-42ad0b148a20.png\n",
121
+ "Moved and renamed: images/daytime-people_00834_.png -> train/87352cc1-1c9d-4c50-8889-e14d633a7b87.png\n",
122
+ "Moved and renamed: images/daytime-people_00567_.png -> train/85ded7af-2c93-4f54-b1c1-ee07fe78bd48.png\n",
123
+ "Moved and renamed: images/daytime-people_00588_.png -> train/d6d874d6-f267-47c8-b068-df73c9376ae9.png\n",
124
+ "Moved and renamed: images/daytime-people_00530_.png -> train/f4fb28ad-6d3b-48ae-b30b-78b156827399.png\n",
125
+ "Moved and renamed: images/daytime-people_00863_.png -> train/d469518f-e545-41bb-b768-51ace59b6fd9.png\n",
126
+ "Moved and renamed: images/daytime-people_00619_.png -> train/626d3471-aee4-4e9f-a11a-d126506a72c8.png\n",
127
+ "Moved and renamed: images/daytime-people_00875_.png -> train/ead3366d-b386-45d9-a189-5175824fd17a.png\n",
128
+ "Moved and renamed: images/daytime-people_00526_.png -> train/ddd37b8f-d8d5-4076-b737-3eb9f4de9a4a.png\n",
129
+ "Moved and renamed: images/daytime-people_00571_.png -> train/07ea2271-0f27-4603-bb24-5619d2144fa7.png\n",
130
+ "Moved and renamed: images/daytime-people_00822_.png -> train/19c2ebd0-d4c8-4d76-84fe-ce10eb7c3cfa.png\n",
131
+ "Moved and renamed: images/daytime-people_00658_.png -> train/256d23b0-4339-4350-91e8-3fc4c5a48379.png\n",
132
+ "Moved and renamed: images/daytime-people_00659_.png -> train/6ca85082-2a15-476c-b881-1026013585cb.png\n",
133
+ "Moved and renamed: images/daytime-people_00570_.png -> train/ec95120f-7eea-409d-9283-6404c45380ff.png\n",
134
+ "Moved and renamed: images/daytime-people_00823_.png -> train/76372cb6-0393-42cf-8f42-10680910de6b.png\n",
135
+ "Moved and renamed: images/daytime-people_00874_.png -> train/6e749d96-34bd-4311-af5c-fd75f1036781.png\n",
136
+ "Moved and renamed: images/daytime-people_00527_.png -> train/b88ba8c6-2a11-4b00-9415-1e5831d62215.png\n",
137
+ "Moved and renamed: images/daytime-people_00618_.png -> train/241e9cff-349e-4ff9-8c44-ea307177310c.png\n",
138
+ "Moved and renamed: images/daytime-people_00531_.png -> train/7986c473-4417-4805-aec7-9d7fa380c4c3.png\n",
139
+ "Moved and renamed: images/daytime-people_00862_.png -> train/5d75bc4b-79fc-4415-8168-ff6b5d957cc2.png\n",
140
+ "Moved and renamed: images/daytime-people_00835_.png -> train/44f1cde9-c96b-478c-9711-c3eede851587.png\n",
141
+ "Moved and renamed: images/daytime-people_00566_.png -> train/2cee3d18-4174-4b58-8740-9c5de1a5db6c.png\n",
142
+ "Moved and renamed: images/daytime-people_00589_.png -> train/9cba1e14-94f8-4f1a-b3f2-d94b0766fc13.png\n",
143
+ "Moved and renamed: images/daytime-people_00634_.png -> train/75659c00-6f0c-42af-af34-77bda1d6875b.png\n",
144
+ "Moved and renamed: images/daytime-people_00771_.png -> train/d0768c49-4b3c-4bb6-80af-2ef2770c4a58.png\n",
145
+ "Moved and renamed: images/daytime-people_00663_.png -> train/fcfa71e7-545e-43c9-9dd3-2638a280b822.png\n",
146
+ "Moved and renamed: images/daytime-people_00726_.png -> train/0128c3a2-3791-4726-8578-c804b12031bc.png\n",
147
+ "Moved and renamed: images/daytime-people_00819_.png -> train/4ea277e8-4e9a-42c1-9fa5-bb0c93cafa13.png\n",
148
+ "Moved and renamed: images/daytime-people_00675_.png -> train/721bf7f6-1fb5-436b-87e3-69cb1821d5ce.png\n",
149
+ "Moved and renamed: images/daytime-people_00730_.png -> train/2c2177e9-adb2-4fda-b175-a8eb0435558f.png\n",
150
+ "Moved and renamed: images/daytime-people_00622_.png -> train/11365b0a-cc4e-4493-88f0-a185fb4466b0.png\n",
151
+ "Moved and renamed: images/daytime-people_00788_.png -> train/5ab61b92-1437-411b-8217-b5f5e4869f98.png\n",
152
+ "Moved and renamed: images/daytime-people_00767_.png -> train/c026c790-95e4-442f-931a-7f387567d6fc.png\n",
153
+ "Moved and renamed: images/daytime-people_00858_.png -> train/3c859657-383f-4e67-898f-a0d915d27fbc.png\n",
154
+ "Moved and renamed: images/daytime-people_00593_.png -> train/7c6d88ae-3e6a-4232-8ff7-9eeae114da75.png\n",
155
+ "Moved and renamed: images/daytime-people_00710_.png -> train/bc0839da-9124-4036-b0cd-283b2cd726ac.png\n",
156
+ "Moved and renamed: images/daytime-people_00655_.png -> train/997a9e66-1083-416c-8d98-c84141c4ea6a.png\n",
157
+ "Moved and renamed: images/daytime-people_00878_.png -> train/da588854-6fd8-4643-96b7-336dc0634831.png\n",
158
+ "Moved and renamed: images/daytime-people_00897_.png -> train/23989f58-19e6-43d6-86f9-69cadcdfb943.png\n",
159
+ "Moved and renamed: images/daytime-people_00747_.png -> train/dfb25787-47cf-41ba-98b1-088eba36c7bc.png\n",
160
+ "Moved and renamed: images/daytime-people_00602_.png -> train/af4a4bf0-488c-4a6e-96b4-f73df40bea4a.png\n",
161
+ "Moved and renamed: images/daytime-people_00881_.png -> train/21efdbee-7300-4471-8cef-b9d2b3af2668.png\n",
162
+ "Moved and renamed: images/daytime-people_00751_.png -> train/8d4bc8d0-9684-4bf0-990e-8ed246f9b3d3.png\n",
163
+ "Moved and renamed: images/daytime-people_00614_.png -> train/ab61395f-7ab6-47ce-b640-beb0c18f69be.png\n",
164
+ "Moved and renamed: images/daytime-people_00839_.png -> train/0c9c54c8-c3ac-4378-a7d1-282183377d71.png\n",
165
+ "Moved and renamed: images/daytime-people_00585_.png -> train/961f1561-a4d3-421f-803c-2be24a23d942.png\n",
166
+ "Moved and renamed: images/daytime-people_00706_.png -> train/0a8c543b-5c76-406c-b422-c632c8be4db7.png\n",
167
+ "Moved and renamed: images/daytime-people_00643_.png -> train/317cfb01-34c4-49dd-9f5a-e8cb442ec782.png\n",
168
+ "Moved and renamed: images/daytime-people_00907_.png -> train/8842db74-244d-43c3-832f-e52c908793de.png\n",
169
+ "Moved and renamed: images/daytime-people_00511_.png -> train/3c02aead-00e9-40c6-baac-bb8ac5f1de64.png\n",
170
+ "Moved and renamed: images/daytime-people_00842_.png -> train/bffd75bf-9ac9-4033-a533-a7c3e646c89b.png\n",
171
+ "Moved and renamed: images/daytime-people_00638_.png -> train/dae092e3-9857-4224-9397-4410bc040918.png\n",
172
+ "Moved and renamed: images/daytime-people_00792_.png -> train/14a13771-92d1-4d81-aec2-700cc266a654.png\n",
173
+ "Moved and renamed: images/daytime-people_00815_.png -> train/864626af-cba0-480c-827e-e0c380d34dbb.png\n",
174
+ "Moved and renamed: images/daytime-people_00546_.png -> train/f8ded4fd-b431-4abe-8315-ecc59752d097.png\n",
175
+ "Moved and renamed: images/daytime-people_00680_.png -> train/528579ce-043c-42da-a418-5d700b541c7c.png\n",
176
+ "Moved and renamed: images/daytime-people_00550_.png -> train/baf05d88-327b-489e-ab68-144f73d867d0.png\n",
177
+ "Moved and renamed: images/daytime-people_00803_.png -> train/059c5b18-0557-481d-8f2a-accabe6c75da.png\n",
178
+ "Moved and renamed: images/daytime-people_00679_.png -> train/179ef27a-28c7-44a6-979b-9cab61040466.png\n",
179
+ "Moved and renamed: images/daytime-people_00696_.png -> train/34cbbde0-7128-4d2b-9b39-5b235b6e6b93.png\n",
180
+ "Moved and renamed: images/daytime-people_00911_.png -> train/3b1f40f5-d8fb-4de4-b062-161b298ed2db.png\n",
181
+ "Moved and renamed: images/daytime-people_00854_.png -> train/dfd804f8-b54d-481b-a0a8-73c469cb6d41.png\n",
182
+ "Moved and renamed: images/daytime-people_00507_.png -> train/28b61b2f-716b-4d11-957b-16865ef2f0ec.png\n",
183
+ "Moved and renamed: images/daytime-people_00784_.png -> train/cde4606e-ef6c-4903-85b9-775eef67a2af.png\n",
184
+ "Moved and renamed: images/daytime-people_00625_.png -> train/34ae440e-e63d-4ca3-b264-a050230d114b.png\n",
185
+ "Moved and renamed: images/daytime-people_00760_.png -> train/94619785-f392-4f74-9237-b0376dbb482d.png\n",
186
+ "Moved and renamed: images/daytime-people_00808_.png -> train/25f79e2d-42d6-4384-9f86-c15996474016.png\n",
187
+ "Moved and renamed: images/daytime-people_00672_.png -> train/2882a4c2-5a07-4817-ac9b-12a9e1c39624.png\n",
188
+ "Moved and renamed: images/daytime-people_00737_.png -> train/d9b74518-0885-4d60-bc49-ef32346ab9df.png\n",
189
+ "Moved and renamed: images/daytime-people_00664_.png -> train/75f491f3-5ffb-4e42-be85-ea1c2da988e8.png\n",
190
+ "Moved and renamed: images/daytime-people_00721_.png -> train/68b23c1b-bebe-477c-823e-28b4f2575ffb.png\n",
191
+ "Moved and renamed: images/daytime-people_00849_.png -> train/5171e1d7-c32c-4697-8b8b-4b2ced8c1bb8.png\n",
192
+ "Moved and renamed: images/daytime-people_00799_.png -> train/3ed6a648-aefa-49c1-9406-92666a0db956.png\n",
193
+ "Moved and renamed: images/daytime-people_00633_.png -> train/aa651ec0-08e8-400a-905d-31043f497b67.png\n",
194
+ "Moved and renamed: images/daytime-people_00776_.png -> train/f9b6b261-3bb7-404b-9b89-0da8a870d9eb.png\n",
195
+ "Moved and renamed: images/daytime-people_00561_.png -> train/c78b5d33-109b-4c75-a304-521e0ddb2ff4.png\n",
196
+ "Moved and renamed: images/daytime-people_00832_.png -> train/f8f0fcd0-e1c7-42ff-9963-9031c4386410.png\n",
197
+ "Moved and renamed: images/daytime-people_00648_.png -> train/000d75d1-4e45-4ca7-8dad-f49094944f9b.png\n",
198
+ "Moved and renamed: images/daytime-people_00865_.png -> train/090b9852-6d26-47e5-83b1-d81934f403a2.png\n",
199
+ "Moved and renamed: images/daytime-people_00536_.png -> train/aeaa2c79-b016-4860-8bfa-8faf4af9a538.png\n",
200
+ "Moved and renamed: images/daytime-people_00520_.png -> train/fab6c815-80ab-4430-ad9a-685dff21483a.png\n",
201
+ "Moved and renamed: images/daytime-people_00873_.png -> train/3e1b70ef-2625-409b-92aa-9886c8d9d9c8.png\n",
202
+ "Moved and renamed: images/daytime-people_00609_.png -> train/ed2ea0a1-26df-4ce0-922d-a80046c09018.png\n",
203
+ "Moved and renamed: images/daytime-people_00824_.png -> train/211d347c-57f2-4a86-87b3-8c83eb0f8933.png\n",
204
+ "Moved and renamed: images/daytime-people_00577_.png -> train/893395bf-ab0b-48e0-99f8-b1e85653bd01.png\n",
205
+ "Moved and renamed: images/daytime-people_00598_.png -> train/4f3c2db2-e958-4d31-9203-14b10f4852eb.png\n",
206
+ "Moved and renamed: images/daytime-people_00783_.png -> train/c9bf523a-ddf9-400e-af98-fe163185a34b.png\n",
207
+ "Moved and renamed: images/daytime-people_00629_.png -> train/fa218e6f-546e-466f-a5b8-39eda5bfeed2.png\n",
208
+ "Moved and renamed: images/daytime-people_00853_.png -> train/8171ed42-6f19-45d6-ab83-9d762b1967dd.png\n",
209
+ "Moved and renamed: images/daytime-people_00691_.png -> train/e3e6f9c3-c2c3-41af-8697-0bebad3b6376.png\n",
210
+ "Moved and renamed: images/daytime-people_00804_.png -> train/8e14d4d4-f1c4-48fa-8558-8d9bdb699771.png\n",
211
+ "Moved and renamed: images/daytime-people_00557_.png -> train/e7362444-3ada-4a98-8156-ab5e23cac322.png\n",
212
+ "Moved and renamed: images/daytime-people_00668_.png -> train/a81c0c33-ff7d-4d94-b00d-bb721c05f242.png\n",
213
+ "Moved and renamed: images/daytime-people_00687_.png -> train/dd17cb4c-c9ee-4adc-a1f3-0de8e6d3bbc2.png\n",
214
+ "Moved and renamed: images/daytime-people_00541_.png -> train/cfba8b35-08f3-4693-b23a-3fac9463c616.png\n",
215
+ "Moved and renamed: images/daytime-people_00812_.png -> train/b591e28b-e37f-4d61-bb72-36c99de4e1dd.png\n",
216
+ "Moved and renamed: images/daytime-people_00795_.png -> train/5c947902-4a39-495e-844a-3184124ddd81.png\n",
217
+ "Moved and renamed: images/daytime-people_00900_.png -> train/43b6e319-da78-41f6-b121-4b4ff64de288.png\n",
218
+ "Moved and renamed: images/daytime-people_00845_.png -> train/68fdd0e6-4717-438d-a1bc-f76bd8f9e99b.png\n",
219
+ "Moved and renamed: images/daytime-people_00516_.png -> train/d2323fd1-5773-481e-a582-c01185d26049.png\n",
220
+ "Moved and renamed: images/daytime-people_00701_.png -> train/cacbd7ab-b42a-4dcf-9264-f355cc6e02c8.png\n",
221
+ "Moved and renamed: images/daytime-people_00644_.png -> train/06897a0d-292a-422c-9d1b-d6f71dc3c006.png\n",
222
+ "Moved and renamed: images/daytime-people_00582_.png -> train/f6b453ed-3b95-4c79-b77c-09977c96afcf.png\n",
223
+ "Moved and renamed: images/daytime-people_00756_.png -> train/28d2042a-38a3-4513-8f67-5bb8994ae27e.png\n",
224
+ "Moved and renamed: images/daytime-people_00613_.png -> train/ee72adc1-984c-478c-b106-4e9c2528ee1f.png\n",
225
+ "Moved and renamed: images/daytime-people_00869_.png -> train/99b01173-5380-4d2c-8aa7-b2f05bf7bee1.png\n",
226
+ "Moved and renamed: images/daytime-people_00886_.png -> train/5373d33c-bc34-4fb9-88d2-1125be5f5331.png\n",
227
+ "Moved and renamed: images/daytime-people_00740_.png -> train/9382efbf-2de8-44fe-8177-36d24b486185.png\n",
228
+ "Moved and renamed: images/daytime-people_00605_.png -> train/f09cc916-f1d0-4be8-a989-dd9d5a135caf.png\n",
229
+ "Moved and renamed: images/daytime-people_00890_.png -> train/f6c21153-e973-46c4-aa38-cd4073c085b0.png\n",
230
+ "Moved and renamed: images/daytime-people_00717_.png -> train/6d3b9b7b-8935-4f68-bbce-f757e1d1a691.png\n",
231
+ "Moved and renamed: images/daytime-people_00652_.png -> train/0165aee6-725e-451a-af9b-3db7f1522105.png\n",
232
+ "Moved and renamed: images/daytime-people_00828_.png -> train/4bad344a-e0d7-4742-8461-603a4268ca66.png\n",
233
+ "Moved and renamed: images/daytime-people_00594_.png -> train/7ddc04ae-6dd1-4c95-a0a2-a2a25e835076.png\n",
234
+ "Moved and renamed: images/daytime-people_00829_.png -> train/7d3b40d5-6d21-47db-a084-1f67006ad7ec.png\n",
235
+ "Moved and renamed: images/daytime-people_00595_.png -> train/7dacefaf-4263-49ee-9c7f-68bf55085bfd.png\n",
236
+ "Moved and renamed: images/daytime-people_00716_.png -> train/de27eb1c-a603-44ba-855b-aac81481042d.png\n",
237
+ "Moved and renamed: images/daytime-people_00653_.png -> train/a9f1c91c-8d62-48fc-b65b-d2a27c0aeacb.png\n",
238
+ "Moved and renamed: images/daytime-people_00891_.png -> train/a61d3042-48af-4f1b-92b4-755e57344ba4.png\n",
239
+ "Moved and renamed: images/daytime-people_00741_.png -> train/60e2b094-95c1-4fcf-bb61-47576a303b25.png\n",
240
+ "Moved and renamed: images/daytime-people_00604_.png -> train/113dfb2f-d299-492e-8a6a-910b82dece0d.png\n",
241
+ "Moved and renamed: images/daytime-people_00868_.png -> train/a2f34f29-9392-4837-8a94-a140e274eda9.png\n",
242
+ "Moved and renamed: images/daytime-people_00887_.png -> train/619e80dd-28ad-444a-9db4-d9ceb858d329.png\n",
243
+ "Moved and renamed: images/daytime-people_00757_.png -> train/3ddd09b0-8101-4e23-b592-be97c03b84ba.png\n",
244
+ "Moved and renamed: images/daytime-people_00612_.png -> train/f5516e82-23d2-4a06-8185-084125b25e69.png\n",
245
+ "Moved and renamed: images/daytime-people_00583_.png -> train/8b37634f-2b76-4d55-8414-0ce55d415b59.png\n",
246
+ "Moved and renamed: images/daytime-people_00700_.png -> train/daf448e9-dbdb-4434-9d81-e747b5623e49.png\n",
247
+ "Moved and renamed: images/daytime-people_00645_.png -> train/918c23ab-7b75-4026-a044-5323597e3ee9.png\n",
248
+ "Moved and renamed: images/daytime-people_00901_.png -> train/bfecddeb-174e-46be-b0a1-b6b9323ba31c.png\n",
249
+ "Moved and renamed: images/daytime-people_00844_.png -> train/8812a7fc-e996-404f-a580-d89b4565f6ab.png\n",
250
+ "Moved and renamed: images/daytime-people_00517_.png -> train/7450b99d-f4b7-495b-9331-efdb84ae5d1a.png\n",
251
+ "Moved and renamed: images/daytime-people_00794_.png -> train/2934be30-90b3-4a10-a8a1-fc1da5020bf6.png\n",
252
+ "Moved and renamed: images/daytime-people_00540_.png -> train/849c9b7b-328c-41dc-9776-e82b221582ad.png\n",
253
+ "Moved and renamed: images/daytime-people_00813_.png -> train/f851d85d-0a77-40fe-bee7-c9c1853bc3fc.png\n",
254
+ "Moved and renamed: images/daytime-people_00669_.png -> train/eb512099-0587-406f-8a0f-9d9423972fa6.png\n",
255
+ "Moved and renamed: images/daytime-people_00686_.png -> train/0b29c4b1-12b3-4f3a-b430-c952be68148d.png\n",
256
+ "Moved and renamed: images/daytime-people_00805_.png -> train/24b82122-22f2-4b62-a3c3-91cb7dfade44.png\n",
257
+ "Moved and renamed: images/daytime-people_00556_.png -> train/d35496ff-d519-4c69-b5f0-fc44b35f3d44.png\n",
258
+ "Moved and renamed: images/daytime-people_00690_.png -> train/6959e6c7-4379-40ad-b8dd-cb1d3c2b9905.png\n",
259
+ "Moved and renamed: images/daytime-people_00501_.png -> train/a1aa2cc0-6c96-4ddf-bf1e-6b71f2cd9e93.png\n",
260
+ "Moved and renamed: images/daytime-people_00852_.png -> train/360adcb8-1995-45a2-88e3-f7365c20eb9a.png\n",
261
+ "Moved and renamed: images/daytime-people_00782_.png -> train/743feac0-c298-4ffa-840a-3b60fbb86493.png\n",
262
+ "Moved and renamed: images/daytime-people_00628_.png -> train/1b5f291a-31a4-4ef5-a6c8-87ccb6c96f1b.png\n",
263
+ "Moved and renamed: images/daytime-people_00825_.png -> train/53849b79-ab3f-4806-8d1c-fc438e4efb05.png\n",
264
+ "Moved and renamed: images/daytime-people_00576_.png -> train/c1ee302d-2ca6-4848-a005-920e0ec4b0e4.png\n",
265
+ "Moved and renamed: images/daytime-people_00599_.png -> train/81e569c8-b22f-4dc7-9972-60057c650a65.png\n",
266
+ "Moved and renamed: images/daytime-people_00608_.png -> train/6ec1d696-54e6-438d-a7e4-b6335086642a.png\n",
267
+ "Moved and renamed: images/daytime-people_00521_.png -> train/28dad44c-c2f2-4056-9af8-c064bf3ae067.png\n",
268
+ "Moved and renamed: images/daytime-people_00872_.png -> train/0ad9a0e7-a01b-4734-8e46-7be95a414729.png\n",
269
+ "Moved and renamed: images/daytime-people_00864_.png -> train/8fc8e877-164d-44da-9f72-d2f7058e7f19.png\n",
270
+ "Moved and renamed: images/daytime-people_00537_.png -> train/55263cc3-8e01-41b8-834d-bd152e3679ba.png\n",
271
+ "Moved and renamed: images/daytime-people_00649_.png -> train/4728426e-4c19-450a-adc7-79d9a645083f.png\n",
272
+ "Moved and renamed: images/daytime-people_00560_.png -> train/910d103c-c81b-467b-b1f5-cace33721f09.png\n",
273
+ "Moved and renamed: images/daytime-people_00833_.png -> train/c48ce4a7-2a2d-448f-bc1d-801d3314ce9a.png\n",
274
+ "Moved and renamed: images/daytime-people_00798_.png -> train/04c7c25e-0c83-4d36-81be-1dc8ea688bc7.png\n",
275
+ "Moved and renamed: images/daytime-people_00632_.png -> train/6dbda8dd-09e8-42af-a6ef-dfd62b96ea1f.png\n",
276
+ "Moved and renamed: images/daytime-people_00777_.png -> train/8ea1022c-b4cf-4080-b0b5-dd7ea7dd7204.png\n",
277
+ "Moved and renamed: images/daytime-people_00848_.png -> train/938427b2-bc57-4656-a96c-e6f084863141.png\n",
278
+ "Moved and renamed: images/daytime-people_00665_.png -> train/7002a24d-607d-4787-849d-49d83b0c36fc.png\n",
279
+ "Moved and renamed: images/daytime-people_00720_.png -> train/8dac1970-2cf9-4a7b-b2f4-6e9a553dcf6a.png\n",
280
+ "Moved and renamed: images/daytime-people_00673_.png -> train/6a7ca4f8-420b-4b05-bf44-dd1df3afe6a7.png\n",
281
+ "Moved and renamed: images/daytime-people_00736_.png -> train/7be65e14-12b2-4fd9-989e-1515365fd53e.png\n",
282
+ "Moved and renamed: images/daytime-people_00809_.png -> train/d7c1bfc8-2085-40c7-8dbf-163f487a1f57.png\n",
283
+ "Moved and renamed: images/daytime-people_00624_.png -> train/ca530db3-299f-4f35-b700-564074022909.png\n",
284
+ "Moved and renamed: images/daytime-people_00761_.png -> train/656a1eea-7a2b-4a39-bf0d-132feaae1441.png\n",
285
+ "Moved and renamed: images/daytime-people_00719_.png -> train/92b8ad6e-db54-4f98-90ad-d86469f7e335.png\n",
286
+ "Moved and renamed: images/daytime-people_00575_.png -> train/f3d2d7e3-fd4e-4444-97cb-3f7c3d3fae36.png\n",
287
+ "Moved and renamed: images/daytime-people_00826_.png -> train/cf3110d5-5724-41a3-bfd0-ec2caafc9e3c.png\n",
288
+ "Moved and renamed: images/daytime-people_00871_.png -> train/40086f89-e656-4161-9b13-1d11657ed1a8.png\n",
289
+ "Moved and renamed: images/daytime-people_00522_.png -> train/a6c6bdd2-84ba-47e7-830b-cb279df5edbb.png\n",
290
+ "Moved and renamed: images/daytime-people_00758_.png -> train/a7de5620-838e-4870-baa9-10885931919b.png\n",
291
+ "Moved and renamed: images/daytime-people_00888_.png -> train/7e6d387f-f964-473c-91dc-5561e1ff872c.png\n",
292
+ "Moved and renamed: images/daytime-people_00534_.png -> train/5a553379-31f8-4fb4-a486-38b9051c61cb.png\n",
293
+ "Moved and renamed: images/daytime-people_00867_.png -> train/cc399d8a-cfea-451b-a7a9-79784abbb591.png\n",
294
+ "Moved and renamed: images/daytime-people_00830_.png -> train/be963edd-f69b-470a-9d0c-2a9c682381b6.png\n",
295
+ "Moved and renamed: images/daytime-people_00563_.png -> train/8bbf9425-c936-4378-af78-20f98ec9e3e6.png\n",
296
+ "Moved and renamed: images/daytime-people_00774_.png -> train/e9eddbcf-9ff4-4782-8cab-aa393943f5ee.png\n",
297
+ "Moved and renamed: images/daytime-people_00631_.png -> train/d75d6440-437c-4082-8a71-a75104f54d48.png\n",
298
+ "Moved and renamed: images/daytime-people_00518_.png -> train/75f9e752-d8a7-4e30-9abe-6aa61118a62d.png\n",
299
+ "Moved and renamed: images/daytime-people_00723_.png -> train/1f3b8644-c139-49a0-b11c-424be0cf1b65.png\n",
300
+ "Moved and renamed: images/daytime-people_00689_.png -> train/b6e673b3-62d3-404f-907d-539e32ec765b.png\n",
301
+ "Moved and renamed: images/daytime-people_00666_.png -> train/a345fc4c-d3b9-40fb-910b-8e176ce36b5d.png\n",
302
+ "Moved and renamed: images/daytime-people_00735_.png -> train/487bf4e0-cfac-4989-b08c-d58653f58163.png\n",
303
+ "Moved and renamed: images/daytime-people_00670_.png -> train/fefb94c2-04fd-443e-b99b-24918276204b.png\n",
304
+ "Moved and renamed: images/daytime-people_00559_.png -> train/1e62c37d-0dc0-4b9b-a300-6609f8a48f62.png\n",
305
+ "Moved and renamed: images/daytime-people_00762_.png -> train/36b87ab9-3cdd-49c4-818b-54e746ea0d67.png\n",
306
+ "Moved and renamed: images/daytime-people_00627_.png -> train/ef5d84e2-2824-4b87-b01f-1fd88116d253.png\n",
307
+ "Moved and renamed: images/daytime-people_00596_.png -> train/7b1c92f4-107a-4856-9da6-73b8414e286d.png\n",
308
+ "Moved and renamed: images/daytime-people_00579_.png -> train/5b4205d8-283b-4d39-bcdf-3b7c85beb3ac.png\n",
309
+ "Moved and renamed: images/daytime-people_00650_.png -> train/68ca946b-b3ce-4b4e-94e2-89a3ed5d1cde.png\n",
310
+ "Moved and renamed: images/daytime-people_00715_.png -> train/b62e8e4d-70ef-4ba9-8cb7-d9194998b422.png\n",
311
+ "Moved and renamed: images/daytime-people_00892_.png -> train/5a1127ae-acac-4234-b3b1-4c7b7cdb3964.png\n",
312
+ "Moved and renamed: images/daytime-people_00607_.png -> train/a3e9d4b9-f6b9-4689-bc7d-847afe9d4b96.png\n",
313
+ "Moved and renamed: images/daytime-people_00742_.png -> train/8373c807-310c-4c6a-98c6-3366cc51dc8a.png\n",
314
+ "Moved and renamed: images/daytime-people_00884_.png -> train/c4e24221-5a3b-4099-ae9d-9b53f5021de8.png\n",
315
+ "Moved and renamed: images/daytime-people_00538_.png -> train/26d7cf3f-8ba1-48a4-97dc-5246e042ae5d.png\n",
316
+ "Moved and renamed: images/daytime-people_00611_.png -> train/7685f3d6-8b6a-4b8b-89ea-8ec7b6f9409d.png\n",
317
+ "Moved and renamed: images/daytime-people_00754_.png -> train/a6d5d84d-6731-42c2-a749-2ab17baa27a2.png\n",
318
+ "Moved and renamed: images/daytime-people_00580_.png -> train/155155f6-ed07-4bcc-88cf-eab0f981b35e.png\n",
319
+ "Moved and renamed: images/daytime-people_00646_.png -> train/3891d6f9-a395-467e-88d1-b9c62cf0ecc3.png\n",
320
+ "Moved and renamed: images/daytime-people_00703_.png -> train/6d82a09e-5d43-45b6-8ed8-08872db4e794.png\n",
321
+ "Moved and renamed: images/daytime-people_00514_.png -> train/80e7204d-797e-4c21-8da3-d143b0edb408.png\n",
322
+ "Moved and renamed: images/daytime-people_00847_.png -> train/148a356f-ab72-4f90-b34b-ca4f981bc4a6.png\n",
323
+ "Moved and renamed: images/daytime-people_00902_.png -> train/ad9f807c-2b49-4e2e-b484-141187e53c8d.png\n",
324
+ "Moved and renamed: images/daytime-people_00778_.png -> train/fcdbb670-0f56-4159-b13d-0bc403cef01a.png\n",
325
+ "Moved and renamed: images/daytime-people_00797_.png -> train/ad237793-86b3-422c-ac8e-43b52098eb72.png\n",
326
+ "Moved and renamed: images/daytime-people_00810_.png -> train/e887a8a0-ac7e-4991-8b03-ba4c4e6b6837.png\n",
327
+ "Moved and renamed: images/daytime-people_00543_.png -> train/cd5efa99-2530-4685-898f-b6431ced6734.png\n",
328
+ "Moved and renamed: images/daytime-people_00685_.png -> train/2e7f8986-b1ac-446a-ab65-62384f5be3ac.png\n",
329
+ "Moved and renamed: images/daytime-people_00555_.png -> train/fadbf0fd-ac03-4d9f-a06c-090d16401e1b.png\n",
330
+ "Moved and renamed: images/daytime-people_00806_.png -> train/5fe1f968-1779-45a2-a8b1-95ff84df6dbb.png\n",
331
+ "Moved and renamed: images/daytime-people_00739_.png -> train/9a29a7db-14d5-4121-ac36-1792403d3a6c.png\n",
332
+ "Moved and renamed: images/daytime-people_00693_.png -> train/12e836c1-f1a5-43ad-8a7e-387f5f1ed55d.png\n",
333
+ "Moved and renamed: images/daytime-people_00851_.png -> train/338c01df-b10b-4933-8e16-19dcd95ae8ee.png\n",
334
+ "Moved and renamed: images/daytime-people_00502_.png -> train/56300c46-467a-4a26-8197-baa38daeb645.png\n",
335
+ "Moved and renamed: images/daytime-people_00781_.png -> train/f63f21ba-b78a-442e-9ae8-68288eff191a.png\n",
336
+ "Moved and renamed: images/daytime-people_00780_.png -> train/93bb42f9-1ea9-4d7c-a562-6eacc3403d97.png\n",
337
+ "Moved and renamed: images/daytime-people_00850_.png -> train/2e1b0398-0821-4db6-84ed-8b17a9c8d8d6.png\n",
338
+ "Moved and renamed: images/daytime-people_00503_.png -> train/b5a36e91-985b-4b42-ba1f-8875b9b8525b.png\n",
339
+ "Moved and renamed: images/daytime-people_00738_.png -> train/5c164dbd-a174-4c10-8324-bc3b2ab5c979.png\n",
340
+ "Moved and renamed: images/daytime-people_00692_.png -> train/9aee824d-03ec-4f2d-932b-b2f0b1c3468a.png\n",
341
+ "Moved and renamed: images/daytime-people_00554_.png -> train/99d5b6f1-3307-4d13-84b2-849b9698f9e8.png\n",
342
+ "Moved and renamed: images/daytime-people_00807_.png -> train/6e607b9d-48c5-47a3-b175-96d04b9e749b.png\n",
343
+ "Moved and renamed: images/daytime-people_00684_.png -> train/65eadd71-5887-41d4-911e-c97319fec054.png\n",
344
+ "Moved and renamed: images/daytime-people_00811_.png -> train/27119cdb-c451-4cc8-b4fc-2aaf6400ba44.png\n",
345
+ "Moved and renamed: images/daytime-people_00542_.png -> train/29ecc16e-1991-4f67-93b0-d0c030fa2311.png\n",
346
+ "Moved and renamed: images/daytime-people_00779_.png -> train/61c28322-c8e4-4e84-aa75-c8b11142cfe9.png\n",
347
+ "Moved and renamed: images/daytime-people_00796_.png -> train/95394e46-89cb-4169-927d-94c16d870c5e.png\n",
348
+ "Moved and renamed: images/daytime-people_00515_.png -> train/b8f64112-166c-4e2a-88d0-3a3f0646bc97.png\n",
349
+ "Moved and renamed: images/daytime-people_00846_.png -> train/09b251ef-38e4-4ccf-b260-03e0faa1e7d3.png\n",
350
+ "Moved and renamed: images/daytime-people_00903_.png -> train/c1fb6f02-ad06-414b-bde8-0f77fdaa8e9e.png\n",
351
+ "Moved and renamed: images/daytime-people_00647_.png -> train/0facaae7-744f-4cb7-b15d-942181ea8ace.png\n",
352
+ "Moved and renamed: images/daytime-people_00702_.png -> train/0e29fd78-4a12-4719-b42b-4e4fcccbf384.png\n",
353
+ "Moved and renamed: images/daytime-people_00581_.png -> train/a712e6aa-f7b5-4b5a-9b2b-9e7b468e4e8c.png\n",
354
+ "Moved and renamed: images/daytime-people_00610_.png -> train/b09b031b-3c44-4005-8efb-cc781fa94900.png\n",
355
+ "Moved and renamed: images/daytime-people_00755_.png -> train/d3134022-5870-427e-b032-0c45bdbef8b3.png\n",
356
+ "Moved and renamed: images/daytime-people_00885_.png -> train/7dae49a6-8a4f-4501-8bf7-473be79b57d8.png\n",
357
+ "Moved and renamed: images/daytime-people_00539_.png -> train/267bec5b-667a-4dd3-974c-244760bc0b3b.png\n",
358
+ "Moved and renamed: images/daytime-people_00606_.png -> train/5359c280-f653-4de9-a632-a89e3a888161.png\n",
359
+ "Moved and renamed: images/daytime-people_00743_.png -> train/127047ad-9149-4c67-9ba6-d5014764a736.png\n",
360
+ "Moved and renamed: images/daytime-people_00893_.png -> train/e24ba8e9-ef0b-4ef7-a23a-da2b12917672.png\n",
361
+ "Moved and renamed: images/daytime-people_00651_.png -> train/be4d940f-c700-4835-88c1-f7fde1263c39.png\n",
362
+ "Moved and renamed: images/daytime-people_00714_.png -> train/dac51125-aaf1-460f-8d3e-0f62125e0ed4.png\n",
363
+ "Moved and renamed: images/daytime-people_00597_.png -> train/9ee4915a-9eea-443a-b3a0-236c20be3866.png\n",
364
+ "Moved and renamed: images/daytime-people_00578_.png -> train/f0854c0c-210e-4893-8578-de7fa6b7273f.png\n",
365
+ "Moved and renamed: images/daytime-people_00763_.png -> train/e9a9ed60-58cd-4ff5-af89-8e5c95280e4d.png\n",
366
+ "Moved and renamed: images/daytime-people_00626_.png -> train/20d898ab-2961-41da-8cca-3482b26ad1d1.png\n",
367
+ "Moved and renamed: images/daytime-people_00558_.png -> train/514ea5bc-5d66-493e-92ea-f350e962ec67.png\n",
368
+ "Moved and renamed: images/daytime-people_00734_.png -> train/512055c8-06f7-4c97-913b-368015ddbd13.png\n",
369
+ "Moved and renamed: images/daytime-people_00671_.png -> train/0b317a19-d27f-4357-948c-34061543efbe.png\n",
370
+ "Moved and renamed: images/daytime-people_00722_.png -> train/00afeaf5-b103-465d-b323-7340b0b1e1a0.png\n",
371
+ "Moved and renamed: images/daytime-people_00688_.png -> train/5fa0aa32-5901-4aec-ac3a-888b001305e1.png\n",
372
+ "Moved and renamed: images/daytime-people_00667_.png -> train/7edcabc8-a802-4ea4-9926-c0f3ec772b44.png\n",
373
+ "Moved and renamed: images/daytime-people_00519_.png -> train/65e971d8-9ecf-4d1f-a4f3-fb8df24a7c60.png\n",
374
+ "Moved and renamed: images/daytime-people_00775_.png -> train/d0619f15-007c-491f-8578-522e3cb0e03c.png\n",
375
+ "Moved and renamed: images/daytime-people_00630_.png -> train/6ac40ffb-0fae-4d50-8632-653dd3a77af5.png\n",
376
+ "Moved and renamed: images/daytime-people_00831_.png -> train/0e74dd1c-15f0-4f61-9a65-95f83d8780ed.png\n",
377
+ "Moved and renamed: images/daytime-people_00562_.png -> train/5e2442a1-f7e7-4c11-9923-3d0f8f8792d2.png\n",
378
+ "Moved and renamed: images/daytime-people_00889_.png -> train/97876996-f7cf-443a-9e3f-9064aef7d6de.png\n",
379
+ "Moved and renamed: images/daytime-people_00535_.png -> train/eebc3fdb-854d-44a0-8e70-99780545882c.png\n",
380
+ "Moved and renamed: images/daytime-people_00866_.png -> train/310a0e00-c7df-4772-8c90-ce53b190cce9.png\n",
381
+ "Moved and renamed: images/daytime-people_00759_.png -> train/8c39295b-016e-4887-8a66-2f7580a8490b.png\n",
382
+ "Moved and renamed: images/daytime-people_00870_.png -> train/6e5fb119-82a7-473f-ad70-a0c0f261ce24.png\n",
383
+ "Moved and renamed: images/daytime-people_00523_.png -> train/24b32a8c-1537-40ad-abe8-8ac326d67ddb.png\n",
384
+ "Moved and renamed: images/daytime-people_00574_.png -> train/c952b31d-0b67-44d5-9e7c-6fa2e16c3b14.png\n",
385
+ "Moved and renamed: images/daytime-people_00827_.png -> train/dc8288fa-597a-4c87-a9e9-7f2bbfeca512.png\n",
386
+ "Moved and renamed: images/daytime-people_00718_.png -> train/1e47d78e-8c68-4ae9-8179-56dfd7e75363.png\n",
387
+ "Moved and renamed: images/daytime-people_00590_.png -> train/16cc3faa-8165-47fb-a528-0b4aae4e88d2.png\n",
388
+ "Moved and renamed: images/daytime-people_00656_.png -> train/76eedd44-b807-48c4-a91b-68c10b088c84.png\n",
389
+ "Moved and renamed: images/daytime-people_00713_.png -> train/8e74fd2e-cfb5-4d66-b8c8-802ba7203e4d.png\n",
390
+ "Moved and renamed: images/daytime-people_00894_.png -> train/e8178008-d0cb-4271-af63-baff7e7b213b.png\n",
391
+ "Moved and renamed: images/daytime-people_00528_.png -> train/59523e7e-f88b-42b6-bb4f-29509ffedce9.png\n",
392
+ "Moved and renamed: images/daytime-people_00601_.png -> train/b27f2aa3-81e5-4a63-9e9a-da5cdc29edef.png\n",
393
+ "Moved and renamed: images/daytime-people_00744_.png -> train/f6cc132d-cccb-42a0-8556-270083145eea.png\n",
394
+ "Moved and renamed: images/daytime-people_00882_.png -> train/5d0b6ca4-b1b9-49bd-9dfa-c259ca2dcc88.png\n",
395
+ "Moved and renamed: images/daytime-people_00617_.png -> train/f3cc0af6-88bc-47a4-85bb-6bfc2decf3a6.png\n",
396
+ "Moved and renamed: images/daytime-people_00752_.png -> train/5aa48d76-85fe-4b6a-ae6e-eac16a664423.png\n",
397
+ "Moved and renamed: images/daytime-people_00586_.png -> train/0b692539-da42-4d7c-904a-299c34ddb2a6.png\n",
398
+ "Moved and renamed: images/daytime-people_00569_.png -> train/c9f8e880-d4e2-4cf5-8768-4408a49a2667.png\n",
399
+ "Moved and renamed: images/daytime-people_00640_.png -> train/a95a97df-c239-4367-8091-d940d3ca5958.png\n",
400
+ "Moved and renamed: images/daytime-people_00705_.png -> train/2e5d1b01-efa1-419b-9c8e-f7b716cf53ce.png\n",
401
+ "Moved and renamed: images/daytime-people_00841_.png -> train/53a0db9d-dffb-4425-9351-81600f468cb8.png\n",
402
+ "Moved and renamed: images/daytime-people_00512_.png -> train/e25efebc-ccd0-487c-be64-bbcd1c88b1bd.png\n",
403
+ "Moved and renamed: images/daytime-people_00904_.png -> train/9e57bc36-5761-443d-940c-b8c858d72617.png\n",
404
+ "Moved and renamed: images/daytime-people_00791_.png -> train/bf653c78-4cf6-4ee2-ac1d-05f737285d34.png\n",
405
+ "Moved and renamed: images/daytime-people_00545_.png -> train/25921f10-7b32-4fc9-a72d-b39d697ef088.png\n",
406
+ "Moved and renamed: images/daytime-people_00816_.png -> train/dfab3684-8ea5-42d7-b223-35d979b6ca48.png\n",
407
+ "Moved and renamed: images/daytime-people_00683_.png -> train/789b31b9-a751-4717-a29c-0bf7abc8b69b.png\n",
408
+ "Moved and renamed: images/daytime-people_00729_.png -> train/0d925a18-f910-498a-9a4a-dbfcf9bc349f.png\n",
409
+ "Moved and renamed: images/daytime-people_00800_.png -> train/eb60ed50-18f4-49de-a065-9a991a71498d.png\n",
410
+ "Moved and renamed: images/daytime-people_00553_.png -> train/6caf14df-f720-4699-85db-e8f6365022aa.png\n",
411
+ "Moved and renamed: images/daytime-people_00695_.png -> train/219d2790-d98f-4a51-9871-f1103b200ee3.png\n",
412
+ "Moved and renamed: images/daytime-people_00504_.png -> train/76a77a8e-b5e6-4aa6-af6a-b8046e5b5226.png\n",
413
+ "Moved and renamed: images/daytime-people_00857_.png -> train/75771ccf-db77-4794-984b-6e40694d47fa.png\n",
414
+ "Moved and renamed: images/daytime-people_00768_.png -> train/c9196572-514d-41ec-b691-63c46e15585b.png\n",
415
+ "Moved and renamed: images/daytime-people_00787_.png -> train/fad7ade2-5623-4e1c-963c-12c5b32be670.png\n",
416
+ "Moved and renamed: images/daytime-people_00820_.png -> train/fb2c17db-08a5-4754-bb4a-fe871b6a0ca7.png\n",
417
+ "Moved and renamed: images/daytime-people_00573_.png -> train/c8a8e58b-2903-4b0a-838b-e7b63e96bf24.png\n",
418
+ "Moved and renamed: images/daytime-people_00748_.png -> train/cde912d0-0d72-4a7d-ab00-465fe9243ca2.png\n",
419
+ "Moved and renamed: images/daytime-people_00898_.png -> train/aaabce4b-f686-408b-86b1-4101368aa62b.png\n",
420
+ "Moved and renamed: images/daytime-people_00524_.png -> train/64a14555-9712-40b5-a3d0-30b3d5bad8be.png\n",
421
+ "Moved and renamed: images/daytime-people_00877_.png -> train/44aed6dd-ca59-477c-9dcd-e54730d5e29d.png\n",
422
+ "Moved and renamed: images/daytime-people_00861_.png -> train/d9b8c76d-01b5-4d23-b5ec-e0a6a70b4821.png\n",
423
+ "Moved and renamed: images/daytime-people_00532_.png -> train/b8f87cad-9109-4de8-91d9-db97bca83ef0.png\n",
424
+ "Moved and renamed: images/daytime-people_00709_.png -> train/ed2d8b70-a02d-435e-bbf6-7365a66d05d3.png\n",
425
+ "Moved and renamed: images/daytime-people_00565_.png -> train/f8478a48-fb5c-41f8-a4ca-62f82f41770c.png\n",
426
+ "Moved and renamed: images/daytime-people_00836_.png -> train/cf276325-08d9-412f-9137-21c14c232f1c.png\n",
427
+ "Moved and renamed: images/daytime-people_00772_.png -> train/b6e036dd-3a7a-4eec-a108-434949307c17.png\n",
428
+ "Moved and renamed: images/daytime-people_00637_.png -> train/9dfd48f7-8eb8-4dfd-a518-609ed24503c5.png\n",
429
+ "Moved and renamed: images/daytime-people_00908_.png -> train/02e533ed-f3cd-4a52-910e-4687b2641b1f.png\n",
430
+ "Moved and renamed: images/daytime-people_00725_.png -> train/16875a46-111c-4cb4-88cf-b4813adc9790.png\n",
431
+ "Moved and renamed: images/daytime-people_00660_.png -> train/a42cf90f-70e5-4272-885a-c916e07d1c95.png\n",
432
+ "Moved and renamed: images/daytime-people_00549_.png -> train/0be8633f-84a0-4786-a3ad-d1be5d3fea3d.png\n",
433
+ "Moved and renamed: images/daytime-people_00699_.png -> train/240b143a-5a71-48a7-8503-c535865dd34d.png\n",
434
+ "Moved and renamed: images/daytime-people_00733_.png -> train/2d14faeb-8cbc-4d9c-b27e-396c5dad73da.png\n",
435
+ "Moved and renamed: images/daytime-people_00676_.png -> train/287c1df1-c9e3-46ec-8b08-845c69f98141.png\n",
436
+ "Moved and renamed: images/daytime-people_00764_.png -> train/cf2d772f-6ce7-4fda-8568-f4ff36525b0c.png\n",
437
+ "Moved and renamed: images/daytime-people_00621_.png -> train/0576033b-4d86-4c86-8b49-e00c400a41d0.png\n",
438
+ "Moved and renamed: images/daytime-people_00508_.png -> train/2a9f2d23-330f-4ce4-9b72-a9846232b602.png\n",
439
+ "Moved and renamed: images/daytime-people_00509_.png -> train/884ab781-794f-4e14-ae28-e6ed90774b9e.png\n",
440
+ "Moved and renamed: images/daytime-people_00765_.png -> train/16173b09-2fe7-4be1-aedf-17cf106419cd.png\n",
441
+ "Moved and renamed: images/daytime-people_00620_.png -> train/3ddfc600-b354-4129-afc9-76b3ca3d4b4f.png\n",
442
+ "Moved and renamed: images/daytime-people_00698_.png -> train/5f4ce08f-e2ca-43fd-8995-9e709b5447f0.png\n",
443
+ "Moved and renamed: images/daytime-people_00732_.png -> train/2568909e-d5f7-42d4-96ca-9490dac8b788.png\n",
444
+ "Moved and renamed: images/daytime-people_00677_.png -> train/ab0b62fe-099b-46a3-9b59-78d9caab2a4c.png\n",
445
+ "Moved and renamed: images/daytime-people_00548_.png -> train/a9ebedcf-40b3-498e-9d15-e5d67082904f.png\n",
446
+ "Moved and renamed: images/daytime-people_00724_.png -> train/2e5eca86-c089-48b3-a979-18de29c0d69d.png\n",
447
+ "Moved and renamed: images/daytime-people_00661_.png -> train/790ac000-a936-4dce-9e16-86ab2467391b.png\n",
448
+ "Moved and renamed: images/daytime-people_00909_.png -> train/a77ff64a-6181-4b30-a8c4-8d1685c11551.png\n",
449
+ "Moved and renamed: images/daytime-people_00773_.png -> train/42e1fc6e-9e1d-405f-ab07-6055c5387d46.png\n",
450
+ "Moved and renamed: images/daytime-people_00636_.png -> train/6df82621-2128-4a4f-8b74-b077d31729d3.png\n",
451
+ "Moved and renamed: images/daytime-people_00564_.png -> train/443a69c8-9d86-4e1b-b50f-97fef599d776.png\n",
452
+ "Moved and renamed: images/daytime-people_00837_.png -> train/e180398e-ae82-446b-a6fd-e50e80dd3f51.png\n",
453
+ "Moved and renamed: images/daytime-people_00708_.png -> train/36ef56fa-d2e4-4205-9702-e678dbfad666.png\n",
454
+ "Moved and renamed: images/daytime-people_00860_.png -> train/33259332-1932-4669-a88d-aa2ca02a116c.png\n",
455
+ "Moved and renamed: images/daytime-people_00533_.png -> train/033ede62-0689-45cc-b6aa-3408cb34b2c1.png\n",
456
+ "Moved and renamed: images/daytime-people_00899_.png -> train/c30b0656-3cbc-4a51-a69c-20e70fe7323b.png\n",
457
+ "Moved and renamed: images/daytime-people_00525_.png -> train/78253195-4521-43f2-b65b-4e2696ac17e6.png\n",
458
+ "Moved and renamed: images/daytime-people_00876_.png -> train/f25089db-009c-465b-b040-4192067bf1ae.png\n",
459
+ "Moved and renamed: images/daytime-people_00749_.png -> train/ed995c7a-f550-4fbf-9da0-af2d8630fc92.png\n",
460
+ "Moved and renamed: images/daytime-people_00821_.png -> train/e60d782f-b567-4344-b73a-a52759d97074.png\n",
461
+ "Moved and renamed: images/daytime-people_00572_.png -> train/1d1cb313-35a6-4c78-8b61-96865b323368.png\n",
462
+ "Moved and renamed: images/daytime-people_00769_.png -> train/90f87557-2eb8-4088-8073-9663bea19d67.png\n",
463
+ "Moved and renamed: images/daytime-people_00786_.png -> train/8a9b27cf-b687-442d-b6e6-763657598d9e.png\n",
464
+ "Moved and renamed: images/daytime-people_00505_.png -> train/4953d9ed-56b1-405a-91ea-f262ffc43413.png\n",
465
+ "Moved and renamed: images/daytime-people_00856_.png -> train/2ecc7a33-bfe2-434e-9afb-86bd9e98f2da.png\n",
466
+ "Moved and renamed: images/daytime-people_00694_.png -> train/28910074-7e29-46f1-8f17-68b2435e537a.png\n",
467
+ "Moved and renamed: images/daytime-people_00801_.png -> train/683942bb-1902-4b2d-9d62-dbbf2861e355.png\n",
468
+ "Moved and renamed: images/daytime-people_00552_.png -> train/8e080be2-abaa-4bbc-a719-76792c5eab15.png\n",
469
+ "Moved and renamed: images/daytime-people_00682_.png -> train/47840159-9c93-4762-975f-1054d6b09367.png\n",
470
+ "Moved and renamed: images/daytime-people_00728_.png -> train/b187e9de-1ebc-4fef-9996-8a75ff0b2ab2.png\n",
471
+ "Moved and renamed: images/daytime-people_00544_.png -> train/1e9f766a-4464-41d8-926d-541788d51ad2.png\n",
472
+ "Moved and renamed: images/daytime-people_00817_.png -> train/5937bba5-57cb-4167-82f0-7944f02a56b4.png\n",
473
+ "Moved and renamed: images/daytime-people_00790_.png -> train/b0abd9a7-9c2b-4edb-a150-02ef17057611.png\n",
474
+ "Moved and renamed: images/daytime-people_00840_.png -> train/055b3ec6-23d5-4d1c-91aa-294083c5c8c3.png\n",
475
+ "Moved and renamed: images/daytime-people_00513_.png -> train/6e7d75d2-21b6-4ae0-8c41-86d0e7ba56db.png\n",
476
+ "Moved and renamed: images/daytime-people_00905_.png -> train/bf3d80f7-8984-42cc-85fb-3ab7871d6599.png\n",
477
+ "Moved and renamed: images/daytime-people_00641_.png -> train/be224068-8fd1-46ed-bcd2-de53b80ed8fe.png\n",
478
+ "Moved and renamed: images/daytime-people_00704_.png -> train/3e2aff0a-4c9d-4045-982f-dec5a2051189.png\n",
479
+ "Moved and renamed: images/daytime-people_00587_.png -> train/e0bc43cf-5ea3-4c87-8ef5-b92037f75111.png\n",
480
+ "Moved and renamed: images/daytime-people_00568_.png -> train/684307f9-ee2c-4509-a097-48a80b51b641.png\n",
481
+ "Moved and renamed: images/daytime-people_00616_.png -> train/7c135467-f059-4444-a0aa-700be6d29cc5.png\n",
482
+ "Moved and renamed: images/daytime-people_00753_.png -> train/67d6a2e3-3256-4f20-8937-58d919187235.png\n",
483
+ "Moved and renamed: images/daytime-people_00883_.png -> train/a6200c32-591a-4860-b45d-b7f04b669e59.png\n",
484
+ "Moved and renamed: images/daytime-people_00600_.png -> train/46430a8f-aaa8-434d-be33-6078adeccc09.png\n",
485
+ "Moved and renamed: images/daytime-people_00745_.png -> train/aadffa8e-b24e-4b5c-9430-09d9bf1a217e.png\n",
486
+ "Moved and renamed: images/daytime-people_00895_.png -> train/316796ea-da9c-48c6-9759-7e3b7866118e.png\n",
487
+ "Moved and renamed: images/daytime-people_00529_.png -> train/98a0acbf-8c94-4e68-9ca9-f7ca19d455c6.png\n",
488
+ "Moved and renamed: images/daytime-people_00657_.png -> train/40c298d5-6329-4db4-a702-32b3ac984034.png\n",
489
+ "Moved and renamed: images/daytime-people_00712_.png -> train/3107c1ea-9c17-48ba-a800-c75c7ff1d0fb.png\n",
490
+ "Moved and renamed: images/daytime-people_00591_.png -> train/99fea06b-f6fd-4a1a-9d4b-612a42b5c9f6.png\n"
491
+ ]
492
+ }
493
+ ],
494
+ "source": [
495
+ "import os\n",
496
+ "import uuid\n",
497
+ "import shutil\n",
498
+ "\n",
499
+ "def rename_and_move_images(source_dir, target_dir):\n",
500
+ " # Create the target directory if it doesn't exist\n",
501
+ " os.makedirs(target_dir, exist_ok=True)\n",
502
+ "\n",
503
+ " # List of common image file extensions\n",
504
+ " image_extensions = ('.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff')\n",
505
+ "\n",
506
+ " # Walk through the source directory and its subdirectories\n",
507
+ " for root, dirs, files in os.walk(source_dir):\n",
508
+ " for file in files:\n",
509
+ " # Check if the file has an image extension\n",
510
+ " if file.lower().endswith(image_extensions):\n",
511
+ " # Generate a new filename with UUID\n",
512
+ " new_filename = str(uuid.uuid4()) + os.path.splitext(file)[1]\n",
513
+ " \n",
514
+ " # Construct full file paths\n",
515
+ " old_path = os.path.join(root, file)\n",
516
+ " new_path = os.path.join(target_dir, new_filename)\n",
517
+ " \n",
518
+ " # Move and rename the file\n",
519
+ " shutil.move(old_path, new_path)\n",
520
+ " print(f\"Moved and renamed: {old_path} -> {new_path}\")\n",
521
+ "\n",
522
+ "# Usage\n",
523
+ "source_directory = \"images\"\n",
524
+ "target_directory = \"train\"\n",
525
+ "\n",
526
+ "rename_and_move_images(source_directory, target_directory)"
527
+ ]
528
+ },
529
+ {
530
+ "cell_type": "markdown",
531
+ "metadata": {},
532
+ "source": [
533
+ "Extract the Metadata"
534
+ ]
535
+ },
536
+ {
537
+ "cell_type": "code",
538
+ "execution_count": 3,
539
+ "metadata": {},
540
+ "outputs": [
541
+ {
542
+ "name": "stdout",
543
+ "output_type": "stream",
544
+ "text": [
545
+ "Metadata extraction complete. Metadata saved to: train/metadata.csv\n"
546
+ ]
547
+ }
548
+ ],
549
+ "source": [
550
+ "import os\n",
551
+ "import json\n",
552
+ "import png\n",
553
+ "import pandas as pd\n",
554
+ "\n",
555
+ "# Directory containing images\n",
556
+ "image_dir = 'train'\n",
557
+ "metadata_list = []\n",
558
+ "\n",
559
+ "# Function to extract the JSON data from the tEXt chunk in PNG images\n",
560
+ "def extract_metadata_from_png(image_path):\n",
561
+ " with open(image_path, 'rb') as f:\n",
562
+ " reader = png.Reader(file=f)\n",
563
+ " chunks = reader.chunks()\n",
564
+ " for chunk_type, chunk_data in chunks:\n",
565
+ " if chunk_type == b'tEXt':\n",
566
+ " # Convert bytes to string\n",
567
+ " chunk_text = chunk_data.decode('latin1')\n",
568
+ " if 'prompt' in chunk_text:\n",
569
+ " try:\n",
570
+ " # Extract JSON string after \"prompt\\0\"\n",
571
+ " json_str = chunk_text.split('prompt\\0', 1)[1]\n",
572
+ " json_data = json.loads(json_str)\n",
573
+ " inputs = json_data.get('3', {}).get('inputs', {})\n",
574
+ " seed = inputs.get('seed', 'N/A')\n",
575
+ " positive_prompt = json_data.get('6', {}).get('inputs', {}).get('text', 'N/A')\n",
576
+ " negative_prompt = json_data.get('7', {}).get('inputs', {}).get('text', 'N/A')\n",
577
+ " model = json_data.get('4', {}).get('inputs', {}).get('ckpt_name', 'N/A')\n",
578
+ " steps = inputs.get('steps', 'N/A')\n",
579
+ " cfg = inputs.get('cfg', 'N/A')\n",
580
+ " sampler_name = inputs.get('sampler_name', 'N/A')\n",
581
+ " scheduler = inputs.get('scheduler', 'N/A')\n",
582
+ " denoise = inputs.get('denoise', 'N/A')\n",
583
+ " return {\n",
584
+ " 'seed': seed,\n",
585
+ " 'positive_prompt': positive_prompt,\n",
586
+ " 'negative_prompt': negative_prompt,\n",
587
+ " 'model': model,\n",
588
+ " 'steps': steps,\n",
589
+ " 'cfg': cfg,\n",
590
+ " 'sampler_name': sampler_name,\n",
591
+ " 'scheduler': scheduler,\n",
592
+ " 'denoise': denoise\n",
593
+ " }\n",
594
+ " except json.JSONDecodeError:\n",
595
+ " pass\n",
596
+ " return {}\n",
597
+ "\n",
598
+ "# Loop through all images in the directory\n",
599
+ "for file_name in os.listdir(image_dir):\n",
600
+ " if file_name.endswith('.png'):\n",
601
+ " image_path = os.path.join(image_dir, file_name)\n",
602
+ " metadata = extract_metadata_from_png(image_path)\n",
603
+ " metadata['file_name'] = file_name\n",
604
+ " metadata_list.append(metadata)\n",
605
+ "\n",
606
+ "# Convert metadata to DataFrame\n",
607
+ "metadata_df = pd.DataFrame(metadata_list)\n",
608
+ "\n",
609
+ "# Ensure 'file_name' is the first column\n",
610
+ "columns_order = ['file_name', 'seed', 'positive_prompt', 'negative_prompt', 'model', 'steps', 'cfg', 'sampler_name', 'scheduler', 'denoise']\n",
611
+ "metadata_df = metadata_df[columns_order]\n",
612
+ "\n",
613
+ "# Save metadata to a CSV file\n",
614
+ "metadata_csv_path = 'train/metadata.csv'\n",
615
+ "metadata_df.to_csv(metadata_csv_path, index=False)\n",
616
+ "\n",
617
+ "print(\"Metadata extraction complete. Metadata saved to:\", metadata_csv_path)\n",
618
+ "\n",
619
+ "\n"
620
+ ]
621
+ }
622
+ ],
623
+ "metadata": {
624
+ "kernelspec": {
625
+ "display_name": "Python 3",
626
+ "language": "python",
627
+ "name": "python3"
628
+ },
629
+ "language_info": {
630
+ "codemirror_mode": {
631
+ "name": "ipython",
632
+ "version": 3
633
+ },
634
+ "file_extension": ".py",
635
+ "mimetype": "text/x-python",
636
+ "name": "python",
637
+ "nbconvert_exporter": "python",
638
+ "pygments_lexer": "ipython3",
639
+ "version": "3.10.14"
640
+ }
641
+ },
642
+ "nbformat": 4,
643
+ "nbformat_minor": 2
644
+ }
train/00a0068a-da19-457e-8ba0-0b46b897b42e.png ADDED

Git LFS Details

  • SHA256: b1399d6c2207c16e7dc99fb46d1fb7cfe02d4d7c598929886a509dec489c1200
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
train/00a97a43-b046-4919-bda6-f7b78385f21b.png ADDED

Git LFS Details

  • SHA256: f4afe667016a2ed3f13775a28add6535f84262ccd34dbc297462122ed93b8414
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
train/00cd1b87-e1e5-4b8e-8943-091f7cec2bba.png ADDED

Git LFS Details

  • SHA256: 000e15b1a662df116bf8d43eed6cb3b9fdb634b6f547d862a51e6f37bd731526
  • Pointer size: 132 Bytes
  • Size of remote file: 1.38 MB
train/00de8e56-5bcc-4ab4-90c0-4ee1aa3014f5.png ADDED

Git LFS Details

  • SHA256: e3499b2499cfc0b5da98d00e617694fcb98ebcdf3eeb918067ec419e155fba9b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/00f6f318-af59-49d9-aca6-36fa511c7fb1.png ADDED

Git LFS Details

  • SHA256: 553f76bd74ee61568552b20aab46a711329b1fa59af8b9bd3402d8a77ee4bbd1
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
train/01827241-ba89-48eb-a755-ef551ea401a2.png ADDED

Git LFS Details

  • SHA256: 6fc609989e065c1d2d6b5eabf03d95906cf01a7a473225558393d8fecb7e7f03
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB
train/01d0e87a-852a-4626-9a07-a58a305168dc.png ADDED

Git LFS Details

  • SHA256: 2a21e2a10899c630a253d0559f9b3a340af6c6c3fb486be8af6e784808fd2514
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
train/022adad8-247c-47d2-95a5-2b6a1de14b7a.png ADDED

Git LFS Details

  • SHA256: d18ccab9e131e458ad57d7388936b79ff03eee8b36a6aaeb29686b6fc74e1777
  • Pointer size: 132 Bytes
  • Size of remote file: 1.31 MB
train/0250ba45-6931-400f-bf11-85cdd505069e.png ADDED

Git LFS Details

  • SHA256: f130f14a3a27d8ab88efb9117da1a3be931e7bcd3e1774c27955d5336a21d8de
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
train/02ab3dda-69c6-454d-9e0c-92d722384aa0.png ADDED

Git LFS Details

  • SHA256: 87f5c1ca4a8eb51e56a91d59544a612745f1c1edc9cfedbe175fc3cb11d8d66b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.38 MB
train/02b0c84b-0e0c-435e-b018-3e1b5c52b042.png ADDED

Git LFS Details

  • SHA256: cbe03c71604590cce5852edfd57aa9d1f8b3212c4c61f172f7561a93503c3ab2
  • Pointer size: 132 Bytes
  • Size of remote file: 1.39 MB
train/02d0cd34-258d-4997-9d1f-bbef4b037822.png ADDED

Git LFS Details

  • SHA256: 8684b00d05f894fde7e135ee96ad4c0fa4b3515ce77a5073839226d437fbaaff
  • Pointer size: 132 Bytes
  • Size of remote file: 1.31 MB
train/03249403-3c2b-4acd-be2a-fd71ff5bb716.png ADDED

Git LFS Details

  • SHA256: f887c02ed4a1711ca2e259896b049766454545255db9c97817f58851b971defb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.29 MB
train/03565ccb-aee9-4c55-9189-a25f34a06b10.png ADDED

Git LFS Details

  • SHA256: 7d9e02b50444b204fbd5dfc92a5176c0b0a276ea79a599c1e66ff7140d437745
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB
train/035b9a8f-2e86-423a-bc23-cfbf825aa48d.png ADDED

Git LFS Details

  • SHA256: 4cad2f86e1b3856c5e6753e8bffe148033add88e6301e974eadc5469abf6ec41
  • Pointer size: 132 Bytes
  • Size of remote file: 1.34 MB
train/035d6aa5-6640-4063-a115-af0f8d34b2e0.png ADDED

Git LFS Details

  • SHA256: 42e0a8ab673e20adb56348d7dbd75a672b2c4e299ed77a904ccb0b94d2e409d9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/036b17ec-ec44-48b3-bf39-aaa6c0679fc6.png ADDED

Git LFS Details

  • SHA256: ab724cea5c8a9bdb9232ec735db735ea49dfc05d06dfa306ce162901495e8aa0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.31 MB
train/0376ab51-b56a-4078-83b7-8a17d89c849a.png ADDED

Git LFS Details

  • SHA256: 63f55a213ebbd0f25916dacf01ca1981e90a8d6c5f2c5293676b363a7e1701ef
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/0382f5d7-a26f-4ba7-a466-9467a24208ce.png ADDED

Git LFS Details

  • SHA256: 7dbd38019c9b6ebab598743aad5483271e6e3d5d5eb700152659a322136c7e0f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB
train/03846406-650b-472b-a627-e2d5b0606019.png ADDED

Git LFS Details

  • SHA256: a277331483b168711fe5a5609611e8489015db8b230a2612ffbb8db13b0744b0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
train/0385a8f6-07c5-48f6-b0a0-552c4a006e63.png ADDED

Git LFS Details

  • SHA256: c3280c01de97f5c0689f972e0eb483f2977e875d43d582aba9c42e9983d78e47
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/03db290d-aff6-4951-a74f-effd163fa37a.png ADDED

Git LFS Details

  • SHA256: 2fc6572090a44fa563684715f93655d98f0859cf114adf64f1181b8453072d88
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
train/046c01cc-f09b-49ed-9ba3-7eb1df584e15.png ADDED

Git LFS Details

  • SHA256: 80955514b734bea1af5e58329231065702d4504b5151ac076be8deae2b50dd72
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/04712ef9-7cf0-4023-8532-2aa68698d230.png ADDED

Git LFS Details

  • SHA256: d032ff10439326cb165733ccea03eae0a63d2d929bbda81ee4615005ac9a49a5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB
train/049b6f9e-c0c9-4f1c-a9a3-150eb7019e94.png ADDED

Git LFS Details

  • SHA256: df4795106165ed043ea98a315cc7bb7d2f5cab7b96f02ed1ad4b1f083029099f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/04a50dcf-cd48-4993-9abd-332ef6eb1115.png ADDED

Git LFS Details

  • SHA256: 355f4140896e3bdd0c98f3f11abc7ded709eba9a1a77ed56c8bd5244052aec34
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB
train/04d74789-7c38-4a9e-8ad1-756bbcbba9ac.png ADDED

Git LFS Details

  • SHA256: 5477bcffe0d2f8a0676fbfcf739a2d8647be18ed00b3053062d1306743b8d6b6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
train/051c23f0-6441-4341-ba5b-9400e711dcda.png ADDED

Git LFS Details

  • SHA256: ba2d738672b5c8ba8000e7b13675e77e5828a73572f77dbf48bc6df52a194a82
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB
train/053b92b4-32f5-400a-b31c-52695d9015fd.png ADDED

Git LFS Details

  • SHA256: 849e71ed8234c549d700f62be525f26f08f5106cb952f8142f03bf4a91f65f67
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
train/0540e84b-9d72-4934-ab04-6e3ab28859dc.png ADDED

Git LFS Details

  • SHA256: 218b85aade32ecdac675a18b9fd9dc620396ee541e375d26759d61dc383d13b8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/0541c87e-b70b-442b-936f-490a05f9a125.png ADDED

Git LFS Details

  • SHA256: 5bb9fdb7024594965a653f1e215d457320ca2e7282adf006059d42798713d180
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/058b5fbc-94b3-4ab7-80bc-773fa6b532a5.png ADDED

Git LFS Details

  • SHA256: 38430d5ebfdb4ee2450ca95293fbf6a9c6c3f9c22c8944e01e2085e743860417
  • Pointer size: 132 Bytes
  • Size of remote file: 1.29 MB
train/06055696-d6b7-4604-bc29-39e6d971d947.png ADDED

Git LFS Details

  • SHA256: 603c0c3b989d91a78b4d8a9968e57925d9b6fedb715b229a442ccd2a11aa222f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/065032d8-4674-4c2a-b305-9d342c321fb8.png ADDED

Git LFS Details

  • SHA256: aa4b2b42df52be14f0bb142b92103934aebf99ad62415b4cd9416739086bcd23
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
train/069f4d61-3803-4ffb-9b90-f5e45d203992.png ADDED

Git LFS Details

  • SHA256: d12d8fd13b483e5f59643c1e6c6a19403f0f4e3b9ed8e022da7f24b72c157973
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/06cd0991-761e-4471-ab3b-a0ca7102cc44.png ADDED

Git LFS Details

  • SHA256: 6e634d4c9b2bec0cbd190be86b5c7ec0116f7a2104404b4b9f1042e377af2e92
  • Pointer size: 132 Bytes
  • Size of remote file: 1.26 MB
train/06db7824-f3ca-4985-b919-8d34f7cd9a3c.png ADDED

Git LFS Details

  • SHA256: 84a78b91c57baf95c60fcbdf9ca72f8ef099f8c6867dcbcb8811fc0ef2d39bc5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/07e27cef-75f5-462f-b46c-4bf7b98d9df4.png ADDED

Git LFS Details

  • SHA256: 4aec3298ffe5fefde42a6f23210d4a8821ba4f94f4ab80ee4d8719449f68bcee
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
train/07fc2c3c-4125-47ef-9fe1-add87df4ddb5.png ADDED

Git LFS Details

  • SHA256: 7589b2df82f6b0a760fb3867a0b4fca4a97c7a5c03a92c3311997315f0e9f2cd
  • Pointer size: 132 Bytes
  • Size of remote file: 1.31 MB
train/084e46e8-080b-47b6-a131-9b514aff11a4.png ADDED

Git LFS Details

  • SHA256: ee46881d1433d48480fcae62f511f781740374e07f3d7057b9f19c98cc7e1a03
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
train/0879746b-433e-4827-ae36-978db8f1bd1d.png ADDED

Git LFS Details

  • SHA256: c2bfb9c961ae81844670a10e0112b3734a3fb66452b496f20a6790eb7d0e6238
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
train/08bb178a-bea3-4af3-987d-f590c46ad88d.png ADDED

Git LFS Details

  • SHA256: a7acd4d10a91bb558027d411a55ffead76e4704f988842b9a2a27f8b81d6ea7d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
train/08dbc956-3a17-4171-9dad-91ba23d9d6ca.png ADDED

Git LFS Details

  • SHA256: f575abf03fa5e675a376523d9f1279d4554c8ac75b7933a17ceba5fa201b2eb8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
train/09876de4-eec7-4736-b631-dacc576698df.png ADDED

Git LFS Details

  • SHA256: ae55dfdfe9220619d572c8885b88adc36e14b8f77a41e7453cb7b71f588646d3
  • Pointer size: 132 Bytes
  • Size of remote file: 1.38 MB
train/098b50d9-44fa-4ce2-8e5b-a022d56bde6d.png ADDED

Git LFS Details

  • SHA256: ec94b7425b25899ed3b297a3a5c446d72cdf1997f5619e150a75bc320c7c860f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB