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

重新编译的PSE.so 使用报Segmentation fault #25

Open
wy51wy opened this issue Dec 27, 2019 · 4 comments
Open

重新编译的PSE.so 使用报Segmentation fault #25

wy51wy opened this issue Dec 27, 2019 · 4 comments

Comments

@wy51wy
Copy link

wy51wy commented Dec 27, 2019

/usr/lib64/python3.6/site-packages/torch/nn/functional.py:2479: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
"See the documentation of nn.Upsample for details.".format(mode))
Segmentation fault

@mrwu-mac
Copy link

我遇到一样的问题,升级gcc了也没用

@mrwu-mac
Copy link

你解决这个问题了吗

@mrwu-mac
Copy link

我发现这应该只是在mac上的问题,mac对c++内存分配严格,所以c++代码要改,但是我对c++不熟

@duymanhdoan
Copy link

I solved problem.
the problem is opencv version base on c++, so that is Segmentation fault
just typed the commandline:
$ pip3 install opencv-python==4.0.1.24

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

No branches or pull requests

3 participants