A PyTorch implementation of the "Deep Variation-structured Reinforcement Learning for Visual Relationship and Attribute Detection" paper by Liang et. al.
Trying to run ./make.sh to build the faster rcnn part of the whole model fails with the following error:
Traceback (most recent call last):
File "build.py", line 3, in
from torch.utils.ffi import create_extension
File "/usr/local/lib/python2.7/dist-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.
I assume that build.py expects an older pytorch (<=0.4) than the one I'm using (1.0).
Is there any way to fix this (provided that, everything else failing, I can always create an environment with pytorch=0.4.0)?
Trying to run
./make.sh
to build the faster rcnn part of the whole model fails with the following error:I assume that
build.py
expects an older pytorch (<=0.4) than the one I'm using (1.0). Is there any way to fix this (provided that, everything else failing, I can always create an environment with pytorch=0.4.0)?