We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境:Ubuntu 22.04.4 LTS cpu:
root@proxy:/home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0# lscpu 架构: x86_64 CPU 运行模式: 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual 字节序: Little Endian CPU: 6 在线 CPU 列表: 0-5 厂商 ID: GenuineIntel 型号名称: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz CPU 系列: 6 型号: 158 每个核的线程数: 1 每个座的核数: 6 座: 1 步进: 10 CPU 最大 MHz: 4100.0000 CPU 最小 MHz: 800.0000 BogoMIPS: 5799.77 标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dt s acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc ar t arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni p clmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4 _1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ep t vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hw p hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities Virtualization features: 虚拟化: VT-x Caches (sum of all): L1d: 192 KiB (6 instances) L1i: 192 KiB (6 instances) L2: 1.5 MiB (6 instances) L3: 9 MiB (1 instance) NUMA: NUMA 节点: 1 NUMA 节点0 CPU: 0-5 Vulnerabilities: Gather data sampling: Mitigation; Microcode Itlb multihit: KVM: Mitigation: VMX disabled L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled Mds: Mitigation; Clear CPU buffers; SMT disabled Meltdown: Mitigation; PTI Mmio stale data: Mitigation; Clear CPU buffers; SMT disabled Reg file data sampling: Not affected Retbleed: Mitigation; IBRS Spec rstack overflow: Not affected Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not a ffected; BHI Not affected Srbds: Mitigation; Microcode Tsx async abort: Not affected
我按照 https://github.com/hiroi-sora/PaddleOCR-json/blob/main/cpp/README-linux.md 教程,在Linux下编译安装,准备 OpenCV阶段,我使用apt进行了安装(方式2),之后的环境变量检测也通过了。当在 cpp目录下执行 cmake --build build/ 时,出现了如下异常:
...... /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_stream_destroy' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_primitive_attr_set_rnn_data_qparams' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_primitive_attr_create' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_memory_desc_equal' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_primitive_attr_set_rnn_weights_qparams' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_memory_desc_create_with_strides' /usr/bin/ld: ../.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libpaddle_inference.so: undefined reference to `dnnl_memory_get_engine' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_deconvolution_forward_primitive_desc_create' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_softmax_backward_primitive_desc_create' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_primitive_attr_set_post_ops' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_softmax_forward_primitive_desc_create' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_post_ops_append_binary' /usr/bin/ld: /home/system_service/PaddleOCR-json-v1.4.0/PaddleOCR-json-1.4.0/cpp/.source/paddle_inference_manylinux_cpu_avx_mkl_gcc8.2/paddle/lib/libphi.so: undefined reference to `dnnl_batch_normalization_backward_primitive_desc_create' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/PaddleOCR-json.dir/build.make:360:bin/PaddleOCR-json] 错误 1 gmake[1]: *** [CMakeFiles/Makefile2:118:CMakeFiles/PaddleOCR-json.dir/all] 错误 2 gmake: *** [Makefile:136:all] 错误 2
希望能得到帮助;
The text was updated successfully, but these errors were encountered:
你好,我注意到你的项目是 PaddleOCR-json-v1.4.0 。而我们main分支的版本号是 1.4.1 dev.1 。
1.4.0 与 1.4.1 的源代码和编译文档(中的依赖包链接)有所不同,不能混用。如果你用了不同版本的代码+文档,可能出现编译问题。
目前,1.4.1 dev 在使用时cpu兼容性不如旧版本好。建议您使用 1.4.0 稳定版:
https://github.com/hiroi-sora/PaddleOCR-json/tree/release/1.4.0
请将本地git切换为 release/1.4.0 分支,然后参考相同版本的文档进行构建。
release/1.4.0
Sorry, something went wrong.
No branches or pull requests
环境:Ubuntu 22.04.4 LTS
cpu:
我按照 https://github.com/hiroi-sora/PaddleOCR-json/blob/main/cpp/README-linux.md 教程,在Linux下编译安装,准备 OpenCV阶段,我使用apt进行了安装(方式2),之后的环境变量检测也通过了。当在 cpp目录下执行 cmake --build build/ 时,出现了如下异常:
希望能得到帮助;
The text was updated successfully, but these errors were encountered: