Commit Graph

40 Commits

Author SHA1 Message Date
Victor Hall 51edb0c568
Update image_caption_gui.py
Signed-off-by: Victor Hall <victor.charles.hall@gmail.com>
2023-05-30 12:48:44 -04:00
Victor Hall da15f0a745 Add torch_device option to scripts/auto_caption.py
This allows using auto_caption on apple sillicon macs by specifying cpu
as an argument for now, and might allow using mps eventually, once more
operators are implemented.
2023-03-05 15:42:43 -05:00
= f18d63f09f add support for jpeg, less ambigious extension list 2022-12-18 07:00:52 +07:00
Victor Hall 99eb7dedc8
Merge pull request #16 from mstevenson/main
Image caption GUI app fixes
2022-11-29 09:04:04 -08:00
Victor Hall 54d678bc33 bug in compress img 2022-11-28 15:06:27 -05:00
Michael Stevenson 53809e3b3f Fix index out of range when deleting the final image 2022-11-28 09:37:08 -08:00
Michael Stevenson ba7e2a5328 Handle open dialog canceled 2022-11-28 09:33:39 -08:00
Michael Stevenson da90d86bbd Case insensitive filename sorting 2022-11-27 09:51:05 -08:00
Michael Stevenson d49098dbca Show image index in the title 2022-11-27 09:51:05 -08:00
KMSteffen c027de26e0
Refactor compress.py to with asyncio / threading.
The thread count depends on the system's processor count, similar to the defaults of `ThreadPoolExecutor`.

Signed-off-by: KMSteffen <762141+haxys@users.noreply.github.com>
2022-11-26 12:09:45 -06:00
UnderSampled 0d2119ea2f Don't download BLIP model in to memory before saving; Download directly to file. 2022-11-25 16:24:02 -05:00
Victor Hall 8db26171cc option to skip resize on compress img 2022-11-24 22:13:30 -05:00
Victor Hall a102788275 compress image script 2022-11-22 18:17:40 -05:00
Michael Stevenson 891f53da04 Added video extractor arguments and documentation 2022-11-21 17:58:44 -08:00
Michael Stevenson 245e6705f5 Scale image to fit frame 2022-11-21 14:44:05 -08:00
Victor Hall a0d95ae667 update 2022-11-21 16:22:31 -05:00
Michael Stevenson e32a683c24 Image caption GUI refactor 2022-11-21 11:07:56 -08:00
Michael Stevenson eaffafcebb Add video frame extractor and image caption gui 2022-11-21 09:36:29 -08:00
Victor Hall 1d17d8e28a make autocaption use async for all file operations, append _n to filename rename 2022-11-15 19:07:28 -05:00
Victor Hall fa0287be84 add script to push filename to .txt 2022-11-13 23:37:42 -05:00
Victor Hall 36a4fdc0e6 only strip slashes from caption if using filename output 2022-11-12 16:49:33 -05:00
Victor Hall 6178e204ec strip slashes from caption to avoid filename issues on output 2022-11-12 16:45:30 -05:00
Victor Hall cecbda97ea remove static due to compatibility issues 2022-11-12 14:05:10 -05:00
Victor Hall 09efafc60d remove static, compatibility 2022-11-11 12:47:27 -05:00
Victor Hall be3fbf9b2c bug in filerename 2022-11-11 09:14:37 -05:00
Victor Hall bc2001ac7f bug in file renamer 2022-11-11 00:37:12 -05:00
Victor Hall b4a9d2b949 update autocaption to be able to create .caption and .txt sidecars instead of filename 2022-11-10 11:22:20 -05:00
Victor Hall fad322cba3 automatically rename to unique on dupe 2022-11-04 14:24:00 -04:00
Victor Hall 49e25885b8 better error handling on file rename 2022-11-04 14:21:03 -04:00
Victor Hall 87c8ae7d32 fix bug 2022-11-04 14:18:42 -04:00
Victor Hall b56373762c autocreate cache and output folder 2022-11-04 13:48:05 -04:00
Victor Hall 0aa31179d7 file renamer and some general updates 2022-11-01 20:02:54 -04:00
Victor Hall e91d9eafe6 file rename script 2022-10-31 22:18:23 -04:00
Victor Hall 53a774e696 working on colab for auto_caption 2022-10-31 00:02:10 -04:00
Victor Hall 814440c288 big update, adding auto-captioning 2022-10-30 21:59:26 -04:00
Victor Hall 62ddb83042 fixing up filenames, bug fixes, concurrency limit 2022-10-29 18:07:57 -04:00
Victor Hall e32ba02819 fix big dumb on os detection 2022-10-24 19:03:15 -04:00
Victor Hall f033a38ff6 fixing up some bugs with filenames 2022-10-23 00:38:25 -04:00
Victor Hall e8d8c9b962 working script for laion search and download 2022-10-18 22:56:38 -04:00
Victor Hall f38c73bccf initial setup stuff 2022-10-15 23:20:26 -04:00