-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Live augmentation #2897
Conversation
c60fec6
to
3e333b3
Compare
5e63baf
to
0a331f0
Compare
ad74c41
to
93c78b0
Compare
f3907d7
to
cf84a32
Compare
…o PCM conversion support
b193da8
to
c5ceee2
Compare
There was a problem hiding this 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.
Co-authored-by: Reuben Morais <[email protected]>
b265cb7
to
6737181
Compare
6737181
to
f48b92c
Compare
f48b92c
to
f71f4d4
Compare
f71f4d4
to
ac9a17d
Compare
There was a problem hiding this 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])) |
There was a problem hiding this comment.
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]
""" | ||
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. | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.