Files
dependabot[bot] 5a5de545c9 Bump gradio from 3.34.0 to 4.19.2 in /dataset (#2093)
Bumps [gradio](https://github.com/gradio-app/gradio) from 3.34.0 to 4.19.2.
- [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.34.0...gradio@4.19.2)

---
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>
Co-authored-by: Ean Garvey <87458719+monorimet@users.noreply.github.com>
2024-03-28 10:01:26 -05: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