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
04c653a3
Unverified
Commit
04c653a3
authored
Nov 30, 2022
by
Sylvain Gugger
Browse files
Fix style
parent
72176402
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/transformers/__init__.py
src/transformers/__init__.py
+9
-9
No files found.
src/transformers/__init__.py
View file @
04c653a3
...
@@ -1100,6 +1100,15 @@ else:
...
@@ -1100,6 +1100,15 @@ else:
"load_tf_weights_in_canine"
,
"load_tf_weights_in_canine"
,
]
]
)
)
_import_structure
[
"models.chinese_clip"
].
extend
(
[
"CHINESE_CLIP_PRETRAINED_MODEL_ARCHIVE_LIST"
,
"ChineseCLIPModel"
,
"ChineseCLIPPreTrainedModel"
,
"ChineseCLIPTextModel"
,
"ChineseCLIPVisionModel"
,
]
)
_import_structure
[
"models.clip"
].
extend
(
_import_structure
[
"models.clip"
].
extend
(
[
[
"CLIP_PRETRAINED_MODEL_ARCHIVE_LIST"
,
"CLIP_PRETRAINED_MODEL_ARCHIVE_LIST"
,
...
@@ -1111,15 +1120,6 @@ else:
...
@@ -1111,15 +1120,6 @@ else:
"CLIPVisionModelWithProjection"
,
"CLIPVisionModelWithProjection"
,
]
]
)
)
_import_structure
[
"models.chinese_clip"
].
extend
(
[
"CHINESE_CLIP_PRETRAINED_MODEL_ARCHIVE_LIST"
,
"ChineseCLIPModel"
,
"ChineseCLIPPreTrainedModel"
,
"ChineseCLIPTextModel"
,
"ChineseCLIPVisionModel"
,
]
)
_import_structure
[
"models.clipseg"
].
extend
(
_import_structure
[
"models.clipseg"
].
extend
(
[
[
"CLIPSEG_PRETRAINED_MODEL_ARCHIVE_LIST"
,
"CLIPSEG_PRETRAINED_MODEL_ARCHIVE_LIST"
,
...
...
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