https://github.com/autodistill/autodistill-blipv2

BLIPv2 model for use with Autodistill.

https://github.com/autodistill/autodistill-blipv2

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords from Contributors

archival interactive transformers sequences projection generic observability autograding hacking shellcodes
Last synced: 11 months ago · JSON representation

Repository

BLIPv2 model for use with Autodistill.

Basic Info
  • Host: GitHub
  • Owner: autodistill
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 11.7 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created about 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

Autodistill BLIPv2 Module

This repository contains the code supporting the BLIPv2 base model for use with Autodistill.

BLIPv2, developed by Salesforce, is a computer vision model that supports visual question answering and zero-shot classification. Autodistill supports classifying images using BLIPv2.

Read the full Autodistill documentation.

Read the BLIPv2 Autodistill documentation.

Installation

To use BLIPv2 with autodistill, you need to install the following dependency:

bash pip3 install autodistill-blipv2

Quickstart

```python from autodistill_blip import BLIPv2

define an ontology to map class names to our BLIPv2 prompt

the ontology dictionary has the format {caption: class}

where caption is the prompt sent to the base model, and class is the label that will

be saved for that caption in the generated annotations

then, load the model

basemodel = BLIPv2( ontology=CaptionOntology( { "person": "person", "a forklift": "forklift" } ) ) basemodel.label("./context_images", extension=".jpeg") ```

License

This project is licensed under a 3-Clause BSD license.

🏆 Contributing

We love your input! Please see the core Autodistill contributing guide to get started. Thank you 🙏 to all our contributors!

Owner

  • Name: Autodistill
  • Login: autodistill
  • Kind: organization
  • Email: autodistill@roboflow.com

Use bigger slower models to train smaller faster ones

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 4
  • Total Committers: 2
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
dependabot[bot] 4****] 2
James Gallagher j****g@j****g 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 35 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.67
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (4)
Top Labels
Issue Labels
Pull Request Labels
dependencies (4)

Dependencies

setup.py pypi
  • autodistill *
  • numpy *
  • supervision *
  • torch *
  • transformers ==4.30.0