Files
AMD-SHARK-Studio/dataset/README.md
jinchen62 c3a641f0ab Address TODOs for dataset annotator (#872)
- add args usage, pass gs_url by CL flag
- add support for no existing prompts
2023-01-25 09:28:23 -08:00

911 B

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