Commit
•
8d45257
1
Parent(s):
d188349
Update blip.py
Browse files
blip.py
CHANGED
@@ -8,8 +8,8 @@
|
|
8 |
import warnings
|
9 |
warnings.filterwarnings("ignore")
|
10 |
|
11 |
-
from
|
12 |
-
from
|
13 |
from transformers import BertTokenizer
|
14 |
|
15 |
import torch
|
|
|
8 |
import warnings
|
9 |
warnings.filterwarnings("ignore")
|
10 |
|
11 |
+
from vit import VisionTransformer, interpolate_pos_embed
|
12 |
+
from med import BertConfig, BertModel, BertLMHeadModel
|
13 |
from transformers import BertTokenizer
|
14 |
|
15 |
import torch
|