Skip to content

Commit

Permalink
doc: improve docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hbredin authored and hadware committed Jan 7, 2022
1 parent 71b78d1 commit e16b900
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pyannote/audio/augmentation/spec_augment.py
Expand Up @@ -32,13 +32,12 @@


class SpecAugment(Callback):
"""
Callback for spectrogram augmentation. Two-step process :
1) Apply frequency mask(s)
2) Apply time mask(s)
(3) Time warping) : Not implemented yet. Shown as leading to a small improvement
in the reference.
"""Spectrogram augmentation.
This is a callback that applies the following transformations to each batch:
1. Apply frequency masks
2. Apply time masks
3. Time warping (TODO)
Parameters
----------
Expand Down

0 comments on commit e16b900

Please sign in to comment.