Skip to content

Pytorch 1.4 support? #36

@Ostyk

Description

@Ostyk
ostyk@pytorch:~/DepthAwareCNN/models/ops/depthconv$ sh make.sh 
Traceback (most recent call last):
  File "build.py", line 3, in <module>
    from torch.utils.ffi import create_extension
  File "/home/ostyk/.local/lib/python3.5/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

Which torch version have you used? I'm not sure that fixing deprecated functions line by line is a very safe thing to do. Will be grateful for any tips. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions