Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ThunderVVV
/
HaWoR
like
4
Running
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
011fbcc
HaWoR
/
lib
/
models
/
backbones
/
__init__.py
ThunderVVV
update
5f028d6
about 2 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'
)