acia.segm.processor.flowpose_rt#
flowpose-rt segmentation implementation
- class acia.segm.processor.flowpose_rt.FlowposeRTSegmenter[source]#
Bases:
SegmentationProcessorflowpose-rt segmentation implementation (omnipose-compatible, lighter deps).
batch_sizetrades memory for throughput:flowpose_rt.Segmenter.segment()only tiles a genuinely single (H, W) image internally – a stacked (N, H, W) batch (what abatch_size-chunked call sends) skips that tiling and forwards the whole chunk through the network at full resolution, so a larger batch of frames bigger than flowpose-rt’s ~224px tile size costs more memory per image than single-frame calls would. Lowerbatch_sizeif memory is a concern for large frames.weights_pathselects a local checkpoint instead of the downloaded zoo weights (e.g. a fine-tuned model).modelis still required in that case: it names the zoo entry whose preprocessing contract (channel count, channel mapping, default tolerance) the checkpoint follows.