from networks.decoders.fpn import FPNSegmentationHead | |
def build_decoder(name, **kwargs): | |
if name == 'fpn': | |
return FPNSegmentationHead(**kwargs) | |
else: | |
raise NotImplementedError | |
from networks.decoders.fpn import FPNSegmentationHead | |
def build_decoder(name, **kwargs): | |
if name == 'fpn': | |
return FPNSegmentationHead(**kwargs) | |
else: | |
raise NotImplementedError | |