cascade-rcnn_Pytorch icon indicating copy to clipboard operation
cascade-rcnn_Pytorch copied to clipboard

sh make.sh error

Open he010103 opened this issue 6 years ago • 2 comments

@guoruoqian I use python2.7(anaconda) and CUDA9.0 and sm_52(TITAN Xp) when I run sh make.sh, error occurs:

/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/nms/src/nms_cuda.c: In function ‘nms_cuda’:
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/nms/src/nms_cuda.c:14:22: error: dereferencing pointer to incomplete type                                              boxes_host->size[0],                                                                                                                                                                           ^                                                                                                                                                              /mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/nms/src/nms_cuda.c:15:22: error: dereferencing pointer to incomplete type

......

/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c: In function ‘BilinearSamplerBHWD_updateOutput’:
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:10:30: error: dereferencing pointer to incomplete type
   int batchsize = inputImages->size[0];
                              ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:11:39: error: dereferencing pointer to incomplete type
   int inputImages_height = inputImages->size[1];
                                       ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:12:38: error: dereferencing pointer to incomplete type
   int inputImages_width = inputImages->size[2];
                                      ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:13:29: error: dereferencing pointer to incomplete type
   int output_height = output->size[1];
                             ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:14:28: error: dereferencing pointer to incomplete type
   int output_width = output->size[2];
                            ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:15:41: error: dereferencing pointer to incomplete type
   int inputImages_channels = inputImages->size[3];
                                         ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:17:34: error: dereferencing pointer to incomplete type
   int output_strideBatch = output->stride[0];
                                  ^
/mnt/lustre/hezhiqun/experiments/detection/cascade-rcnn_Pytorch/lib/model/roi_crop/src/roi_crop.c:18:35: error: dereferencing pointer to incomplete type
......

he010103 avatar Dec 14 '18 03:12 he010103

I have the same errors, could some one have the solutions?

wujiahongPKU avatar Jan 01 '19 06:01 wujiahongPKU

What is your version of pytorch?

ruoqianguo avatar Jan 01 '19 11:01 ruoqianguo