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
126bddd1
Commit
126bddd1
authored
Jan 21, 2022
by
Sylvain Gugger
Browse files
Add module_spec to new model
parent
c962c2ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/swin/__init__.py
src/transformers/models/swin/__init__.py
+1
-1
No files found.
src/transformers/models/swin/__init__.py
View file @
126bddd1
...
...
@@ -50,4 +50,4 @@ if TYPE_CHECKING:
else
:
import
sys
sys
.
modules
[
__name__
]
=
_LazyModule
(
__name__
,
globals
()[
"__file__"
],
_import_structure
)
sys
.
modules
[
__name__
]
=
_LazyModule
(
__name__
,
globals
()[
"__file__"
],
_import_structure
,
module_spec
=
__spec__
)
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