Skip to content

Fix bug of human_matting.py#3919

Open
ausk wants to merge 1 commit intoPaddlePaddle:release/2.10from
ausk:patch-1
Open

Fix bug of human_matting.py#3919
ausk wants to merge 1 commit intoPaddlePaddle:release/2.10from
ausk:patch-1

Conversation

@ausk
Copy link

@ausk ausk commented Jul 3, 2025

PR types

PR changes

Description

@CLAassistant
Copy link

CLAassistant commented Jul 3, 2025

CLA assistant check
All committers have signed the CLA.

@ausk
Copy link
Author

ausk commented Jul 3, 2025

A bug introduced by #3920

> /tmp/PaddleSeg/Matting/ppmatting/models/human_matting.py(399)forward()
-> x = F.interpolate(x,
(Pdb) (h_half, w_half)
(1024, 1024)
(Pdb) paddle.stack((h_half, w_half)).squeeze()


--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   paddle::pybind::eager_api_stack(_object*, _object*, _object*)
1   paddle::pybind::GetTensorListFromArgs(std::string const&, std::string const&, _object*, long, bool, phi::distributed::ProcessMesh const*)
2   phi::TypeInfoTraits<phi::TensorBase, phi::distributed::DistTensor>::classof(phi::TensorBase const*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants