ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216
Posted Sun7_She
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216相关的知识,希望对你有一定的参考价值。
error
Traceback (most recent call last):
File "./tools/train_net.py", line 13, in <module>
from fast_rcnn.train import get_training_roidb, train_net
File "/home/ruoqi256/srq/model/faster-rcnn-resnet/tools/../lib/fast_rcnn/train.py", line 12, in <module>
import roi_data_layer.roidb as rdl_roidb
File "/home/ruoqi256/srq/model/faster-rcnn-resnet/tools/../lib/roi_data_layer/roidb.py", line 13, in <module>
from utils.cython_bbox import bbox_overlaps
File "__init__.pxd", line 861, in init utils.cython_bbox
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216
solution
pip install -U numpy
以上是关于ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216的主要内容,如果未能解决你的问题,请参考以下文章
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216