SEFurkan GözükaraSECourses · Generative AI Join onPatreon

JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)

JoyCaption image captioner with batch processing and multi-GPU support, 1-click to install on Windows, RunPod and Massed Compute; this post is now obsolete.

Amazing image captioner with Joy Caption Alpha One and Pre-Alpha, 4-bit mode as low as 8.5 GB VRAM, caption prefix and suffix and duplicate sentence removal, tested on 8x A6000. The newer JoyCaption scripts are published in a new post.

Updated Published 10 version updatesBy Dr. Furkan Gözükara
WindowsRunPodMassed Compute1-Click Installer
JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)
On this page
Older post. this is an older post kept for reference. The current, maintained version is All JoyCaption Apps: 1-Click Installers With Batch Captioning.

Video tutorial

Fix 'Microsoft Visual C++ 14.0 or Greater Is Required' and Other AI Install Errors on Windows (2023)

Fix 'Microsoft Visual C++ 14.0 or Greater Is Required' and Other AI Install Errors on Windows (2023) · chapters and summary

This post is now obsolete : https://www.patreon.com/posts/118827960

New post : https://www.patreon.com/posts/118827960

New scripts are published at : https://www.patreon.com/posts/118827960

https://www.patreon.com/posts/118827960

For mass editing captions > SECourses Caption Editor Pro: Easy Batch Caption Editing Gradio App

Latest installers : Joy_Caption_v25.zip

Version history

10 updates, newest first. Click an update to see its version log.

24 November 2024Update V23

  • Stop batch processing button added as requested

24 November 2024Update V23

  • Forced resize to 384px removed and now clip_processor will process and resize images
  • Batch size fixed for newer Alpha One app but i felt like it slowed down for RTX 3090 on 4-bit mode
  • Now models will be downloaded way faster

22 September 2024Update V20

  • Joy Caption Alpha One added to the apps
  • Now you can start both older Pre-Alpha and Alpha One via Windows start
  • Cloud instructions also have details to start older or newer version
  • 4-bit mode works perfect and uses as low as 8.5 GB GPU with newer Alpha One
  • Make a fresh install into a new folder please
  • After very first run (wait till download models and generate caption), restart app to make it fully accurately working
  • We started using original LLAMA therefore you should delete older one that is in your Hugging Face cache to empty space
  • Tutorial for this : How to Get Installation Logs and Change the Hugging Face Cache Folder
  • The folder that you need to delete is models--rombodawg--Meta-Llama-3.1-8B-Instruct-reuploaded (optional but you save space)
  • Please upvote this thread if possible : https://www.reddit.com/r/FluxAI/comments/1fmupnm/detailed_comparison_of_joycaption_alpha_one_vs/

19 September 2024Update V17

  • Now it will display as JoyCaption in the browser tab
  • A new feature remove repeating (duplicate) sentences added and it is enabled by default

15 September 2024Update V16

  • Optional prefix and suffix added to the app (don't forget to add space char to beginning or end)
  • Optional don't save captioned images checkbox added to the app
  • Just overwrite previous app.py file for updating
  • Torch version upgraded to 2.4.1

27 August 2024Update V12

  • A bug which was causing saved images in outputs folders to be resized fixed - now original input images saved
  • Batch size processing added - can increase your processing speed

26 August 2024Update V11

25 August 2024Update V10

  • Cut off at last complete sentence feature added
  • Multi GPU-batch caption development in progress

24 August 2024Update V6 Big Update

  • New library added - huge speed up
  • 4-bit loading added - works perfect - try both and see if works fast
  • Overwrite previous files and run installer again
  • More control options added Max New Tokens, Do Sample, Top K, Temperature, Padding,
    Truncation, Add Special Tokens
  • Currently they are set as default
  • Now app will auto remove |. from text outputs
  • Batch processing errors fixed and logic improved and

24 August 2024Update

  • Every single processed image now will be saved into outputs folder with generate caption automatically
  • Open outputs folder button added
  • Just overwrite previous app.py file
  • Input image height set to 512px so you can see better
  • Now it will show batch processing status better
  • Also it adds "This is" to beginning of every caption and it will be auto removed now

Windows Requirements

How to Install and Use on Windows

  • Extract the attached Joy_Caption_v12.zip into a folder like c:/joyv7
  • Then double click and install with Windows_Install.bat file
  • It will generate an isolated virtual environment venv folder and install requirements
  • Then double click and start the Gradio App with Windows_Start_App.bat file
  • When first time running it will download models into your Hugging Face cache folder
  • Hugging Face cache folder setup explained below
  • How to Get Installation Logs and Change the Hugging Face Cache Folder
  • It will by default save every caption with options as you set
  • However for single files sadly Gradio can't read the folder accurately
  • So use batch folder processing

How to Install and Use on Cloud

  • Follow Massed Compute and RunPod instructions
  • Usage is same as on Windows

Regarding Default Expert Settings

Regarding Default Expert Settings – JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)

App Screenshots and Examples

App Screenshots and Examples – JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)
 

App Screenshots and Examples (2) – JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)
 

App Screenshots and Examples (3) – JoyCaption Image Captioner: Batch & Multi-GPU Installers (Legacy)
 

Help and community

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

↑ ↓ to move · Enter to open · Esc to close · Ctrl K or / to search from any page