vanvalenlab / kiosk-console

DeepCell Kiosk Distribution for Kubernetes on GKE and AWS
https://deepcell-kiosk.readthedocs.io
Other
35 stars 6 forks source link

Consumer uses cached prediction if uploaded file name has been used previously #458

Closed elaubsch closed 2 years ago

elaubsch commented 2 years ago

Describe the bug The consumer uses cached prediction if the uploaded file name has been used previously. This would typically be a good method for avoiding redundant predictions, but it is causing bad Polaris predictions. When a file is uploaded with the same name as was uploaded to previous clusters (before changes that address a bug in the Polaris consumer), the old, incorrect predictions are returned.

To Reproduce

  1. Go to deepcell.org/predict
  2. Download example file
  3. Rename it to MERFISH_example_RGB.png
  4. Submit it for prediction

Expected behavior Predicted spot locations will be shifted from their locations in the original image.

Screenshots Bad spot predictions:

image

Good spot predictions:

image