-
Notifications
You must be signed in to change notification settings - Fork 617
Closed
Labels
Description
The CI Build for PY2-GPU failed because of distort_image_ops_test.py.
https://source.cloud.google.com/results/invocations/7ed10b8d-6cba-47d9-b764-d823365528f4/log
Ideally, the manager should catch the exception raised in CC file
addons/tensorflow_addons/image/distort_image_ops_test.py
Lines 110 to 112 in 436580c
| with self.assertRaisesOpError("input must have 3 channels " | |
| "but instead has 4 channels"): | |
| self.evaluate(self._adjust_hue_in_yiq_tf(x_np, delta_h)) |
addons/tensorflow_addons/custom_ops/image/cc/kernels/adjust_hsv_in_yiq_op.cc
Lines 70 to 73 in 436580c
| OP_REQUIRES( | |
| context, channels == kChannelSize, | |
| errors::InvalidArgument("input must have 3 channels but instead has ", | |
| channels, " channels.")); |