You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurred when I run python build.py, the error is as follows:
Traceback (most recent call last):
File "build.py", line 30, in <module>
extra_objects=extra_objects
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 159, in create_extension
ffi.cdef(_typedefs + all_headers_source)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/api.py", line 112, in cdef
self._cdef(csource, override=override, packed=packed, pack=pack)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/api.py", line 126, in _cdef
self._parser.parse(csource, override=override, **options)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/cparser.py", line 347, in parse
self._internal_parse(csource)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/cparser.py", line 352, in _internal_parse
ast, macros, csource = self._parse(csource)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/cparser.py", line 296, in _parse
self.convert_pycparser_error(e, csource)
File "/root/anaconda3/envs/pcc_env/lib/python2.7/site-packages/cffi/cparser.py", line 325, in convert_pycparser_error
raise CDefError(msg)
cffi.CDefError: cannot parse "int roi_pooling_forward(int pooled_height, int pooled_width, float spatial_scale,"
<cdef source string>:29:82: Illegal character '\r'
Could you help me solve this error ?
Looking forward for your reply, thank you!
The text was updated successfully, but these errors were encountered:
Hi man, thanks for your share!
An error occurred when I run python build.py, the error is as follows:
Could you help me solve this error ?
Looking forward for your reply, thank you!
The text was updated successfully, but these errors were encountered: