Update modeling_clip.py
Browse files- modeling_clip.py +1 -1
modeling_clip.py
CHANGED
@@ -12,7 +12,7 @@ import torch
|
|
12 |
import torch.nn.functional as f
|
13 |
import torch.utils.checkpoint
|
14 |
from torch import nn
|
15 |
-
from transformers import BatchEncoding, BatchFeature, PreTrainedModel, logging, AutoImageProcessor
|
16 |
from transformers.models.clip.modeling_clip import (
|
17 |
CLIPOutput,
|
18 |
CLIPTextModelOutput,
|
|
|
12 |
import torch.nn.functional as f
|
13 |
import torch.utils.checkpoint
|
14 |
from torch import nn
|
15 |
+
from transformers import BatchEncoding, BatchFeature, PreTrainedModel, logging, AutoImageProcessor, AutoTokenizer
|
16 |
from transformers.models.clip.modeling_clip import (
|
17 |
CLIPOutput,
|
18 |
CLIPTextModelOutput,
|