Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
ThunderVVV/HaWoR
a6047425318
/
HaWoR
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
HaWoR
/
lib
/
models
/
backbones
/
__init__.py
ThunderVVV
update
5f028d6
over 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
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'
)