msracver / FCIS

Fully Convolutional Instance-aware Semantic Segmentation
MIT License
1.57k stars 414 forks source link

Run init.sh and show following error?why?What version of Cython is it? #111

Open wenxingsen opened 7 years ago

wenxingsen commented 7 years ago

cythoning gpu_mv.pyx to gpu_mv.cpp

Error compiling Cython file:

... cimport numpy as np

assert sizeof(int) == sizeof(np.int32_t)

cdef extern from "gpu_mv.hpp": void _mv(np.float32_t all_boxes, np.float32_t all_masks, np.int32_t all_boxes_num, np.int32_t candidate_inds, np.int32_t candidate_start, np.float32_t candidate_weights, np.int32_t candidate_num, np.float32_t binary_thresh, np.int32_t image_height, np.int32_t image_width, np.int32_t box_dim, np.int32_t mask_size, np.int32_t result_num, np.float32_t result_mask, np.int32_t* result_box, np.int32_t device_id); ^

gpu_mv.pyx:14:419: Syntax error in C variable declaration

songrui0106 commented 7 years ago

I can finish the operation on the Cython's version of 0.27.3

githubwys commented 3 months ago

It works with Cython's version of 0.27.3