-
Notifications
You must be signed in to change notification settings - Fork 112
Description
I have environment info
docker - pytorch 1.6
python 3.7.7
run : 'python main_dpir_sisr.py'
I know that pytorch-fft is necessary.
pip install pytorch-fft
Collecting pytorch-fft
Using cached pytorch_fft-0.15.tar.gz (7.8 kB)
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py'"'"'; file='"'"'/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-0qpqfjyv/pytorch-fft/pip-egg-info
cwd: /tmp/pip-install-0qpqfjyv/pytorch-fft/
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-0qpqfjyv/pytorch-fft/setup.py", line 6, in
import build
File "/tmp/pip-install-0qpqfjyv/pytorch-fft/build.py", line 3, in
from torch.utils.ffi import create_extension
File "/opt/conda/lib/python3.7/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.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Is it right to install this?
Thank you for letting me know the wrong part.