Skip to content

Commit

Permalink
Fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
amyeroberts committed May 24, 2024
1 parent a0e3fbf commit 101535d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/models/vit/image_processing_vit_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import functools
from typing import Any, Dict, List, Optional, Union

from ...image_processing_utils import get_size_dict
from ...image_processing_base import BatchFeature
from ...image_processing_utils import get_size_dict
from ...image_processing_utils_fast import BaseImageProcessorFast, SizeDict
from ...image_transforms import FusedRescaleNormalize, NumpyToTensor, Rescale
from ...image_utils import (
Expand All @@ -44,7 +44,7 @@


if is_torchvision_available():
from torchvision.transforms import Compose, PILToTensor, Resize, Lambda, Normalize
from torchvision.transforms import Compose, Normalize, PILToTensor, Resize


class ViTImageProcessorFast(BaseImageProcessorFast):
Expand Down

0 comments on commit 101535d

Please sign in to comment.