{ "cells": [ { "cell_type": "code", "execution_count": 50, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Captioned Files \n", "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n", "┃ File Path ┃\n", "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00000233-03232306.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00051-1629238066.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00053-241989068.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00091-2849301263.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00302-1912251111.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00845-1683561778.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\07bd3943-bd6c-4c9b-9e0a-683ed1b92899.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\10846033.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\10846076.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\1539232.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\1f049eb995024948b6b7f2205e0703af.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\2018-12-02-19-17-46-1200x800.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\37398.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\3dfb5542-b462-435b-b204-83b76122f4a1.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\441e95f17163856adbcdee6b1b2cb433.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\74a76661fe5840e08f7724cabd93b289.pngtplv-6bxrjdptv7-image.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\7af8f639c59f0276970a3b476778c9a5.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\81b16ba5-5867-4dac-b2aa-e366f10778e2.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\83973-fox-foxes-face.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\882adc1422e945259cf54be10ab8270e.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\8a3caa4d-1fbf-473c-80cb-b632b4db2480.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\animal-fur-2.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\b4584b0f5f4d11df8181000b2f3ed30f.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00007_.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00010_.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00014_.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Border-Collie-2.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\border-collie-4.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\border-collie-running-grass-299097784-2000-226321f61c2c426da90434e13a55a0b5.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\cute-red-panda-ailurus-fulgens-in-a-tree.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fenn.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fennec-fox--vulpes-zerda---484466908-bc194497fd834b29bf44692c4908d4bc.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fennec-fox-01-f56044b427f64d64a263417db3c23a13.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\gecko.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\iStock-484910814.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\nTaTmTRFHB6ejyqIjWRJDS5HwuSUvpDmN8Un3jTO9rs.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\puvwusj6wcu41.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Red_Panda_(25193861686).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\rev-1-PDP-TRL2-093_High_Res_JPEG.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard--panthera-uncia--157528589-5c473a9ec9e77c00016ec625.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-1373866.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-1463457416BI7.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-yawning-1.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Snow_Leopard_Relaxed.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\the-cuteness-that-is-the-fennec-fox-fennec-foxes-19305761-2560-1707.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\the-endangered-snow-leopard.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Young-Snow-Leopard-©-David-Lawson-_-WWF-UK-scaled.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\10b627b9b2bd45a10ecadb685679bf3c.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\129440_Iridescent-fish-scales_shutterstock_586009376---Index.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\p86qy9k3xm851.txt │\n", "└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n", "\n" ], "text/plain": [ "\u001b[3m Captioned Files \u001b[0m\n", "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n", "┃\u001b[1m \u001b[0m\u001b[1mFile Path \u001b[0m\u001b[1m \u001b[0m┃\n", "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00000233-03232306.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00051-1629238066.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00053-241989068.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00091-2849301263.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00302-1912251111.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00845-1683561778.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\07bd3943-bd6c-4c9b-9e0a-683ed1b92899.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\10846033.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\10846076.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\1539232.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\1f049eb995024948b6b7f2205e0703af.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\2018-12-02-19-17-46-1200x800.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\37398.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\3dfb5542-b462-435b-b204-83b76122f4a1.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\441e95f17163856adbcdee6b1b2cb433.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\74a76661fe5840e08f7724cabd93b289.pngtplv-6bxrjdptv7-image.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\7af8f639c59f0276970a3b476778c9a5.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\81b16ba5-5867-4dac-b2aa-e366f10778e2.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\83973-fox-foxes-face.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\882adc1422e945259cf54be10ab8270e.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\8a3caa4d-1fbf-473c-80cb-b632b4db2480.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\animal-fur-2.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\b4584b0f5f4d11df8181000b2f3ed30f.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00007_.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00010_.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\BifrostprojectV4.8.safetensorsUpscale_00014_.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Border-Collie-2.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\border-collie-4.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\border-collie-running-grass-299097784-2000-226321f61c2c426da90434e13a55a0b5.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\cute-red-panda-ailurus-fulgens-in-a-tree.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fenn.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fennec-fox--vulpes-zerda---484466908-bc194497fd834b29bf44692c4908d4bc.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fennec-fox-01-f56044b427f64d64a263417db3c23a13.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\gecko.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\iStock-484910814.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\nTaTmTRFHB6ejyqIjWRJDS5HwuSUvpDmN8Un3jTO9rs.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\puvwusj6wcu41.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Red_Panda_(25193861686).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\rev-1-PDP-TRL2-093_High_Res_JPEG.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard--panthera-uncia--157528589-5c473a9ec9e77c00016ec625.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-1373866.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-1463457416BI7.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\snow-leopard-yawning-1.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Snow_Leopard_Relaxed.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\the-cuteness-that-is-the-fennec-fox-fennec-foxes-19305761-2560-1707.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\the-endangered-snow-leopard.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\Young-Snow-Leopard-©-David-Lawson-_-WWF-UK-scaled.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\10b627b9b2bd45a10ecadb685679bf3c.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\129440_Iridescent-fish-scales_shutterstock_586009376---Index.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\5_scale_iridescence\\p86qy9k3xm851.txt \u001b[0m\u001b[36m \u001b[0m│\n", "└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
Files without Captions \n", "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n", "┃ File Path ┃\n", "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00194-1154751552.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\c50d73ab7dc24215b3dc3fcfc014d5da.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\ComfyUI_00870_.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\e5280a8f-4b21-45a9-bfd7-9b0d4cf2524d.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fine_print_part_3_7__horse_tf__by_spichtf_dh2nq5m-fullview.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\HeuA9t.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\imagen.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\loonatest1.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (2).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (3).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (4).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (5).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (6).txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view2.txt │\n", "│ C:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view3.txt │\n", "└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n", "\n" ], "text/plain": [ "\u001b[3m Files without Captions \u001b[0m\n", "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n", "┃\u001b[1m \u001b[0m\u001b[1mFile Path \u001b[0m\u001b[1m \u001b[0m┃\n", "┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\00194-1154751552.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\c50d73ab7dc24215b3dc3fcfc014d5da.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\ComfyUI_00870_.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\e5280a8f-4b21-45a9-bfd7-9b0d4cf2524d.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\fine_print_part_3_7__horse_tf__by_spichtf_dh2nq5m-fullview.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\HeuA9t.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\imagen.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\loonatest1.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (2).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (3).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (4).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (5).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view (6).txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view2.txt \u001b[0m\u001b[36m \u001b[0m│\n", "│\u001b[36m \u001b[0m\u001b[36mC:\\Users\\kade\\Desktop\\training_dir_staging\\1_realistic\\view3.txt \u001b[0m\u001b[36m \u001b[0m│\n", "└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from rich import print\n", "from rich.console import Console\n", "from rich.table import Table\n", "from rich.text import Text\n", "import os\n", "\n", "def has_captions(file_path):\n", " with open(file_path, 'r') as file:\n", " content = file.read()\n", " if '.,' in content:\n", " return True\n", " else:\n", " return False\n", "\n", "def find_caption_files(directory):\n", " caption_files = []\n", " no_caption_files = []\n", " for root, _, files in os.walk(directory):\n", " for file in files:\n", " if file.endswith('.txt'):\n", " file_path = os.path.join(root, file)\n", " if has_captions(file_path):\n", " caption_files.append(file_path)\n", " else:\n", " no_caption_files.append(file_path)\n", " return caption_files, no_caption_files\n", "\n", "if __name__ == \"__main__\":\n", " directory = r\"C:\\Users\\kade\\Desktop\\training_dir_staging\"\n", " caption_files, no_caption_files = find_caption_files(directory)\n", "\n", " console = Console(width=200)\n", "\n", " table = Table(title=\"Captioned Files\", expand=True)\n", " table.add_column(\"File Path\", style=\"cyan\", no_wrap=False)\n", " for file_path in caption_files:\n", " table.add_row(file_path)\n", " console.print(table)\n", "\n", " if no_caption_files:\n", " table = Table(title=\"Files without Captions\", expand=True)\n", " table.add_column(\"File Path\", style=\"cyan\", no_wrap=False)\n", " for file_path in no_caption_files:\n", " table.add_row(file_path)\n", " console.print(table)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" } }, "nbformat": 4, "nbformat_minor": 2 }