Jyothirmai
commited on
Update cnnrnn.py
Browse files
cnnrnn.py
CHANGED
@@ -91,6 +91,8 @@ def getModel():
|
|
91 |
|
92 |
def greedysearch(image):
|
93 |
# Open the pickle file for reading
|
|
|
|
|
94 |
encoder_model, decoder_model = getModel()
|
95 |
input_ = 'startseq'
|
96 |
image_features = encoder_model.predict(image)
|
|
|
91 |
|
92 |
def greedysearch(image):
|
93 |
# Open the pickle file for reading
|
94 |
+
train_data = pd.read_csv('Final_Train_Data.csv')
|
95 |
+
y_train = train_data['Report']
|
96 |
encoder_model, decoder_model = getModel()
|
97 |
input_ = 'startseq'
|
98 |
image_features = encoder_model.predict(image)
|