How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-feature-extraction", model="quebeccyb/vehitv-cropped", trust_remote_code=True)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("quebeccyb/vehitv-cropped", trust_remote_code=True, dtype="auto")
Quick Links

Vehicle Cosine Encoder

256-D embedding model for vehicle re-identification. Trained with CosineEmbeddingLoss on ~5k vehicles from used-car marketplace listings.

Usage

from transformers import AutoModel
model = AutoModel.from_pretrained("quebeccyb/<repo-name>", trust_remote_code=True).eval()
# pixel_values: float tensor (B, 3, 256, 256), letterboxed to square
emb = model(pixel_values)
Downloads last month
84
Safetensors
Model size
11.3M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support