Jyothirmai
commited on
Commit
•
4c49c1f
1
Parent(s):
c26aed2
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def generate_caption_cnnrnn(image):
|
|
27 |
with open('Image_features_ecoder_decoder.pickle', 'rb') as f:
|
28 |
Xnet_features = pickle.load(f)
|
29 |
image = Xnet_features[image]
|
|
|
30 |
caption = cnnrnn.get_result(image)
|
31 |
return caption
|
32 |
|
|
|
27 |
with open('Image_features_ecoder_decoder.pickle', 'rb') as f:
|
28 |
Xnet_features = pickle.load(f)
|
29 |
image = Xnet_features[image]
|
30 |
+
print(image.shape)
|
31 |
caption = cnnrnn.get_result(image)
|
32 |
return caption
|
33 |
|