i use torch=0.3.1 torchvision=0.3.1 cuda=9.0 when I try to train this network, I got this error :
should i use torch=0.2.0?
Traceback (most recent call last):
File "/home/tju/software/pycharm-2018.2.1/helpers/pydev/pydevd.py", line 1664, in
main()
File "/home/tju/software/pycharm-2018.2.1/helpers/pydev/pydevd.py", line 1658, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/tju/software/pycharm-2018.2.1/helpers/pydev/pydevd.py", line 1068, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/tju/zhangbing/tianchi/cascade-rcnn_Pytorch-master/trainval_net.py", line 26, in
from model.utils.net_utils import adjust_learning_rate, save_checkpoint
File "/home/tju/zhangbing/tianchi/cascade-rcnn_Pytorch-master/lib/model/utils/net_utils.py", line 11, in
from model.roi_crop.functions.roi_crop import RoICropFunction
File "/home/tju/zhangbing/tianchi/cascade-rcnn_Pytorch-master/lib/model/roi_crop/functions/roi_crop.py", line 4, in
from .._ext import roi_crop
File "/home/tju/zhangbing/tianchi/cascade-rcnn_Pytorch-master/lib/model/roi_crop/_ext/roi_crop/init.py", line 2, in
from torch.utils.ffi import _wrap_function
File "/home/tju/.local/lib/python2.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.
We've got an error while stopping in post-mortem: <type 'exceptions.KeyboardInterrupt'>
same error, my pytorch version is 1.2.0
same error, my pytorch version is 1.1.0,can you help me?
版本要求pytorch小于0.4.0
我的torchvision版本是0.3.0,torch版本是1.1.0,但是同样的错误,请问您清楚吗?