HumanSignal / HumanSignal/label-studio
New tasks are created when syncing again after export , When using the s3 cloud storage of Label Studio
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
New tasks are created when syncing again after export , When using the s3 cloud storage of Label Studio
**To Reproduce**
Steps to reproduce the behavior:
1. Create a project, import images, and annotate them
2.Configure S3 cloud storage, export first and then import
3.There is an additional task in the task list that cannot be annotated, and there are differences in its attributes
4.The files exported from S3 cloud storage are numbered and do not have a. json file suffix
**Expected behavior**
1. I hope that the number of tasks after exporting and importing remains unchanged.
2. Annotations and images can also be displayed normally.
3. The file name exported from S3 cloud storage data files is not just a number, but a JSON file with the same name as the image.
**Environment (please complete the following information):**
-- docker-compose.yml
```
services:
sti-label-studio:
stdin_open: true
tty: true
image: heartexlabs/label-studio:latest
restart: unless-stopped
expose:
- "8000"
ports:
- "35001:8000"
environment:
- DJANGO_DB=default
- POSTGRE_NAME=${POSTGRE_NAME}
- POSTGRE_USER=${POSTGRE_USER}
- POSTGRE_PASSWORD=${POSTGRE_PASSWORD}
- POSTGRE_PORT=${POSTGRE_PORT}
- POSTGRE_HOST=${POSTGRE_HOST}
- LABEL_STUDIO_HOST=${LABEL_STUDIO_HOST:-}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_STORAGE_BUCKET_NAME=${AWS_STORAGE_BUCKET_NAME}
- AWS_S3_ENDPOINT_URL=${AWS_S3_ENDPOINT_URL}
- AWS_S3_REGION_NAME=${AWS_S3_REGION_NAME}
- AWS_DEFAULT_ACL=${AWS_DEFAULT_ACL}
- USE_S3_STORAGE=${USE_S3_STORAGE}
- JSON_LOG=1
# - LOG_LEVEL=DEBUG
volumes:
- /data/sti/label-studio/data:/label-studio/data:rw
command: label-studio-uwsgi
```
Contributor guide
Assessment
This issue has not been assessed yet.