-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support upload of ZIP files containing related images #200
Comments
I'm not sure if this covers your issue, but I just added a new feature that allows you to upload a zip of prelabeled data (The only caveat is that the annotations need to be in the Cloud Annotation format) |
Unfortunately not quite because it's a bit of a catch-22. If one needs to use the tool to create the annotations for the ZIP file then one would have already had to upload the images separately. While this approach might be sufficient for workshops or tutorials (where the instructor prepares the ZIP file ahead of time) it doesn't make it any easier for customers. |
Would this work?
|
In this context, does "group of images" refer to an archive? In general it would be great if the workflow was pretty much identical for multi-selected images (user uploads a set of manually selected images) and archives (user uploads a zip file) since the user's goal can be very similar: assign one or more labels to all images in the set. Whichever way your UI design can accomplish that should be fine. |
I think I want to leave uploading an archive restricted to pre-annotated images I think it could cause some confusion mixing the 2, unless you have a good reason why uploading a zip file full of images has an large enough advantage over uploading a group of selected images |
I think it might also add a lot of code overhead, especially since I'm hoping to add support for importing additional annotation formats |
That would be sufficient for demos/workshops where somebody wants to use canned data set. (more below)
Maybe a meet-in-the middle - make the embedded annotation optional if it is not already? In essence a user can upload a ZIP file that only includes images (no auto-annotation is performed) or a ZIP file that contains images and annotations (auto-annotation is performed) |
At the moment, if they upload a zip file with no annotations, it still uploads the images in the zip as unlabeled. prompt after upload:I don't really want to prompt the users to choose a label when upload a zip file. Personally, I get a little stressed when I get asked a question as the result of uploading a file. I want to avoid Modals/prompts because I think they get a bit intrusive in these situations pre-choosing a label before upload:If for some reason they upload a zip with annotations, but the tool doesn't see the annotations, it will try to dump all the images in whatever label happens to be open. This probably won't happen often, but with this UI interaction I don't think it's clear enough what's going to happen when uploading a zip. At the end of the day, the tool's purpose is annotating images. If your images are already organized by folders, you don't really need to annotate them haha 🤷♂️. I think the root issue is just the need for an easy way to train a model with images that are already organized into folders? Maybe another solution is extending cacli, so you can train by pointing at the folders?
(I have to extract all the images before uploading them to COS) |
As a user I might have collected a set of related images ("cats") and stored them in an archive (e.g. ZIP file). It would be nice if one could upload such an archive file and specify a label, which would be applied to all images in the archive.
Example scenario flow:
The text was updated successfully, but these errors were encountered: