Update kohya_gui/blip2_caption_gui.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/3252/head
bmaltais 2025-05-25 18:10:24 -04:00 committed by GitHub
parent 59b4bb6977
commit 451f051d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def load_model():
# Initialize the BLIP2 processor
processor = Blip2Processor.from_pretrained("Salesforce/blip2-opt-2.7b")
print('processor:' + str(processor))
log.debug('Processor initialized: %s', processor)
# Initialize the BLIP2 model
model = Blip2ForConditionalGeneration.from_pretrained(