Open amoodie opened 6 years ago
Despite a flexible batch_size
for use with the sampler
method, there is still an error when the batch is smaller than the full batch size.
The following error is thrown in the first reshape
of the generator:
Input to reshape is a tensor with 180 values, but the requested shape has 212
need to come up with a way to handle an incomplete batch. This could be done by dynamically padding the Tensor with zeros to fill out the expected shape? Currently an error is thrown if
drop_remainder == False