MIC-DKFZ / medicaldetectiontoolkit

The Medical Detection Toolkit contains 2D + 3D implementations of prevalent object detectors such as Mask R-CNN, Retina Net, Retina U-Net, as well as a training and inference framework focused on dealing with medical images.
Apache License 2.0
1.31k stars 297 forks source link

ImportError: torch.utils.ffi is deprecated, how to use cpp extensions instead? #67

Closed sophie-isobel closed 5 years ago

sophie-isobel commented 5 years ago

When I run python build.py, there is an error saying torch.utils.ffi is deprecated, is there an updated version available which uses cpp extensions? If not please let me know if you have any advice on how to update this code, thanks.

sophie-isobel commented 5 years ago

ah, I realised I wasn't using the required version of torch==0.4.1. I have change my torch version and I am no longer getting this error