uber-research / UPSNet

UPSNet: A Unified Panoptic Segmentation Network
Other
649 stars 120 forks source link

What is the numpy and pytorch version required? #99

Open KleinXin opened 5 years ago

KleinXin commented 5 years ago

I am using numpy 1.15.4 and pytorch 0.4.1. Error reported when I run the test codes with error message

File "upsnet/../upsnet/bbox/bbox_transform.py", line 15, in <module> from .bbox import bbox_overlaps as bbox_overlaps_cython File "__init__.pxd", line 918, in init bbox ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

It seems the numpy should be upgraded to 1.16. However, the pytorch version is upgraded to 1.0 at the same time.

This is the environment I am using now

image

image

How can I solve this problem?