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
There are multiple situations in datasets calling for introducing a new file object.
For one example, reading a dataset like Google OpenImage produces a URI column which needs conversion to File.
For another example, extracting a bounding box from an image can be saved locally and added to dataset.
In all these cases, a dataset needs a new File/ImageFile/TextFile object created from URI, and a method to automate it, similar to:
TextFile.from_uri(uri, resolve=True)
where URI can be any supported locator (local, cloud, https), and resolve argument determines whether the URI is tested and more information gathered (e.g. filesize).
The text was updated successfully, but these errors were encountered:
Description
There are multiple situations in datasets calling for introducing a new file object.
For one example, reading a dataset like Google OpenImage produces a URI column which needs conversion to File.
For another example, extracting a bounding box from an image can be saved locally and added to dataset.
In all these cases, a dataset needs a new File/ImageFile/TextFile object created from URI, and a method to automate it, similar to:
where URI can be any supported locator (local, cloud, https), and resolve argument determines whether the URI is tested and more information gathered (e.g. filesize).
The text was updated successfully, but these errors were encountered: