The line of of code
steps = len(train_desciptions)//number_pics_per_batch has used the variable number_pics_per_batch.
How to find the number of pics per batch ?
The line of of code
steps = len(train_desciptions)//number_pics_per_batch has used the variable number_pics_per_batch.
How to find the number of pics per batch ?
hey @nuts2021 ,
Considering your batch size to be 3 ,
at each step we would be training our for 1 batch , means 3 images with there respective captions . So , the number of pics per batch will be equal to batch_Size.
hence, number of pics per batch is 3.
and steps = 1000 //3 = 33 ( assuming your len( train_descriptions ) = 1000 )
I hope this would have resolved your doubt.
Thank You.
Happy Learning .
Thank you for your prompt response
hey @nuts2021 ,
No problem.
If your doubt is resolved , then kindly mark this doubt as resolved and also do provide your valuable feedback as it helps us to improve our platform and provide you with better learning experience.
Happy coding.