Upload processor
Browse files
image_processing_efficientnet.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
from PIL import Image
|
| 2 |
from torch import Tensor, stack
|
| 3 |
-
from numpy import ndarray
|
| 4 |
from typing import Union, List
|
| 5 |
|
| 6 |
from transformers.image_processing_utils import BaseImageProcessor, BatchFeature
|
|
|
|
| 1 |
from PIL import Image
|
| 2 |
from torch import Tensor, stack
|
|
|
|
| 3 |
from typing import Union, List
|
| 4 |
|
| 5 |
from transformers.image_processing_utils import BaseImageProcessor, BatchFeature
|