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
708 stars 103 forks source link

Build error #37

Open shidilrzf opened 4 years ago

shidilrzf commented 4 years ago

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

irfanICMLL commented 4 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.