geopavlakos's picture
Initial commit
d7a991a
raw
history blame contribute delete
193 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')