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

FastViT base model for use with Autodistill.

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

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary

Keywords

autodistill computer-vision fastvit image-classification zero-shot-classification
Last synced: 5 months ago · JSON representation

Repository

FastViT base model for use with Autodistill.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
autodistill computer-vision fastvit image-classification zero-shot-classification
Created over 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

Autodistill FastViT Module

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

FastViT, developed by Apple, is a classification model that supports zero-shot classification.

Read the full Autodistill documentation.

Read the FastViT Autodistill documentation.

Installation

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

bash pip3 install autodistill-fastvit

Quickstart

FastViT works using the ImageNet-1k class list. This class list is available in the FASTVIT_IMAGENET_1K_CLASSES variable.

You can provide classes from the list to retrieve predictions for a specific class in the list. You can also provide a custom ontology to map classes from the list to your own classes.

```python from autodistillfastvit import FastViT, FASTVITIMAGENET1KCLASSES from autodistill.detection import CaptionOntology

zero shot with no prompts

base_model = FastViT(None)

zero shot with prompts from FASTVITIMAGENET1K_CLASSES

base_model = FastViT( ontology=CaptionOntology( { "coffeemaker": "coffeemaker", "ice cream": "ice cream" } ) )

predictions = base_model.predict("./example.png")

labels = [FASTVITIMAGENET1KCLASSES[i] for i in predictions.classid.tolist()]

print(labels) ```

License

See LICENSE for the model 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
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 7
  • Total Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
James Gallagher j****g@j****g 7
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total 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
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
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 31 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
pypi.org: autodistill-fastvit

FastViT model for use with Autodistill

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 31 Last month
Rankings
Dependent packages count: 9.1%
Average: 38.7%
Dependent repos count: 68.3%
Maintainers (1)
Last synced: 6 months ago