Closed DeNeutoy closed 7 years ago
The easiest fix is just to copy the dataset here, before creating batches. Doing it in a way that avoids this copying would be really intrusive to the instance code, because you'd have to keep track of (or figure out after the fact) what part of the instance is just padding, and what isn't. I don't think the additional copy should be a big deal.
I'll get to this soon, if you don't get to it first. My day's pretty busy today, but I should have time tomorrow. It should just be a one-line fix, though having a test to be sure it's doing the right thing would also be good.
Training using the data generator results in a slow down due to incremental padding from the noise introduced during shuffling.