faster_rcnn
faster_rcnn copied to clipboard
Error when running 'faster_rcnn_build.m' file
Hello, I'm Jo and trying to run this faster rcnn using the MATALB 16a, Window 10, and CUDA 7.5. When I try to run the faster_rcnn_build.m file, the below error message is coming up.
I can ignore the warnings, but the problem is the error from the nvmex. I checked the 2 issues related with this file, but I couldn't solve it. ( links : https://github.com/ShaoqingRen/faster_rcnn/issues/122, https://github.com/ShaoqingRen/faster_rcnn/issues/66 ) Is there any ideas to solve this error?
Compiling nms_mex 'MinGW64 Compiler (C++)'(으)로 빌드됩니다. MEX가 성공적으로 완료되었습니다. Compiling nms_gpu_mex nvcc --compile -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -o nms_gpu_mex.o --machine 64 -I"C:\Program Files\MATLAB\R2016a/extern/include " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"\common\inc" "functions/nms/nms_gpu_mex.cu" c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(859) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(1807) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(2657) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(3541) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(4492) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(5412) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(6320) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(7195) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(8066) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(775) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(1621) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_double_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h(943) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(859) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(1807) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(2657) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(3541) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(4492) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(5412) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(6320) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(7195) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(8066) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(859) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(1807) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(2657) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(3541) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(4492) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(5412) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(6320) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(7195) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(8066) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(910) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(1903) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(2843) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(3779) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(4721) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(5723) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(6682) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(7610) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(8543) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(9413) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(10391) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(11435) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(775) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(1621) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_double_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h(943) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(859) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(1807) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(2657) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(3541) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(4492) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(5412) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(6320) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(7195) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(8066) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(775) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions.h(1621) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_double_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\sm_20_intrinsics.h(943) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(859) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(1807) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(2657) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(3541) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(4492) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(5412) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(6320) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(7195) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\math_functions.h(8066) : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss nms_gpu_mex.cu mex -outdir bin nms_gpu_mex.o -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64" -lcudart 'MinGW64 Compiler (C)'(으)로 빌드됩니다.
다음 사용 중 오류가 발생함: mex
Warning: corrupt .drectve at end of def file
nms_gpu_mex.o:(.text$mn+0x632): undefined reference to __security_check_cookie' nms_gpu_mex.o:(.text$mn+0x41): undefined reference to
?_Xbad_alloc@std@@YAXXZ'
nms_gpu_mex.o:(.xdata+0x14): undefined reference to __GSHandlerCheck' nms_gpu_mex.o:(.xdata[$unwind$?_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAX_K0@Z]+0x8): undefined reference to
__CxxFrameHandler3'
nms_gpu_mex.o:(.xdata[$unwind$?catch$1@?0??_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAX_K0@Z@4HA]+0x8):
undefined reference to __CxxFrameHandler3' nms_gpu_mex.o:(.xdata[$unwind$?catch$0@?0??_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAX_K0@Z@4HA]+0x8): undefined reference to
__CxxFrameHandler3'
nms_gpu_mex.o:(.xdata[$unwind$??0?$vector@_KV?$allocator@_K@std@@@std@@QEAA@_K@Z]+0x8):
undefined reference to __CxxFrameHandler3' nms_gpu_mex.o:(.xdata[$unwind$?catch$0@?0???0?$vector@_KV?$allocator@_K@std@@@std@@QEAA@_K@Z@4HA]+0x8): undefined reference to
__CxxFrameHandler3'
nms_gpu_mex.o:(.xdata[$unwind$?_Reallocate@?$vector@HV?$allocator@H@std@@@std@@IEAAX_K@Z]+0x8):
more undefined references to __CxxFrameHandler3' follow nms_gpu_mex.o:(.data$r+0x0): undefined reference to
??_7type_info@@6B@'
collect2.exe: error: ld returned 1 exit status
오류 발생: nvmex (line 48) eval(mexCommandLine);
오류 발생: faster_rcnn_build (line 23) nvmex('functions/nms/nms_gpu_mex.cu', 'bin');
I found that this is because of the version of CUDA. To use CUDA 7.5, I need to follow the instructions(https://github.com/ShaoqingRen/caffe/tree/faster-R-CNN) but I cannot catch them. Where can I get some more detailed instructions?
@HyunJun-Jo How about executing compilation with Visual Stududio 2013, not the MinGW64. I had a problem in building with compiler MinGW64 before.