v1.3.0

HumanSignal/label-studiov1.3.0Sep 17, 2021by smoreface

AI Summary

Label Studio v1.3.0 introduces Interactive ML-assisted labeling with pre-annotations as the major feature, along with improved semantic segmentation tools, delayed export options for large projects, and various UI/UX improvements to the data manager and labeling interface.

Key Highlights

  • Interactive ML-assisted labeling with pre-annotations using a machine learning backend
  • Improved semantic segmentation with adjustable eraser size and better performance
  • Delayed export options for improved performance with large labeling projects
  • Data manager improvements including filtering by annotation ID and moved import/export buttons
  • Added MySQL as a database backend option

New Features

  • Interactive ML-assisted labeling with pre-annotations
  • Adjustable eraser size for semantic segmentation
  • Two-step delayed export process for large projects
  • Google Cloud Storage logging handler
  • Manual target storage sync option
  • Filter and label all tasks or filtered tasks only
  • Display and filter by annotation ID in data manager
  • Region type icons in the regions sidebar
  • Multi-region selection with ctrl+click
  • Alt+. keyboard shortcut to cycle through entities
  • New hint parameter for Label tag
  • MySQL database backend support
  • Copy code examples and sample JSON with one click

Full Release Notes

## Interactive ML-assisted labeling
The biggest update in this release is introducing... Interactive ML-assisted labeling with pre-annotations! You need to set up a machine learning backend to use this feature. Read all the details in the [release blog](https://labelstud.io/blog/release-130.html) or in [the machine learning documentation](https://labelstud.io/guide/ml.html).

Thanks to [@juan57](https://github.com/juan57) for [the suggestion](https://github.com/heartexlabs/label-studio/issues/756) and also to [@xuankhanhdo](https://github.com/xuankhanhdo), [@amant555](https://github.com/amant555), and [@prathameshk](https://github.com/prathameshk) for requesting [similar functionality](https://github.com/heartexlabs/label-studio/issues/771).


## Improved semantic segmentation
Thanks to diligently-reported issues from [@royschwartz2](https://github.com/royschwartz2) and the hard work of our frontend team, there are many improvements to performing semantic segmentation. 
- You can adjust the eraser size. 
- Improved the performance of semantic segmentation after several regions have been annotated.

There are also some bug fixes:
- Highlighted regions and labels now display in the correct location after zooming.
- Submitting the task after hiding annotations does not delete the annotations. 



## Delayed export options for improved performance
To improve performance when exporting results from large labeling projects, you can now choose to export a file with the results. It's a two step process, starting with [creating an export file](https://labelstud.io/api#operation/api_projects_exports_create) and then [downloading the export file](https://labelstud.io/api#operation/api_projects_exports_download_read) with the results.

Thanks to [@MiguelFreire](https://github.com/MiguelFreire), [@shubhangi27397](https://github.com/shubhangi27397), [@R-Peleg](https://github.com/R-Peleg), and [@twsl](https://github.com/twsl) for reporting and discussing export performance.


## Cloud storage improvements
- A new logging handler for Google Cloud Storage thanks to contributor [@mpomarole](https://github.com/mpomarole).
- Added a manual target storage sync option to allow for more control over annotation syncing. See [more details in the external storage documentation](https://labelstud.io/guide/storage.html).
- Improved handling of cloud storage target sync errors, thanks to [@scott2b](https://github.com/scott2b) for reporting.

## Data manager improvements
- Choose to label all tasks, or filter the data manager and label only the tasks as displayed. 
- Improvements to the filtering behavior as requested and pointed out by [@karelserruys-foodpairing](https://github.com/karelserruys-foodpairing) and [@AlexRoss-WHS](https://github.com/AlexRoss-WHS).
- You can now display and filter by annotation ID in the data manager.
- Moved the import and export buttons out of the main header. Export or import data while viewing the project data manager instead of on any page in Label Studio. 

## Labeling improvements
- When labeling, in the regions sidebar you can see the type of region that was created with an icon. 
- Select multiple regions at once using ctrl+click, as requested by [@mbuet2ner](https://github.com/mbuet2ner).
- Use the `alt + .` keyboard shortcut to cycle through entities, instead of alt+tab as requested by [@danielcrane](https://github.com/danielcrane).
- A new `hint` parameter for the Label tag lets you add a tooltip for specific labels. 
- Improved performance of the label stream, reported by [@anshul-dt](https://github.com/anshul-dt), [@tristanratz](https://github.com/tristanratz), and [@iakremnev](https://github.com/iakremnev).


## Other improvements
- You can now use MySQL as a database backend with Label Studio thanks to contributor [@dehydr8](https://github.com/dehydr8). See the details in [#1385](https://github.com/heartexlabs/label-studio/pull/1385).
- Contributor [@jeroenboeye](https://github.com/jeroenboeye) fixed a bug in the export API documentation example. 
- Improvements to the wait for postgres shell script from contributor [@piraka9011](https://github.com/piraka9011).

## Documentation improvements
- Revised Tag documentation now includes more details, examples, and sample results JSON to make crafting predictions for different types of labeling easier. 
- Ability to copy code examples and sample JSON with one click.
- Improved readability of code examples by updating the colors used for highlighting.


## Bug fixes
- Fixed an issue where polygon points and keypoints were large after zooming an image.
- Fixed issues with the Taxonomy tag reported by [@ynouri](https://github.com/ynouri) and [@irogers](https://github.com/irogers)
- Fix some errors using the ctrl+enter hotkey to submit tasks. 
- Fixed issues with hypertext labeling, such as allowing variables anywhere in the tags. For example: `<Text>Title: $title</Text>`.
- Fixed an issue where offsets were occurring incorrectly in NER annotation, reported by [@Lolologist](https://github.com/Lolologist).
- Fixed an issue where boolean types weren't working for values in a labeling configuration.
- Fixed a bug where relations didn't appear in the UI after returning to an annotation with relations. Thanks to [@joeydb94](https://github.com/joeydb94), [@kaitco](https://github.com/kaitco), and [@3nuc](https://github.com/3nuc) for reporting bugs with relations.
- Fixed a bug with resizing images affecting bounding boxes. Thanks [@VladYushchenko](https://github.com/VladYushchenko) for the report!


This release closes the following issues:
https://github.com/heartexlabs/label-studio/issues/1236, https://github.com/heartexlabs/label-studio/issues/1174, https://github.com/heartexlabs/label-studio/issues/1134, https://github.com/heartexlabs/label-studio/issues/655, https://github.com/heartexlabs/label-studio/issues/771, https://github.com/heartexlabs/label-studio/issues/1091, https://github.com/heartexlabs/label-studio/issues/1371, https://github.com/heartexlabs/label-studio/issues/970, https://github.com/heartexlabs/label-studio/issues/671, https://github.com/heartexlabs/label-studio/issues/1008, https://github.com/heartexlabs/label-studio/issues/476, https://github.com/heartexlabs/label-studio/issues/1262, https://github.com/heartexlabs/label-studio/issues/1244, https://github.com/heartexlabs/label-studio/issues/1243, https://github.com/heartexlabs/label-studio/issues/1205, https://github.com/heartexlabs/label-studio/issues/1072, https://github.com/heartexlabs/label-studio/issues/1026, https://github.com/heartexlabs/label-studio/issues/1014, https://github.com/heartexlabs/label-studio/issues/1141