dcase_framework.data.DataSequencer¶
-
class
dcase_framework.data.
DataSequencer
(*args, **kwargs)[source]¶ Data sequencer
__init__ method.
Parameters: frames : int
Sequence length Default value 10
hop : int
Hop value of when forming the sequence Default value = frames
padding: bool
Replicate data when sequence is not full Default value False
shift_step : int
Sequence start temporal shifting amount, is added once method increase_shifting is called Default value 0
shift_border : string, {‘roll’, ‘shift’}
Sequence border handling when doing temporal shifting. Default value ‘roll’
shift_max : int
Maximum value for temporal shift Default value None
-
__init__
(*args, **kwargs)[source]¶ __init__ method.
Parameters: frames : int
Sequence length Default value 10
hop : int
Hop value of when forming the sequence Default value = frames
padding: bool
Replicate data when sequence is not full Default value False
shift_step : int
Sequence start temporal shifting amount, is added once method increase_shifting is called Default value 0
shift_border : string, {‘roll’, ‘shift’}
Sequence border handling when doing temporal shifting. Default value ‘roll’
shift_max : int
Maximum value for temporal shift Default value None
Methods
__init__
(\*args, \*\*kwargs)__init__ method. increase_shifting
([shift_step])Increase temporal shifting process
(data)Process -