Instructions to use kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m") - Notebooks
- Google Colab
- Kaggle
See our collection for all versions of DINOv3.
Run DINOv3 with Keras 3: JAX, PyTorch, or TensorFlow
kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m
Paper: DINOv3: Self-Supervised Visual Representation Learning at Scale (arXiv:2508.10104) · HF Papers
DINOv3 continues self-supervised visual pretraining at larger scale, with ViT and ConvNeXt backbones. These checkpoints return features for downstream heads (ViT variants also expose register tokens).
For more details on the model, please go to the upstream model card.
Pure-Keras 3 conversion of facebook/dinov3-convnext-tiny-pretrain-lvd1689m for kerasformers. One implementation runs unmodified on TensorFlow / Torch / JAX.
This is a self-supervised backbone (DinoV3ConvNeXtModel), not a task head.
✨ Quick start
import os
os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
from kerasformers.models.dino_v3 import DinoV3ConvNeXtModel, DinoV3ImageProcessor
# The processor resizes + ImageNet-normalizes, so build the model with
# include_normalization=False (it would otherwise normalize a second time).
model = DinoV3ConvNeXtModel.from_weights(
"kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m", include_normalization=False
)
processor = DinoV3ImageProcessor.from_weights("kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m")
pixel_values = processor("your_image.jpg")["pixel_values"]
features = model(pixel_values, training=False)
print(pixel_values.shape, features.shape)
Load any DINOv3 variant the same way with from_weights("kerasformers/<variant>"):
| Variant | Hub | Backbone |
|---|---|---|
dinov3-vits16-pretrain-lvd1689m |
kerasformers/dinov3-vits16-pretrain-lvd1689m |
ViT-S/16 |
dinov3-vitb16-pretrain-lvd1689m |
kerasformers/dinov3-vitb16-pretrain-lvd1689m |
ViT-B/16 |
dinov3-vitl16-pretrain-lvd1689m |
kerasformers/dinov3-vitl16-pretrain-lvd1689m |
ViT-L/16 |
dinov3-convnext-tiny-pretrain-lvd1689m |
kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m |
ConvNeXt-T |
dinov3-convnext-small-pretrain-lvd1689m |
kerasformers/dinov3-convnext-small-pretrain-lvd1689m |
ConvNeXt-S |
dinov3-convnext-base-pretrain-lvd1689m |
kerasformers/dinov3-convnext-base-pretrain-lvd1689m |
ConvNeXt-B |
dinov3-convnext-large-pretrain-lvd1689m |
kerasformers/dinov3-convnext-large-pretrain-lvd1689m |
ConvNeXt-L |
Tips
- Set
KERAS_BACKENDbefore importing Keras / kerasformers. - The processor normalizes; pair it with
include_normalization=False. To skip it, feed raw[0, 255]pixels and keep the defaultinclude_normalization=True. - Upstream facebook/dinov3-* weights are gated under the DINOv3 license.
- See DINOv3 docs and Loading Weights.
- Community / upstream weights:
DinoV3ConvNeXtModel.from_weights("hf:facebook/dinov3-convnext-tiny-pretrain-lvd1689m").
Special Thanks
A huge thank you to the Meta DINOv3 authors for creating and releasing these models.
License: see the DINOv3 license (Hub tag: other / dinov3-license).
- Downloads last month
- 306
Model tree for kerasformers/dinov3-convnext-tiny-pretrain-lvd1689m
Base model
facebook/dinov3-vit7b16-pretrain-lvd1689m