bwang0911 commited on
Commit
4ed2f34
1 Parent(s): fe33287

Update modeling_clip.py

Browse files
Files changed (1) hide show
  1. 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,