This commit is contained in:
esenke
2025-12-08 22:16:31 +08:00
commit 01adcfdf60
305 changed files with 50879 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from .uper_head import UPerHead
from .up_head import UPHead
__all__ = [
'UPerHead', 'UPHead'
]
type_mapping = {
'UPerHead': UPerHead,
'UPHead': UPHead
}
def build_head(type, **kwargs):
return type_mapping[type](**kwargs)