S3BIR / src /dinov2 /eval /depth /models /backbones /vision_transformer.py
CHSTR's picture
S3BIR app demo
3e0e9f4
raw
history blame contribute delete
435 Bytes
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the Apache License, Version 2.0
# found in the LICENSE file in the root directory of this source tree.
from mmcv.runner import BaseModule
from ..builder import BACKBONES
@BACKBONES.register_module()
class DinoVisionTransformer(BaseModule):
"""Vision Transformer."""
def __init__(self, *args, **kwargs):
super().__init__()