Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ThunderVVV
/
HaWoR
like
5
Running
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
ce1d19e
HaWoR
/
lib
/
models
/
backbones
/
__init__.py
ThunderVVV
update
5f028d6
5 months ago
raw
Copy download link
history
blame
Safe
194 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'
)