Skip to content

Commit

Permalink
Comment shift_array function
Browse files Browse the repository at this point in the history
  • Loading branch information
Arno1235 committed Jan 25, 2024
1 parent eb693c1 commit ddb8322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/augmentations.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def random_perspective(


def shift_array(arr, shift_x, shift_y, fill_value=0):
# Shifts the array by shift_x columns and shift_y rows and fills the new cells with fill_value
result = np.empty_like(arr)

if shift_y > 0:
Expand Down

0 comments on commit ddb8322

Please sign in to comment.