Image Feature Extraction
Transformers
Safetensors
timm
timm_wrapper
feature-extraction
vision
histopathology
pathology
vit
pruning
knowledge-distillation
custom_code
Instructions to use originbio/TinyPath with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use originbio/TinyPath with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="originbio/TinyPath", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("originbio/TinyPath", trust_remote_code=True) model = AutoModel.from_pretrained("originbio/TinyPath", trust_remote_code=True, device_map="auto") - timm
How to use originbio/TinyPath with timm:
import timm model = timm.create_model("hf-hub:originbio/TinyPath", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!