Skip to content

neurotatarlar/label-studio-project-setup

Repository files navigation

Label Studio project creator

Simple script to create projects in Label Studio. More precisely, it:

  • creates a project in Label Studio
  • creates buckets in S3 compatible storage (currently it is Yandex Cloud object storage)
  • configures bucket's CORS policy
  • binds bucket to the project in Label Studio

Pre-requisites

Edit config.yaml file to set the desired state of the project.

Then, set credentials to credentials.json file in the root directory

  1. Set Label Studio token. It can be found in user's setting(/user/account) in the Label Studio.
  2. Set Yandex Cloud's static access key. You can create it after creating of a service account in the Yandex Cloud console. See details here
  3. Set Yandex Cloud's storage OAuth token. It can be created here

Usage

  1. Install dependencies:
pip install -r requirements.txt
  1. Call the script:
python main.py

About

Script to setup new project in Label Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published