Skip to content

Possible bug on data_handler : Reset() #18

Description

@noky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions