cvhciKIT / sloth

Sloth is a tool for labeling image and video data for computer vision research.
Other
611 stars 198 forks source link

Append only new files #81

Closed neingeist closed 10 years ago

neingeist commented 10 years ago

When appending files, check if that file is already in the label file. Do not append it if it's already there.

herr-biber commented 10 years ago

LGTM. However, using the same file twice in args[1:] will add that file twice. Maybe we should add the currently added files to the set of present_filenames as well?

neingeist commented 10 years ago

Thanks, I missed that. I will correct the patch accordingly!

neingeist commented 10 years ago

It's fixed now.