label-studio-ml-backend icon indicating copy to clipboard operation
label-studio-ml-backend copied to clipboard

load pre-signed data from cloud storage

Open patrickwasp opened this issue 2 years ago • 0 comments

When my model's predict(self, tasks, **kwards) function is called each task has a data field containing a dictionary and in my case, the dictionary has an image key with gs://bucket-name/image-name.jpg as the value.

Can I get the pre-signed link to the image from label studio or do I have to authenticate again and download the image manually in the ml model?

patrickwasp avatar May 26 '23 22:05 patrickwasp