A napari plugin for segmentation using vision transformer features
Project description
Feature Forest
A napari plugin for making image annotation using feature space of vision transformers and random forest classifier.
We developed a napari plugin to train a Random Forest model using extracted features of vision foundation models and just a few scribble labels provided by the user as input. This approach can do the segmentation of desired objects almost as well as manual segmentations but in a much shorter time with less manual effort.
Documentation
You can check the documentation here (⚠️ work in progress!).
Installation
We provided install.sh for Linux & Mac OS users, and install.bat for Windows users.
First you need to clone the repo:
git clone https://github.com/juglab/featureforest
cd ./featureforest
Now run the installation script:
# Linux or Mac OS
sh ./install.sh
# Windows
./install.bat
For developers that want to contribute to FeatureForest, you need to use this command to install the dev dependencies:
pip install -U "featureforest[dev]"
And make sure you have pre-commit installed in your environment, before committing changes:
pre-commit install
For more detailed installation guide, check out here.
Cite us
Seifi, Mehdi, Damian Dalle Nogare, Juan Battagliotti, Vera Galinova, Ananya Kediga Rao, AI4Life Horizon Europe Programme Consortium, Johan Decelle, Florian Jug, and Joran Deschamps. "FeatureForest: the power of foundation models, the usability of random forests." bioRxiv (2024): 2024-12. DOI: 10.1101/2024.12.12.628025
License
Distributed under the terms of the BSD-3 license, "featureforest" is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file featureforest-0.1.0.tar.gz.
File metadata
- Download URL: featureforest-0.1.0.tar.gz
- Upload date:
- Size: 12.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0515ee46176c2ad0b86016678cc6a3c683ff4e6741c08345cf6b37a2a9d69f6c
|
|
| MD5 |
368cc387a11585e9cf233e66a56a3d7c
|
|
| BLAKE2b-256 |
371f0695a244ff1d7575802b8f78a8cfe801998f9edf35bd02f6e510c1d654b4
|
Provenance
The following attestation bundles were made for featureforest-0.1.0.tar.gz:
Publisher:
setup_test_publish.yml on juglab/featureforest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
featureforest-0.1.0.tar.gz -
Subject digest:
0515ee46176c2ad0b86016678cc6a3c683ff4e6741c08345cf6b37a2a9d69f6c - Sigstore transparency entry: 245893096
- Sigstore integration time:
-
Permalink:
juglab/featureforest@e49b60ce433d6e51792af3d15ec7a34aab74698f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/juglab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
setup_test_publish.yml@e49b60ce433d6e51792af3d15ec7a34aab74698f -
Trigger Event:
push
-
Statement type:
File details
Details for the file featureforest-0.1.0-py3-none-any.whl.
File metadata
- Download URL: featureforest-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f4d3d1e86203965952ea5eaba0faf868b75621f929c29a0fbbec5bf1f0a195
|
|
| MD5 |
ccf11e5b55c729de51d84f845b461bb3
|
|
| BLAKE2b-256 |
18c768996baf6ab2d0fe6347dec385a36fcf6e71d11b79af294aac9e07e88656
|
Provenance
The following attestation bundles were made for featureforest-0.1.0-py3-none-any.whl:
Publisher:
setup_test_publish.yml on juglab/featureforest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
featureforest-0.1.0-py3-none-any.whl -
Subject digest:
e9f4d3d1e86203965952ea5eaba0faf868b75621f929c29a0fbbec5bf1f0a195 - Sigstore transparency entry: 245893098
- Sigstore integration time:
-
Permalink:
juglab/featureforest@e49b60ce433d6e51792af3d15ec7a34aab74698f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/juglab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
setup_test_publish.yml@e49b60ce433d6e51792af3d15ec7a34aab74698f -
Trigger Event:
push
-
Statement type: