Ask Your Question

Revision history [back]

could not run demo "faster_rcnn.cpp"

Hi guys, we have downloaded the lastest version of opencv 3.4, and set up the vs2017 environment for opencv. We also downlloaded the faster_rcnn_vgg16.prototxt, and VGG16_faster_rcnn_final.caffemodel from https://github.com/rbgirshick/py-faster-rcnn. However,when we run the faster_rcnn.cpp, the detection out is null. And vs2017 have a interrupt , the program stop at here:

#ifdef _DEBUG _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line) { // report error and die if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1) { ::_CrtDbgBreak(); } }

and the output messages show:

Second Chance Assertion Failed: File C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\include\vector, Line 1810

here show some figures. Thanks!

!image description

fig.1 interrupt

image description'

fig.2 console outputs

image description

fig.3 project files

could not run demo "faster_rcnn.cpp"

Hi guys, we have downloaded the lastest version of opencv 3.4, and set up the vs2017 environment for opencv. We also downlloaded the faster_rcnn_vgg16.prototxt, and VGG16_faster_rcnn_final.caffemodel from https://github.com/rbgirshick/py-faster-rcnn. However,when we run the faster_rcnn.cpp, the detection out is null. And vs2017 have a interrupt , the program stop at here:

#ifdef _DEBUG _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line) { // report error and die if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1) { ::_CrtDbgBreak(); } }

and the output messages show:

Second Chance Assertion Failed: File C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\include\vector, Line 1810

here show some figures. Thanks!

!image description

fig.1 interruptinterrupt text infomation of stdthrow.cpp:

// throw -- terminate on thrown exception REPLACEABLE #ifndef _M_CEE_PURE #define _HAS_EXCEPTIONS 0 #endif /* _M_CEE_PURE */ #include <cstdio> #include <cstdlib> #include <exception> #include <crtdbg.h>

_STD_BEGIN

#ifdef _DEBUG _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line) { // report error and die if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)// STOP HERE!!--marked by me { ::_CrtDbgBreak(); } } _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line) { // report error and die _Debug_message((wchar_t *) message, (wchar_t *) file, line); }

#endif

_STD_END

/* * Copyright (c) by P.J. Plauger. All rights reserved. * Consult your license regarding permissions and restrictions. V6.50:0009 */

image description'

fig.2 console outputsoutputs text infomation of text infomation of stdthrow.cpp: [libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:605] Reading dangerously large protocol message. If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h. [libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:82] The total number of bytes read was 548317115 [ INFO:0] Initialize OpenCL runtime...

Net Outputs(1):

detection_out

image description

fig.3 project files

click to hide/show revision 3
None

updated 2018-02-05 04:41:47 -0600

berak gravatar image

could not run demo "faster_rcnn.cpp"

Hi guys, we have downloaded the lastest version of opencv 3.4, and set up the vs2017 environment for opencv. We also downlloaded the faster_rcnn_vgg16.prototxt, and VGG16_faster_rcnn_final.caffemodel from https://github.com/rbgirshick/py-faster-rcnn. However,when we run the faster_rcnn.cpp, the detection out is null. And vs2017 have a interrupt , the program stop at here:

 #ifdef _DEBUG
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line)
{ // report error and die if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)
{
::_CrtDbgBreak();
}
}

}

and the output messages show:

Second Chance Assertion Failed: File C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\include\vector, Line 1810

here show some figures. Thanks!

!image description

fig.1 interrupt text infomation of stdthrow.cpp:

// throw -- terminate on thrown exception REPLACEABLE
#ifndef _M_CEE_PURE
#define _HAS_EXCEPTIONS 0
#endif /* _M_CEE_PURE */
#include <cstdio>
#include <cstdlib>
#include <exception>
#include <crtdbg.h>

_STD_BEGIN

<crtdbg.h> _STD_BEGIN #ifdef _DEBUG _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line) { // report error and die if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)// STOP HERE!!--marked by me { ::_CrtDbgBreak(); } } _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line) { // report error and die _Debug_message((wchar_t *) message, (wchar_t *) file, line); }

#endif

_STD_END

} #endif _STD_END /* * Copyright (c) by P.J. Plauger. All rights reserved. * Consult your license regarding permissions and restrictions. V6.50:0009 */

