Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For Directory Batch With a Single Prompt #136

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ShadoWxShinigamI
Copy link

  1. Edit the python file to add location of the image directory that needs to be captioned (Line:22)
  2. Edit Prompt that gets used (Line:46)

Edit the python file to add location of the image directory that needs to be captioned (Line:22)
Edit Prompt that gets used (Line:46)
@FurkanGozukara
Copy link

ty so much gonna test this hopefully

ShadoWxShinigamI added 2 commits October 26, 2023 10:04
Added Arguments 
--imgdir=path/to/img/directory
--exist=skip/add/replace (To handle existing captions) 

enabled use_flash_attn by default
Added argument for prompt
--prompt="your prompt here"
ShadoW-Shinigami and others added 4 commits December 4, 2023 23:16
Changed it so that using --add does not create a new line, but appends the prompt in the same line.
@FurkanGozukara
Copy link

FurkanGozukara commented Feb 6, 2024

Hello again. Do you suggest Qwen/Qwen-VL-Chat-Int4 vs Qwen/Qwen-VL itself?

Also are there 4bit and 8bit version of Qwen/Qwen-VL?

and what is the difference between qwen-batch-single-pass-v2.py and qwen-batch-single-pass.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants