Skip to content

Comments

Use dynamic pixel batches based on num of segments#301

Merged
mjkramer merged 1 commit intodevelopfrom
feature/smarter-batching
Nov 15, 2025
Merged

Use dynamic pixel batches based on num of segments#301
mjkramer merged 1 commit intodevelopfrom
feature/smarter-batching

Conversation

@mjkramer
Copy link
Member

Previously, each sub-batch (of segments) corresponded to a fixed-size region of pixels. As a result, the number of segments per sub-batch could vary wildly. With this, the pixel region is dynamically sized in order to get the number of segments as close as possible to the (new) segment_batch_size parameter. The pixel_batch_size parameter is gone.

@mjkramer mjkramer requested review from cuddandr and diaza November 12, 2025 01:42
@diaza
Copy link
Member

diaza commented Nov 15, 2025

Looks good to me!

@mjkramer mjkramer merged commit 2378068 into develop Nov 15, 2025
@mjkramer mjkramer deleted the feature/smarter-batching branch December 17, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants