Skip to content

worker

birdnet_stm32.data.worker

Per-file loading and preprocessing, run inside the loader's worker processes.

Kept free of TensorFlow on purpose. The worker pool uses the forkserver start method, whose server preloads only this module, so workers start from a small single-threaded process instead of a fork of the TensorFlow trainer.