Releases: facebookresearch/AugLy
Releases · facebookresearch/AugLy
AugLy v1.0.0
Changes
Text:
- Fixed return types in the doc strings so all text augmentations are consistent.
- Conserved whitespace through tokenization/detokenization for all text augmentations, so they are now consistent.
Image:
- Fixed bug with bounding boxes in
rotate
augmentation.
Overall:
- Split dependencies by modality so installation will be lighter-weight for most users. See issue #208 as well as the README of each modality for more details.
- Moved the test input/output data out of the main
augly
folder so it isn't packaged with the pypi package, to make installation lighter-weight.
AugLy v0.2.1
Changes
Audio:
- New augmentations:
loop
- Efficiency improvements: made
high_pass_filter
&low_pass_filter
~97% faster by usingtorchaudio
Image:
- New augmentations:
skew
- Added bbox computation helper
spatial_bbox_helper
to make it easier to add new image augmentations & automatically compute the bounding box transformations (e.g. see how we used this forskew
here) - Efficiency improvements: made
resize
~35% faster by defaulting to bilinear interpolation
Text:
- Allow multi-word typo replacement
- Efficiency improvements: made
contractions
,replace_similar_chars
,replace_similar_unicode_chars
,replace_upside_down
~40-60% faster using algorithmic improvements
Video:
- Efficiency improvements: made 30 of the video augmentations faster using
vidgear
(a new dependency we added in this release) to executeffmpeg
commands using higher compression rates (e.g.hflip
75% faster,loop
85% faster,remove_audio
96% faster,pixelization
71% faster)
Overall:
- Modified internal imports to be Python 3.6-compatible
- Added error messages to unit tests for easier debugging
- If you want to see a full report benchmarking the runtimes of all AugLy augmentations versus other libraries, keep an eye out for the AugLy paper, which will be up on Arxiv in January!
AugLy v0.1.10
Changes
Image
- Added bounding box support to all augmentations
- Images are now returned in the same format they were passed into all augmentations (except
convert_color
)
Text
- New augmentations:
swap_gendered_words
,merge_words
,change_case
,contractions
- Allow for kwarg overriding in
__call__()
for all augmentations - Exposed
typo_type
param insimulate_typos
aug - Added
ignore_words
param toreplace_words
&swap_gendered_words
Video
- New augmentation:
augment_audio
Other
- Enforce
black
formatting
AugLy v0.1.7
Changes
Image
- New augmentations:
apply_pil_filter
,clip_image_size
,overlay_onto_background_image
,overlay_onto_background_image_with_blurred_mask
,apply_pil_filter
,clip_image_size
,overlay_onto_background_image
- New unit tests:
Compose
,overlay_image
- Fixed
color_jitter_intensity
- Don't modify input image in
overlay_stripes
- Added metadata arg to
Compose
operator - Added support to
overlay_text
for multi-line text - Added
resize_src_to_match_template
option tooverlay_onto_screenshot
- Improved
meme_format
error message
Text
- New augmentation:
insert_whitespace_chars
- Add metadata arg to Compose operator
- Added more font options to
replace_fun_fonts
Video
- Added metadata arg to Compose operator, added unit test
AugLy v0.1.5
Changes
Other
- Trimmed down dependencies
- Audio & video dependencies are only installed if the
[av]
extra is specified
AugLy v0.1.3
Changes
Text
- Added font .pkl files that had been accidentally deleted
Other
- Added test & lint GitHub workflows
AugLy v0.1.2
First github release! Aligns with augly==0.1.2 on pypi.