Update vision_encoder.py
Browse files- vision_encoder.py +1 -0
vision_encoder.py
CHANGED
@@ -2,6 +2,7 @@ from transformers import ViTModel
|
|
2 |
from torchvision import transforms
|
3 |
import torch
|
4 |
import torch.nn as nn
|
|
|
5 |
|
6 |
transformers.logging.set_verbosity_error()
|
7 |
|
|
|
2 |
from torchvision import transforms
|
3 |
import torch
|
4 |
import torch.nn as nn
|
5 |
+
import transformers
|
6 |
|
7 |
transformers.logging.set_verbosity_error()
|
8 |
|