Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
luoxue-star
/
AniMer
like
6
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
AniMer
/
amr
/
models
/
backbones
/
__init__.py
luoxue-star
init commit
48cafca
8 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
199 Bytes
from
.vit
import
vit, vitl
def
create_backbone
(
cfg
):
if
cfg.MODEL.BACKBONE.TYPE ==
'vit'
:
return
vit(cfg)
else
:
raise
NotImplementedError(
'Backbone type is not implemented'
)