Image captioning code doubt

https://colab.research.google.com/drive/1BT5QCClreDQjoaSFnKBxFSZNGEFLMccq?usp=sharing

cant figure out the error ,please help out

hey @rohit_1906 ,
try changing this code line
yield [[np.array(x1),np.array(x2)],np.array(y)]
to
yield [np.array(x1),np.array(x2)],np.array(y)

the code is running but still at the end there is a problem with final predictions … tried running more epochs …

https://colab.research.google.com/drive/1BT5QCClreDQjoaSFnKBxFSZNGEFLMccq?usp=sharing

and in videos it was said it might take 8hr to run all epochs but on colab it was very quick …something doesnt seem right

hey @rohit_1906 ,
what error are you referring too ?

and about time that depends upon the data you are providing it for training.
so just check that there isn’t any problem in that.

the final predictions …the caption sentences are not close to being atleast little accurate … in the code at the end it can be seen … finals predicted captions …words are repeating …not predicting correctly

thats because of your training.
Check the code , check that you are providing the correct data to your model.
check your generators.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.