Files
SHARK-Studio/dataset
dependabot[bot] a5c882f296 Bump gradio from 3.15.0 to 3.34.0 (#1518)
Bumps [gradio](https://github.com/gradio-app/gradio) from 3.15.0 to 3.34.0.
- [Release notes](https://github.com/gradio-app/gradio/releases)
- [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gradio-app/gradio/compare/v3.15.0...v3.34.0)

---
updated-dependencies:
- dependency-name: gradio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 18:13:48 -07:00
..

Dataset annotation tool

SHARK annotator for adding or modifying prompts of dataset images

Set up

Activate SHARK Python virtual environment and install additional packages

source ../shark.venv/bin/activate
pip install -r requirements.txt

Run annotator

python annotation_tool.py
annotator
  • Select a dataset from Dataset dropdown list
  • Select an image from Image dropdown list
  • Image and the existing prompt will be loaded
  • Select a prompt from Prompt dropdown list to modify or "Add new" to add a prompt
  • Click Save to save changes, click Delete to delete prompt
  • Click Back or Next to switch image, you could also select other images from Image
  • Click Finish when finishing annotation or before switching dataset