Skip to content

Commit

Permalink
Fix type of input_dim in preprocessing params. It is now tuple, not list
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed May 31, 2023
1 parent d978f91 commit 2c9ab37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit_tests/preprocessing_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def test_getting_preprocessing_params(self):
"ComposeProcessing": {
"processings": [
"ReverseImageChannels",
{"DetectionLongestMaxSizeRescale": {"output_shape": [512, 512]}},
{"DetectionLongestMaxSizeRescale": {"output_shape": [512, 512]}},
{"DetectionBottomRightPadding": {"output_shape": [512, 512], "pad_value": 114}},
{"DetectionLongestMaxSizeRescale": {"output_shape": (512, 512)}},
{"DetectionLongestMaxSizeRescale": {"output_shape": (512, 512)}},
{"DetectionBottomRightPadding": {"output_shape": (512, 512), "pad_value": 114}},
{"ImagePermute": {"permutation": (2, 0, 1)}},
]
}
Expand Down

0 comments on commit 2c9ab37

Please sign in to comment.