HaWoR / lib /models /backbones /__init__.py
ThunderVVV's picture
update
5f028d6
raw
history blame
194 Bytes
from .vit import vit
def create_backbone(cfg):
if cfg.MODEL.BACKBONE.TYPE == 'vit':
return vit(cfg)
else:
raise NotImplementedError('Backbone type is not implemented')