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

Live augmentation #2897

Merged
merged 7 commits into from
May 19, 2020
Merged

Live augmentation #2897

merged 7 commits into from
May 19, 2020

Conversation

tilmankamp
Copy link
Contributor

No description provided.

@tilmankamp tilmankamp requested a review from reuben April 9, 2020 12:33
@tilmankamp tilmankamp force-pushed the live_augmentation branch 2 times, most recently from 5e63baf to 0a331f0 Compare April 27, 2020 07:42
doc/TRAINING.rst Outdated Show resolved Hide resolved
@tilmankamp tilmankamp force-pushed the live_augmentation branch 2 times, most recently from f3907d7 to cf84a32 Compare May 8, 2020 13:44
@tilmankamp tilmankamp force-pushed the live_augmentation branch from b193da8 to c5ceee2 Compare May 12, 2020 08:20
@tilmankamp tilmankamp marked this pull request as ready for review May 12, 2020 08:37
Copy link
Contributor

@reuben reuben left a comment

Choose a reason for hiding this comment

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

Sorry, this took me a while.

bin/compare_samples.py Show resolved Hide resolved
doc/TRAINING.rst Outdated Show resolved Hide resolved
doc/TRAINING.rst Outdated Show resolved Hide resolved
doc/TRAINING.rst Outdated Show resolved Hide resolved
doc/TRAINING.rst Outdated Show resolved Hide resolved
training/deepspeech_training/util/signal_augmentations.py Outdated Show resolved Hide resolved
training/deepspeech_training/util/signal_augmentations.py Outdated Show resolved Hide resolved
training/deepspeech_training/util/signal_augmentations.py Outdated Show resolved Hide resolved
@tilmankamp tilmankamp force-pushed the live_augmentation branch from b265cb7 to 6737181 Compare May 15, 2020 15:12
@tilmankamp tilmankamp force-pushed the live_augmentation branch from 6737181 to f48b92c Compare May 18, 2020 10:41
@tilmankamp tilmankamp force-pushed the live_augmentation branch from f48b92c to f71f4d4 Compare May 18, 2020 13:17
@tilmankamp tilmankamp force-pushed the live_augmentation branch from f71f4d4 to ac9a17d Compare May 18, 2020 13:35
@tilmankamp tilmankamp requested a review from reuben May 18, 2020 13:51
Copy link
Contributor

@reuben reuben left a comment

Choose a reason for hiding this comment

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

\o/

if len(value) == 2:
return ValueRange(target_type(value[0]), target_type(value[1]), 0)
if len(value) == 3:
return ValueRange(target_type(value[0]), target_type(value[1]), target_type(value[2]))
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch on the repeated value[1]

Comment on lines +31 to +36
"""
As the central distribution point for overlay samples this function is supposed to run in one process only.
This ensures that samples are not used twice if not required.
It loads the (raw and still compressed) data and provides it to the actual augmentation workers.
These are then doing decompression, potential conversion and overlaying in parallel.
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

@tilmankamp tilmankamp merged commit 1c2d897 into mozilla:master May 19, 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