Skip to content

Commit b28dff5

Browse files
author
Your Name
committed
pylint
1 parent e29d2d0 commit b28dff5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

mindnlp/transformers/models/glpn/image_processing_glpn.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
"""Image processor class for GLPN."""
16-
17-
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union
18-
19-
20-
if TYPE_CHECKING:
21-
from ...modeling_outputs import DepthEstimatorOutput
22-
2316
import numpy as np
2417
import PIL.Image
2518
import mindspore
@@ -38,6 +31,9 @@
3831
validate_preprocess_arguments,
3932
)
4033
from ....utils import TensorType, logging, requires_backends
34+
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union
35+
if TYPE_CHECKING:
36+
from ...modeling_outputs import DepthEstimatorOutput
4137

4238

4339

0 commit comments

Comments
 (0)