Code Monkey home page Code Monkey logo

stable-diffusion-webui-blip2-captioner's Introduction

stable-diffusion-webui-blip2-captioner

BLIP2 captioning tool as an extension of AUTOMATIC's WebUI.

Screenshots

screenshot 1

screenshot 2

Features

  • Lightweight models without large language models (the coco model only)
  • Batch processing

Parameters

Name Values Default Description
Sampling method Nucleus or Top-K Nucleus I don't know the difference. sorry.
Number of beams ≧ 0 3 Number of beams for beam search. 1 means no beam search.
Caption min length ≧ 0 10 The minimum length of the caption to be generated. If very large, caption accuracy may degrade
Caption max length ≧ Caption min length 30 The minimum length of the caption to be generated.
Top P ≧ 0.0 0.9 The cumulative probability for nucleus sampling.

License

This software includes the following third-party libraries:

Related extensions

stable-diffusion-webui-blip2-captioner's People

Contributors

p1atdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rossja

stable-diffusion-webui-blip2-captioner's Issues

Model Location

Where does the Coco model get saved to? I can't find it in either the master/model folder or the .cache\huggingface\hub one.

Error PIP

Hello / Good evening
I encounter an anomaly after the installation and reboot of stable diffusion, this one tells me to install a new version of pip, but it is already present and installed, multiple errors that then come in sequence,

error on batch run but OK in single image

error on batch run but OK in single image
error message says:

Error: Sizes of tensors must match except in dimension 1. Expected size 49 but got size 7 for tensor number 1 in the list.

Any idea?

Batch problem

I tried Single, it's fine.
But when I tried Batch, it showed the following error.

Error: Sizes of tensors must match except in dimension 1. Expected size 9 but got size 3 for tensor number 1 in the list.

What should I do?

Double loading on first run :(

When I first clicked to Interrogate I see 2 loading and after it loaded it generate text 2 times :(
Loading coco model...
Loading coco model...
Position interpolate from 16x16 to 26x26
Position interpolate from 16x16 to 26x26
Model coco loaded
Generating captions...
a man in front of many women dressed in military uniforms
Model coco loaded
Generating captions...
kim yong bin poses for a photograph with women wearing hats

If unload model and click again - all fine!
It took X2 more time on first click :((

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.