anuragmishracse / caption_generator

A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.
MIT License
265 stars 120 forks source link

pred = np.reshape(pred, pred.shape[1]) #20

Open ouyangyuyu opened 6 years ago

ouyangyuyu commented 6 years ago

what's the use of this code? and it reports an error: cannot reshape array of size 100352 into shape (14,)