mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #28035 from asmorkalov:as/windows_ci_5.x
Switch to the new Github actions pipeline for Windows in 5.x too #28035 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [ ] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
This commit is contained in:
committed by
GitHub
parent
15dc935190
commit
57970de586
@@ -36,9 +36,15 @@ INSTANTIATE_TEST_CASE_P(/**/, Utils_blobFromImage,
|
||||
using Utils_blobFromImages = TestBaseWithParam<std::vector<int>>;
|
||||
PERF_TEST_P_(Utils_blobFromImages, HWC_TO_NCHW) {
|
||||
std::vector<int> input_shape = GetParam();
|
||||
|
||||
int batch = input_shape.front();
|
||||
std::vector<int> input_shape_no_batch(input_shape.begin()+1, input_shape.end());
|
||||
|
||||
if (input_shape_no_batch[0]*input_shape_no_batch[1] >= 2048*2048)
|
||||
{
|
||||
applyTestTag( CV_TEST_TAG_MEMORY_2GB);
|
||||
}
|
||||
|
||||
std::vector<Mat> inputs;
|
||||
for (int i = 0; i < batch; i++) {
|
||||
Mat input(input_shape_no_batch, CV_32FC3);
|
||||
|
||||
Reference in New Issue
Block a user