not working after train(epochs)
some error in data generator function
Image captioning
hey @monika,
heve a look at this link , this student also faced the same error.
If still you don’t understand then do tell me .
Thank You.
i have removed that +".jpg" .still getting error
it shows error that desc is not iterable.
hey @monika ,
in image you have provided above , check the line no. 11 you written it as
if word in word_to_idx[ word ]
here word_to_ids[ word ] will result in an integer , hence it cant compare a word and an integer . That’s why you receive an error.
just correct it as :
if word in word_to_idx
It will work fine.
Happy Learning .
yep,now it is working
Kindly mark this doubt as resolved and do provide your valuable feedback as it helps to improve this platform and provide you with better learning experience.
Thank You
Happy learning.
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.