Hi @kracwarlock!
I'd like to check with you the following:
- On data_handler.py, the Reset() function shuffles
self.frame_indices_ and self.labels_
- Then on GetBatch(), it retrieves some values from these arrays to build the batch :
start = self.frame_indices_[self.frame_row_]
label = self.labels_[self.frame_row_]
length = self.lengths_[self.frame_row_]
- And based on the length, it decides which features to include:
if length >= self.seq_length_ * skip: ...
else:
Shouldn't self.lengths_ be shuffled in Reset() as the other two arrays?
Thank you!
Nuno Garcia
Hi @kracwarlock!
I'd like to check with you the following:
self.frame_indices_andself.labels_start = self.frame_indices_[self.frame_row_]label = self.labels_[self.frame_row_]length = self.lengths_[self.frame_row_]if length >= self.seq_length_ * skip:...else:Shouldn't
self.lengths_be shuffled in Reset() as the other two arrays?Thank you!
Nuno Garcia