Skip to content

Sequence base step - #233

Merged
jhaux merged 3 commits into
pesser:devfrom
hperrot:sequence_base_step
Feb 1, 2020
Merged

jhaux merged 3 commits into
pesser:devfrom
hperrot:sequence_base_step

Conversation

@hperrot

@hperrot hperrot commented Jan 21, 2020

Copy link
Copy Markdown
Collaborator

Add a base_step argument to the SequenceDataset.
The base fids have to be divisible by the base_step.
This allows a smaller sequence dataset because the sequences don't necessarily start at every frame in the dataset.
For example, with base_step of 10, the sequences start at frame 0, 10, 20, ... instead of 0, 1, 2, 3, ...
This makes the dataset effectively smaller and samples the examples equally within the possible sequences.

@pesser

pesser commented Jan 31, 2020

Copy link
Copy Markdown
Owner

looks good to me, but since I'm not currently working with sequence datasets let's have @jhaux take a look

@jhaux jhaux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this looks nice and adds valuable functionality! Thanks!

@jhaux
jhaux merged commit 5ed5d01 into pesser:dev Feb 1, 2020
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

Successfully merging this pull request may close these issues.

3 participants