krumo / Domain-Adaptive-Faster-RCNN-PyTorch

Domain Adaptive Faster R-CNN in PyTorch
MIT License
305 stars 68 forks source link

when i run the code some bugs appear.i don't how to handle it.Thank you in advance #36

Closed shishi-jie closed 2 months ago

shishi-jie commented 2 years ago

File "D:\000_zhuang\DA_F_RCNN_torch_c\maskrcnn_benchmark\structures\boxlist_ops.py", line 27, in boxlist_nms keep = _box_nms(boxes, score, nms_thresh) RuntimeError: Not compiled with GPU support

i can't from maskrcnn_benchmark import _C and there isn't _C

shishi-jie commented 2 years ago

one thing should be add that there isnot setup.py in maskrcnn_benchmark

krumo commented 2 years ago

It seems that you are running this project under Windows. Unfortunately I don't have a windows PC with a cuda-support GPUs and I cannot give you detailed help. It seems that you don't compile this project successfully. I would suggest you look at issues posted in the maskrccn_benchmark project like https://github.com/facebookresearch/maskrcnn-benchmark/issues/523 to find the possible solutions. The setup.py is located at https://github.com/krumo/Domain-Adaptive-Faster-RCNN-PyTorch/blob/master/setup.py.