--- base_model: sentence-transformers/all-mpnet-base-v2 library_name: setfit metrics: - accuracy pipeline_tag: text-classification tags: - setfit - sentence-transformers - text-classification - generated_from_setfit_trainer widget: - text: "videowriter libraryLoad load opencv_videoio_ffmpeg460_64d.dll ### Descripe\ \ the feature and motivation\n\nCan I get opencv_videoio_ffmpeg460_64d.dll and\ \ opencv_videoio_ffmpeg460_64d.dll?(Shared libraries for debugging)Thank you!\n\ \n### Additional context\n\nI try to create video file by VideoWriter but failed,information\ \ like following:\r\nbackend_plugin.cpp (383) cv::impl::getPluginCandidates Found\ \ 3 plugin(s) for FFMPEG\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\\ plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\\\ \\develop\\\\opencv-4.6.0\\\\vs2017_x64\\\\bin\\\\Debug\\\\opencv_videoio_ffmpeg460_64d.dll\ \ => FAILED\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp\ \ (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64d.dll\ \ => FAILED\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp\ \ (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64.dll\ \ => FAILED\r\nopencv-4.6.0\\\\modules\\\\videoio\\\\src\\\\backend_plugin.cpp\ \ (383) cv::impl::getPluginCandidates Found 2 plugin(s) for INTEL_MFX\r\nopencv-4.6.0\\\ \\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad\ \ load opencv-4.6.0\\\\vs2017_x64\\\\bin\\\\Debug\\\\opencv_videoio_intel_mfx460_64d.dll\ \ => FAILED\r\n[ INFO:0@51.519] \\\\opencv-4.6.0\\\\modules\\\\core\\\\src\\\\\ utils\\\\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad\ \ load opencv_videoio_intel_mfx460_64d.dll => FAILED" - text: "OpenCV solution for Visual Studio 2019 is not building opencv_core.lib when\ \ AVX2 is specified in (CPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2) in x86 build\ \ ### System Information\n\nOpenCV solution for Visual Studio 2019 is not building\ \ opencv_core.lib when\r\nAVX2 is specified in (CPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2)\ \ in x86 build\r\n\r\nOpenCV version: 4.8.0\r\nOperating System / Platform: Windows\ \ 10\r\nCompiler & compiler version: Visual Studio 2019\n\n### Detailed description\n\ \nBy default x64 CMake configuration for Visual Studio 2019 uses:\r\nCPU_BASELINE\ \ = SSE3;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2\r\nand x86 configuration\ \ uses:\r\nCPU_BASELINE = SSE2;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16\r\n\r\ \nWhen I set the same flags in build for x86 as set in x64 build, building\r\n\ opencv_core module ends with failure:\r\n\r\nLogs from building opencv_core module:\r\ \nBuild started...\r\n1>------ Build started: Project: ZERO_CHECK, Configuration:\ \ Release Win32 ------\r\n1>Checking Build System\r\n2>------ Build started: Project:\ \ ippiw, Configuration: Release Win32 ------\r\n3>------ Build started: Project:\ \ ittnotify, Configuration: Release Win32 ------\r\n4>------ Build started: Project:\ \ opencv_core_SSE4_1, Configuration: Release Win32 ------\r\n5>------ Build started:\ \ Project: opencv_core_SSE4_2, Configuration: Release Win32 ------\r\n6>------\ \ Build started: Project: opencv_core_AVX, Configuration: Release Win32 ------\r\ \n7>------ Build started: Project: opencv_core_AVX2, Configuration: Release Win32\ \ ------\r\n8>------ Build started: Project: zlib, Configuration: Release Win32\ \ ------\r\n4>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\ \n2>Building Custom Rule G:/opencv-4.8.0/build_x86_AVX2/3rdparty/ippicv/ippicv_win/iw/CMakeLists.txt\r\ \n3>Building Custom Rule G:/opencv-4.8.0/3rdparty/ittnotify/CMakeLists.txt\r\n\ 7>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n6>Building\ \ Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n8>Building Custom\ \ Rule G:/opencv-4.8.0/3rdparty/zlib/CMakeLists.txt\r\n5>Building Custom Rule\ \ G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n2>iw_core.c\r\n6>mathfuncs_core.avx.cpp\r\ \n4>arithm.sse4_1.cpp\r\n2>iw_image.c\r\n2>iw_image_color_convert_all.c\r\n2>iw_image_color_convert_rgbs.c\r\ \n3>ittnotify_static.c\r\n2>iw_image_filter_bilateral.c\r\n2>iw_image_filter_box.c\r\ \n4>matmul.sse4_1.cpp\r\n3>jitprofiling.c\r\n2>iw_image_filter_canny.c\r\n2>iw_image_filter_gaussian.c\r\ \n5>stat.sse4_2.cpp\r\n7>mathfuncs_core.avx2.cpp\r\n7>stat.avx2.cpp\r\n8>adler32.c\r\ \n8>compress.c\r\n8>crc32.c\r\n8>deflate.c\r\n7>arithm.avx2.cpp\r\n7>convert.avx2.cpp\r\ \n8>gzclose.c\r\n8>gzlib.c\r\n8>gzread.c\r\n7>convert_scale.avx2.cpp\r\n7>count_non_zero.avx2.cpp\r\ \n7>has_non_zero.avx2.cpp\r\n7>matmul.avx2.cpp\r\n8>gzwrite.c\r\n2>iw_image_filter_general.c\r\ \n2>iw_image_filter_laplacian.c\r\n2>iw_image_filter_morphology.c\r\n8>inflate.c\r\ \n8>infback.c\r\n8>inftrees.c\r\n2>iw_image_filter_scharr.c\r\n2>iw_image_filter_sobel.c\r\ \n2>iw_image_op_copy.c\r\n2>iw_image_op_copy_channel.c\r\n2>iw_image_op_copy_make_border.c\r\ \n2>iw_image_op_copy_merge.c\r\n2>iw_image_op_copy_split.c\r\n2>iw_image_op_scale.c\r\ \n8>inffast.c\r\n8>trees.c\r\n8>uncompr.c\r\n8>zutil.c\r\n7>G:\\\\opencv-4.8.0\\\ \\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\ \ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\ \\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\stat.avx2.cpp)\r\n7>G:\\\ \\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\ \ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\stat.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\stat.avx2.cpp)\r\n7>mean.avx2.cpp\r\n2>iw_image_op_set.c\r\ \n2>iw_image_op_set_channel.c\r\n2>iw_image_op_swap_channels.c\r\n2>iw_image_transform_mirror.c\r\ \n2>iw_image_transform_resize.c\r\n2>iw_image_transform_rotate.c\r\n2>iw_image_transform_warpaffine.c\r\ \n2>iw_own.c\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12):\ \ error C3861: '_mm256_extract_epi64': identifier not found (compiling source\ \ file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\arithm.avx2.cpp)\r\ \n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\ \ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\arithm.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\arithm.avx2.cpp)\r\n7>merge.avx2.cpp\r\n7>G:\\\\opencv-4.8.0\\\ \\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\ \ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\ \\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\ \n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\ \ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\ \ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\n7>split.avx2.cpp\r\n7>G:\\\\\ opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12):\ \ error C3861: '_mm256_extract_epi64': identifier not found (compiling source\ \ file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\ \n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\ \ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\ \ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\n7>sum.avx2.cpp\r\n7>G:\\\\opencv-4.8.0\\\ \\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\ \ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\ \\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\ \\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\ \ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\ core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\ \ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\ core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\ \ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\ core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\ \ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\ \ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\ \ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\ \\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\ \ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n3>ittnotify.vcxproj -> G:\\\\opencv-4.8.0\\\ \\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\ittnotify.lib\r\n5>opencv_core_SSE4_2.vcxproj\ \ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\opencv_core_SSE4_2.dir\\\ \\Release\\\\opencv_core_SSE4_2.lib\r\n2>ippiw.vcxproj -> G:\\\\opencv-4.8.0\\\ \\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\ippiw.lib\r\n8>zlib.vcxproj\ \ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\zlib.lib\r\ \n6>opencv_core_AVX.vcxproj -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\ \\core\\\\opencv_core_AVX.dir\\\\Release\\\\opencv_core_AVX.lib\r\n4>opencv_core_SSE4_1.vcxproj\ \ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\opencv_core_SSE4_1.dir\\\ \\Release\\\\opencv_core_SSE4_1.lib\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\ \ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\ \ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\ \ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\ \ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\sum.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\ \ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\ \ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\sum.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\ \\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\ \ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\ \ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\ \\modules\\\\core\\\\sum.avx2.cpp)\r\n7>Done building project \"opencv_core_AVX2.vcxproj\"\ \ -- FAILED.\r\n9>------ Build started: Project: opencv_core, Configuration: Release\ \ Win32 ------\r\n9>Processing OpenCL kernels (core)\r\n9>-- G:/opencv-4.8.0/build_x86_AVX2/modules/core/opencl_kernels_core.hpp\ \ contains the same content\r\n9>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\ \n9>cmake_pch.cxx\r\n9>algorithm.cpp\r\n9>arithm.cpp\r\n9>arithm.dispatch.cpp\r\ \n9>array.cpp\r\n9>async.cpp\r\n9>batch_distance.cpp\r\n9>bindings_utils.cpp\r\ \n9>buffer_area.cpp\r\n9>channels.cpp\r\n9>check.cpp\r\n9>command_line_parser.cpp\r\ \n9>conjugate_gradient.cpp\r\n9>convert.dispatch.cpp\r\n9>convert_c.cpp\r\n9>convert_scale.dispatch.cpp\r\ \n9>copy.cpp\r\n9>count_non_zero.dispatch.cpp\r\n9>cuda_gpu_mat.cpp\r\n9>cuda_gpu_mat_nd.cpp\r\ \n9>cuda_host_mem.cpp\r\n9>cuda_info.cpp\r\n9>cuda_stream.cpp\r\n9>datastructs.cpp\r\ \n9>directx.cpp\r\n9>downhill_simplex.cpp\r\n9>dxt.cpp\r\n9>gl_core_3_1.cpp\r\n\ 9>glob.cpp\r\n9>hal_internal.cpp\r\n9>has_non_zero.dispatch.cpp\r\n9>kmeans.cpp\r\ \n9>lapack.cpp\r\n9>lda.cpp\r\n9>logger.cpp\r\n9>lpsolver.cpp\r\n9>lut.cpp\r\n\ 9>mathfuncs.cpp\r\n9>mathfuncs_core.dispatch.cpp\r\n9>matmul.dispatch.cpp\r\n\ 9>matrix.cpp\r\n9>matrix_c.cpp\r\n9>matrix_decomp.cpp\r\n9>matrix_expressions.cpp\r\ \n9>matrix_iterator.cpp\r\n9>matrix_operations.cpp\r\n9>matrix_sparse.cpp\r\n\ 9>matrix_transform.cpp\r\n9>matrix_wrap.cpp\r\n9>mean.dispatch.cpp\r\n9>merge.dispatch.cpp\r\ \n9>minmax.cpp\r\n9>norm.cpp\r\n9>ocl.cpp\r\n9>opencl_clblas.cpp\r\n9>opencl_clfft.cpp\r\ \n9>opencl_core.cpp\r\n9>opengl.cpp\r\n9>out.cpp\r\n9>ovx.cpp\r\n9>parallel_openmp.cpp\r\ \n9>parallel_tbb.cpp\r\n9>parallel_impl.cpp\r\n9>pca.cpp\r\n9>persistence.cpp\r\ \n9>persistence_base64_encoding.cpp\r\n9>persistence_json.cpp\r\n9>persistence_types.cpp\r\ \n9>persistence_xml.cpp\r\n9>persistence_yml.cpp\r\n9>rand.cpp\r\n9>softfloat.cpp\r\ \n9>split.dispatch.cpp\r\n9>stat.dispatch.cpp\r\n9>stat_c.cpp\r\n9>stl.cpp\r\n\ 9>sum.dispatch.cpp\r\n9>system.cpp\r\n9>tables.cpp\r\n9>trace.cpp\r\n9>types.cpp\r\ \n9>umatrix.cpp\r\n9>datafile.cpp\r\n9>filesystem.cpp\r\n9>logtagconfigparser.cpp\r\ \n9>logtagmanager.cpp\r\n9>samples.cpp\r\n9>va_intel.cpp\r\n9>opencl_kernels_core.cpp\r\ \n9>alloc.cpp\r\n9>parallel.cpp\r\n9>parallel.cpp\r\n9>LINK : fatal error LNK1181:\ \ cannot open input file 'G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\\ core\\\\opencv_core_AVX2.dir\\\\Release\\\\mathfuncs_core.avx2.obj'\r\n9>Done\ \ building project \"opencv_core.vcxproj\" -- FAILED.\r\n========== Build: 7 succeeded,\ \ 2 failed, 0 up-to-date, 0 skipped ==========\r\n\n\n### Steps to reproduce\n\ \n1. Set Cmake configuration to Visual Studio 2019 x86\r\n2. Set this flags\r\n\ CPU_BASELINE = SSE3;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2\r\nBUILD_SHARED_LIBS=OFF\r\ \n3. Build Visual Studio 2019 solution\r\n4. Open solution and build opencv_core\ \ module\r\n[CMakeCache.txt](https://github.com/opencv/opencv/files/11957266/CMakeCache.txt)\r\ \n\n\n### Issue submission checklist\n\n- [X] I report the issue, it's not a question\n\ - [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org,\ \ Stack Overflow, etc and have not found any solution\n- [X] I updated to the\ \ latest OpenCV version and the issue is still there\n- [X] There is reproducer\ \ code and related data files (videos, images, onnx, etc)" - text: "dnn onnx: invalid shape dimension and wrong results in test case Test_ONNX_layers.OpenAI_CLIP_head\ \ ### System Information\n\nlatest opencv and lastest onnxruntime\n\n### Detailed\ \ description\n\nRelated PR: https://github.com/opencv/opencv/pull/23419 and https://github.com/opencv/opencv_extra/pull/1049.\r\ \n\r\nIn the above PR, several fixes are indtroduced for the clip head. Those\ \ fixes are fine, but the manually generated onnx model named \"clip-vit-base-head.onnx\"\ \ is invalid and **cannot be run by onnxruntime**:\r\n\r\n1. In the Expand operator,\ \ `shape` input should be of type `int64` instead of `int32`. Please use `onnx.checker.check_model(model)`\ \ (it checks operator definitions and so on) before saving a manually generated\ \ onnx model.\r\n2. Having that fixed, onnxruntime still complains invalid shape\ \ in the Expand operator. Changing the shape value from [1, 1, -1] to [1, 1, 1]\ \ fixes the problem. Please run the manually generated onnx model with onnxruntime\ \ to check whether it is all valid.\r\n\r\ncc @dkurt \n\n### Steps to reproduce\n\ \nInstall onnxruntime, then\r\n\r\n```\r\nimport numpy as np\r\nfrom onnxruntime\ \ import InferenceSession\r\n\r\n\r\nnet = InferenceSession(\"./clip-vit-base-head.onnx\"\ )\r\nout = net.run([], {\"input\": np.random.randn(1, 1, 3).astype(np.float32)})\r\ \nprint(out[0].shape)\r\n```\n\n### Issue submission checklist\n\n- [X] I report\ \ the issue, it's not a question\n- [X] I checked the problem with documentation,\ \ FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any\ \ solution\n- [X] I updated to the latest OpenCV version and the issue is still\ \ there\n- [X] There is reproducer code and related data files (videos, images,\ \ onnx, etc)" - text: "OpenCV build - cmake don't recognize GTK2 or GTK3 ##### System information\ \ (version)\r\n\r\n- OpenCV => 4.7.0\r\n- Operating System / Platform => Ubuntu\ \ 20.04\r\n- Compiler => g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0\r\n- C++ Standard:\ \ 11\r\n\r\n##### Detailed description\r\n\r\nI am trying to create OpenCV with\ \ the GTK GUI. I have `GTK2` and `GTK3` installed on the system, but neither version\ \ is recognised by cmake. \r\n\r\n![image](https://user-images.githubusercontent.com/62354721/230026534-66053f4e-67d3-45cd-93c2-4902365400c7.png)\r\ \n![image](https://user-images.githubusercontent.com/62354721/230026727-07d64f8c-c453-4048-9d23-3608b1c94663.png)\r\ \n\r\n\r\nThe output after executing cmake remains \r\n**GUI: NONE** \r\n**GTK+:NO**\r\ \n\r\nI execute the cmake command as follows:\r\n\r\n`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which\ \ python3) -DWITH_GTK=ON ../opencv`\r\n\r\nor\r\n\r\n`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which\ \ python3) -DWITH_GTK=ON -DWITH_GTK_2_X=ON ../opencv`\r\n\r\n##### Steps to reproduce\r\ \n\r\ngit clone https://github.com/opencv/opencv.git\r\nmkdir -p build && cd build\r\ \ncmake ../opencv (default, custom look above)\r\n\r\nThank you for your help\r\ \n" - text: "How to confirm the version of the OpenCV 3rdParty libs \r\n\r\n##### System information (version)\r\n- OpenCV = 4.5.2\r\n- Operating\ \ System / Platform => Linux\r\n- Compiler => gcc version 4.8.5\r\n\r\n\r\n#####\ \ Detailed description\r\nI need to obtain each software version in the 3rdparty\ \ directory in the source code of OpenCV 4.5.2 to analyze whether OpenCV 4.5.2\ \ has dependency vulnerabilities.But the third-party software version is not found\ \ in the code repository or in the document.For example, the versions of open-source\ \ software such as carotene, cpufeatures, ippicv, and ittnotify cannot be confirmed.\r\ \n![image](https://user-images.githubusercontent.com/98326538/150894923-7303e9a0-ddc4-4b8e-be37-77a0ff583cf1.png)\r\ \n\r\n\r\n\r\n##### Steps to reproduce\r\n\r\n\r\n##### Issue submission checklist\r\ \n\r\n - [x] I report the issue, it's not a question\r\n \r\n - [x] I checked the problem with documentation, FAQ,\ \ open issues,\r\n forum.opencv.org, Stack Overflow, etc and have not found\ \ any solution\r\n \r\n - [x] I updated to the latest OpenCV version and the issue is still\ \ there\r\n \r\n - [ ] There is reproducer code and related data files: videos, images,\ \ onnx, etc\r\n \r\n" inference: true --- # SetFit with sentence-transformers/all-mpnet-base-v2 This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification. The model has been trained using an efficient few-shot learning technique that involves: 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning. 2. Training a classification head with features from the fine-tuned Sentence Transformer. ## Model Details ### Model Description - **Model Type:** SetFit - **Sentence Transformer body:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance - **Maximum Sequence Length:** 384 tokens - **Number of Classes:** 3 classes ### Model Sources - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit) - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055) - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit) ### Model Labels | Label | Examples | |:---------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | feature |