tensorflow_fp.txt.doubango is empty or doesn't exist

96 views
Skip to first unread message

Alberto

unread,
Oct 31, 2023, 10:43:03 AM10/31/23
to doubango-ai
Hi there,

When running the Python sample in Windows with a cuda enabled machine, I received the following error tensorflow_fp.txt.doubango is empty or doesn't exist

Do I need this file? If so, can you publish it?

Debug:
doubango\KYC-Documents-Verif-SDK\binaries\windows\x86_64>python ..\..\..\samples\python\verify\verify.py --image "..\..\..\assets\images\United States - California Driving License (2017).jpg" --assets ..\..\..\assets
2023-10-31 13:35:37.542381: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found
2023-10-31 13:35:37.542632: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
*[COMPV INFO]: [KycVerifSdkEngine]Call: KycVerif::KycVerifSdkEngine::init
*[COMPV INFO]: [KycVerifSdkEngine]jsonConfig: {"debug_level": "info", "debug_write_input_image_enabled": false, "debug_internal_data_path": ".", "gpu_ctrl_memory_enabled": false, "num_threads": -1, "max_latency": -1, "max_batchsize": -1, "asm_enabled": true, "intrin_enabled": true, "openvino_activation": "auto", "openvino_device": "CPU", "graph_type": "dense", "graph_2passes_enabled": true, "graph_2ndpass_ocr_threshold": 0.9, "graph_2ndpass_umeyama_enabled": true, "ocr_2passes": true, "ocr_2ndpass_threshold": 0.9, "ocr_patch_antialias": true, "ocr_tunning_apply_patterns": true, "ocr_tunning_apply_whitelist": true, "ocr_tunning_apply_blacklist": true, "magsac_sigma": 4.0, "magsac_max_iters": 2000, "magsac_resampler": "uniform", "tps_enabled": true, "tps_speed": 1, "tps_cost": "l2", "stn_enabled": true, "detect_threshold": 0.3, "text_segmentation_type": "watershed", "assets_folder": "..\\..\\..\\assets", "license_token_file": "", "license_token_data": ""}
*[COMPV INFO]: [KycVerifSdkEngine]**** Copyright (C) 2011-2023 Doubango Telecom <https://www.doubango.org> ****
KycVerifDetection-SDK <https://github.com/DoubangoTelecom/KycVerifDetection-SDK> version 0.0.1

