dchaley / deepcell-imaging

Tools & guidance to scale DeepCell imaging on Google Cloud Batch
8 stars 2 forks source link

Use gcloud_storage_utils for writing TIFF to GCP #264

Closed dchaley closed 3 months ago

dchaley commented 3 months ago

The smart_open API seems to not support file seeking, which tifffile uses. (See also #253)

We already have gcloud_storage_utils which buffers to a local file before using the gcloud CLI to upload (it's a lot more performant). That means, it has access to normal file seeking.

And we get a performance boost for large prediction TIFFs, yay 😎