WenmuZhou / PAN.pytorch

A unofficial pytorch implementation of PAN(PSENet2): Efficient and Accurate Arbitrary-Shaped Text Detection with Pixel Aggregation Network
Apache License 2.0
417 stars 112 forks source link

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

Open wy51wy opened 4 years ago

wy51wy commented 4 years ago

/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 commented 4 years ago

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

mrwu-mac commented 4 years ago

你解决这个问题了吗

mrwu-mac commented 4 years ago

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

duymanhdoan commented 2 years ago

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