*[COMPV INFO]: [CompVBase] Initializing [base] modules (v 1.0.0, nt -1)...
*[COMPV INFO]: [CompVBase] sizeof(compv_scalar_t)= #8
*[COMPV INFO]: [CompVBase] sizeof(float)= #4
*[COMPV INFO]: [CompVBase] Windows dwMajorVersion=10, dwMinorVersion=0
*[COMPV INFO]: Initializing window registery
*[COMPV INFO]: [ImageDecoder] Initializing image decoder...
*[COMPV INFO]: [CompVCpu] H: 'GenuineIntel', S: '', M: '', MN: ''
*[COMPV INFO]: [CompVBase] CPU features: (intel);[x86];[x64];mmx;sse;sse2;sse3;ssse3;sse41;sse42;avx;avx2;fma3;erms;bmi1;bmi2;popcnt;cmov;aes;rdrand;avx512_f;avx512_cd;avx512_vl;avx512_bw;avx512_dq;avx512_ifma;avx512_vbmi;
*[COMPV INFO]: [CompVBase] CPU cores: online=#16, conf=#16
*[COMPV INFO]: [CompVBase] CPU cache1: line size: #64B, size :#48KB
*[COMPV INFO]: [CompVBase] CPU Phys RAM size: #65237GB
*[COMPV INFO]: [CompVBase] CPU endianness: LITTLE
*[COMPV INFO]: [CompVBase] Binary type: X86_64
*[COMPV INFO]: [CompVBase] Intrinsic enabled
*[COMPV INFO]: [CompVBase] Assembler enabled
*[COMPV INFO]: [CompVBase] OS name: Windows
*[COMPV INFO]: [CompVBase] Math Fast Trig.: true
*[COMPV INFO]: [CompVBase] Math Fixed Point: true
*[COMPV INFO]: [CompVMathExp] Init
*[COMPV INFO]: [CompVBase] Default alignment: #64
*[COMPV INFO]: [CompVBase] Best alignment: #64
*[COMPV INFO]: [CompVBase] Heap limit: #3340160KB (#3261MB)
*[COMPV INFO]: [CompVParallel] Initializing [parallel] module...
*[COMPV INFO]: /!\ Code in file 'compv_mem.cxx' in function 'compv::CompVMemZero_C' starting at line #508: Not optimized -> No SIMD implementation found
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=0,set=useless, threadId:0000000000005488, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=4,set=useless, threadId:0000000000005880, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=3,set=useless, threadId:000000000000261C, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=1,set=useless, threadId:0000000000003B68, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=5,set=useless, threadId:0000000000005F44, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVThreadDispatcher] Thread dispatcher created with #16 threads/#16 cores
*[COMPV INFO]: [CompVParallel] [Parallel] module initialized
*[COMPV INFO]: [CompVBase] [Base] modules initialized
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=6,set=useless, threadId:00000000000029B0, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=7,set=useless, threadId:00000000000052BC, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVCore] Initializing [core] module (v 1.0.0)...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 1 and name = 'FAST (Features from Accelerated Segment Test)'...
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=8,set=useless, threadId:00000000000004B0, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=2,set=useless, threadId:0000000000003880, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 8 and name = 'ORB (Oriented FAST and Rotated BRIEF)'...
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=12,set=useless, threadId:0000000000004010, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=9,set=useless, threadId:0000000000005F6C, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 27 and name = 'Sobel edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 28 and name = 'Scharr edge detector'...
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=10,set=useless, threadId:0000000000005190, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=15,set=useless, threadId:0000000000003798, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=11,set=useless, threadId:0000000000003A8C, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 29 and name = 'Prewitt edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 20 and name = 'Canny edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 30 and name = 'Hough standard (STD)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 31 and name = 'Kernel-based Hough transform (KHT)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 41 and name = 'Standard Histogram of oriented gradients (S-HOG)'...
*[COMPV INFO]: [CompVMatcher] Registering matcher factory with id = 0 and name = 'Brute force matcher'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 1 and name = 'PLSL (Parallel Light Speed Labeling)'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 19 and name = 'LMSER (Linear Time Maximally Stable Extremal Regions)'...
*[COMPV INFO]: [CompVGL] Initializing [gl] module (v 1.0.0)...
*[COMPV INFO]: [CompVGL] GL module initialized
*[COMPV INFO]: [CompVGpu] Initializing [gpu] module (v 1.0.0)...
*[COMPV INFO]: [CompVCamera] Initializing [camera] module (v 1.0.0)...
*[COMPV INFO]: [CompVCamera] Camera plugin path: C:\Users\alber\OneDrive\Documents\projects\doubango\KYC-Documents-Verif-SDK\binaries\windows\x86_64\CompVPluginMFoundation.dll
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=14,set=useless, threadId:0000000000000DB8, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] compv::CompVAsyncTask11::run(coreId:requested=13,set=useless, threadId:0000000000000790, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVDrawing] Initializing [drawing] module (v 1.0.0)...
*[COMPV INFO]: [CompVDrawing] /!\ No jpeg decoder found
*[COMPV INFO]: [CompVDrawing] Drawing module initialized
*[COMPV INFO]: [CompVGpu] GPU enabled: true
*[COMPV INFO]: /!\ Code in file 'source\ultimate_base_engine.cxx' in function 'ultimateBase::UltBaseEngine::init' starting at line #75: Not optimized for GPU -> GPGPU computing not enabled or deactivated
*[COMPV INFO]: [UltBaseOpenCL] Trying to load [OpenCL.dll]
*[COMPV INFO]: [CompVSharedLib] Loading sharded library from OpenCL.dll
*[COMPV INFO]: [UltBaseOpenCL] Loaded [OpenCL.dll], looksLikeValid: yes...
*[COMPV INFO]: [UltBaseOpenCLUtils] Selected platform vendor: NVIDIA Corporation
*[COMPV INFO]: [UltBaseOpenCLUtils] deviceCount=1
*[COMPV INFO]: [UltBaseOpenCLUtils] Device -> name: NVIDIA GeForce RTX 3050 Ti Laptop GPU, id: 00000261CA0E12C0
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT=1
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE=1
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_COMPUTE_UNITS=20
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS=3
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_WORK_ITEM_SIZES=1024, 1024, 64,
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_WORK_GROUP_SIZE=1024
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_CLOCK_FREQUENCY=1485 MHz
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE=128 B
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_GLOBAL_MEM_SIZE=4294443008 B (4095 MB)
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_LOCAL_MEM_SIZE=49152 B (48 KB)
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_MAX_MEM_ALLOC_SIZE=1023 MB
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_PLATFORM_VERSION=OpenCL 3.0 CUDA 11.6.99
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_VERSION=OpenCL 3.0 CUDA
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DRIVER_VERSION=511.65
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_OPENCL_C_VERSION=OpenCL C 1.2
*[COMPV INFO]: [UltBaseOpenCLUtils] CL_DEVICE_EXTENSIONS=cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32
*[COMPV INFO]: [UltBaseOpenCL] !!!Booom!!!, OpenCL successfully loaded [OpenCL.dll]
*[COMPV INFO]: [UltTfEngine] Tensorflow version: 1.15.0
*[COMPV INFO]: [KycVerifSdkEnginePrivate]**** Copyright (C) 2011-2024 Doubango Telecom <https://www.doubango.org> ****
You're using an unlicensed version of KycVerifDetection-SDK <https://github.com/DoubangoTelecom/KYC-Documents-Verif-SDK>
without the rights to include the SDK in any form of commercial product. The result may be obfuscated with some chars replaced with *
*[COMPV INFO]: [CompVSharedLib] Loading sharded library from nvcuda.dll
*[COMPV INFO]: [KycVerifSdkEnginePrivate] Number of CUDA devices: 1
***[COMPV ERROR]: function: "compv::CompVFileUtils::read()"
file: "compv_fileutils.cxx"
line: "268"
message: [FileUtils] File at ../../../assets/KYC-Documents-Verif-SDK-Models/tensorflow_fp.txt.doubango is empty or doesn't exist
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
file: "C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [[Check Code]]Operation Failed (COMPV_ERROR_CODE_E_FAILED_TO_READ_FILE) -> Failed to read file (RF)
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
file: "C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [[Check Code]]Operation Failed (COMPV_ERROR_CODE_E_FAILED_TO_READ_FILE) -> RF 001 failed
*[COMPV INFO]: [KycVerifSdkEnginePrivate]IC took 2 millis
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
file: "C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [KycVerifSdkEngine]Failed to initialize the engine
[KycVerifySdk] Init: OK ->

