Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
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
geopavlakos/HaMeR
hhhwmws
/
HaMeR
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
HaMeR
/
hamer
/
models
/
backbones
/
__init__.py
geopavlakos
Initial commit
d7a991a
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
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'
)