aliby.haystack.ModelPredictor¶
- class ModelPredictor(tiler, model, name)[source]¶
Bases:
object
Generic object that takes a NN and returns the prediction.
Use for predicting fluorescence/other from bright field. This does not do instance segmentations of anything.
Methods
run_tp
(tp)Simulating processing time with sleep
format_result
get_data
Methods
__init__
(tiler, model, name)format_result
(result, tp)get_data
(tp)run_tp
(tp)Simulating processing time with sleep