Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
f4b7420d
Commit
f4b7420d
authored
Jan 19, 2022
by
Sylvain Gugger
Browse files
Fix checkpoint for ViT Config
parent
6a3c883c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/vit/configuration_vit.py
src/transformers/models/vit/configuration_vit.py
+1
-1
No files found.
src/transformers/models/vit/configuration_vit.py
View file @
f4b7420d
...
...
@@ -21,7 +21,7 @@ from ...utils import logging
logger
=
logging
.
get_logger
(
__name__
)
VIT_PRETRAINED_CONFIG_ARCHIVE_MAP
=
{
"
nielsr
/vit-base-patch16-224"
:
"https://huggingface.co/vit-base-patch16-224/resolve/main/config.json"
,
"
google
/vit-base-patch16-224"
:
"https://huggingface.co/vit-base-patch16-224/resolve/main/config.json"
,
# See all ViT models at https://huggingface.co/models?filter=vit
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment