hammerlab / flowdec

TensorFlow Deconvolution for Microscopy Data
Apache License 2.0
89 stars 26 forks source link

Fix non-boolean sum in assertion #24

Open eric-czech opened 5 years ago

eric-czech commented 5 years ago

In:

https://github.com/hammerlab/flowdec/blob/81e70927e86a3adeff7bbf0eeabad9f923109b7e/python/flowdec/restoration.py#L245

The shape differences are summed but it should be the sum of comparison to 0 (or reduce_max)