Closed drwalton closed 2 years ago
Add checks to all perceptual losses that ensure dimensions of inputs are correct. This should provide more helpful error messages to users that provide inputs in the wrong format, or when the dimensions of input and target do not match.
Add checks to all perceptual losses that ensure dimensions of inputs are correct. This should provide more helpful error messages to users that provide inputs in the wrong format, or when the dimensions of input and target do not match.