irfanICMLL / structure_knowledge_distillation

The official code for the paper 'Structured Knowledge Distillation for Semantic Segmentation'. (CVPR 2019 ORAL) and extension to other tasks.
BSD 2-Clause "Simplified" License
694 stars 104 forks source link

Build error #37

Open shidilrzf opened 3 years ago

shidilrzf commented 3 years ago

The "torch.utils.ffi" is deprecated with the newer versions of PyTorch.

irfanICMLL commented 3 years ago

You can choose to use an old version of PyTorch, or replace the BN with the official Sync BN in DistributedParallel in PyTorch 1.4 or newer.