Skip to content

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject #1

@JiahaoYoung

Description

@JiahaoYoung

Hello, @shwang54 ,appreciate your sharing, but I have a little question on the code.
When i evaluate the model, i got this problem:
Traceback (most recent call last):
File "/home/jhy/scene-graph-TF-release-master/tools/test_net.py", line 11, in
from fast_rcnn.test import test_net
File "/home/jhy/scene-graph-TF-release-master/tools/../lib/fast_rcnn/test.py", line 14, in
from utils.cpu_nms import cpu_nms
File "init.pxd", line 918, in init utils.cpu_nms
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

I search online and get the answer to upgrade the numpy to 1.16
but your numpy version is 1.11, and I train the model with numpy 1.11
how should i fix this, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions