Skip to content

Releases: facebookresearch/AugLy

AugLy v1.0.0

29 Mar 11:42
Compare
Choose a tag to compare

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

17 Dec 11:57
Compare
Choose a tag to compare

Changes

Audio:

  • New augmentations: loop
  • Efficiency improvements: made high_pass_filter & low_pass_filter ~97% faster by using torchaudio

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 for skew 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 execute ffmpeg 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

18 Oct 20:48
Compare
Choose a tag to compare

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 in simulate_typos aug
  • Added ignore_words param to replace_words & swap_gendered_words

Video

  • New augmentation: augment_audio

Other

  • Enforce black formatting

AugLy v0.1.7

13 Sep 11:02
Compare
Choose a tag to compare

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 to overlay_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

09 Jul 08:21
ce0ff56
Compare
Choose a tag to compare

Changes

Other

  • Trimmed down dependencies
  • Audio & video dependencies are only installed if the [av] extra is specified

AugLy v0.1.3

28 Jun 09:07
f79e583
Compare
Choose a tag to compare

Changes

Text

  • Added font .pkl files that had been accidentally deleted

Other

  • Added test & lint GitHub workflows

AugLy v0.1.2

22 Jun 16:52
1a342a3
Compare
Choose a tag to compare

First github release! Aligns with augly==0.1.2 on pypi.