You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the data that is being uploaded exists in a file share connected to CVAT, then it would be preferable to not upload the data to the server. This is especially important in cases where a large number of images or videos are being annotated at one time.
Adding this should be fairly simple. It would require updating this to allow for shared files:
files= {}
foridx, pathinenumerate(paths):
# IMPORTANT: CVAT organizes media within a task alphabetically by # filename, so we must give CVAT filenames whose alphabetical order # matches the order of `paths` filename="%06d%s"% (idx, os.path.splitext(path)[1])
ifuse_fileshare:
data["server_files[%d]"%idx] = (filename, path)
else:
files["client_files[%d]"%idx] = (filename, open(path, "rb"))
In order to use the correct path, it would be straightforward to follow the Alternate media workflow and store the file share path to every sample as a field on the FiftyOne dataset.
Other points to consider are the options to copy_data and use_cache that will likely need to be incorporated to avoid copying data even for media in the file share. cvat-ai/cvat#3544
The text was updated successfully, but these errors were encountered:
CVAT allows files to be accessed either by:
If the data that is being uploaded exists in a file share connected to CVAT, then it would be preferable to not upload the data to the server. This is especially important in cases where a large number of images or videos are being annotated at one time.
Adding this should be fairly simple. It would require updating this to allow for shared files:
fiftyone/fiftyone/utils/cvat.py
Lines 3096 to 3102 in e43c00a
In order to use the correct path, it would be straightforward to follow the
Alternate media
workflow and store the file share path to every sample as a field on the FiftyOne dataset.Other points to consider are the options to
copy_data
anduse_cache
that will likely need to be incorporated to avoid copying data even for media in the file share. cvat-ai/cvat#3544The text was updated successfully, but these errors were encountered: