Closed snk4tr closed 1 year ago
Describe the bug If a data of incorrect range is passed, the error message prints out a misleading message.
To Reproduce Steps to reproduce the behavior:
[0, 255]
AssertionError: Input tensor should be normalized in (0, 0) range
Expected behavior The following message is expected: AssertionError: Input tensor should be normalized in (0, 1) range
AssertionError: Input tensor should be normalized in (0, 1) range
Describe the bug If a data of incorrect range is passed, the error message prints out a misleading message.
To Reproduce Steps to reproduce the behavior:
[0, 255]
)AssertionError: Input tensor should be normalized in (0, 0) range
Expected behavior The following message is expected:
AssertionError: Input tensor should be normalized in (0, 1) range