![]() ![]() POSTGRE_HOST=db Create connection with Docker Compose You must set the following environment variables to connect Label Studio to PostgreSQL: DJANGO_DB=default label-studio start my_project -init -db postgresql Run the following command to launch Label Studio, configure the connection to your PostgreSQL database, scan for existing tasks, and load them into the app for labeling for a specific project. This is recommended if you intend to frequently import new labeling tasks, or plan to label hundreds of thousands of tasks or more across projects. You can also store your tasks and completions in a PostgreSQL database instead of the default SQLite database. After you start Label Studio, the directory used is printed in the terminal. Label Studio stores all data in a single file in the specified directory of the admin user. If you want to label more than 100,000 tasks with 5 or more concurrent users, consider using PostgreSQL or another database with Label Studio. See Install and upgrade Label Studio for more.įor example, if you import data while labeling is being performed, labeling tasks can take more than 10 seconds to load and annotations can take more than 10 seconds to perform. If you want to annotate millions of tasks or anticipate a lot of concurrent users or your plan to work on real life projects, use a PostgreSQL database. The SQLite database might work well for projects with tens of thousands of labeling tasks, as long as you don’t plan on using complex filters in the data manager and other complex multi-user pipelines. Label Studio uses a database to store project data and configuration information. ![]()
0 Comments
Leave a Reply. |