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
c10b5dd2
Unverified
Commit
c10b5dd2
authored
Apr 03, 2024
by
Raushan Turganbay
Committed by
GitHub
Apr 03, 2024
Browse files
Superpoint imports fix (#29898)
quick fix
parent
34bfe95a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/models/superpoint/image_processing_superpoint.py
...sformers/models/superpoint/image_processing_superpoint.py
+2
-2
No files found.
src/transformers/models/superpoint/image_processing_superpoint.py
View file @
c10b5dd2
...
@@ -17,7 +17,7 @@ from typing import Dict, Optional, Union
...
@@ -17,7 +17,7 @@ from typing import Dict, Optional, Union
import
numpy
as
np
import
numpy
as
np
from
...
import
is_vision_available
,
requires_backends
from
...
import
is_vision_available
from
...image_processing_utils
import
BaseImageProcessor
,
BatchFeature
,
get_size_dict
from
...image_processing_utils
import
BaseImageProcessor
,
BatchFeature
,
get_size_dict
from
...image_transforms
import
resize
,
to_channel_dimension_format
from
...image_transforms
import
resize
,
to_channel_dimension_format
from
...image_utils
import
(
from
...image_utils
import
(
...
@@ -29,7 +29,7 @@ from ...image_utils import (
...
@@ -29,7 +29,7 @@ from ...image_utils import (
to_numpy_array
,
to_numpy_array
,
valid_images
,
valid_images
,
)
)
from
...utils
import
TensorType
,
logging
from
...utils
import
TensorType
,
logging
,
requires_backends
if
is_vision_available
():
if
is_vision_available
():
...
...
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