Initial commit with model files
Browse files- README.md +671 -0
- config.json +24 -0
- config_sentence_transformers.json +10 -0
- config_setfit.json +8 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +20 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +72 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,671 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: sentence-transformers/all-mpnet-base-v2
|
3 |
+
library_name: setfit
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- setfit
|
9 |
+
- sentence-transformers
|
10 |
+
- text-classification
|
11 |
+
- generated_from_setfit_trainer
|
12 |
+
widget:
|
13 |
+
- text: "videowriter libraryLoad load opencv_videoio_ffmpeg460_64d.dll ### Descripe\
|
14 |
+
\ the feature and motivation\n\nCan I get opencv_videoio_ffmpeg460_64d.dll and\
|
15 |
+
\ opencv_videoio_ffmpeg460_64d.dll?(Shared libraries for debugging)Thank you!\n\
|
16 |
+
\n### Additional context\n\nI try to create video file by VideoWriter but failed,information\
|
17 |
+
\ like following:\r\nbackend_plugin.cpp (383) cv::impl::getPluginCandidates Found\
|
18 |
+
\ 3 plugin(s) for FFMPEG\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\\
|
19 |
+
plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\\\
|
20 |
+
\\develop\\\\opencv-4.6.0\\\\vs2017_x64\\\\bin\\\\Debug\\\\opencv_videoio_ffmpeg460_64d.dll\
|
21 |
+
\ => FAILED\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp\
|
22 |
+
\ (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64d.dll\
|
23 |
+
\ => FAILED\r\nopencv-4.6.0\\\\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp\
|
24 |
+
\ (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64.dll\
|
25 |
+
\ => FAILED\r\nopencv-4.6.0\\\\modules\\\\videoio\\\\src\\\\backend_plugin.cpp\
|
26 |
+
\ (383) cv::impl::getPluginCandidates Found 2 plugin(s) for INTEL_MFX\r\nopencv-4.6.0\\\
|
27 |
+
\\modules\\\\core\\\\src\\\\utils\\\\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad\
|
28 |
+
\ load opencv-4.6.0\\\\vs2017_x64\\\\bin\\\\Debug\\\\opencv_videoio_intel_mfx460_64d.dll\
|
29 |
+
\ => FAILED\r\n[ INFO:0@51.519] \\\\opencv-4.6.0\\\\modules\\\\core\\\\src\\\\\
|
30 |
+
utils\\\\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad\
|
31 |
+
\ load opencv_videoio_intel_mfx460_64d.dll => FAILED"
|
32 |
+
- text: "OpenCV solution for Visual Studio 2019 is not building opencv_core.lib when\
|
33 |
+
\ AVX2 is specified in (CPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2) in x86 build\
|
34 |
+
\ ### System Information\n\nOpenCV solution for Visual Studio 2019 is not building\
|
35 |
+
\ opencv_core.lib when\r\nAVX2 is specified in (CPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2)\
|
36 |
+
\ in x86 build\r\n\r\nOpenCV version: 4.8.0\r\nOperating System / Platform: Windows\
|
37 |
+
\ 10\r\nCompiler & compiler version: Visual Studio 2019\n\n### Detailed description\n\
|
38 |
+
\nBy default x64 CMake configuration for Visual Studio 2019 uses:\r\nCPU_BASELINE\
|
39 |
+
\ = SSE3;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2\r\nand x86 configuration\
|
40 |
+
\ uses:\r\nCPU_BASELINE = SSE2;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16\r\n\r\
|
41 |
+
\nWhen I set the same flags in build for x86 as set in x64 build, building\r\n\
|
42 |
+
opencv_core module ends with failure:\r\n\r\nLogs from building opencv_core module:\r\
|
43 |
+
\nBuild started...\r\n1>------ Build started: Project: ZERO_CHECK, Configuration:\
|
44 |
+
\ Release Win32 ------\r\n1>Checking Build System\r\n2>------ Build started: Project:\
|
45 |
+
\ ippiw, Configuration: Release Win32 ------\r\n3>------ Build started: Project:\
|
46 |
+
\ ittnotify, Configuration: Release Win32 ------\r\n4>------ Build started: Project:\
|
47 |
+
\ opencv_core_SSE4_1, Configuration: Release Win32 ------\r\n5>------ Build started:\
|
48 |
+
\ Project: opencv_core_SSE4_2, Configuration: Release Win32 ------\r\n6>------\
|
49 |
+
\ Build started: Project: opencv_core_AVX, Configuration: Release Win32 ------\r\
|
50 |
+
\n7>------ Build started: Project: opencv_core_AVX2, Configuration: Release Win32\
|
51 |
+
\ ------\r\n8>------ Build started: Project: zlib, Configuration: Release Win32\
|
52 |
+
\ ------\r\n4>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\
|
53 |
+
\n2>Building Custom Rule G:/opencv-4.8.0/build_x86_AVX2/3rdparty/ippicv/ippicv_win/iw/CMakeLists.txt\r\
|
54 |
+
\n3>Building Custom Rule G:/opencv-4.8.0/3rdparty/ittnotify/CMakeLists.txt\r\n\
|
55 |
+
7>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n6>Building\
|
56 |
+
\ Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n8>Building Custom\
|
57 |
+
\ Rule G:/opencv-4.8.0/3rdparty/zlib/CMakeLists.txt\r\n5>Building Custom Rule\
|
58 |
+
\ G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\n2>iw_core.c\r\n6>mathfuncs_core.avx.cpp\r\
|
59 |
+
\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\
|
60 |
+
\n3>ittnotify_static.c\r\n2>iw_image_filter_bilateral.c\r\n2>iw_image_filter_box.c\r\
|
61 |
+
\n4>matmul.sse4_1.cpp\r\n3>jitprofiling.c\r\n2>iw_image_filter_canny.c\r\n2>iw_image_filter_gaussian.c\r\
|
62 |
+
\n5>stat.sse4_2.cpp\r\n7>mathfuncs_core.avx2.cpp\r\n7>stat.avx2.cpp\r\n8>adler32.c\r\
|
63 |
+
\n8>compress.c\r\n8>crc32.c\r\n8>deflate.c\r\n7>arithm.avx2.cpp\r\n7>convert.avx2.cpp\r\
|
64 |
+
\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\
|
65 |
+
\n7>has_non_zero.avx2.cpp\r\n7>matmul.avx2.cpp\r\n8>gzwrite.c\r\n2>iw_image_filter_general.c\r\
|
66 |
+
\n2>iw_image_filter_laplacian.c\r\n2>iw_image_filter_morphology.c\r\n8>inflate.c\r\
|
67 |
+
\n8>infback.c\r\n8>inftrees.c\r\n2>iw_image_filter_scharr.c\r\n2>iw_image_filter_sobel.c\r\
|
68 |
+
\n2>iw_image_op_copy.c\r\n2>iw_image_op_copy_channel.c\r\n2>iw_image_op_copy_make_border.c\r\
|
69 |
+
\n2>iw_image_op_copy_merge.c\r\n2>iw_image_op_copy_split.c\r\n2>iw_image_op_scale.c\r\
|
70 |
+
\n8>inffast.c\r\n8>trees.c\r\n8>uncompr.c\r\n8>zutil.c\r\n7>G:\\\\opencv-4.8.0\\\
|
71 |
+
\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\
|
72 |
+
\ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\
|
73 |
+
\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\stat.avx2.cpp)\r\n7>G:\\\
|
74 |
+
\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\
|
75 |
+
\ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
76 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
77 |
+
\\modules\\\\core\\\\stat.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
78 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
79 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
80 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
81 |
+
\\modules\\\\core\\\\stat.avx2.cpp)\r\n7>mean.avx2.cpp\r\n2>iw_image_op_set.c\r\
|
82 |
+
\n2>iw_image_op_set_channel.c\r\n2>iw_image_op_swap_channels.c\r\n2>iw_image_transform_mirror.c\r\
|
83 |
+
\n2>iw_image_transform_resize.c\r\n2>iw_image_transform_rotate.c\r\n2>iw_image_transform_warpaffine.c\r\
|
84 |
+
\n2>iw_own.c\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12):\
|
85 |
+
\ error C3861: '_mm256_extract_epi64': identifier not found (compiling source\
|
86 |
+
\ file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\arithm.avx2.cpp)\r\
|
87 |
+
\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\
|
88 |
+
\ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
89 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
90 |
+
\\modules\\\\core\\\\arithm.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
91 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
92 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
93 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
94 |
+
\\modules\\\\core\\\\arithm.avx2.cpp)\r\n7>merge.avx2.cpp\r\n7>G:\\\\opencv-4.8.0\\\
|
95 |
+
\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\
|
96 |
+
\ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\
|
97 |
+
\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\
|
98 |
+
\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\
|
99 |
+
\ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
100 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
101 |
+
\\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
102 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\
|
103 |
+
\ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
104 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
105 |
+
\\modules\\\\core\\\\mathfuncs_core.avx2.cpp)\r\n7>split.avx2.cpp\r\n7>G:\\\\\
|
106 |
+
opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12):\
|
107 |
+
\ error C3861: '_mm256_extract_epi64': identifier not found (compiling source\
|
108 |
+
\ file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\
|
109 |
+
\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\
|
110 |
+
\ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
111 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
112 |
+
\\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
113 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\
|
114 |
+
\ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
115 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
116 |
+
\\modules\\\\core\\\\count_non_zero.avx2.cpp)\r\n7>sum.avx2.cpp\r\n7>G:\\\\opencv-4.8.0\\\
|
117 |
+
\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error\
|
118 |
+
\ C3861: '_mm256_extract_epi64': identifier not found (compiling source file G:\\\
|
119 |
+
\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\
|
120 |
+
\\opencv-4.8.0\\\\modules\\\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312):\
|
121 |
+
\ message : see reference to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
122 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
123 |
+
\\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
124 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
125 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
126 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
127 |
+
\\modules\\\\core\\\\matmul.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
128 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
129 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
130 |
+
\\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\
|
131 |
+
core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\
|
132 |
+
\ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
133 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
134 |
+
\\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\
|
135 |
+
core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\
|
136 |
+
\ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
137 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
138 |
+
\\modules\\\\core\\\\convert.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\\
|
139 |
+
core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
140 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
141 |
+
\\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
142 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\
|
143 |
+
\ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
144 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
145 |
+
\\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
146 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\
|
147 |
+
\ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
148 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
149 |
+
\\modules\\\\core\\\\convert_scale.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
150 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
151 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
152 |
+
\\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
153 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference\
|
154 |
+
\ to function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
155 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
156 |
+
\\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\
|
157 |
+
\\core\\\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference\
|
158 |
+
\ to function template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
159 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
160 |
+
\\modules\\\\core\\\\has_non_zero.avx2.cpp)\r\n3>ittnotify.vcxproj -> G:\\\\opencv-4.8.0\\\
|
161 |
+
\\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\ittnotify.lib\r\n5>opencv_core_SSE4_2.vcxproj\
|
162 |
+
\ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\opencv_core_SSE4_2.dir\\\
|
163 |
+
\\Release\\\\opencv_core_SSE4_2.lib\r\n2>ippiw.vcxproj -> G:\\\\opencv-4.8.0\\\
|
164 |
+
\\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\ippiw.lib\r\n8>zlib.vcxproj\
|
165 |
+
\ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\3rdparty\\\\lib\\\\Release\\\\zlib.lib\r\
|
166 |
+
\n6>opencv_core_AVX.vcxproj -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\
|
167 |
+
\\core\\\\opencv_core_AVX.dir\\\\Release\\\\opencv_core_AVX.lib\r\n4>opencv_core_SSE4_1.vcxproj\
|
168 |
+
\ -> G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\core\\\\opencv_core_SSE4_1.dir\\\
|
169 |
+
\\Release\\\\opencv_core_SSE4_1.lib\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
170 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
171 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
172 |
+
\\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
173 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\
|
174 |
+
\ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
175 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
176 |
+
\\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
177 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
178 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
179 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
180 |
+
\\modules\\\\core\\\\mean.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
181 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
182 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
183 |
+
\\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
184 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\
|
185 |
+
\ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
186 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
187 |
+
\\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
188 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
189 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
190 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
191 |
+
\\modules\\\\core\\\\merge.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
192 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
193 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
194 |
+
\\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
195 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\
|
196 |
+
\ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
197 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
198 |
+
\\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
199 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
200 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
201 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
202 |
+
\\modules\\\\core\\\\split.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
203 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(130,12): error C3861: '_mm256_extract_epi64':\
|
204 |
+
\ identifier not found (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
205 |
+
\\modules\\\\core\\\\sum.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
206 |
+
\\include\\\\opencv2/core/hal/intrin_avx.hpp(2312): message : see reference to\
|
207 |
+
\ function template instantiation 'int64 cv::hal_AVX2::_v256_extract_epi64<3>(const\
|
208 |
+
\ __m256i &)' being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
209 |
+
\\modules\\\\core\\\\sum.avx2.cpp)\r\n7>G:\\\\opencv-4.8.0\\\\modules\\\\core\\\
|
210 |
+
\\include\\\\opencv2/core/hal/intrin.hpp(1016): message : see reference to function\
|
211 |
+
\ template instantiation 'uint64 cv::hal_AVX2::v_extract_n<3>(cv::hal_AVX2::v_uint64x4)'\
|
212 |
+
\ being compiled (compiling source file G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\
|
213 |
+
\\modules\\\\core\\\\sum.avx2.cpp)\r\n7>Done building project \"opencv_core_AVX2.vcxproj\"\
|
214 |
+
\ -- FAILED.\r\n9>------ Build started: Project: opencv_core, Configuration: Release\
|
215 |
+
\ Win32 ------\r\n9>Processing OpenCL kernels (core)\r\n9>-- G:/opencv-4.8.0/build_x86_AVX2/modules/core/opencl_kernels_core.hpp\
|
216 |
+
\ contains the same content\r\n9>Building Custom Rule G:/opencv-4.8.0/modules/core/CMakeLists.txt\r\
|
217 |
+
\n9>cmake_pch.cxx\r\n9>algorithm.cpp\r\n9>arithm.cpp\r\n9>arithm.dispatch.cpp\r\
|
218 |
+
\n9>array.cpp\r\n9>async.cpp\r\n9>batch_distance.cpp\r\n9>bindings_utils.cpp\r\
|
219 |
+
\n9>buffer_area.cpp\r\n9>channels.cpp\r\n9>check.cpp\r\n9>command_line_parser.cpp\r\
|
220 |
+
\n9>conjugate_gradient.cpp\r\n9>convert.dispatch.cpp\r\n9>convert_c.cpp\r\n9>convert_scale.dispatch.cpp\r\
|
221 |
+
\n9>copy.cpp\r\n9>count_non_zero.dispatch.cpp\r\n9>cuda_gpu_mat.cpp\r\n9>cuda_gpu_mat_nd.cpp\r\
|
222 |
+
\n9>cuda_host_mem.cpp\r\n9>cuda_info.cpp\r\n9>cuda_stream.cpp\r\n9>datastructs.cpp\r\
|
223 |
+
\n9>directx.cpp\r\n9>downhill_simplex.cpp\r\n9>dxt.cpp\r\n9>gl_core_3_1.cpp\r\n\
|
224 |
+
9>glob.cpp\r\n9>hal_internal.cpp\r\n9>has_non_zero.dispatch.cpp\r\n9>kmeans.cpp\r\
|
225 |
+
\n9>lapack.cpp\r\n9>lda.cpp\r\n9>logger.cpp\r\n9>lpsolver.cpp\r\n9>lut.cpp\r\n\
|
226 |
+
9>mathfuncs.cpp\r\n9>mathfuncs_core.dispatch.cpp\r\n9>matmul.dispatch.cpp\r\n\
|
227 |
+
9>matrix.cpp\r\n9>matrix_c.cpp\r\n9>matrix_decomp.cpp\r\n9>matrix_expressions.cpp\r\
|
228 |
+
\n9>matrix_iterator.cpp\r\n9>matrix_operations.cpp\r\n9>matrix_sparse.cpp\r\n\
|
229 |
+
9>matrix_transform.cpp\r\n9>matrix_wrap.cpp\r\n9>mean.dispatch.cpp\r\n9>merge.dispatch.cpp\r\
|
230 |
+
\n9>minmax.cpp\r\n9>norm.cpp\r\n9>ocl.cpp\r\n9>opencl_clblas.cpp\r\n9>opencl_clfft.cpp\r\
|
231 |
+
\n9>opencl_core.cpp\r\n9>opengl.cpp\r\n9>out.cpp\r\n9>ovx.cpp\r\n9>parallel_openmp.cpp\r\
|
232 |
+
\n9>parallel_tbb.cpp\r\n9>parallel_impl.cpp\r\n9>pca.cpp\r\n9>persistence.cpp\r\
|
233 |
+
\n9>persistence_base64_encoding.cpp\r\n9>persistence_json.cpp\r\n9>persistence_types.cpp\r\
|
234 |
+
\n9>persistence_xml.cpp\r\n9>persistence_yml.cpp\r\n9>rand.cpp\r\n9>softfloat.cpp\r\
|
235 |
+
\n9>split.dispatch.cpp\r\n9>stat.dispatch.cpp\r\n9>stat_c.cpp\r\n9>stl.cpp\r\n\
|
236 |
+
9>sum.dispatch.cpp\r\n9>system.cpp\r\n9>tables.cpp\r\n9>trace.cpp\r\n9>types.cpp\r\
|
237 |
+
\n9>umatrix.cpp\r\n9>datafile.cpp\r\n9>filesystem.cpp\r\n9>logtagconfigparser.cpp\r\
|
238 |
+
\n9>logtagmanager.cpp\r\n9>samples.cpp\r\n9>va_intel.cpp\r\n9>opencl_kernels_core.cpp\r\
|
239 |
+
\n9>alloc.cpp\r\n9>parallel.cpp\r\n9>parallel.cpp\r\n9>LINK : fatal error LNK1181:\
|
240 |
+
\ cannot open input file 'G:\\\\opencv-4.8.0\\\\build_x86_AVX2\\\\modules\\\\\
|
241 |
+
core\\\\opencv_core_AVX2.dir\\\\Release\\\\mathfuncs_core.avx2.obj'\r\n9>Done\
|
242 |
+
\ building project \"opencv_core.vcxproj\" -- FAILED.\r\n========== Build: 7 succeeded,\
|
243 |
+
\ 2 failed, 0 up-to-date, 0 skipped ==========\r\n\n\n### Steps to reproduce\n\
|
244 |
+
\n1. Set Cmake configuration to Visual Studio 2019 x86\r\n2. Set this flags\r\n\
|
245 |
+
CPU_BASELINE = SSE3;\r\nCPU_DISPATCH = SSE4_1;SSE4_2;AVX;FP16;AVX2\r\nBUILD_SHARED_LIBS=OFF\r\
|
246 |
+
\n3. Build Visual Studio 2019 solution\r\n4. Open solution and build opencv_core\
|
247 |
+
\ module\r\n[CMakeCache.txt](https://github.com/opencv/opencv/files/11957266/CMakeCache.txt)\r\
|
248 |
+
\n\n\n### Issue submission checklist\n\n- [X] I report the issue, it's not a question\n\
|
249 |
+
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org,\
|
250 |
+
\ Stack Overflow, etc and have not found any solution\n- [X] I updated to the\
|
251 |
+
\ latest OpenCV version and the issue is still there\n- [X] There is reproducer\
|
252 |
+
\ code and related data files (videos, images, onnx, etc)"
|
253 |
+
- text: "dnn onnx: invalid shape dimension and wrong results in test case Test_ONNX_layers.OpenAI_CLIP_head\
|
254 |
+
\ ### System Information\n\nlatest opencv and lastest onnxruntime\n\n### Detailed\
|
255 |
+
\ description\n\nRelated PR: https://github.com/opencv/opencv/pull/23419 and https://github.com/opencv/opencv_extra/pull/1049.\r\
|
256 |
+
\n\r\nIn the above PR, several fixes are indtroduced for the clip head. Those\
|
257 |
+
\ fixes are fine, but the manually generated onnx model named \"clip-vit-base-head.onnx\"\
|
258 |
+
\ is invalid and **cannot be run by onnxruntime**:\r\n\r\n1. In the Expand operator,\
|
259 |
+
\ `shape` input should be of type `int64` instead of `int32`. Please use `onnx.checker.check_model(model)`\
|
260 |
+
\ (it checks operator definitions and so on) before saving a manually generated\
|
261 |
+
\ onnx model.\r\n2. Having that fixed, onnxruntime still complains invalid shape\
|
262 |
+
\ in the Expand operator. Changing the shape value from [1, 1, -1] to [1, 1, 1]\
|
263 |
+
\ fixes the problem. Please run the manually generated onnx model with onnxruntime\
|
264 |
+
\ to check whether it is all valid.\r\n\r\ncc @dkurt \n\n### Steps to reproduce\n\
|
265 |
+
\nInstall onnxruntime, then\r\n\r\n```\r\nimport numpy as np\r\nfrom onnxruntime\
|
266 |
+
\ import InferenceSession\r\n\r\n\r\nnet = InferenceSession(\"./clip-vit-base-head.onnx\"\
|
267 |
+
)\r\nout = net.run([], {\"input\": np.random.randn(1, 1, 3).astype(np.float32)})\r\
|
268 |
+
\nprint(out[0].shape)\r\n```\n\n### Issue submission checklist\n\n- [X] I report\
|
269 |
+
\ the issue, it's not a question\n- [X] I checked the problem with documentation,\
|
270 |
+
\ FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any\
|
271 |
+
\ solution\n- [X] I updated to the latest OpenCV version and the issue is still\
|
272 |
+
\ there\n- [X] There is reproducer code and related data files (videos, images,\
|
273 |
+
\ onnx, etc)"
|
274 |
+
- text: "OpenCV build - cmake don't recognize GTK2 or GTK3 ##### System information\
|
275 |
+
\ (version)\r\n\r\n- OpenCV => 4.7.0\r\n- Operating System / Platform => Ubuntu\
|
276 |
+
\ 20.04\r\n- Compiler => g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0\r\n- C++ Standard:\
|
277 |
+
\ 11\r\n\r\n##### Detailed description\r\n\r\nI am trying to create OpenCV with\
|
278 |
+
\ the GTK GUI. I have `GTK2` and `GTK3` installed on the system, but neither version\
|
279 |
+
\ is recognised by cmake. \r\n\r\n![image](https://user-images.githubusercontent.com/62354721/230026534-66053f4e-67d3-45cd-93c2-4902365400c7.png)\r\
|
280 |
+
\n![image](https://user-images.githubusercontent.com/62354721/230026727-07d64f8c-c453-4048-9d23-3608b1c94663.png)\r\
|
281 |
+
\n\r\n\r\nThe output after executing cmake remains \r\n**GUI: NONE** \r\n**GTK+:NO**\r\
|
282 |
+
\n\r\nI execute the cmake command as follows:\r\n\r\n`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which\
|
283 |
+
\ python3) -DWITH_GTK=ON ../opencv`\r\n\r\nor\r\n\r\n`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which\
|
284 |
+
\ python3) -DWITH_GTK=ON -DWITH_GTK_2_X=ON ../opencv`\r\n\r\n##### Steps to reproduce\r\
|
285 |
+
\n\r\ngit clone https://github.com/opencv/opencv.git\r\nmkdir -p build && cd build\r\
|
286 |
+
\ncmake ../opencv (default, custom look above)\r\n\r\nThank you for your help\r\
|
287 |
+
\n"
|
288 |
+
- text: "How to confirm the version of the OpenCV 3rdParty libs <!--\r\nIf you have\
|
289 |
+
\ a question rather than reporting a bug please go to https://forum.opencv.org\
|
290 |
+
\ where you get much faster responses.\r\nIf you need further assistance please\
|
291 |
+
\ read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).\r\
|
292 |
+
\n\r\nThis is a template helping you to create an issue which can be processed\
|
293 |
+
\ as quickly as possible. This is the bug reporting section for the OpenCV library.\r\
|
294 |
+
\n-->\r\n\r\n##### System information (version)\r\n- OpenCV = 4.5.2\r\n- Operating\
|
295 |
+
\ System / Platform => Linux\r\n- Compiler => gcc version 4.8.5\r\n\r\n\r\n#####\
|
296 |
+
\ Detailed description\r\nI need to obtain each software version in the 3rdparty\
|
297 |
+
\ directory in the source code of OpenCV 4.5.2 to analyze whether OpenCV 4.5.2\
|
298 |
+
\ has dependency vulnerabilities.But the third-party software version is not found\
|
299 |
+
\ in the code repository or in the document.For example, the versions of open-source\
|
300 |
+
\ software such as carotene, cpufeatures, ippicv, and ittnotify cannot be confirmed.\r\
|
301 |
+
\n![image](https://user-images.githubusercontent.com/98326538/150894923-7303e9a0-ddc4-4b8e-be37-77a0ff583cf1.png)\r\
|
302 |
+
\n\r\n\r\n\r\n##### Steps to reproduce\r\n\r\n\r\n##### Issue submission checklist\r\
|
303 |
+
\n\r\n - [x] I report the issue, it's not a question\r\n <!--\r\n OpenCV team\
|
304 |
+
\ works with forum.opencv.org, Stack Overflow and other communities\r\n to discuss\
|
305 |
+
\ problems. Tickets with questions without a real issue statement will be\r\n\
|
306 |
+
\ closed.\r\n -->\r\n - [x] I checked the problem with documentation, FAQ,\
|
307 |
+
\ open issues,\r\n forum.opencv.org, Stack Overflow, etc and have not found\
|
308 |
+
\ any solution\r\n <!--\r\n Places to check:\r\n * OpenCV documentation:\
|
309 |
+
\ https://docs.opencv.org\r\n * FAQ page: https://github.com/opencv/opencv/wiki/FAQ\r\
|
310 |
+
\n * OpenCV forum: https://forum.opencv.org\r\n * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue\r\
|
311 |
+
\n * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv\r\
|
312 |
+
\n -->\r\n - [x] I updated to the latest OpenCV version and the issue is still\
|
313 |
+
\ there\r\n <!--\r\n master branch for OpenCV 4.x and 3.4 branch for OpenCV\
|
314 |
+
\ 3.x releases.\r\n OpenCV team supports only the latest release for each branch.\r\
|
315 |
+
\n The ticket is closed if the problem is not reproduced with the modern version.\r\
|
316 |
+
\n -->\r\n - [ ] There is reproducer code and related data files: videos, images,\
|
317 |
+
\ onnx, etc\r\n <!--\r\n The best reproducer -- test case for OpenCV that\
|
318 |
+
\ we can add to the library.\r\n Recommendations for media files and binary\
|
319 |
+
\ files:\r\n * Try to reproduce the issue with images and videos in opencv_extra\
|
320 |
+
\ repository\r\n to reduce attachment size\r\n * Use PNG for images, if\
|
321 |
+
\ you report some CV related bug, but not image reader\r\n issue\r\n * Attach\
|
322 |
+
\ the image as an archive to the ticket, if you report some reader issue.\r\n\
|
323 |
+
\ Image hosting services compress images and it breaks the repro code.\r\n\
|
324 |
+
\ * Provide ONNX file for some public model or ONNX file with random weights,\r\
|
325 |
+
\n if you report ONNX parsing or handling issue. Architecture details diagram\r\
|
326 |
+
\n from netron tool can be very useful too. See https://lutzroeder.github.io/netron/\r\
|
327 |
+
\n -->\r\n"
|
328 |
+
inference: true
|
329 |
+
---
|
330 |
+
|
331 |
+
# SetFit with sentence-transformers/all-mpnet-base-v2
|
332 |
+
|
333 |
+
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.
|
334 |
+
|
335 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
336 |
+
|
337 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
338 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
339 |
+
|
340 |
+
## Model Details
|
341 |
+
|
342 |
+
### Model Description
|
343 |
+
- **Model Type:** SetFit
|
344 |
+
- **Sentence Transformer body:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2)
|
345 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
346 |
+
- **Maximum Sequence Length:** 384 tokens
|
347 |
+
- **Number of Classes:** 3 classes
|
348 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
349 |
+
<!-- - **Language:** Unknown -->
|
350 |
+
<!-- - **License:** Unknown -->
|
351 |
+
|
352 |
+
### Model Sources
|
353 |
+
|
354 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
355 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
356 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
357 |
+
|
358 |
+
### Model Labels
|
359 |
+
| Label | Examples |
|
360 |
+
|:---------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
361 |
+
| feature | <ul><li>'imshow速度太慢,如何能加快imshow ### Descripe the feature and motivation\n\nimshow速度太慢,如何能加快imshow\n\n### Additional context\n\n_No response_'</li><li>'Add H264 / H265 writter support for Android ### Pull Request Readiness Checklist\r\n\r\nSee details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request\r\n\r\n- [x] I agree to contribute to the project under Apache 2 License.\r\n- [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\r\n- [x] The PR is proposed to the proper branch\r\n- [ ] There is a reference to the original bug report and related work\r\n- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable\r\n Patch to opencv_extra has the same branch name.\r\n- [ ] The feature is well documented and sample code can be built with the project CMake\r\n'</li><li>'4-bit_palette_color ### Pull Request Readiness Checklist\r\n\r\nSee details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request\r\n\r\n- [x] I agree to contribute to the project under Apache 2 License.\r\n- [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\r\n- [x] The PR is proposed to the proper branch\r\n- [ ] There is a reference to the original bug report and related work\r\n- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable\r\n Patch to opencv_extra has the same branch name.\r\n- [ ] The feature is well documented and sample code can be built with the project CMake\r\n'</li></ul> |
|
362 |
+
| bug | <ul><li>'DNN: support the split node of onnx opset >= 13 Merge with test case: https://github.com/opencv/opencv_extra/pull/1053.\r\n\r\nThe attribute of `split` in `Split layer` has been moved from `attribute` to `input`.\r\nRelated link: https://github.com/onnx/onnx/blob/main/docs/Operators.md#inputs-1---2-12\r\nThe purpose of this PR is to support the `split` with input type.\r\n\r\n### Pull Request Readiness Checklist\r\n\r\nSee details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request\r\n\r\n- [x] I agree to contribute to the project under Apache 2 License.\r\n- [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\r\n- [x] The PR is proposed to the proper branch\r\n- [ ] There is a reference to the original bug report and related work\r\n- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable\r\n Patch to opencv_extra has the same branch name.\r\n- [ ] The feature is well documented and sample code can be built with the project CMake\r\n'</li><li>"Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_PLUGIN_ALL Fixed #23937 and #23056\r\n"</li><li>"Fixes pixel info color font for dark Qt themes For dark Qt themes, it is hard to read the pixel color information on the bottom left, like the coordinates or RGB values. This PR proposes a way on how the dynamically sets the font colors based on the system's theme.\r\nOriginal Example:\r\n\r\n![original](https://github.com/opencv/opencv/assets/18199235/25bdbe5b-98d0-41dd-921c-03a6d6946a54)\r\n\r\nWith patch:\r\n\r\n![image](https://github.com/opencv/opencv/assets/18199235/92c40952-9b15-40fa-9d5b-1555f01088f8)\r\n\r\n\r\nFor Windows, nothing is changed (tested on a windows 11 system), because the font color is #000000 when using the default Qt theme.\r\n\r\n### Pull Request Readiness Checklist\r\n\r\nSee details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request\r\n\r\n- [x] I agree to contribute to the project under Apache 2 License.\r\n- [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\r\n- [x] The PR is proposed to the proper branch\r\n- [ ] There is a reference to the original bug report and related work\r\n- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable\r\n Patch to opencv_extra has the same branch name.\r\n- [ ] The feature is well documented and sample code can be built with the project CMake\r\n"</li></ul> |
|
363 |
+
| question | <ul><li>'In file included from /home/xxx/opencv/modules/python/src2/cv2.cpp:11:0: /home/xxx/opencv/build/modules/python_bindings_generator/pyopencv_generated_include.h:19:10: fatal error: opencv2/hdf/hdf5.hpp: no file or directory #include "opencv2/hdf/hdf5.hpp" ^~~~~~~~~~~~~~~~~~~~~~ I\'m building opencv-cuda,it happens at the end.'</li><li>"Opencv error with GPU backend <!--\r\nIf you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses.\r\nIf you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).\r\n\r\nThis is a template helping you to create an issue that can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.\r\n-->\r\n\r\n##### System information (version)\r\n\r\n- OpenCV => 4.5.5-dev\r\n- Operating System / Platform => Ubuntu 20\r\n- Compiler => GCC\r\n\r\n##### Detailed description\r\n\r\nI cannot run anymore my cv2.dnn on GPU. \r\nI tried to run the code in CPU and its workings. I also tested with the older version of OpenCV and is working. I think the new commit merged in February changed the dnn output is an np.array[] and is not compatible with 4.5.5 release version. Could you please give an example of how to use the new output?\r\n\r\n##### Steps to reproduce\r\n ```.python\r\n //with CUDA enabled\r\n net = cv2.dnn.readNetFromONNX(model_yolo_v5))\r\n net.setInput(_image)\r\n results = net.forward()\r\n ```\r\n##### Issue submission checklist\r\n\r\n - [ ] I report the issue, it's not a question\r\n <!--\r\n OpenCV team works with forum.opencv.org, Stack Overflow and other communities\r\n to discuss problems. Tickets with questions without a real issue statement will be\r\n closed.\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 Places to check:\r\n * OpenCV documentation: https://docs.opencv.org\r\n * FAQ page: https://github.com/opencv/opencv/wiki/FAQ\r\n * OpenCV forum: https://forum.opencv.org\r\n * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue\r\n * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv\r\n -->\r\n - [x] I updated to the latest OpenCV version and the issue is still there\r\n <!--\r\n master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.\r\n OpenCV team supports only the latest release for each branch.\r\n The ticket is closed if the problem is not reproduced with the modern version.\r\n -->\r\n - [ ] There is reproducer code and related data files: videos, images, onnx, etc\r\n <!--\r\n The best reproducer -- test case for OpenCV that we can add to the library.\r\n Recommendations for media files and binary files:\r\n * Try to reproduce the issue with images and videos in opencv_extra repository\r\n to reduce attachment size\r\n * Use PNG for images, if you report some CV related bug, but not image reader\r\n issue\r\n * Attach the image as an archive to the ticket, if you report some reader issue.\r\n Image hosting services compress images and it breaks the repro code.\r\n * Provide ONNX file for some public model or ONNX file with random weights,\r\n if you report ONNX parsing or handling issue. Architecture details diagram\r\n from netron tool can be very useful too. See https://lutzroeder.github.io/netron/\r\n -->\r\n"</li><li>'cv2.imread() fails when filenames have multiple dots (.) <!--\r\nIf you have a question rather than reporting a bug please go to https://forum.opencv.org where you get much faster responses.\r\nIf you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).\r\n\r\nThis is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.\r\n-->\r\n\r\n##### System information (version)\r\n<!-- Example\r\n- OpenCV => 4.2\r\n- Operating System / Platform => Windows 64 Bit\r\n- Compiler => Visual Studio 2017\r\n-->\r\n\r\n- OpenCV => 4.5.5.64\r\n- Operating System / Platform => Windows\r\n- Compiler => PyCharm Community Edition 2020.1.1\r\n\r\n##### Detailed description\r\n\r\nWhen the `cv2.imread()` method encounters a filename with multiple dots (.), a `NoneType` is returned. I think this might be because the file extension is assumed to be everything after the first dot, and not the last, but it could be something completely different.\r\n\r\nExample: \r\n\r\n##### Steps to reproduce\r\n\r\n<!-- to add code example fence it with triple backticks and optional file extension\r\n ```.cpp\r\n // C++ code example\r\n ```-->\r\nRunning the following code, with two images in the same directory,\r\n```.py\r\nimport cv2\r\n\r\nim = cv2.imread("C:/Users/.../Videos/Captures/test project – main.py 18_05_2022 15_44_50.png")\r\nim2 = cv2.imread("C:/Users/.../Videos/Captures/Screenshot 16_05_2022 23_40_07.png")\r\n\r\nprint(im)\r\nprint(im2)\r\n```\r\ngives the result:\r\n```.py\r\n[ WARN:0@0.221] global D:\\\\a\\\\opencv-python\\\\opencv-python\\\\opencv\\\\modules\\\\imgcodecs\\\\src\\\\loadsave.cpp (239) cv::findDecoder imread_(\'C:/Users/.../Videos/Captures/test project – main.py 18_05_2022 15_44_50.png\'): can\'t open/read file: check file path/integrity\r\nNone\r\n[[[255 255 255]\r\n [255 255 255]\r\n [255 255 255]\r\n ...\r\n [255 255 255]\r\n [255 255 255]\r\n [255 255 255]]\r\n\r\n [[255 255 255]\r\n [255 255 255]\r\n [255 255 255]\r\n ...\r\n [255 255 255]\r\n [255 255 255]\r\n [255 255 255]]\r\n\r\n [[153 139 140]\r\n [152 139 139]\r\n [151 139 138]\r\n ...\r\n [148 136 135]\r\n [150 138 138]\r\n [151 140 139]]]\r\n```\r\nwhich shows that the first image (one dot) loaded successfully, but the second one (with the multiple dots) failed.\r\n##### Issue submission checklist\r\n\r\n - [x] I report the issue, it\'s not a question\r\n <!--\r\n OpenCV team works with forum.opencv.org, Stack Overflow and other communities\r\n to discuss problems. Tickets with questions without a real issue statement will be\r\n closed.\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 Places to check:\r\n * OpenCV documentation: https://docs.opencv.org\r\n * FAQ page: https://github.com/opencv/opencv/wiki/FAQ\r\n * OpenCV forum: https://forum.opencv.org\r\n * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue\r\n * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv\r\n -->\r\n - [x] I updated to the latest OpenCV version and the issue is still there\r\n <!--\r\n master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.\r\n OpenCV team supports only the latest release for each branch.\r\n The ticket is closed if the problem is not reproduced with the modern version.\r\n -->\r\n - [x] There is reproducer code and related data files: videos, images, onnx, etc\r\n <!--\r\n The best reproducer -- test case for OpenCV that we can add to the library.\r\n Recommendations for media files and binary files:\r\n * Try to reproduce the issue with images and videos in opencv_extra repository\r\n to reduce attachment size\r\n * Use PNG for images, if you report some CV related bug, but not image reader\r\n issue\r\n * Attach the image as an archive to the ticket, if you report some reader issue.\r\n Image hosting services compress images and it breaks the repro code.\r\n * Provide ONNX file for some public model or ONNX file with random weights,\r\n if you report ONNX parsing or handling issue. Architecture details diagram\r\n from netron tool can be very useful too. See https://lutzroeder.github.io/netron/\r\n -->\r\n'</li></ul> |
|
364 |
+
|
365 |
+
## Uses
|
366 |
+
|
367 |
+
### Direct Use for Inference
|
368 |
+
|
369 |
+
First install the SetFit library:
|
370 |
+
|
371 |
+
```bash
|
372 |
+
pip install setfit
|
373 |
+
```
|
374 |
+
|
375 |
+
Then you can load this model and run inference.
|
376 |
+
|
377 |
+
```python
|
378 |
+
from setfit import SetFitModel
|
379 |
+
|
380 |
+
# Download from the 🤗 Hub
|
381 |
+
model = SetFitModel.from_pretrained("setfit_model_id")
|
382 |
+
# Run inference
|
383 |
+
preds = model("OpenCV build - cmake don't recognize GTK2 or GTK3 ##### System information (version)
|
384 |
+
|
385 |
+
- OpenCV => 4.7.0
|
386 |
+
- Operating System / Platform => Ubuntu 20.04
|
387 |
+
- Compiler => g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
|
388 |
+
- C++ Standard: 11
|
389 |
+
|
390 |
+
##### Detailed description
|
391 |
+
|
392 |
+
I 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.
|
393 |
+
|
394 |
+
![image](https://user-images.githubusercontent.com/62354721/230026534-66053f4e-67d3-45cd-93c2-4902365400c7.png)
|
395 |
+
![image](https://user-images.githubusercontent.com/62354721/230026727-07d64f8c-c453-4048-9d23-3608b1c94663.png)
|
396 |
+
|
397 |
+
|
398 |
+
The output after executing cmake remains
|
399 |
+
**GUI: NONE**
|
400 |
+
**GTK+:NO**
|
401 |
+
|
402 |
+
I execute the cmake command as follows:
|
403 |
+
|
404 |
+
`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which python3) -DWITH_GTK=ON ../opencv`
|
405 |
+
|
406 |
+
or
|
407 |
+
|
408 |
+
`cmake -DPYTHON_DEFAULT_EXECUTABLE=$(which python3) -DWITH_GTK=ON -DWITH_GTK_2_X=ON ../opencv`
|
409 |
+
|
410 |
+
##### Steps to reproduce
|
411 |
+
|
412 |
+
git clone https://github.com/opencv/opencv.git
|
413 |
+
mkdir -p build && cd build
|
414 |
+
cmake ../opencv (default, custom look above)
|
415 |
+
|
416 |
+
Thank you for your help
|
417 |
+
")
|
418 |
+
```
|
419 |
+
|
420 |
+
<!--
|
421 |
+
### Downstream Use
|
422 |
+
|
423 |
+
*List how someone could finetune this model on their own dataset.*
|
424 |
+
-->
|
425 |
+
|
426 |
+
<!--
|
427 |
+
### Out-of-Scope Use
|
428 |
+
|
429 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
430 |
+
-->
|
431 |
+
|
432 |
+
<!--
|
433 |
+
## Bias, Risks and Limitations
|
434 |
+
|
435 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
436 |
+
-->
|
437 |
+
|
438 |
+
<!--
|
439 |
+
### Recommendations
|
440 |
+
|
441 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
442 |
+
-->
|
443 |
+
|
444 |
+
## Training Details
|
445 |
+
|
446 |
+
### Training Set Metrics
|
447 |
+
| Training set | Min | Median | Max |
|
448 |
+
|:-------------|:----|:---------|:------|
|
449 |
+
| Word count | 2 | 393.0933 | 13648 |
|
450 |
+
|
451 |
+
| Label | Training Sample Count |
|
452 |
+
|:---------|:----------------------|
|
453 |
+
| bug | 200 |
|
454 |
+
| feature | 200 |
|
455 |
+
| question | 200 |
|
456 |
+
|
457 |
+
### Training Hyperparameters
|
458 |
+
- batch_size: (16, 2)
|
459 |
+
- num_epochs: (1, 1)
|
460 |
+
- max_steps: -1
|
461 |
+
- sampling_strategy: oversampling
|
462 |
+
- num_iterations: 20
|
463 |
+
- body_learning_rate: (2e-05, 1e-05)
|
464 |
+
- head_learning_rate: 0.01
|
465 |
+
- loss: CosineSimilarityLoss
|
466 |
+
- distance_metric: cosine_distance
|
467 |
+
- margin: 0.25
|
468 |
+
- end_to_end: False
|
469 |
+
- use_amp: False
|
470 |
+
- warmup_proportion: 0.1
|
471 |
+
- seed: 42
|
472 |
+
- eval_max_steps: -1
|
473 |
+
- load_best_model_at_end: False
|
474 |
+
|
475 |
+
### Training Results
|
476 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
477 |
+
|:------:|:----:|:-------------:|:---------------:|
|
478 |
+
| 0.0007 | 1 | 0.2963 | - |
|
479 |
+
| 0.0067 | 10 | 0.2694 | - |
|
480 |
+
| 0.0133 | 20 | 0.2443 | - |
|
481 |
+
| 0.02 | 30 | 0.2872 | - |
|
482 |
+
| 0.0267 | 40 | 0.2828 | - |
|
483 |
+
| 0.0333 | 50 | 0.2279 | - |
|
484 |
+
| 0.04 | 60 | 0.1852 | - |
|
485 |
+
| 0.0467 | 70 | 0.1983 | - |
|
486 |
+
| 0.0533 | 80 | 0.224 | - |
|
487 |
+
| 0.06 | 90 | 0.2315 | - |
|
488 |
+
| 0.0667 | 100 | 0.2698 | - |
|
489 |
+
| 0.0733 | 110 | 0.1178 | - |
|
490 |
+
| 0.08 | 120 | 0.1216 | - |
|
491 |
+
| 0.0867 | 130 | 0.1065 | - |
|
492 |
+
| 0.0933 | 140 | 0.1519 | - |
|
493 |
+
| 0.1 | 150 | 0.073 | - |
|
494 |
+
| 0.1067 | 160 | 0.0858 | - |
|
495 |
+
| 0.1133 | 170 | 0.1697 | - |
|
496 |
+
| 0.12 | 180 | 0.1062 | - |
|
497 |
+
| 0.1267 | 190 | 0.0546 | - |
|
498 |
+
| 0.1333 | 200 | 0.139 | - |
|
499 |
+
| 0.14 | 210 | 0.0513 | - |
|
500 |
+
| 0.1467 | 220 | 0.1168 | - |
|
501 |
+
| 0.1533 | 230 | 0.0455 | - |
|
502 |
+
| 0.16 | 240 | 0.0521 | - |
|
503 |
+
| 0.1667 | 250 | 0.0307 | - |
|
504 |
+
| 0.1733 | 260 | 0.0618 | - |
|
505 |
+
| 0.18 | 270 | 0.0964 | - |
|
506 |
+
| 0.1867 | 280 | 0.0707 | - |
|
507 |
+
| 0.1933 | 290 | 0.0524 | - |
|
508 |
+
| 0.2 | 300 | 0.0358 | - |
|
509 |
+
| 0.2067 | 310 | 0.0238 | - |
|
510 |
+
| 0.2133 | 320 | 0.0759 | - |
|
511 |
+
| 0.22 | 330 | 0.0197 | - |
|
512 |
+
| 0.2267 | 340 | 0.0053 | - |
|
513 |
+
| 0.2333 | 350 | 0.0035 | - |
|
514 |
+
| 0.24 | 360 | 0.0036 | - |
|
515 |
+
| 0.2467 | 370 | 0.0079 | - |
|
516 |
+
| 0.2533 | 380 | 0.0033 | - |
|
517 |
+
| 0.26 | 390 | 0.0021 | - |
|
518 |
+
| 0.2667 | 400 | 0.0026 | - |
|
519 |
+
| 0.2733 | 410 | 0.0018 | - |
|
520 |
+
| 0.28 | 420 | 0.0014 | - |
|
521 |
+
| 0.2867 | 430 | 0.0019 | - |
|
522 |
+
| 0.2933 | 440 | 0.0027 | - |
|
523 |
+
| 0.3 | 450 | 0.0016 | - |
|
524 |
+
| 0.3067 | 460 | 0.0027 | - |
|
525 |
+
| 0.3133 | 470 | 0.0095 | - |
|
526 |
+
| 0.32 | 480 | 0.0005 | - |
|
527 |
+
| 0.3267 | 490 | 0.0006 | - |
|
528 |
+
| 0.3333 | 500 | 0.0006 | - |
|
529 |
+
| 0.34 | 510 | 0.0634 | - |
|
530 |
+
| 0.3467 | 520 | 0.0025 | - |
|
531 |
+
| 0.3533 | 530 | 0.0013 | - |
|
532 |
+
| 0.36 | 540 | 0.0007 | - |
|
533 |
+
| 0.3667 | 550 | 0.0007 | - |
|
534 |
+
| 0.3733 | 560 | 0.0003 | - |
|
535 |
+
| 0.38 | 570 | 0.0006 | - |
|
536 |
+
| 0.3867 | 580 | 0.0007 | - |
|
537 |
+
| 0.3933 | 590 | 0.0004 | - |
|
538 |
+
| 0.4 | 600 | 0.0006 | - |
|
539 |
+
| 0.4067 | 610 | 0.0007 | - |
|
540 |
+
| 0.4133 | 620 | 0.0005 | - |
|
541 |
+
| 0.42 | 630 | 0.0004 | - |
|
542 |
+
| 0.4267 | 640 | 0.0005 | - |
|
543 |
+
| 0.4333 | 650 | 0.0013 | - |
|
544 |
+
| 0.44 | 660 | 0.0005 | - |
|
545 |
+
| 0.4467 | 670 | 0.0007 | - |
|
546 |
+
| 0.4533 | 680 | 0.0008 | - |
|
547 |
+
| 0.46 | 690 | 0.0018 | - |
|
548 |
+
| 0.4667 | 700 | 0.0007 | - |
|
549 |
+
| 0.4733 | 710 | 0.0008 | - |
|
550 |
+
| 0.48 | 720 | 0.0007 | - |
|
551 |
+
| 0.4867 | 730 | 0.0007 | - |
|
552 |
+
| 0.4933 | 740 | 0.0002 | - |
|
553 |
+
| 0.5 | 750 | 0.0002 | - |
|
554 |
+
| 0.5067 | 760 | 0.0002 | - |
|
555 |
+
| 0.5133 | 770 | 0.0007 | - |
|
556 |
+
| 0.52 | 780 | 0.0004 | - |
|
557 |
+
| 0.5267 | 790 | 0.0003 | - |
|
558 |
+
| 0.5333 | 800 | 0.0007 | - |
|
559 |
+
| 0.54 | 810 | 0.0004 | - |
|
560 |
+
| 0.5467 | 820 | 0.0003 | - |
|
561 |
+
| 0.5533 | 830 | 0.0002 | - |
|
562 |
+
| 0.56 | 840 | 0.001 | - |
|
563 |
+
| 0.5667 | 850 | 0.008 | - |
|
564 |
+
| 0.5733 | 860 | 0.0003 | - |
|
565 |
+
| 0.58 | 870 | 0.0002 | - |
|
566 |
+
| 0.5867 | 880 | 0.0011 | - |
|
567 |
+
| 0.5933 | 890 | 0.0005 | - |
|
568 |
+
| 0.6 | 900 | 0.0004 | - |
|
569 |
+
| 0.6067 | 910 | 0.0003 | - |
|
570 |
+
| 0.6133 | 920 | 0.0002 | - |
|
571 |
+
| 0.62 | 930 | 0.0002 | - |
|
572 |
+
| 0.6267 | 940 | 0.0002 | - |
|
573 |
+
| 0.6333 | 950 | 0.0001 | - |
|
574 |
+
| 0.64 | 960 | 0.0002 | - |
|
575 |
+
| 0.6467 | 970 | 0.0003 | - |
|
576 |
+
| 0.6533 | 980 | 0.0002 | - |
|
577 |
+
| 0.66 | 990 | 0.0005 | - |
|
578 |
+
| 0.6667 | 1000 | 0.0003 | - |
|
579 |
+
| 0.6733 | 1010 | 0.0002 | - |
|
580 |
+
| 0.68 | 1020 | 0.0003 | - |
|
581 |
+
| 0.6867 | 1030 | 0.0008 | - |
|
582 |
+
| 0.6933 | 1040 | 0.0003 | - |
|
583 |
+
| 0.7 | 1050 | 0.0005 | - |
|
584 |
+
| 0.7067 | 1060 | 0.0012 | - |
|
585 |
+
| 0.7133 | 1070 | 0.0001 | - |
|
586 |
+
| 0.72 | 1080 | 0.0003 | - |
|
587 |
+
| 0.7267 | 1090 | 0.0002 | - |
|
588 |
+
| 0.7333 | 1100 | 0.0001 | - |
|
589 |
+
| 0.74 | 1110 | 0.0003 | - |
|
590 |
+
| 0.7467 | 1120 | 0.0002 | - |
|
591 |
+
| 0.7533 | 1130 | 0.0003 | - |
|
592 |
+
| 0.76 | 1140 | 0.0596 | - |
|
593 |
+
| 0.7667 | 1150 | 0.0012 | - |
|
594 |
+
| 0.7733 | 1160 | 0.0004 | - |
|
595 |
+
| 0.78 | 1170 | 0.0003 | - |
|
596 |
+
| 0.7867 | 1180 | 0.0003 | - |
|
597 |
+
| 0.7933 | 1190 | 0.0002 | - |
|
598 |
+
| 0.8 | 1200 | 0.0015 | - |
|
599 |
+
| 0.8067 | 1210 | 0.0002 | - |
|
600 |
+
| 0.8133 | 1220 | 0.0001 | - |
|
601 |
+
| 0.82 | 1230 | 0.0002 | - |
|
602 |
+
| 0.8267 | 1240 | 0.0002 | - |
|
603 |
+
| 0.8333 | 1250 | 0.0002 | - |
|
604 |
+
| 0.84 | 1260 | 0.0002 | - |
|
605 |
+
| 0.8467 | 1270 | 0.0003 | - |
|
606 |
+
| 0.8533 | 1280 | 0.0001 | - |
|
607 |
+
| 0.86 | 1290 | 0.0001 | - |
|
608 |
+
| 0.8667 | 1300 | 0.0002 | - |
|
609 |
+
| 0.8733 | 1310 | 0.0004 | - |
|
610 |
+
| 0.88 | 1320 | 0.0004 | - |
|
611 |
+
| 0.8867 | 1330 | 0.0004 | - |
|
612 |
+
| 0.8933 | 1340 | 0.0001 | - |
|
613 |
+
| 0.9 | 1350 | 0.0002 | - |
|
614 |
+
| 0.9067 | 1360 | 0.055 | - |
|
615 |
+
| 0.9133 | 1370 | 0.0002 | - |
|
616 |
+
| 0.92 | 1380 | 0.0004 | - |
|
617 |
+
| 0.9267 | 1390 | 0.0001 | - |
|
618 |
+
| 0.9333 | 1400 | 0.0002 | - |
|
619 |
+
| 0.94 | 1410 | 0.0002 | - |
|
620 |
+
| 0.9467 | 1420 | 0.0004 | - |
|
621 |
+
| 0.9533 | 1430 | 0.0009 | - |
|
622 |
+
| 0.96 | 1440 | 0.0003 | - |
|
623 |
+
| 0.9667 | 1450 | 0.0427 | - |
|
624 |
+
| 0.9733 | 1460 | 0.0004 | - |
|
625 |
+
| 0.98 | 1470 | 0.0001 | - |
|
626 |
+
| 0.9867 | 1480 | 0.0002 | - |
|
627 |
+
| 0.9933 | 1490 | 0.0002 | - |
|
628 |
+
| 1.0 | 1500 | 0.0002 | - |
|
629 |
+
|
630 |
+
### Framework Versions
|
631 |
+
- Python: 3.10.12
|
632 |
+
- SetFit: 1.0.3
|
633 |
+
- Sentence Transformers: 3.0.1
|
634 |
+
- Transformers: 4.39.0
|
635 |
+
- PyTorch: 2.3.0+cu121
|
636 |
+
- Datasets: 2.20.0
|
637 |
+
- Tokenizers: 0.15.2
|
638 |
+
|
639 |
+
## Citation
|
640 |
+
|
641 |
+
### BibTeX
|
642 |
+
```bibtex
|
643 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
644 |
+
doi = {10.48550/ARXIV.2209.11055},
|
645 |
+
url = {https://arxiv.org/abs/2209.11055},
|
646 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
647 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
648 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
649 |
+
publisher = {arXiv},
|
650 |
+
year = {2022},
|
651 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
652 |
+
}
|
653 |
+
```
|
654 |
+
|
655 |
+
<!--
|
656 |
+
## Glossary
|
657 |
+
|
658 |
+
*Clearly define terms in order to be accessible across audiences.*
|
659 |
+
-->
|
660 |
+
|
661 |
+
<!--
|
662 |
+
## Model Card Authors
|
663 |
+
|
664 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
665 |
+
-->
|
666 |
+
|
667 |
+
<!--
|
668 |
+
## Model Card Contact
|
669 |
+
|
670 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
671 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentence-transformers/all-mpnet-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"MPNetModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 514,
|
16 |
+
"model_type": "mpnet",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 1,
|
20 |
+
"relative_attention_num_buckets": 32,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.39.0",
|
23 |
+
"vocab_size": 30527
|
24 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.0.1",
|
4 |
+
"transformers": "4.39.0",
|
5 |
+
"pytorch": "2.3.0+cu121"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": null
|
10 |
+
}
|
config_setfit.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"normalize_embeddings": false,
|
3 |
+
"labels": [
|
4 |
+
"bug",
|
5 |
+
"feature",
|
6 |
+
"question"
|
7 |
+
]
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f827805d48c417a1c4637288e4566f4851e5cf6258573de2f10d48139121a20
|
3 |
+
size 437967672
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cce148c99868c9e40ad52450ac69170a8618eaa1406235dd908f47bd2b18aa6e
|
3 |
+
size 19375
|
modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 384,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"104": {
|
36 |
+
"content": "[UNK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"30526": {
|
44 |
+
"content": "<mask>",
|
45 |
+
"lstrip": true,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"bos_token": "<s>",
|
53 |
+
"clean_up_tokenization_spaces": true,
|
54 |
+
"cls_token": "<s>",
|
55 |
+
"do_lower_case": true,
|
56 |
+
"eos_token": "</s>",
|
57 |
+
"mask_token": "<mask>",
|
58 |
+
"max_length": 128,
|
59 |
+
"model_max_length": 384,
|
60 |
+
"pad_to_multiple_of": null,
|
61 |
+
"pad_token": "<pad>",
|
62 |
+
"pad_token_type_id": 0,
|
63 |
+
"padding_side": "right",
|
64 |
+
"sep_token": "</s>",
|
65 |
+
"stride": 0,
|
66 |
+
"strip_accents": null,
|
67 |
+
"tokenize_chinese_chars": true,
|
68 |
+
"tokenizer_class": "MPNetTokenizer",
|
69 |
+
"truncation_side": "right",
|
70 |
+
"truncation_strategy": "longest_first",
|
71 |
+
"unk_token": "[UNK]"
|
72 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|