Closed dchaley closed 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)
(1, 512, 512, 1)
becomes
(512, 512) (512x512 pixel values)
(512, 512)
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
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