image description'

*/

fig.2 console outputs text infomation of text infomation of stdthrow.cpp: stdthrow.cpp:

[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:605] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:82] The total number of bytes read was 548317115
[ INFO:0] Initialize OpenCL runtime...

runtime...

Net Outputs(1):

detection_out

image description

fig.3 project files

could not run demo "faster_rcnn.cpp"

Hi guys, we have downloaded the lastest version of opencv 3.4, and set up the vs2017 environment for opencv. We also downlloaded the faster_rcnn_vgg16.prototxt, and VGG16_faster_rcnn_final.caffemodel from https://github.com/rbgirshick/py-faster-rcnn. However,when we run the faster_rcnn.cpp, the detection out is null. And vs2017 have a interrupt , the program stop at here:

 #ifdef _DEBUG
 _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file,  unsigned int line)
    {   // report error and die        if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)
        {
            ::_CrtDbgBreak();
        }
    }

and the output messages show:

Second Chance Assertion Failed: File C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\include\vector, Line 1810

here show some figures. codes. Thanks!

fig.1 interrupt text infomation of

  1. interrupt occur in stdthrow.cpp:

    // throw -- terminate on thrown exception REPLACEABLE #ifndef _M_CEE_PURE #define _HAS_EXCEPTIONS 0 #endif /* _M_CEE_PURE */ #include <cstdio> #include <cstdlib> #include <exception> #include <crtdbg.h> _STD_BEGIN <crtdbg.h>

    _STD_BEGIN

    #ifdef _DEBUG _DEBUG

    _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line) line)

    { // report error and die
      if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)// STOP HERE!!--marked by me
     {
     ::_CrtDbgBreak();
     }
     }
    

    _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line) { // report error and die _Debug_message((wchar_t *) message, (wchar_t *) file, line); } #endif _STD_END /* * }

    #endif

    _STD_END

    /*

    • Copyright (c) by P.J. Plauger. All rights reserved. * reserved.
    • Consult your license regarding permissions and restrictions. V6.50:0009 */

    fig.2 */

2 console outputs text infomation of text infomation of stdthrow.cpp:outputs:

[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:605] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:82] The total number of bytes read was 548317115
[ INFO:0] Initialize OpenCL runtime...

Net Outputs(1):

Outputs(1): detection_out

image description

fig.3 3 project filesfold

could not run demo "faster_rcnn.cpp"

Hi guys, we have downloaded the lastest version of opencv 3.4, and set up the vs2017 environment for opencv. We also downlloaded the faster_rcnn_vgg16.prototxt, and VGG16_faster_rcnn_final.caffemodel from https://github.com/rbgirshick/py-faster-rcnn. However,when we run the faster_rcnn.cpp, the detection out is null. And vs2017 have a interrupt , the program stop at here:

 #ifdef _DEBUG
 _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file,  unsigned int line)
    {   // report error and die        if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)
        {
            ::_CrtDbgBreak();
        }
    }

and the output messages show:

Second Chance Assertion Failed: File C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\include\vector, Line 1810

here show some codes. Thanks!

  1. interrupt occur in stdthrow.cpp:

    // throw -- terminate on thrown exception REPLACEABLE #ifndef _M_CEE_PURE #define _HAS_EXCEPTIONS 0 #endif /* _M_CEE_PURE */ #include <cstdio> #include <cstdlib> #include <exception> #include <crtdbg.h>

    _STD_BEGIN

    #ifdef _DEBUG

    _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line)

    {   // report error and die
        if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%ls", message)==1)// STOP HERE!!--marked by me
        {
            ::_CrtDbgBreak();
        }
    }
    

    _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line) { // report error and die _Debug_message((wchar_t *) message, (wchar_t *) file, line); }

    #endif

    _STD_END

    /*

    • Copyright (c) by P.J. Plauger. All rights reserved.
    • Consult your license regarding permissions and restrictions. V6.50:0009 */

2 console outputs:

[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:605] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING C:\build\master_winpack-build-win64-vc15\opencv\3rdparty\protobuf\src\google\protobuf\io\coded_stream.cc:82] The total number of bytes read was 548317115
[ INFO:0] Initialize OpenCL runtime...

Net Outputs(1): detection_out

image description

3 project foldfold image description