Mamadou DIOP

unread,
Oct 31, 2023, 10:50:01 AM10/31/23
to Alberto, doubango-ai
"compv_fileutils.cxx"
line: "268"
message: [FileUtils] File at ../../../assets/KYC-Documents-Verif-SDK-Models/tensorflow_fp.txt.doubango is empty or doesn't exist
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
"C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [[Check Code]]Operation Failed (COMPV_ERROR_CODE_E_FAILED_TO_READ_FILE) -> Failed to read file (RF)
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
"C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [[Check Code]]Operation Failed (COMPV_ERROR_CODE_E_FAILED_TO_READ_FILE) -> RF 001 failed
*[COMPV INFO]: [KycVerifSdkEnginePrivate]IC took 2 millis
***[COMPV ERROR]: function: "ultimateBase::UltimateBaseDebugPrint()"
"C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_debug.h"
line: "51"
message: [KycVerifSdkEngine]Failed to initialize the engine
[KycVerifySdk] Init: OK ->

--
You received this message because you are subscribed to the Google Groups "doubango-ai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango-ai...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/4d5799ce-a166-4da5-936a-1b916292b211n%40googlegroups.com.

Mamadou DIOP

unread,
Oct 31, 2023, 10:53:28 AM10/31/23
to Alberto, doubango-ai
If they give you access to the missing files you should also read https://github.com/DoubangoTelecom/KYC-Documents-Verif-SDK/blob/main/GPGPU.md because your logs show that you're using CPU-only Tensorflow dll. You have to replace it with a GPU enabled dll
Reply all
Reply to author
Forward
0 new messages