|
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`. |
|
Running 1 job |
|
0it [00:00, ?it/s]
0it [00:00, ?it/s] |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/mediapipe_face/mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe' |
|
warnings.warn( |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. |
|
return register_model(fn_wrapper) |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. |
|
return register_model(fn_wrapper) |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. |
|
return register_model(fn_wrapper) |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected. |
|
return register_model(fn_wrapper) |
|
/usr/local/lib/python3.10/dist-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected. |
|
return register_model(fn_wrapper) |
|
You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers |
|
{ |
|
"type": "sd_trainer", |
|
"training_folder": "output", |
|
"device": "cuda:0", |
|
"network": { |
|
"type": "lora", |
|
"linear": 16, |
|
"linear_alpha": 16 |
|
}, |
|
"save": { |
|
"dtype": "float16", |
|
"save_every": 500, |
|
"max_step_saves_to_keep": 4, |
|
"push_to_hub": false |
|
}, |
|
"datasets": [ |
|
{ |
|
"folder_path": "/workspace/ai-toolkit/images", |
|
"caption_ext": "txt", |
|
"caption_dropout_rate": 0.05, |
|
"shuffle_tokens": false, |
|
"cache_latents_to_disk": true, |
|
"resolution": [ |
|
512, |
|
768, |
|
1024 |
|
] |
|
} |
|
], |
|
"train": { |
|
"batch_size": 1, |
|
"steps": 3000, |
|
"gradient_accumulation_steps": 1, |
|
"train_unet": true, |
|
"train_text_encoder": false, |
|
"gradient_checkpointing": true, |
|
"noise_scheduler": "flowmatch", |
|
"optimizer": "adamw8bit", |
|
"lr": 0.0001, |
|
"ema_config": { |
|
"use_ema": true, |
|
"ema_decay": 0.99 |
|
}, |
|
"dtype": "bf16" |
|
}, |
|
"model": { |
|
"name_or_path": "black-forest-labs/FLUX.1-dev", |
|
"is_flux": true, |
|
"quantize": true |
|
}, |
|
"sample": { |
|
"sampler": "flowmatch", |
|
"sample_every": 500, |
|
"width": 1024, |
|
"height": 1024, |
|
"prompts": [ |
|
"woman with red hair, playing chess at the park, bomb going off in the background", |
|
"a woman holding a coffee cup, in a beanie, sitting at a cafe", |
|
"a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini", |
|
"a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background", |
|
"a bear building a log cabin in the snow covered mountains", |
|
"woman playing the guitar, on stage, singing a song, laser lights, punk rocker", |
|
"hipster man with a beard, building a chair, in a wood shop", |
|
"photo of a man, white background, medium shot, modeling clothing, studio lighting, white backdrop", |
|
"a man holding a sign that says, 'this is a sign'", |
|
"a bulldog, in a post apocalyptic world, with a shotgun, in a leather jacket, in a desert, with a motorcycle" |
|
], |
|
"neg": "", |
|
"seed": 42, |
|
"walk_seed": true, |
|
"guidance_scale": 4, |
|
"sample_steps": 20 |
|
}, |
|
"trigger_word": "p3r5on" |
|
} |
|
Using EMA |
|
|
|
############################################# |
|
# Running job: my_first_flux_lora_v1 |
|
############################################# |
|
|
|
|
|
Running 1 process |
|
Loading Flux model |
|
Loading transformer |
|
Quantizing transformer |
|
Loading vae |
|
Loading t5 |
|
Downloading shards: 0%| | 0/2 [00:00<?, ?it/s]
Downloading shards: 50%|βββββ | 1/2 [00:16<00:16, 16.32s/it]
Downloading shards: 100%|ββββββββββ| 2/2 [00:31<00:00, 15.50s/it]
Downloading shards: 100%|ββββββββββ| 2/2 [00:31<00:00, 15.63s/it] |
|
Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
Loading checkpoint shards: 50%|βββββ | 1/2 [00:00<00:00, 6.58it/s]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:00<00:00, 6.63it/s]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:00<00:00, 6.62it/s] |
|
Quantizing T5 |
|
Loading clip |
|
making pipe |
|
preparing |
|
create LoRA network. base dim (rank): 16, alpha: 16 |
|
neuron dropout: p=None, rank dropout: p=None, module dropout: p=None |
|
create LoRA for Text Encoder: 0 modules. |
|
create LoRA for U-Net: 494 modules. |
|
enable LoRA for U-Net |
|
Dataset: /workspace/ai-toolkit/images |
|
- Preprocessing image dimensions |
|
0%| | 0/54 [00:00<?, ?it/s]
31%|ββββ | 17/54 [00:00<00:00, 160.05it/s]Warning: Some images in the dataset cannot be fast read. This process is faster for png, jpeg |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
100%|ββββββββββ| 54/54 [00:00<00:00, 264.83it/s] |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
- Found 27 images |
|
Bucket sizes for /workspace/ai-toolkit/images: |
|
576x384: 2 files |
|
448x576: 4 files |
|
512x512: 3 files |
|
640x384: 1 files |
|
576x448: 3 files |
|
512x448: 1 files |
|
384x576: 7 files |
|
384x384: 1 files |
|
320x256: 1 files |
|
320x384: 1 files |
|
384x640: 1 files |
|
512x384: 1 files |
|
448x512: 1 files |
|
13 buckets made |
|
Caching latents for /workspace/ai-toolkit/images |
|
- Saving latents to disk |
|
Caching latents to disk: 0%| | 0/27 [00:00<?, ?it/s]
Caching latents to disk: 4%|β | 1/27 [00:00<00:08, 2.94it/s]
Caching latents to disk: 7%|β | 2/27 [00:00<00:05, 4.98it/s]
Caching latents to disk: 15%|ββ | 4/27 [00:00<00:02, 8.93it/s]
Caching latents to disk: 22%|βββ | 6/27 [00:00<00:02, 9.34it/s]
Caching latents to disk: 30%|βββ | 8/27 [00:00<00:01, 10.38it/s]
Caching latents to disk: 37%|ββββ | 10/27 [00:01<00:01, 11.76it/s]
Caching latents to disk: 48%|βββββ | 13/27 [00:01<00:00, 14.49it/s]
Caching latents to disk: 56%|ββββββ | 15/27 [00:01<00:00, 15.35it/s]
Caching latents to disk: 63%|βββββββ | 17/27 [00:01<00:00, 12.45it/s]
Caching latents to disk: 70%|βββββββ | 19/27 [00:01<00:00, 13.68it/s]
Caching latents to disk: 78%|ββββββββ | 21/27 [00:01<00:00, 14.13it/s]
Caching latents to disk: 85%|βββββββββ | 23/27 [00:01<00:00, 14.76it/s]
Caching latents to disk: 93%|ββββββββββ| 25/27 [00:02<00:00, 15.22it/s]
Caching latents to disk: 100%|ββββββββββ| 27/27 [00:02<00:00, 15.53it/s]
Caching latents to disk: 100%|ββββββββββ| 27/27 [00:02<00:00, 12.53it/s] |
|
unexpected values: w=770, h=1152, file_item.scale_to_width=576, file_item.scale_to_height=385, file_item.path=/workspace/ai-toolkit/images/scott-stapp-01.webp |
|
unexpected values: w=770, h=772, file_item.scale_to_width=514, file_item.scale_to_height=512, file_item.path=/workspace/ai-toolkit/images/scott-stapp-03.webp |
|
unexpected values: w=770, h=1038, file_item.scale_to_width=604, file_item.scale_to_height=448, file_item.path=/workspace/ai-toolkit/images/scott-stapp-07.webp |
|
unexpected values: w=770, h=916, file_item.scale_to_width=533, file_item.scale_to_height=448, file_item.path=/workspace/ai-toolkit/images/scott-stapp-08.webp |
|
unexpected values: w=770, h=965, file_item.scale_to_width=576, file_item.scale_to_height=460, file_item.path=/workspace/ai-toolkit/images/scott-stapp-09.webp |
|
unexpected values: w=958, h=639, file_item.scale_to_width=385, file_item.scale_to_height=576, file_item.path=/workspace/ai-toolkit/images/scott-stapp-10.webp |
|
unexpected values: w=1200, h=798, file_item.scale_to_width=384, file_item.scale_to_height=578, file_item.path=/workspace/ai-toolkit/images/scott-stapp-13.webp |
|
unexpected values: w=980, h=653, file_item.scale_to_width=385, file_item.scale_to_height=577, file_item.path=/workspace/ai-toolkit/images/scott-stapp-14.jpg |
|
unexpected values: w=770, h=1160, file_item.scale_to_width=579, file_item.scale_to_height=384, file_item.path=/workspace/ai-toolkit/images/scott-stapp-17.webp |
|
unexpected values: w=770, h=760, file_item.scale_to_width=512, file_item.scale_to_height=519, file_item.path=/workspace/ai-toolkit/images/scott-stapp-18.webp |
|
unexpected values: w=770, h=1051, file_item.scale_to_width=612, file_item.scale_to_height=448, file_item.path=/workspace/ai-toolkit/images/scott-stapp-19.webp |
|
unexpected values: w=1500, h=1000, file_item.scale_to_width=384, file_item.scale_to_height=576, file_item.path=/workspace/ai-toolkit/images/scott-stapp-20.webp |
|
unexpected values: w=780, h=439, file_item.scale_to_width=384, file_item.scale_to_height=683, file_item.path=/workspace/ai-toolkit/images/scott-stapp-23.webp |
|
unexpected values: w=1581, h=1054, file_item.scale_to_width=384, file_item.scale_to_height=576, file_item.path=/workspace/ai-toolkit/images/scott-stapp-24.webp |
|
unexpected values: w=624, h=420, file_item.scale_to_width=388, file_item.scale_to_height=576, file_item.path=/workspace/ai-toolkit/images/scott-stapp-25.webp |
|
unexpected values: w=435, h=580, file_item.scale_to_width=512, file_item.scale_to_height=384, file_item.path=/workspace/ai-toolkit/images/scott-stapp-26.webp |
|
Dataset: /workspace/ai-toolkit/images |
|
- Preprocessing image dimensions |
|
0%| | 0/54 [00:00<?, ?it/s]Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
100%|ββββββββββ| 54/54 [00:00<00:00, 5806.16it/s] |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
- Found 27 images |
|
Bucket sizes for /workspace/ai-toolkit/images: |
|
832x576: 1 files |
|
640x832: 2 files |
|
768x768: 2 files |
|
576x768: 1 files |
|
960x512: 1 files |
|
832x640: 3 files |
|
768x640: 1 files |
|
576x832: 5 files |
|
448x576: 1 files |
|
384x384: 1 files |
|
576x896: 1 files |
|
896x576: 1 files |
|
704x704: 1 files |
|
320x256: 1 files |
|
320x384: 1 files |
|
384x704: 1 files |
|
384x576: 1 files |
|
512x384: 1 files |
|
640x704: 1 files |
|
19 buckets made |
|
Caching latents for /workspace/ai-toolkit/images |
|
- Saving latents to disk |
|
Caching latents to disk: 0%| | 0/27 [00:00<?, ?it/s]
Caching latents to disk: 7%|β | 2/27 [00:00<00:02, 10.27it/s]
Caching latents to disk: 15%|ββ | 4/27 [00:00<00:02, 11.23it/s]
Caching latents to disk: 22%|βββ | 6/27 [00:00<00:02, 9.26it/s]
Caching latents to disk: 30%|βββ | 8/27 [00:00<00:01, 9.92it/s]
Caching latents to disk: 37%|ββββ | 10/27 [00:00<00:01, 10.30it/s]
Caching latents to disk: 52%|ββββββ | 14/27 [00:01<00:00, 14.40it/s]
Caching latents to disk: 59%|ββββββ | 16/27 [00:01<00:01, 10.81it/s]
Caching latents to disk: 67%|βββββββ | 18/27 [00:01<00:00, 10.85it/s]
Caching latents to disk: 74%|ββββββββ | 20/27 [00:01<00:00, 10.62it/s]
Caching latents to disk: 89%|βββββββββ | 24/27 [00:02<00:00, 14.30it/s]
Caching latents to disk: 100%|ββββββββββ| 27/27 [00:02<00:00, 12.97it/s] |
|
unexpected values: w=770, h=1152, file_item.scale_to_width=862, file_item.scale_to_height=576, file_item.path=/workspace/ai-toolkit/images/scott-stapp-01.webp |
|
unexpected values: w=770, h=772, file_item.scale_to_width=770, file_item.scale_to_height=768, file_item.path=/workspace/ai-toolkit/images/scott-stapp-03.webp |
|
unexpected values: w=770, h=1038, file_item.scale_to_width=863, file_item.scale_to_height=640, file_item.path=/workspace/ai-toolkit/images/scott-stapp-07.webp |
|
unexpected values: w=770, h=916, file_item.scale_to_width=768, file_item.scale_to_height=646, file_item.path=/workspace/ai-toolkit/images/scott-stapp-08.webp |
|
unexpected values: w=770, h=965, file_item.scale_to_width=832, file_item.scale_to_height=664, file_item.path=/workspace/ai-toolkit/images/scott-stapp-09.webp |
|
unexpected values: w=958, h=639, file_item.scale_to_width=576, file_item.scale_to_height=864, file_item.path=/workspace/ai-toolkit/images/scott-stapp-10.webp |
|
unexpected values: w=1200, h=798, file_item.scale_to_width=596, file_item.scale_to_height=896, file_item.path=/workspace/ai-toolkit/images/scott-stapp-13.webp |
|
unexpected values: w=980, h=653, file_item.scale_to_width=576, file_item.scale_to_height=865, file_item.path=/workspace/ai-toolkit/images/scott-stapp-14.jpg |
|
unexpected values: w=770, h=1160, file_item.scale_to_width=896, file_item.scale_to_height=595, file_item.path=/workspace/ai-toolkit/images/scott-stapp-17.webp |
|
unexpected values: w=770, h=760, file_item.scale_to_width=704, file_item.scale_to_height=714, file_item.path=/workspace/ai-toolkit/images/scott-stapp-18.webp |
|
unexpected values: w=770, h=1051, file_item.scale_to_width=874, file_item.scale_to_height=640, file_item.path=/workspace/ai-toolkit/images/scott-stapp-19.webp |
|
unexpected values: w=1500, h=1000, file_item.scale_to_width=576, file_item.scale_to_height=864, file_item.path=/workspace/ai-toolkit/images/scott-stapp-20.webp |
|
unexpected values: w=780, h=439, file_item.scale_to_width=397, file_item.scale_to_height=704, file_item.path=/workspace/ai-toolkit/images/scott-stapp-23.webp |
|
unexpected values: w=1581, h=1054, file_item.scale_to_width=576, file_item.scale_to_height=864, file_item.path=/workspace/ai-toolkit/images/scott-stapp-24.webp |
|
Dataset: /workspace/ai-toolkit/images |
|
- Preprocessing image dimensions |
|
0%| | 0/54 [00:00<?, ?it/s]Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-01.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-02.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-03.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-04.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-05.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-06.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-07.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-08.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-09.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-10.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-11.jpeg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-12.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-13.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-14.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-15.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-16.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-17.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-18.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-19.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-20.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-21.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-22.jpg' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-23.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-24.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-25.webp' |
|
100%|ββββββββββ| 54/54 [00:00<00:00, 8636.51it/s] |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-26.webp' |
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 53, in __init__ |
|
w, h = image_utils.get_image_size(self.path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 63, in get_image_size |
|
img = get_image_metadata(file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 95, in get_image_metadata |
|
return get_image_metadata_from_bytesio(input, size, file_path) |
|
File "/workspace/ai-toolkit/toolkit/image_utils.py", line 245, in get_image_metadata_from_bytesio |
|
raise UnknownImageFormat(FILE_UNKNOWN) |
|
toolkit.image_utils.UnknownImageFormat: Sorry, don't know how to get size for this file. |
|
|
|
During handling of the above exception, another exception occurred: |
|
|
|
Traceback (most recent call last): |
|
File "/workspace/ai-toolkit/toolkit/data_loader.py", line 453, in __init__ |
|
file_item = FileItemDTO( |
|
File "/workspace/ai-toolkit/toolkit/data_transfer_object/data_loader.py", line 57, in __init__ |
|
img = exif_transpose(Image.open(self.path)) |
|
File "/usr/local/lib/python3.10/dist-packages/PIL/Image.py", line 3309, in open |
|
raise UnidentifiedImageError(msg) |
|
PIL.UnidentifiedImageError: cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
|
|
Error processing image: /workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg |
|
cannot identify image file '/workspace/ai-toolkit/images/__MACOSX/._scott-stapp-27.jpeg' |
|
- Found 27 images |
|
Bucket sizes for /workspace/ai-toolkit/images: |
|
1024x704: 1 files |
|
832x1152: 2 files |
|
768x768: 1 files |
|
576x768: 1 files |
|
1216x704: 1 files |
|
1024x1024: 1 files |
|
960x704: 2 files |
|
832x704: 1 files |
|
896x704: 1 files |
|
576x832: 1 files |
|
448x576: 1 files |
|
384x384: 1 files |
|
768x1152: 1 files |
|
640x896: 1 files |
|
832x1216: 3 files |
|
1088x704: 1 files |
|
704x704: 1 files |
|
320x256: 1 files |
|
320x384: 1 files |
|
384x704: 1 files |
|
384x576: 1 files |
|
512x384: 1 files |
|
640x704: 1 files |
|
23 buckets made |
|
Caching latents for /workspace/ai-toolkit/images |
|
- Saving latents to disk |
|
Caching latents to disk: 0%| | 0/27 [00:00<?, ?it/s]
Caching latents to disk: 4%|β | 1/27 [00:00<00:04, 6.36it/s]
Caching latents to disk: 7%|β | 2/27 [00:00<00:03, 6.34it/s]
Caching latents to disk: 19%|ββ | 5/27 [00:00<00:01, 12.68it/s]
Caching latents to disk: 26%|βββ | 7/27 [00:00<00:02, 8.21it/s]
Caching latents to disk: 33%|ββββ | 9/27 [00:01<00:02, 8.52it/s]
Caching latents to disk: 48%|βββββ | 13/27 [00:01<00:01, 13.21it/s]
Caching latents to disk: 56%|ββββββ | 15/27 [00:01<00:01, 10.68it/s]
Caching latents to disk: 63%|βββββββ | 17/27 [00:01<00:01, 8.21it/s]
Caching latents to disk: 70%|βββββββ | 19/27 [00:01<00:00, 9.60it/s]
Caching latents to disk: 78%|ββββββββ | 21/27 [00:02<00:00, 9.97it/s]
Caching latents to disk: 89%|βββββββββ | 24/27 [00:02<00:00, 11.67it/s]
Caching latents to disk: 100%|ββββββββββ| 27/27 [00:02<00:00, 11.47it/s] |
|
unexpected values: w=770, h=1152, file_item.scale_to_width=1054, file_item.scale_to_height=704, file_item.path=/workspace/ai-toolkit/images/scott-stapp-01.webp |
|
unexpected values: w=770, h=1038, file_item.scale_to_width=960, file_item.scale_to_height=713, file_item.path=/workspace/ai-toolkit/images/scott-stapp-07.webp |
|
unexpected values: w=770, h=916, file_item.scale_to_width=838, file_item.scale_to_height=704, file_item.path=/workspace/ai-toolkit/images/scott-stapp-08.webp |
|
unexpected values: w=770, h=965, file_item.scale_to_width=896, file_item.scale_to_height=715, file_item.path=/workspace/ai-toolkit/images/scott-stapp-09.webp |
|
unexpected values: w=1200, h=798, file_item.scale_to_width=768, file_item.scale_to_height=1155, file_item.path=/workspace/ai-toolkit/images/scott-stapp-13.webp |
|
unexpected values: w=980, h=653, file_item.scale_to_width=640, file_item.scale_to_height=961, file_item.path=/workspace/ai-toolkit/images/scott-stapp-14.jpg |
|
unexpected values: w=770, h=1160, file_item.scale_to_width=1088, file_item.scale_to_height=723, file_item.path=/workspace/ai-toolkit/images/scott-stapp-17.webp |
|
unexpected values: w=770, h=1051, file_item.scale_to_width=961, file_item.scale_to_height=704, file_item.path=/workspace/ai-toolkit/images/scott-stapp-19.webp |
|
unexpected values: w=1500, h=1000, file_item.scale_to_width=832, file_item.scale_to_height=1248, file_item.path=/workspace/ai-toolkit/images/scott-stapp-20.webp |
|
unexpected values: w=1581, h=1054, file_item.scale_to_width=832, file_item.scale_to_height=1248, file_item.path=/workspace/ai-toolkit/images/scott-stapp-24.webp |
|
Generating baseline samples before training |
|
Generating Images: 0%| | 0/10 [00:00<?, ?it/s]
Generating Images: 10%|β | 1/10 [00:56<08:32, 56.95s/it]
Generating Images: 20%|ββ | 2/10 [01:36<06:11, 46.47s/it]
Generating Images: 30%|βββ | 3/10 [02:15<05:01, 43.11s/it]
Generating Images: 40%|ββββ | 4/10 [02:54<04:09, 41.51s/it]
Generating Images: 50%|βββββ | 5/10 [03:33<03:23, 40.60s/it]
Generating Images: 60%|ββββββ | 6/10 [04:12<02:40, 40.04s/it]
Generating Images: 70%|βββββββ | 7/10 [04:51<01:59, 39.70s/it]
Generating Images: 80%|ββββββββ | 8/10 [05:30<01:18, 39.46s/it]
Generating Images: 90%|βββββββββ | 9/10 [06:09<00:39, 39.30s/it]
Generating Images: 100%|ββββββββββ| 10/10 [06:48<00:00, 39.20s/it]
my_first_flux_lora_v1: 0%| | 0/3000 [00:00<?, ?it/s]
my_first_flux_lora_v1: 0%| | 0/3000 [00:04<?, ?it/s, lr: 1.0e-04 loss: 5.190e-01]
my_first_flux_lora_v1: 0%| | 0/3000 [00:04<?, ?it/s, lr: 1.0e-04 loss: 5.190e-01]
my_first_flux_lora_v1: 0%| | 0/3000 [00:10<?, ?it/s, lr: 1.0e-04 loss: 5.939e-01]
my_first_flux_lora_v1: 0%| | 1/3000 [00:10<5:22:15, 6.45s/it, lr: 1.0e-04 loss: 5.939e-01]
my_first_flux_lora_v1: 0%| | 1/3000 [00:12<5:22:15, 6.45s/it, lr: 1.0e-04 loss: 3.286e-01]
my_first_flux_lora_v1: 0%| | 2/3000 [00:13<3:24:45, 4.10s/it, lr: 1.0e-04 loss: 3.286e-01]
my_first_flux_lora_v1: 0%| | 2/3000 [00:16<3:24:45, 4.10s/it, lr: 1.0e-04 loss: 3.292e-01]
my_first_flux_lora_v1: 0%| | 3/3000 [00:16<3:13:26, 3.87s/it, lr: 1.0e-04 loss: 3.292e-01]
my_first_flux_lora_v1: 0%| | 3/3000 [00:18<3:13:26, 3.87s/it, lr: 1.0e-04 loss: 3.869e-01]
my_first_flux_lora_v1: 0%| | 4/3000 [00:18<2:32:11, 3.05s/it, lr: 1.0e-04 loss: 3.869e-01]
my_first_flux_lora_v1: 0%| | 4/3000 [00:21<2:32:11, 3.05s/it, lr: 1.0e-04 loss: 2.673e-01]
my_first_flux_lora_v1: 0%| | 5/3000 [00:21<2:40:31, 3.22s/it, lr: 1.0e-04 loss: 2.673e-01]
my_first_flux_lora_v1: 0%| | 5/3000 [00:24<2:40:31, 3.22s/it, lr: 1.0e-04 loss: 3.696e-01]
my_first_flux_lora_v1: 0%| | 6/3000 [00:24<2:24:00, 2.89s/it, lr: 1.0e-04 loss: 3.696e-01]
my_first_flux_lora_v1: 0%| | 6/3000 [00:28<2:24:00, 2.89s/it, lr: 1.0e-04 loss: 4.807e-01]
my_first_flux_lora_v1: 0%| | 7/3000 [00:28<2:40:32, 3.22s/it, lr: 1.0e-04 loss: 4.807e-01]
my_first_flux_lora_v1: 0%| | 7/3000 [00:31<2:40:32, 3.22s/it, lr: 1.0e-04 loss: 3.225e-01]
my_first_flux_lora_v1: 0%| | 8/3000 [00:31<2:47:34, 3.36s/it, lr: 1.0e-04 loss: 3.225e-01]
my_first_flux_lora_v1: 0%| | 8/3000 [00:34<2:47:34, 3.36s/it, lr: 1.0e-04 loss: 3.148e-01]
my_first_flux_lora_v1: 0%| | 9/3000 [00:34<2:34:05, 3.09s/it, lr: 1.0e-04 loss: 3.148e-01]
my_first_flux_lora_v1: 0%| | 9/3000 [00:37<2:34:05, 3.09s/it, lr: 1.0e-04 loss: 3.388e-01]
my_first_flux_lora_v1: 0%| | 10/3000 [00:37<2:41:44, 3.25s/it, lr: 1.0e-04 loss: 3.388e-01]
my_first_flux_lora_v1: 0%| | 10/3000 [00:39<2:41:44, 3.25s/it, lr: 1.0e-04 loss: 6.063e-01]
my_first_flux_lora_v1: 0%| | 11/3000 [00:39<2:23:46, 2.89s/it, lr: 1.0e-04 loss: 6.063e-01]
my_first_flux_lora_v1: 0%| | 11/3000 [00:46<2:23:46, 2.89s/it, lr: 1.0e-04 loss: 3.030e-01]
my_first_flux_lora_v1: 0%| | 12/3000 [00:46<3:17:32, 3.97s/it, lr: 1.0e-04 loss: 3.030e-01]
my_first_flux_lora_v1: 0%| | 12/3000 [00:48<3:17:32, 3.97s/it, lr: 1.0e-04 loss: 3.918e-01]
my_first_flux_lora_v1: 0%| | 13/3000 [00:48<2:57:13, 3.56s/it, lr: 1.0e-04 loss: 3.918e-01]
my_first_flux_lora_v1: 0%| | 13/3000 [00:51<2:57:13, 3.56s/it, lr: 1.0e-04 loss: 3.772e-01]
my_first_flux_lora_v1: 0%| | 14/3000 [00:51<2:40:03, 3.22s/it, lr: 1.0e-04 loss: 3.772e-01]
my_first_flux_lora_v1: 0%| | 14/3000 [00:55<2:40:03, 3.22s/it, lr: 1.0e-04 loss: 3.787e-01]
my_first_flux_lora_v1: 0%| | 15/3000 [00:55<2:46:44, 3.35s/it, lr: 1.0e-04 loss: 3.787e-01]
my_first_flux_lora_v1: 0%| | 15/3000 [00:59<2:46:44, 3.35s/it, lr: 1.0e-04 loss: 4.361e-01]
my_first_flux_lora_v1: 1%| | 16/3000 [00:59<3:07:24, 3.77s/it, lr: 1.0e-04 loss: 4.361e-01] |