Check failed
in tf.image.crop_and_resize
and tf.compat.v1.image.crop_and_resize
when boxes
and box_indices
are empty.
#65652
Labels
comp:ops
OPs related issues
subtype: ubuntu/linux
Ubuntu/Linux Build/Installation Issues
TF 2.15
For issues related to 2.15.x
type:bug
Bug
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.15
Custom code
No
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Check failed
intf.image.crop_and_resize
whenboxes
andbox_indices
are empty, which causes the program to crash. See the colab link below for details.Standalone code to reproduce the issue
https://colab.research.google.com/drive/1FDl2zKTLnCEA8aSIAjsOHg4B3CIPJNCn?usp=sharing
Relevant log output
The text was updated successfully, but these errors were encountered: