Ahmadzei's picture
added 3 more tables for large emb model
5fa1a76
from transformers import MaskFormerConfig, MaskFormerForInstanceSegmentation, ResNetConfig
backbone_config = ResNetConfig()
config = MaskFormerConfig(backbone_config=backbone_config)
model = MaskFormerForInstanceSegmentation(config)
timm models are loaded with [TimmBackbone] and [TimmBackboneConfig].