Open samehraban opened 5 years ago
In trainer.datagen.Iterator class constructor, you counted lines in csv file and then set size of dataset in this way:
trainer.datagen.Iterator
count = count//batch_size*batch_size
This way you make sure that count is divisible by batch_size, but is it necessary?
In
trainer.datagen.Iterator
class constructor, you counted lines in csv file and then set size of dataset in this way:count = count//batch_size*batch_size
This way you make sure that count is divisible by batch_size, but is it necessary?