faster-rcnn.pytorch icon indicating copy to clipboard operation
faster-rcnn.pytorch copied to clipboard

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

Open Ming-Du opened this issue 5 years ago • 5 comments

does anyone encount this error

Ming-Du avatar Oct 14 '20 11:10 Ming-Du

@Ming-Du install torch==0.4.0

ajithvcoder avatar Oct 17 '20 05:10 ajithvcoder

so this branch does not support pytorch==1.0?

dengandong avatar Aug 27 '21 08:08 dengandong

@antony0621 go to this branch https://github.com/jwyang/faster-rcnn.pytorch/tree/pytorch-1.0

ajithvcoder avatar Aug 27 '21 15:08 ajithvcoder

@ajithvallabai but the error still occurs. so I must use torch==0.4.0 to run this code?

dengandong avatar Sep 14 '21 15:09 dengandong

u can use torch == 0.4.0 , but if u r GPU gene code is of higher extend or cuda is =/+ 10 like that u may face issue there also . u need to go to cuda 9.1 or 8 like that

ajithvcoder avatar Sep 14 '21 15:09 ajithvcoder