Hi, Thankyou for the code,
When i run the code, everything works totally fine except this,
When i execute this line,
models.fit(train_gen, steps_per_epoch=len(trainset) // batch_size, epochs=250, callbacks=callbacks, validation_data=validation_gen, validation_steps=len(testset) // batch_size * 3)
i get this error:

TypeError: 'NoneType' object is not callable`
Kindly help with this, or please guide to a direction where i can debug the code and solve the issue, i shall be highly thankful.
Hi, Thankyou for the code,
When i run the code, everything works totally fine except this,
When i execute this line,
models.fit(train_gen, steps_per_epoch=len(trainset) // batch_size, epochs=250, callbacks=callbacks, validation_data=validation_gen, validation_steps=len(testset) // batch_size * 3)i get this error:

TypeError: 'NoneType' object is not callable`
Kindly help with this, or please guide to a direction where i can debug the code and solve the issue, i shall be highly thankful.