Skip to content

Fix bug of human_matting.py #3919

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

Open
wants to merge 1 commit into
base: release/2.10
Choose a base branch
from
Open

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants