Spaces:
Sleeping
Sleeping
File size: 1,296 Bytes
c3c9450 7cf32e7 c3c9450 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
---
title: BioClip Image Classification
emoji: 🌿
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 3.27.0
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# BioClip Image Classification
This Hugging Face Space demonstrates image classification using the BioClip model. Upload an image to get a prediction of its class, along with the top 3 most similar classes and file paths.
## How to Use
1. Open the Gradio interface in this Space.
2. Upload an image using the provided input area.
3. The model will process the image and return:
- The predicted class
- The top 3 most similar classes
- The top 3 most similar file paths from the dataset
## About the Model
This Space uses the BioClip model, which is designed for biological image classification. The model is loaded from the Hugging Face model hub (imageomics/bioclip).
## Technical Details
- The Space uses Gradio for the user interface.
- It employs FAISS indexes for efficient similarity search.
- The classification is performed using a k-nearest neighbors approach with majority voting.
## Note
The FAISS indexes are downloaded at runtime. Make sure your Space has internet access to download these files when the app starts. |