Hello, it's the fist time I actually try to put in a production environment a locally trained .h5 model. I have a website hosted on a cloud run container and I'm trying to run an Image processing pipeline every-time a file is uploaded to GCS via the website (that's why I want to use a cloud function that triggers when a new file is created).
my issue:
I have found a way to load my .h5 model from GCS but It's taking way too mush time and I'm sure there's surely a better way to do what i'm trying to do:
almost 1 minute to load on my local machine. Do you have any recommendation on how to trigger the prediction of my trained model + (pre/post processing) easily upon file upload from my website (in a serverless context) ?