Jyothirmai commited on
Commit
6b549af
1 Parent(s): aaafb23

Update cnnrnn.py

Browse files
Files changed (1) hide show
  1. cnnrnn.py +1 -1
cnnrnn.py CHANGED
@@ -35,7 +35,7 @@ from nltk.translate.bleu_score import sentence_bleu
35
  def getModel():
36
  embedding_matrix_vocab = np.load('my_embedding_matrix.npy')
37
 
38
- input1 = Input(shape=(1,2048), name='Image_input')
39
  dense1 = Dense(256, kernel_initializer=tf.keras.initializers.glorot_uniform(seed = 56), name='dense_encoder')(input1)
40
 
41
  input2 = Input(shape=(153), name='Text_Input')
 
35
  def getModel():
36
  embedding_matrix_vocab = np.load('my_embedding_matrix.npy')
37
 
38
+ input1 = Input(shape=(2048), name='Image_input')
39
  dense1 = Dense(256, kernel_initializer=tf.keras.initializers.glorot_uniform(seed = 56), name='dense_encoder')(input1)
40
 
41
  input2 = Input(shape=(153), name='Text_Input')