Open PhyllisJi opened 6 days ago
https://www.paddlepaddle.org.cn/documentation/docs/zh/2.6/api/paddle/nn/Conv2D_cn.html#conv2d you can read the api document. Most likely it's not a matter of bool type.
random_array = np.random.rand(1, 6, 21, 4)
random_input = random_array.astype(np.float32)
print(random_input)
paddle.set_device('gpu')
paddle_random_model = Model_1729302669()
my_input = paddle.to_tensor(random_input)
paddle_random_output = paddle_random_model(my_input)
print(paddle_random_output)
change random_array will also cause the same error
https://www.paddlepaddle.org.cn/documentation/docs/zh/2.6/api/paddle/nn/Conv2D_cn.html#conv2d you can read the api document. Most likely it's not a matter of bool type.
random_array = np.random.rand(1, 6, 21, 4) random_input = random_array.astype(np.float32) print(random_input) paddle.set_device('gpu') paddle_random_model = Model_1729302669() my_input = paddle.to_tensor(random_input) paddle_random_output = paddle_random_model(my_input) print(paddle_random_output)
change random_array will also cause the same error
Yes, we are still getting the crash by converting the bool type to float32. Can you tell me why? I think it's a bug that occurs when paddle doesn't handle exceptions well.
bug描述 Describe the Bug
其他补充信息 Additional Supplementary Information
PaddlePaddle 2.6.1 Output: