-
Notifications
You must be signed in to change notification settings - Fork 68
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
Dataset.add does not handle id #24
Comments
Same issue :( did you solve it? |
could you provide example code |
@jsbroks I load all images, each end up having id 0. Adding these images to dataset leads to single image output when dumping json.
|
So, there are a total of 3 issues above:- a. Not having a clear idea on how to use library. A small tutorial on how the api is meant to be used would be quite useful, especially a lot of stuff gets happened in index operations. b. The id issue as stated above, if one tries to load multiple images from a folder, each image has same id, i.e. 0, which when passed to dataset, gets overwritten. Overwriting seems to me as valid behaviour since each image should have unique id, maybe all is required is to set incremental id in Image.get_images_from_folder method, starting from 0(or 1) c. The recursion limit issue. Traceback (most recent call last): I will look into the recursion issue myself, as its my top priority task, however if you have any quick insights, it would help a lot. P.S. Will move it to separate Issue if ok by you? |
I'm as well having this issue -- only a single image is added to a dataset, while annotations are indexed correctly. Steps I take:
Current workaround: |
When
Dataset.add(str)
is called, the new image does not have a distinctid
. It will be overwritten after callingDataset.add(str)
again due to the duplicatedid
.The text was updated successfully, but these errors were encountered: