dchaley / deepcell-imaging

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

Remote output squeeze option #265

Closed dchaley closed 1 week ago

dchaley commented 1 week ago

The DeepCell code I copied provided the option to "np.squeeze" the output, aka remove axes of length one. Something like:

(1, 512, 512, 1) (one 512x512 image w/ 1 channel value)

becomes

(512, 512) (512x512 pixel values)

But, turns out we don't need it.

So ... let's get rid of it 👋🏻

We still need to resolve the question of batch dimension or not. We currently do not output the batch dimension. We output: 512x512x1