Open wy51wy opened 4 years ago
我遇到一样的问题,升级gcc了也没用
你解决这个问题了吗
我发现这应该只是在mac上的问题,mac对c++内存分配严格,所以c++代码要改,但是我对c++不熟
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
/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