Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions luxonis_ml/data/augmentations/custom/mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ def get_params_dependent_on_targets(
f"The batch size (= {n}) should be larger than "
+ f"{self.n_tiles} x out_batch_size (= {self.n_tiles * self.out_batch_size})"
)
indices = np.random.choice(
range(n), size=self.n_tiles * self.out_batch_size, replace=False
).tolist()
indices = [0,1,2,3]
image_shapes = [tuple(image.shape[:2]) for image in image_batch]
return {
"indices": indices,
Expand Down
Loading