AI caption Project

while training the model train_descriptions parameter should be divided by which parameter?

In the tutorial it is said number_pics_per_batch,
but we never defined such parameter?

the code is here whihc gives error:

epochs = 20
batch_size = 3
steps = len(train_descriptions)//number_pics_per_batch

hey @settingsingh .
It might be not shown in video but number_pics_per_batch is initialized in the code.

No problem , if it isn’t there you can initialize it on your own with a value you assume can be useful.
You can 8,16,20,32,64,…any. But remember ,it is a kind of hyper parameter.
So , it would for sure effect your results.
So , think and experiment accordingly.

I hope this helped you.
Thank You :slightly_smiling_face:.

Thank you Prashant, it was helpful and now it works.

Thats Nice.

Kindly mark this doubt as resolved for now then, or if you have any other doubt you can ask it here or raise another doubt in your course doubt section.