jwyang / fpn.pytorch

Pytorch implementation of Feature Pyramid Network (FPN) for Object Detection
MIT License
952 stars 221 forks source link

COMPILEERROR(I already change the sm_61 but error still happened) #32

Open yuyijie1995 opened 5 years ago

yuyijie1995 commented 5 years ago

Traceback (most recent call last): File "build.py", line 35, in ffi.build() File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 189, in build _build_extension(ffi, cffi_wrapper_name, target_dir, verbose) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 111, in _build_extension outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/api.py", line 697, in compile compiler_verbose=verbose, debug=debug, **kwds) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/recompiler.py", line 1520, in recompile compiler_verbose, debug) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.class.name, e)) cffi.error.VerificationError: CompileError: command 'gcc' failed with exit status 1

youngYMR commented 5 years ago

I met the same problem.Have you solved it?

John-Rocker commented 5 years ago

same error.Who can answer the question?

yuyijie1995 commented 5 years ago

I have no idea

SJTU-Applemin commented 5 years ago

I met the same problem when compiling. Who can help with this problem?

salt-fisher commented 5 years ago

the same problem exists in the project issues,change your pytorch version to 0.4.0 seems to be useful

JackJWWong commented 5 years ago

you could try python2.7, I used python 2.7 and complied with no issues