Skip to content

Commit

Permalink
Changed batch size to be 16 to decrease memory load
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Oct 25, 2024
1 parent 2a0583c commit d6ddc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainglobe_stitch/image_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ def _fuse_to_2d_tiff(
The shape of the fused image.
"""
z_size, y_size, x_size = self.tiles[0].data_pyramid[0].shape
batch_size = self.tiles[0].data_pyramid[0].chunksize[0]
batch_size = 16

batched_image_shape = (batch_size, *fused_image_shape[1:])

Expand Down

0 comments on commit d6ddc52

Please sign in to comment.