[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check failed in f.raw_ops.CropAndResizeGradBoxes when boxes and box_indices are empty. #65721

Open
xl1043237213 opened this issue Apr 15, 2024 · 1 comment
Assignees
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.15 For issues related to 2.15.x type:bug Bug

Comments

@xl1043237213
Copy link
xl1043237213 commented Apr 15, 2024

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 in f.raw_ops.CropAndResizeGradBoxes when boxes and box_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/1jt4YeBZkcM_o_tqxDsIKePHoeFZ-CdCS?usp=sharing

Relevant log output

Check failed: NDIMS == dims() (1 vs. 2)Asking for tensor of 1 dimensions from a tensor of 2 dimensions
@google-ml-butler google-ml-butler bot added the type:bug Bug label Apr 15, 2024
@xl1043237213 xl1043237213 changed the title Check failed in f.raw_ops.CropAndResizeGradBoxes when boxes and box_indices are empty. Check failed in f.raw_ops.CropAndResizeGradBoxes when boxes and box_indices are empty. Apr 15, 2024
@sushreebarsa sushreebarsa added comp:ops OPs related issues TF 2.15 For issues related to 2.15.x labels Apr 24, 2024
@sushreebarsa
Copy link
Contributor

@SuryanarayanaY I was able to replicate the issue reported here. Thank you!

@SuryanarayanaY SuryanarayanaY added the stat:awaiting tensorflower Status - Awaiting response from tensorflower label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.15 For issues related to 2.15.x type:bug Bug
Projects
None yet
Development

No branches or pull requests

3 participants