Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug on data_handler : Reset() #18

Open
noky opened this issue Mar 23, 2017 · 0 comments
Open

Possible bug on data_handler : Reset() #18

noky opened this issue Mar 23, 2017 · 0 comments

Comments

@noky
Copy link

noky commented Mar 23, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant