Skip to content

distort_image_ops_test.py fails on tf-nightly-2.0-gpu #373

@WindQAQ

Description

@WindQAQ

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

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))

OP_REQUIRES(
context, channels == kChannelSize,
errors::InvalidArgument("input must have 3 channels but instead has ",
channels, " channels."));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions