prediction_worker
A thread worker function running CAREamics prediction.
predict_worker(careamist, config_signal, update_queue)
#
Model prediction worker.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
careamist | CAREamist | CAREamist instance. | required |
config_signal | PredictionSignal | Prediction signal. | required |
update_queue | Queue | Queue used to send updates to the UI. | required |
Yields:
Type | Description |
---|---|
Generator[PredictionUpdate, None, None] | Updates. |