Skip to content

Unable to use 'DINOV2Backbone' #2456

@pestanadiego

Description

@pestanadiego

Describe the bug
I've been trying to use the from_preset() method of the DINOV2Backbone class, but:

AttributeError: module 'keras_hub.models' has no attribute

To Reproduce
https://colab.research.google.com/drive/12-n-Pp8vDbvUikYYdLodJVwN0I-pY7DZ?usp=sharing

Expected behavior
It should work the same way as the documentation: https://keras.io/keras_hub/api/models/dinov2/dinov2_backbone/#from_preset-method

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions