Jyothirmai commited on
Commit
b549faa
1 Parent(s): b2a38be

Update cnnrnn.py

Browse files
Files changed (1) hide show
  1. cnnrnn.py +2 -0
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)