shunk031 commited on
Commit
0d3cd14
·
verified ·
1 Parent(s): 16b0e01

Upload processor

Browse files
Files changed (1) hide show
  1. image_processing_isnet.py +1 -2
image_processing_isnet.py CHANGED
@@ -6,8 +6,7 @@ from PIL import Image
6
  from PIL.Image import Image as PilImage
7
  from torchvision import transforms
8
  from torchvision.transforms.functional import normalize
9
- from transformers.image_processing_base import BatchFeature
10
- from transformers.image_processing_utils import BaseImageProcessor
11
  from transformers.image_utils import ImageInput
12
 
13
 
 
6
  from PIL.Image import Image as PilImage
7
  from torchvision import transforms
8
  from torchvision.transforms.functional import normalize
9
+ from transformers.image_processing_utils import BaseImageProcessor, BatchFeature
 
10
  from transformers.image_utils import ImageInput
11
 
12