HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.59k stars 2.43k forks source link

why the label_studio unable to upload videos and pictures when i upload the code on my own computer? #6294

Open 13717537322 opened 3 months ago

13717537322 commented 3 months ago

when i try to import my pictures on label_studio, so that i can finish labeling the pictures using for machine learning projects,but I find i am unable to upload any files on label_studio,and i find bug which told me [django.server::log_message::161] [WARNING] "POST /api/projects/104/import?commit_to_project=false HTTP/1.1" 404 1462, is there anyone could help and told me any useful method to slove this bug?

微信图片_20240903104223
jombooth commented 3 months ago

Hi @13717537322 - please see the import instructions in our docs here: https://labelstud.io/guide/tasks.html - note that an alternative method of importing data may suit your needs better.

13717537322 commented 3 months ago

Hi @13717537322 - please see the import instructions in our docs here: https://labelstud.io/guide/tasks.html - note that an alternative method of importing data may suit your needs better.

Thank you so much for your reply, but i am curiosity about why i am unable to upload my local files on label-studio. Because when i open label-studio on localhost:8080, I can upload my local files and when i open it on 127.0.0.1:8080, i am unable to upload local files on label-stuidio. Is that because of something wrong on database or some bugs which relates to urls or api?Thank you so much

13717537322 commented 2 months ago

Hi @13717537322 - please see the import instructions in our docs here: https://labelstud.io/guide/tasks.html - note that an alternative method of importing data may suit your needs better. because i find the following bugs on my own cmd,could you please tell me how to slove these bugs? Thank you very much [django.request::log_response::224] [WARNING] Not Found: /api/projects/134/import/ [django.request::log_response::224] [WARNING] Not Found: /api/projects/134/import/ [django.server::log_message::161] [WARNING] "POST /api/projects/134/import?commit_to_project=false HTTP/1.1" 404 1311 [django.server::log_message::161] [WARNING] "POST /api/projects/134/import?commit_to_project=false HTTP/1.1" 404 1311

faileon commented 2 weeks ago

I have the same issue image

error message is empty. I tried uploading a 250mb .mp4 video, very modest size.

[error] 22#22: *921 client intended to send too large body: 260101334 bytes, client: 192.168.200.142, server: , request: "POST /api/projects/2/import?commit_to_project=false HTTP/1.1", host: "foo.bar.internal:8080", referrer: "http://foo.bar.internal:8080/projects/2/data/import"

Is s3 bucket the only viable alternative in this scenario?