Jyothirmai
commited on
Commit
•
d53e0a8
1
Parent(s):
dee2758
Update tester.py
Browse files
tester.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
import time
|
4 |
import pickle
|
5 |
import torch
|
@@ -9,10 +7,10 @@ from torch.autograd import Variable
|
|
9 |
from PIL import Image
|
10 |
import cv2
|
11 |
|
12 |
-
from
|
13 |
-
from
|
14 |
-
from
|
15 |
-
from
|
16 |
|
17 |
|
18 |
class CaptionSampler(object):
|
|
|
|
|
|
|
1 |
import time
|
2 |
import pickle
|
3 |
import torch
|
|
|
7 |
from PIL import Image
|
8 |
import cv2
|
9 |
|
10 |
+
from models import *
|
11 |
+
from dataset import *
|
12 |
+
from loss import *
|
13 |
+
from build_tag import *
|
14 |
|
15 |
|
16 |
class CaptionSampler(object):
|