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
Segmentation fault when running gen_nn_ops.fractional_avg_pool #59163
Comments
@nimashiri, |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Also this one:
|
This issue was already tracking with #59198. And the initial issue for Segmentation fault was not able to reproduce in tf v2.11 as mentioned in the above comment. Kindly find the gist of it here where we can observe that Segfault error has not been raised and executed with error pooling_ratio cannot be smaller than 1 which were due to seed = 87654321 and seed2 = 341261001. Thank you! |
Looks like an issue on cleanup side. |
Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.10.0
Custom Code
Yes
OS Platform and Distribution
Ubuntu 22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Standalone code to reproduce the issue
import tensorflow as tf import os import numpy as np from tensorflow.python.ops import gen_nn_ops try: arg_0_tensor = tf.random.uniform([5, 20, 30, 3], dtype=tf.float64) arg_0 = tf.identity(arg_0_tensor) arg_1_0 = 2 arg_1_1 = -5.267949192431123 arg_1_2 = -52.58578643762691 arg_1_3 = 1 arg_1 = [arg_1_0,arg_1_1,arg_1_2,arg_1_3,] arg_2 = True arg_3 = True deterministic = True seed = 87654321 seed2 = 341261001 out = gen_nn_ops.fractional_avg_pool(arg_0,arg_1,arg_2,arg_3,deterministic=deterministic,seed=seed,seed2=seed2,) except Exception as e: print("Error:"+str(e))
The text was updated successfully, but these errors were encountered: