I create an ensemble of a neural network where each network reads the input data from the input queue and writes its prediction to the output queue, and a separate client pushes a new input to all input queues, then pulls individual predictions from each output queue and aggregates them to create an ensemble prediction.
I would like the system to be resistant to a slow (or crashed) neural network client, so I need to set a timeout for output from each output queue. Ideally, the aggregator graph will behave beautifully and simply ignore this prediction.
The only solution I found has a dequeue timeout is to set the configuration parameter operation_timeout_in_mswhen creating the session, but this applies to all operations in the graph (for this session). Not very granular.
Any other option?
source
share