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
when importing annotaions from cloud storage, filename.stat() will fail as filename is not a local file. Passing annotation_path and annotation_format to create_from_data will also fail. Then, what's the purpose of having source_storage in the task_spec if one cannot import resources from the cloud using high-level SDK?
Expected Behavior
Import annotations from the specified cloud storage.
Possible Solution
Provide a modified Uploader class that does not depent on a stream for the annotation file.
Context
Open a task using data and annotations both are available on the attached cloud storage. Task with data (images) can be opened but annotations cannot be uploaded from the cloud storage.
Environment
Python 3.11.9
VERSION = "2.25.0"
The text was updated successfully, but these errors were encountered:
I thought that when we try to import annotations from cloud storage, we get an error due to filename.stat(), as it checks for a local path while we provide 'path/to/s3/key/dir/coco.json'. To import the annotations, we first download the annotation file from cloud storage to local and then import it. please tell my i am correct or not
Actions before raising this issue
Steps to Reproduce
when importing annotaions from cloud storage, filename.stat() will fail as
filename
is not a local file. Passingannotation_path
andannotation_format
tocreate_from_data
will also fail. Then, what's the purpose of havingsource_storage
in thetask_spec
if one cannot import resources from the cloud using high-level SDK?Expected Behavior
Import annotations from the specified cloud storage.
Possible Solution
Provide a modified Uploader class that does not depent on a stream for the annotation file.
Context
Open a task using data and annotations both are available on the attached cloud storage. Task with data (images) can be opened but annotations cannot be uploaded from the cloud storage.
Environment
The text was updated successfully, but these errors were encountered: