Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
DINO is self-supervised: a student and teacher match across crops of the same image with no labels. The resulting features are semantic for free. These checkpoints are backbones that return tokens / feature maps.
For more details on the model, please go to the upstream
model card
.
This is a
self-supervised backbone
(
DinoViTModel
), not a task head.
✨ Quick start
import os
os.environ["KERAS_BACKEND"] = "torch"# or "jax" / "tensorflow"from zeromodels.models.dino import DinoViTModel, DinoImageProcessor
# The processor resizes + ImageNet-normalizes, so build the model with# include_normalization=False (it would otherwise normalize a second time).
model = DinoViTModel.from_weights(
"zeromodels/dino-vitb16", include_normalization=False
)
processor = DinoImageProcessor.from_weights("zeromodels/dino-vitb16")
pixel_values = processor("your_image.jpg")["pixel_values"]
features = model(pixel_values, training=False)
print(pixel_values.shape, features.shape)
Load any DINO variant the same way with
from_weights("zeromodels/<variant>")
:
Set
KERAS_BACKEND
before
importing Keras / zeromodels.
The processor normalizes; pair it with
include_normalization=False
. To skip it, feed raw
[0, 255]
pixels and keep the default
include_normalization=True
.
dino-resnet50
was converted from torch.hub
facebookresearch/dino
.
dino-vitb16 huggingface.co is an AI model on huggingface.co that provides dino-vitb16's model effect (), which can be used instantly with this zeromodels dino-vitb16 model. huggingface.co supports a free trial of the dino-vitb16 model, and also provides paid use of the dino-vitb16. Support call dino-vitb16 model through api, including Node.js, Python, http.
dino-vitb16 huggingface.co is an online trial and call api platform, which integrates dino-vitb16's modeling effects, including api services, and provides a free online trial of dino-vitb16, you can try dino-vitb16 online for free by clicking the link below.
zeromodels dino-vitb16 online free url in huggingface.co:
dino-vitb16 is an open source model from GitHub that offers a free installation service, and any user can find dino-vitb16 on GitHub to install. At the same time, huggingface.co provides the effect of dino-vitb16 install, users can directly use dino-vitb16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.