Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
brjathu
/
HMR2.0
like
83
Runtime error
App
Files
Files
Community
12
Fetching metadata from the HF Docker repository...
refs/pr/2
HMR2.0
/
hmr2
/
models
/
backbones
/
__init__.py
brjathu
Adding HF files
29a229f
almost 2 years ago
raw
Copy download link
history
blame
Safe
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'
)