multimodallearning / pytorch-mask-rcnn

Other
2.01k stars 557 forks source link

ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead. #105

Open Vishal2188 opened 3 years ago

Vishal2188 commented 3 years ago

error while run build.py file in nms....pls assist me...

Thank You...

shi-10 commented 3 years ago

have you solved it? I got the same problem.

xiecookie commented 3 years ago

use pytorch 0.4

EnriqueSolarte commented 3 years ago

It works for me with pytorch 0.4.0

EnriqueSolarte commented 3 years ago

I am having many issues with changing my Cuda version and torch. is there any option to compile using CPP extensions instead? I believe that a new version of nms files, as well as roialign's, which are using a not deprecated method, is outside somewhere. Has someone has found them?

knitemblazor commented 3 years ago

the issue is that you will have to use cpp code for that .

knitemblazor commented 3 years ago

i have fixed the so called dependency issues https://github.com/knitemblazor/MaskRCNN_pytorch_1.8_non_detectron