speedinghzl / pytorch-segmentation-toolbox

PyTorch Implementations for DeeplabV3 and PSPNet
MIT License
772 stars 167 forks source link

Problem python bulid.py in pytorch1.0. #34

Closed longredzhong closed 5 years ago

longredzhong commented 5 years ago

'''Traceback (most recent call last): File "build.py", line 3, in from torch.utils.ffi import create_extension File "/home/longred/anaconda3/envs/CSTC/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 1, in raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead. '''

speedinghzl commented 5 years ago

This repo doesn't support Pytorch 1.0.