Download detectron2/modeling/backbone/__init__.py from Navyssh/StyleSync: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/Navyssh/StyleSync/resolve/main/detectron2/modeling/backbone/__init__.py
- Command line
-
hf download hf://Navyssh/StyleSync/detectron2/modeling/backbone/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Navyssh/StyleSync/resolve/main/detectron2/modeling/backbone/__init__.py
598 Bytes
| # Copyright (c) Facebook, Inc. and its affiliates. | |
| from .build import build_backbone, BACKBONE_REGISTRY # noqa F401 isort:skip | |
| from .backbone import Backbone | |
| from .fpn import FPN | |
| from .regnet import RegNet | |
| from .resnet import ( | |
| BasicStem, | |
| ResNet, | |
| ResNetBlockBase, | |
| build_resnet_backbone, | |
| make_stage, | |
| BottleneckBlock, | |
| ) | |
| from .vit import ViT, SimpleFeaturePyramid, get_vit_lr_decay_rate | |
| from .mvit import MViT | |
| from .swin import SwinTransformer | |
| __all__ = [k for k in globals().keys() if not k.startswith("_")] | |
| # TODO can expose more resnet blocks after careful consideration | |