dnn(test): fix failures of 32-bit builders#12502
Conversation
| TEST_P(Test_ONNX_nets, DISABLED_VGG16_bn) // memory usage >2Gb | ||
| #else | ||
| TEST_P(Test_ONNX_nets, VGG16_bn) | ||
| #endif |
There was a problem hiding this comment.
Is it observed for both Linux and Windows configs? In example, there is a test which is skipped only for Win32 builds:
opencv/modules/dnn/test/test_caffe_importer.cpp
Lines 154 to 155 in 10ae0c4
There was a problem hiding this comment.
These tests use ~2.5Gb RAM, so it is better to disable them on any 32-bit configuration.
It would be nice to disable for 32-bit configurations other tests too which require >1Gb RAM.
|
Also, we have a special macro to mark the tests that consume a lot of memory (BIG_DATA_TEST or something like that). Can we just re-use it here? |
|
My current assumption about |
|
Lets merge it "as is" to make builds green again (patch is not large). |
No description provided.