Your browser can find MinIO at the same hostname. If you do not have a static IP address, create an entry in your hosts file so that both the Label Studio container and MINIO_ROOT_PASSWORD=minio_admin_do_not_use_in_production Connect Label Studio to local MinIO MINIO_ROOT_USER=minio_admin_do_not_use_in_production Remember to override the default credentials. The MinIO server will be accessible at To configure MinIO settings, create a. To run MinIO alongside your Label Studio instance, use the following command: # Add sudo on Linux if you are not a member of the docker groupĭocker compose -f docker-compose.yml -f up -d Starting the containersįor local development, you can host a local MinIO server to emulate an S3-based production environment more closely.Īn example docker-compose file for this is available in the Label Studio repository. You can use MinIO to store your labeling tasks. MinIO is a blob storage solution that is compatible with Amazon S3. ![]() When you start Label Studio using Docker Compose, you start it using a PostgreSQL database: docker-compose up -d Minio Blob Storage 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |