Regarding Training

Actually i was training my model for AI_IMAGE_CAPTIONING_PROJECT and it throws an error (No gradients provided for any variable) in Google collab while training runs smoothly in my Laptop but it took time.Can u tell me why this is happening

Here is the link to my google collab file and error is at last
https://colab.research.google.com/drive/16KsVezkd_5jj9t7ZoFE7GxXlHdbCtY1o#scrollTo=3oxJIgR2qYBI

Hi,
Your colab link is private, please allow sharing so that i can look into it.

But by looking at the error it seems there’s some issue with the data generator function.

Can you try yielding a tuple from the function.
instead of yield [[np.array(X1),np.array(X2)],np.array(y)]

try this : yield ([np.array(X1),np.array(X2)],np.array(y))

Thanks
- Mohit