# Copyright (c) Meta Platforms, Inc. and affiliates. # # This software may be used and distributed in accordance with # the terms of the DINOv3 License Agreement. # # Slimmed from facebookresearch/dinov3 hubconf.py for AddaxAI: only the # dinov3_vitb16 backbone entry point that DeepForestVision v2 uses. The # upstream hubconf also imports the classifier / detector / segmentor / # depther / dinotxt entry points, which pull in eval and training # dependencies (termcolor, submitit, torchmetrics, ...) that inference # does not need and that are not installed in AddaxAI's env. dependencies = ["torch", "numpy"] from dinov3.hub.backbones import dinov3_vitb16 # noqa: F401