mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Merge pull request #29448 from asmorkalov:as/skip_deep_features_tests_32bit
Skip DNN features test on 32-bit platforms as they time-to-time do not fit 2GB RAM
This commit is contained in:
@@ -22,7 +22,9 @@ static void skipIfClassicDnnEngine()
|
||||
|
||||
TEST(Features2d_ALIKED, Regression)
|
||||
{
|
||||
applyTestTag( CV_TEST_TAG_MEMORY_2GB);
|
||||
skipIfClassicDnnEngine();
|
||||
|
||||
const std::string modelPath = cvtest::findDataFile("dnn/onnx/models/aliked-n16rot-top1k-640.onnx", false);
|
||||
|
||||
Ptr<ALIKED> aliked = ALIKED::create(modelPath);
|
||||
@@ -85,7 +87,9 @@ TEST(Features2d_ALIKED, Regression)
|
||||
|
||||
TEST(Features2d_LightGlue, Regression)
|
||||
{
|
||||
applyTestTag( CV_TEST_TAG_MEMORY_2GB);
|
||||
skipIfClassicDnnEngine();
|
||||
|
||||
const std::string alikedPath = cvtest::findDataFile("dnn/onnx/models/aliked-n16rot-top1k-640.onnx", false);
|
||||
const std::string lgPath = cvtest::findDataFile("dnn/onnx/models/aliked_lightglue.onnx", false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user