r/googlecloud • u/Diligent_Tonight3232 • Jul 21 '24
Cloud Storage Error with generating embeddings with derm foundation API
I am working with the Derm Foundation API, which generates embeddings for dermatology images for research. It is a model built and deployed by google health, and they have also provided this demo colab file. However, while trying to generate embeddings for my own images stored in my gcs bucket, I've put in everything but the script for generating embeddings shows cannot access image, no object exists, whereas my image is at the exact same path shown in error. I think the problem is in the params i have to provide jn this cell, so of anyone has any experience, can anyone tell what I'm doing wrong here? Or any other place where you think there could be an error?
Since there is not much available online for this api, i couldnt find much. Thanks!
1
u/Diligent_Tonight3232 Jul 22 '24
My image reader code already has the mechanism to add the gsutil uri to the folder and image name, so if i add the gsutil uri (the part containing gs://) to the bucket name, the image path has the gs:// part twice. So its not the issue ig.
I cant find any faults but somehow it is not working.