python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 3804 -P 28926786' -s traitement_sts -M 0 -S 0 -U 100,80,95 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/home/admin/workarea/git/apy', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 395092 load datou : 3804 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5024, 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 16384, 25088, 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 12, 1, 0, 11, 4), datetime.datetime(2020, 12, 1, 0, 11, 4)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5035, 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 16384, 25088, 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 12, 5, 18, 56, 33), datetime.datetime(2020, 12, 5, 18, 56, 33)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5722, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 2048, 2048, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 10, 27, 14, 43, 34), datetime.datetime(2022, 10, 27, 14, 43, 34)) load thcls load THCL from format json or kwargs add thcl : 2486 in CacheModelConfig load THCL from format json or kwargs add thcl : 2499 in CacheModelConfig load THCL from format json or kwargs add thcl : 3441 in CacheModelConfig load pdts add pdt : 5024 in CacheModelConfig add pdt : 5035 in CacheModelConfig add pdt : 5722 in CacheModelConfig Running datou job : batch_current updating current state to 1 list_input_json: [] Current got : datou_id : 3804, datou_cur_ids : ['4121983'] with mtr_portfolio_ids : ['28926786'] and first list_photo_ids : [] new path : /proc/395092/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, mask_detect, blur_detection, brightness, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 25 list_input_json : [] origin We have 1 , BFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 time to download the photos : 0.3118283748626709 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 14 step1:mask_detect Wed Nov 26 17:06:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 7216 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-26 17:06:40.081715: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-26 17:06:40.106809: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 17:06:40.108493: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1790000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:06:40.108545: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 17:06:40.111604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 17:06:40.365433: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3a6be810 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:06:40.365493: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 17:06:40.366198: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:06:40.366875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:06:40.369538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:06:40.371998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:06:40.373105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:06:40.376186: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:06:40.377677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:06:40.383996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:06:40.385347: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:06:40.385444: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:06:40.386137: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:06:40.386154: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:06:40.386164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:06:40.387369: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6640 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-26 17:06:40.651907: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:06:40.652072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:06:40.652093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:06:40.652110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:06:40.652126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:06:40.652142: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:06:40.652157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:06:40.652174: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:06:40.653348: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:06:40.654767: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:06:40.654825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:06:40.654844: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:06:40.654860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:06:40.654876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:06:40.654892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:06:40.654909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:06:40.654925: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:06:40.656000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:06:40.656063: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:06:40.656076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:06:40.656089: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:06:40.657336: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6640 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2486 thcls : [{'id': 2486, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'photo_desc_type': 5024, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}] thcl {'id': 2486, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'photo_desc_type': 5024, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'} Update svm_hashtag_type_desc : 5024 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5024, 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 16384, 25088, 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 12, 1, 0, 11, 4), datetime.datetime(2020, 12, 1, 0, 11, 4)) {'thcl': {'id': 2486, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'photo_desc_type': 5024, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}, 'list_hashtags': ['background', 'pet_clair', 'error', 'environment'], 'list_hashtags_csv': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'svm_hashtag_type_desc': 5024, 'photo_desc_type': 5024, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'pet_clair', 'error', 'environment'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error NUM_CLASSES 4 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-26 17:06:50.757812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:06:50.928642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error /data/models_weight/Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error/mask_model.h5 size_local : 255899936 size in s3 : 255899936 create time local : 2021-08-11 01:29:18 create time in s3 : 2021-08-06 17:35:43 mask_model.h5 already exist and didn't need to update list_images length : 1 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 12) min: 0.00000 max: 3840.00000 nb d'objets trouves : 22 Detection mask done ! Trying to reset tf kernel 395208 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1706 tf kernel not reseted sub process len(results) : 1 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 1 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6995 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2486 Catched exception ! Connect or reconnect ! thcls : [{'id': 2486, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'photo_desc_type': 5024, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}] thcl {'id': 2486, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_30112020_2692_pet_and_error', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3109, 'photo_desc_type': 5024, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'} Update svm_hashtag_type_desc : 5024 ['background', 'pet_clair', 'error', 'environment'] DEBUG bbox = [1422, 2118, 2160, 2958] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01871347427368164 nb_pixel_total : 502957 time to create 1 rle with new method : 0.03456449508666992 length of segment : 701 DEBUG bbox = [24, 2340, 816, 3204] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.03465700149536133 nb_pixel_total : 542102 time to create 1 rle with new method : 0.0405271053314209 length of segment : 782 DEBUG bbox = [0, 0, 858, 978] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.029997825622558594 nb_pixel_total : 579997 time to create 1 rle with new method : 0.1653742790222168 length of segment : 887 DEBUG bbox = [1254, 18, 2160, 774] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008540630340576172 nb_pixel_total : 438932 time to create 1 rle with new method : 0.0387110710144043 length of segment : 926 DEBUG bbox = [1398, 1266, 2148, 2106] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.009240388870239258 nb_pixel_total : 527724 time to create 1 rle with new method : 0.13743352890014648 length of segment : 704 DEBUG bbox = [18, 912, 774, 1758] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.010445833206176758 nb_pixel_total : 519029 time to create 1 rle with new method : 0.03472399711608887 length of segment : 703 DEBUG bbox = [18, 1710, 780, 2484] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0070531368255615234 nb_pixel_total : 438101 time to create 1 rle with new method : 0.04238462448120117 length of segment : 686 DEBUG bbox = [660, 2268, 1470, 3090] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.010316610336303711 nb_pixel_total : 485598 time to create 1 rle with new method : 0.1546311378479004 length of segment : 800 DEBUG bbox = [1332, 540, 2136, 1368] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00714564323425293 nb_pixel_total : 520788 time to create 1 rle with new method : 0.028523683547973633 length of segment : 762 DEBUG bbox = [1374, 2856, 2160, 3738] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006678104400634766 nb_pixel_total : 501536 time to create 1 rle with new method : 0.031195640563964844 length of segment : 1174 DEBUG bbox = [0, 3060, 822, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.012476682662963867 nb_pixel_total : 482073 time to create 1 rle with new method : 0.03548312187194824 length of segment : 842 DEBUG bbox = [156, 0, 1332, 504] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.015062093734741211 nb_pixel_total : 267910 time to create 1 rle with new method : 0.02445507049560547 length of segment : 1574 DEBUG bbox = [750, 2946, 1452, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008574962615966797 nb_pixel_total : 358600 time to create 1 rle with new method : 0.029694557189941406 length of segment : 795 DEBUG bbox = [582, 936, 1374, 1794] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01114344596862793 nb_pixel_total : 465722 time to create 1 rle with new method : 0.07294774055480957 length of segment : 730 DEBUG bbox = [570, 1716, 1410, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00808405876159668 nb_pixel_total : 391245 time to create 1 rle with new method : 0.07999396324157715 length of segment : 749 DEBUG bbox = [624, 432, 1386, 1302] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006550312042236328 nb_pixel_total : 373120 time to create 1 rle with new method : 0.06217551231384277 length of segment : 692 DEBUG bbox = [678, 2328, 912, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004754066467285156 nb_pixel_total : 23251 time to create 1 rle with old method : 0.026985645294189453 length of segment : 226 DEBUG bbox = [1560, 2820, 1758, 2970] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006594657897949219 nb_pixel_total : 15297 time to create 1 rle with old method : 0.02002406120300293 length of segment : 185 DEBUG bbox = [360, 1950, 552, 2124] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003674030303955078 nb_pixel_total : 20186 time to create 1 rle with old method : 0.02345585823059082 length of segment : 189 DEBUG bbox = [1092, 450, 1524, 1200] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.003445148468017578 nb_pixel_total : 181632 time to create 1 rle with new method : 0.009339332580566406 length of segment : 347 DEBUG bbox = [1284, 2730, 1422, 3078] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008559226989746094 nb_pixel_total : 19799 time to create 1 rle with old method : 0.024100065231323242 length of segment : 123 DEBUG bbox = [12, 2466, 1494, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.028451204299926758 nb_pixel_total : 548368 time to create 1 rle with new method : 0.12707972526550293 length of segment : 1444 time spent for convertir_results : 4.68253231048584 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 57 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 16021 save missing photos in datou_result : time spend for datou_step_exec : 27.224560260772705 time spend to save output : 1.085914134979248 total time spend for step 1 : 28.310474395751953 step2:mask_detect Wed Nov 26 17:07:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6995 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-26 17:07:08.185034: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-26 17:07:08.210547: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 17:07:08.212803: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f178c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:07:08.212839: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 17:07:08.220644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 17:07:08.386459: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3bdfb180 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:07:08.386530: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 17:07:08.387843: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:07:08.391809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:07:08.397303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:07:08.400881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:07:08.401747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:07:08.405605: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:07:08.407209: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:07:08.414107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:07:08.415627: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:07:08.415760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:07:08.416480: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:07:08.416504: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:07:08.416515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:07:08.417752: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6433 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-26 17:07:08.619215: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:07:08.619321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:07:08.619344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:07:08.619365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:07:08.619386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:07:08.619421: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:07:08.619442: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:07:08.619462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:07:08.620815: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:07:08.622067: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-26 17:07:08.622128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:07:08.622150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:07:08.622170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:07:08.622189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:07:08.622208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:07:08.622228: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:07:08.622247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:07:08.623613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:07:08.623650: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:07:08.623661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:07:08.623670: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:07:08.625046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6433 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2499 thcls : [{'id': 2499, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'photo_desc_type': 5035, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}] thcl {'id': 2499, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'photo_desc_type': 5035, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'} Update svm_hashtag_type_desc : 5035 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5035, 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 16384, 25088, 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 12, 5, 18, 56, 33), datetime.datetime(2020, 12, 5, 18, 56, 33)) {'thcl': {'id': 2499, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'photo_desc_type': 5035, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}, 'list_hashtags': ['background', 'pet_clair', 'error', 'environment'], 'list_hashtags_csv': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'svm_hashtag_type_desc': 5035, 'photo_desc_type': 5035, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'pet_clair', 'error', 'environment'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug NUM_CLASSES 4 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-26 17:07:18.373499: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:07:18.569742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug /data/models_weight/Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug/mask_model.h5 size_local : 255899936 size in s3 : 255899936 create time local : 2021-08-11 01:32:04 create time in s3 : 2021-08-06 17:27:07 mask_model.h5 already exist and didn't need to update list_images length : 1 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 12) min: 0.00000 max: 3840.00000 nb d'objets trouves : 27 Detection mask done ! Trying to reset tf kernel 396102 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1706 tf kernel not reseted sub process len(results) : 1 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 1 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6995 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2499 Catched exception ! Connect or reconnect ! thcls : [{'id': 2499, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'photo_desc_type': 5035, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'}] thcl {'id': 2499, 'mtr_user_id': 31, 'name': 'Mask_dechet_Plastique_Clair_Rubbia_051220_2692_pet_and_error_limeil_all_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,pet_clair,error,environment', 'svm_portfolios_learning': '0,0,0,0', 'photo_hashtag_type': 3126, 'photo_desc_type': 5035, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0'} Update svm_hashtag_type_desc : 5035 ['background', 'pet_clair', 'error', 'environment'] DEBUG bbox = [1248, 420, 2142, 1374] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01585221290588379 nb_pixel_total : 615212 time to create 1 rle with new method : 0.0378875732421875 length of segment : 889 DEBUG bbox = [1278, 2862, 2160, 3780] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.010488510131835938 nb_pixel_total : 628972 time to create 1 rle with new method : 0.04824233055114746 length of segment : 945 DEBUG bbox = [1392, 2076, 2130, 3024] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007250785827636719 nb_pixel_total : 491113 time to create 1 rle with new method : 0.15129423141479492 length of segment : 675 DEBUG bbox = [1224, 0, 2160, 810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006516933441162109 nb_pixel_total : 420698 time to create 1 rle with new method : 0.019865751266479492 length of segment : 907 DEBUG bbox = [42, 1836, 318, 2202] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010840892791748047 nb_pixel_total : 47466 time to create 1 rle with old method : 0.055528879165649414 length of segment : 258 DEBUG bbox = [0, 3090, 900, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007390499114990234 nb_pixel_total : 486657 time to create 1 rle with new method : 0.015075206756591797 length of segment : 1063 DEBUG bbox = [600, 2970, 1464, 3810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00904536247253418 nb_pixel_total : 447817 time to create 1 rle with new method : 0.016898393630981445 length of segment : 864 DEBUG bbox = [24, 0, 1002, 1032] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.012297630310058594 nb_pixel_total : 522496 time to create 1 rle with new method : 0.03235936164855957 length of segment : 834 DEBUG bbox = [612, 0, 1608, 714] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005811214447021484 nb_pixel_total : 320764 time to create 1 rle with new method : 0.03972673416137695 length of segment : 1253 DEBUG bbox = [1302, 1488, 2136, 2358] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007842063903808594 nb_pixel_total : 449515 time to create 1 rle with new method : 0.01948094367980957 length of segment : 796 DEBUG bbox = [744, 1698, 1044, 1962] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007646083831787109 nb_pixel_total : 30905 time to create 1 rle with old method : 0.03734135627746582 length of segment : 239 DEBUG bbox = [18, 2376, 948, 3294] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.009339332580566406 nb_pixel_total : 570453 time to create 1 rle with new method : 0.029147624969482422 length of segment : 924 DEBUG bbox = [30, 12, 252, 186] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006542205810546875 nb_pixel_total : 24408 time to create 1 rle with old method : 0.0301511287689209 length of segment : 282 DEBUG bbox = [702, 2328, 1482, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007553577423095703 nb_pixel_total : 350001 time to create 1 rle with new method : 0.04545903205871582 length of segment : 671 DEBUG bbox = [684, 1674, 1500, 2598] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006252288818359375 nb_pixel_total : 374545 time to create 1 rle with new method : 0.026032209396362305 length of segment : 722 DEBUG bbox = [174, 1098, 1068, 1998] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008180379867553711 nb_pixel_total : 473950 time to create 1 rle with new method : 0.0220792293548584 length of segment : 929 DEBUG bbox = [0, 1722, 846, 2556] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0070002079010009766 nb_pixel_total : 409515 time to create 1 rle with new method : 0.03572535514831543 length of segment : 849 DEBUG bbox = [828, 1524, 1068, 1764] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006563663482666016 nb_pixel_total : 38107 time to create 1 rle with old method : 0.04365706443786621 length of segment : 208 DEBUG bbox = [666, 2334, 924, 2520] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006697177886962891 nb_pixel_total : 28341 time to create 1 rle with old method : 0.03648185729980469 length of segment : 237 DEBUG bbox = [1266, 2736, 1422, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004916191101074219 nb_pixel_total : 23823 time to create 1 rle with old method : 0.028499603271484375 length of segment : 130 DEBUG bbox = [858, 1284, 1764, 2142] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00715947151184082 nb_pixel_total : 419744 time to create 1 rle with new method : 0.02161884307861328 length of segment : 866 DEBUG bbox = [690, 2244, 2094, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.012037038803100586 nb_pixel_total : 206220 time to create 1 rle with new method : 0.1127462387084961 length of segment : 626 DEBUG bbox = [882, 2466, 1092, 2694] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004642009735107422 nb_pixel_total : 19071 time to create 1 rle with old method : 0.022299528121948242 length of segment : 154 DEBUG bbox = [1188, 1986, 1410, 2166] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005104541778564453 nb_pixel_total : 31121 time to create 1 rle with old method : 0.03695845603942871 length of segment : 218 DEBUG bbox = [1152, 606, 1368, 840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006082057952880859 nb_pixel_total : 13065 time to create 1 rle with old method : 0.0159914493560791 length of segment : 129 DEBUG bbox = [726, 366, 1602, 1368] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007253885269165039 nb_pixel_total : 467172 time to create 1 rle with new method : 0.026764869689941406 length of segment : 767 DEBUG bbox = [1152, 2508, 2046, 3306] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0055501461029052734 nb_pixel_total : 235761 time to create 1 rle with new method : 0.01729416847229004 length of segment : 803 time spent for convertir_results : 4.459731101989746 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 57 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 17238 save missing photos in datou_result : time spend for datou_step_exec : 26.173855781555176 time spend to save output : 1.1986157894134521 total time spend for step 2 : 27.372471570968628 step3:blur_detection Wed Nov 26 17:07:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 1 time used for this insertion : 0.010885477066040039 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 1 time used for this insertion : 0.01069021224975586 save missing photos in datou_result : time spend for datou_step_exec : 0.03104853630065918 time spend to save output : 0.027315139770507812 total time spend for step 3 : 0.05836367607116699 step4:brightness Wed Nov 26 17:07:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 1 time used for this insertion : 0.010981321334838867 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 1 time used for this insertion : 0.011449337005615234 save missing photos in datou_result : time spend for datou_step_exec : 0.031285762786865234 time spend to save output : 0.02714085578918457 total time spend for step 4 : 0.058426618576049805 step5:crop_condition Wed Nov 26 17:07:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3132 Loading chi in step crop for list_pids : 1 ! batch 1 Loaded 57 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : error param for this class : {'min_score': 0.3} filtre for class : error hashtag_id of this class : 501120777 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : error delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 10 /-4009041074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009041079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009041066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009034719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009041085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009034717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009041080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009034721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009041081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-4009034718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 time used for this insertion : 0.023761987686157227 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.140023946762085 time spend to save output : 0.024417638778686523 total time spend for step 5 : 2.1644415855407715 step6:thcl Wed Nov 26 17:07:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 1 we are using the classfication for multi_thcl [3441] time to import caffe and check if the image exist : 0.005384922027587891 time to convert the images to numpy array : 0.006880760192871094 time to import caffe and check if the image exist : 0.00871896743774414 time to convert the images to numpy array : 0.006315469741821289 time to import caffe and check if the image exist : 0.005110025405883789 time to convert the images to numpy array : 0.01070857048034668 time to import caffe and check if the image exist : 0.0065021514892578125 time to convert the images to numpy array : 0.010128974914550781 time to import caffe and check if the image exist : 0.00805974006652832 time to convert the images to numpy array : 0.008479833602905273 time to import caffe and check if the image exist : 0.0070133209228515625 time to convert the images to numpy array : 0.009575128555297852 time to import caffe and check if the image exist : 0.007141828536987305 time to convert the images to numpy array : 0.012330770492553711 time to import caffe and check if the image exist : 0.006798982620239258 time to convert the images to numpy array : 0.013928890228271484 time to import caffe and check if the image exist : 0.008708715438842773 time to convert the images to numpy array : 0.012431859970092773 time to import caffe and check if the image exist : 0.00807332992553711 time to convert the images to numpy array : 0.013175725936889648 total time to convert the images to numpy array : 0.23418021202087402 list photo_ids error: [] list photo_ids correct : [-4009041074, -4009034718, -4009034717, -4009034719, -4009034721, -4009041081, -4009041079, -4009041066, -4009041085, -4009041080] number of photos to traite : 10 try to delete the photos incorrect in DB tagging for thcl : 3441 To do loadFromThcl(), then load ParamDescType : thcl3441 thcls : [{'id': 3441, 'mtr_user_id': 31, 'name': 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'autre,barquette_avec_film,bouchon,carton,environnement,etiquette,metal,papier,pehd,pet_clair,pet_fonce', 'svm_portfolios_learning': '3309139,3309056,3309252,3309141,7554268,3309137,3312281,3309184,3309073,3309053,3309070', 'photo_hashtag_type': 4456, 'photo_desc_type': 5722, 'type_classification': 'caffe', 'hashtag_id_list': '494826614,2107756859,492645504,492774966,493012381,492636447,492628673,492668766,628944319,2107755846,2107755900'}] thcl {'id': 3441, 'mtr_user_id': 31, 'name': 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'autre,barquette_avec_film,bouchon,carton,environnement,etiquette,metal,papier,pehd,pet_clair,pet_fonce', 'svm_portfolios_learning': '3309139,3309056,3309252,3309141,7554268,3309137,3312281,3309184,3309073,3309053,3309070', 'photo_hashtag_type': 4456, 'photo_desc_type': 5722, 'type_classification': 'caffe', 'hashtag_id_list': '494826614,2107756859,492645504,492774966,493012381,492636447,492628673,492668766,628944319,2107755846,2107755900'} Update svm_hashtag_type_desc : 5722 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5722, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 2048, 2048, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 10, 27, 14, 43, 34), datetime.datetime(2022, 10, 27, 14, 43, 34)) To loadFromThcl() : net_5722 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6995 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5722, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 2048, 2048, 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 10, 27, 14, 43, 34), datetime.datetime(2022, 10, 27, 14, 43, 34)) None mean_file_type : mean_file_path : prototxt_file_path : model : sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4 /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/caffemodel size_local : 94358554 size in s3 : 94358554 create time local : 2022-10-30 01:36:46 create time in s3 : 2022-10-27 12:43:29 caffemodel already exist and didn't need to update /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/deploy.prototxt size_local : 32544 size in s3 : 32544 create time local : 2022-10-30 01:36:46 create time in s3 : 2022-10-27 12:43:33 deploy.prototxt already exist and didn't need to update /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2022-10-30 01:36:46 create time in s3 : 2022-10-27 12:43:34 mean.npy already exist and didn't need to update /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/synset_words.txt size_local : 346 size in s3 : 346 create time local : 2022-10-30 01:36:46 create time in s3 : 2022-10-27 12:43:33 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/deploy.prototxt caffemodel_filename : /data/models_weight/sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_261022_4/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob', 'pool5']) time used to do the prepocess of the images : 0.08394670486450195 time used to do the prediction : 0.1341111660003662 save descriptor for thcl : 3441 time to traite the descriptors : 0.0609440803527832 storage_type for insertDescriptorsMulti : 3 Missing photo l117 : -4009041074 Missing photo l117 : -4009034718 Missing photo l117 : -4009034717 Missing photo l117 : -4009034719 Missing photo l117 : -4009034721 Missing photo l117 : -4009041081 Missing photo l117 : -4009041079 Missing photo l117 : -4009041066 Missing photo l117 : -4009041085 Missing photo l117 : -4009041080 To insert : -4009041074 Missing photo l134 : -4009041074 To insert : -4009034718 Missing photo l134 : -4009034718 To insert : -4009034717 Missing photo l134 : -4009034717 To insert : -4009034719 Missing photo l134 : -4009034719 To insert : -4009034721 Missing photo l134 : -4009034721 To insert : -4009041081 Missing photo l134 : -4009041081 To insert : -4009041079 Missing photo l134 : -4009041079 To insert : -4009041066 Missing photo l134 : -4009041066 To insert : -4009041085 Missing photo l134 : -4009041085 To insert : -4009041080 Missing photo l134 : -4009041080 time to insert the descriptors : 1.834939956665039 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 3.5762786865234375e-06 save missing photos in datou_result : time spend for datou_step_exec : 6.39618992805481 time spend to save output : 0.0002655982971191406 total time spend for step 6 : 6.396455526351929 step7:merge_mask_thcl_custom Wed Nov 26 17:07:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 57 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++As expected we have just one thcl present End of step merge_mask_thcl_custom Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : merge_mask_thcl_custom we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 1 /1390404834Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01668858528137207 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10818243026733398 time spend to save output : 0.016831636428833008 total time spend for step 7 : 0.125014066696167 step8:rle_unique_nms_with_priority Wed Nov 26 17:07:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 55 nb_hashtags : 3 time to prepare the origin masks : 26.940889596939087 time for calcul the mask position with numpy : 0.035125017166137695 nb_pixel_total : 415305 time to create 1 rle with new method : 0.7087321281433105 time for calcul the mask position with numpy : 0.03464651107788086 nb_pixel_total : 479108 time to create 1 rle with new method : 0.6397924423217773 time for calcul the mask position with numpy : 0.03364062309265137 nb_pixel_total : 4599 time to create 1 rle with old method : 0.005599498748779297 time for calcul the mask position with numpy : 0.03624844551086426 nb_pixel_total : 509428 time to create 1 rle with new method : 0.45352888107299805 time for calcul the mask position with numpy : 0.03472304344177246 nb_pixel_total : 339043 time to create 1 rle with new method : 0.4847128391265869 time for calcul the mask position with numpy : 0.036316633224487305 nb_pixel_total : 554783 time to create 1 rle with new method : 0.5068531036376953 time for calcul the mask position with numpy : 0.03352022171020508 nb_pixel_total : 565 time to create 1 rle with old method : 0.0010776519775390625 time for calcul the mask position with numpy : 0.032892465591430664 nb_pixel_total : 11743 time to create 1 rle with old method : 0.013884782791137695 time for calcul the mask position with numpy : 0.036627769470214844 nb_pixel_total : 541612 time to create 1 rle with new method : 0.4646792411804199 time for calcul the mask position with numpy : 0.03603363037109375 nb_pixel_total : 28125 time to create 1 rle with old method : 0.0456545352935791 time for calcul the mask position with numpy : 0.03742790222167969 nb_pixel_total : 24290 time to create 1 rle with old method : 0.02731466293334961 time for calcul the mask position with numpy : 0.03400397300720215 nb_pixel_total : 47254 time to create 1 rle with old method : 0.053633928298950195 time for calcul the mask position with numpy : 0.032978057861328125 nb_pixel_total : 38126 time to create 1 rle with old method : 0.04355025291442871 time for calcul the mask position with numpy : 0.03615999221801758 nb_pixel_total : 251699 time to create 1 rle with new method : 0.5586283206939697 time for calcul the mask position with numpy : 0.03450322151184082 nb_pixel_total : 20140 time to create 1 rle with old method : 0.022649288177490234 time for calcul the mask position with numpy : 0.0353851318359375 nb_pixel_total : 6593 time to create 1 rle with old method : 0.007931947708129883 time for calcul the mask position with numpy : 0.04096674919128418 nb_pixel_total : 22028 time to create 1 rle with old method : 0.034027814865112305 time for calcul the mask position with numpy : 0.04173588752746582 nb_pixel_total : 214686 time to create 1 rle with new method : 0.5626227855682373 time for calcul the mask position with numpy : 0.03413701057434082 nb_pixel_total : 332478 time to create 1 rle with new method : 0.5995340347290039 time for calcul the mask position with numpy : 0.03145718574523926 nb_pixel_total : 1805 time to create 1 rle with old method : 0.0025916099548339844 time for calcul the mask position with numpy : 0.033567190170288086 nb_pixel_total : 400487 time to create 1 rle with new method : 0.5160188674926758 time for calcul the mask position with numpy : 0.03570079803466797 nb_pixel_total : 409729 time to create 1 rle with new method : 0.518012523651123 time for calcul the mask position with numpy : 0.03300786018371582 nb_pixel_total : 28316 time to create 1 rle with old method : 0.03200650215148926 time for calcul the mask position with numpy : 0.03330516815185547 nb_pixel_total : 802 time to create 1 rle with old method : 0.0011038780212402344 time for calcul the mask position with numpy : 0.03333926200866699 nb_pixel_total : 50479 time to create 1 rle with old method : 0.05542278289794922 time for calcul the mask position with numpy : 0.032474517822265625 nb_pixel_total : 11744 time to create 1 rle with old method : 0.012977838516235352 time for calcul the mask position with numpy : 0.03407931327819824 nb_pixel_total : 336119 time to create 1 rle with new method : 0.6805503368377686 time for calcul the mask position with numpy : 0.03275918960571289 nb_pixel_total : 111328 time to create 1 rle with old method : 0.12511587142944336 time for calcul the mask position with numpy : 0.03261733055114746 nb_pixel_total : 37984 time to create 1 rle with old method : 0.04086136817932129 time for calcul the mask position with numpy : 0.03335690498352051 nb_pixel_total : 11 time to create 1 rle with old method : 3.504753112792969e-05 time for calcul the mask position with numpy : 0.03270411491394043 nb_pixel_total : 11 time to create 1 rle with old method : 3.4809112548828125e-05 time for calcul the mask position with numpy : 0.03274703025817871 nb_pixel_total : 6860 time to create 1 rle with old method : 0.008364677429199219 time for calcul the mask position with numpy : 0.032848358154296875 nb_pixel_total : 42 time to create 1 rle with old method : 0.0004119873046875 time for calcul the mask position with numpy : 0.032978057861328125 nb_pixel_total : 72803 time to create 1 rle with old method : 0.08162355422973633 time for calcul the mask position with numpy : 0.034009695053100586 nb_pixel_total : 64688 time to create 1 rle with old method : 0.0735769271850586 time for calcul the mask position with numpy : 0.03423595428466797 nb_pixel_total : 41105 time to create 1 rle with old method : 0.046340227127075195 time for calcul the mask position with numpy : 0.03633260726928711 nb_pixel_total : 579986 time to create 1 rle with new method : 0.6341521739959717 time for calcul the mask position with numpy : 0.0328669548034668 nb_pixel_total : 1364 time to create 1 rle with old method : 0.001973390579223633 time for calcul the mask position with numpy : 0.03298044204711914 nb_pixel_total : 23628 time to create 1 rle with old method : 0.026830196380615234 time for calcul the mask position with numpy : 0.033110857009887695 nb_pixel_total : 15627 time to create 1 rle with old method : 0.017442941665649414 time for calcul the mask position with numpy : 0.03255629539489746 nb_pixel_total : 39833 time to create 1 rle with old method : 0.057819366455078125 time for calcul the mask position with numpy : 0.04043078422546387 nb_pixel_total : 147384 time to create 1 rle with old method : 0.15790843963623047 time for calcul the mask position with numpy : 0.03157544136047363 nb_pixel_total : 873 time to create 1 rle with old method : 0.0011663436889648438 time for calcul the mask position with numpy : 0.03608369827270508 nb_pixel_total : 438426 time to create 1 rle with new method : 0.5270018577575684 time for calcul the mask position with numpy : 0.031148433685302734 nb_pixel_total : 6151 time to create 1 rle with old method : 0.006892681121826172 time for calcul the mask position with numpy : 0.0328526496887207 nb_pixel_total : 61007 time to create 1 rle with old method : 0.06934905052185059 time for calcul the mask position with numpy : 0.03308224678039551 nb_pixel_total : 90 time to create 1 rle with old method : 0.0005016326904296875 time for calcul the mask position with numpy : 0.0326693058013916 nb_pixel_total : 619 time to create 1 rle with old method : 0.001110076904296875 time for calcul the mask position with numpy : 0.03558802604675293 nb_pixel_total : 499478 time to create 1 rle with new method : 0.5993151664733887 time for calcul the mask position with numpy : 0.040452003479003906 nb_pixel_total : 527333 time to create 1 rle with new method : 0.6748793125152588 time for calcul the mask position with numpy : 0.03519129753112793 nb_pixel_total : 488050 time to create 1 rle with new method : 0.8117637634277344 time for calcul the mask position with numpy : 0.03371095657348633 nb_pixel_total : 8284 time to create 1 rle with old method : 0.009984493255615234 time for calcul the mask position with numpy : 0.03341078758239746 nb_pixel_total : 381 time to create 1 rle with old method : 0.0011692047119140625 time for calcul the mask position with numpy : 0.033567190170288086 nb_pixel_total : 20219 time to create 1 rle with old method : 0.024441957473754883 time for calcul the mask position with numpy : 0.040016889572143555 nb_pixel_total : 15265 time to create 1 rle with old method : 0.023212909698486328 time for calcul the mask position with numpy : 0.049445152282714844 nb_pixel_total : 4484 time to create 1 rle with old method : 0.008214950561523438 create new chi : 13.511265277862549 time to delete rle : 0.07014727592468262 batch 1 Loaded 69 chid ids of type : 3327 Number RLEs to save : 37610 TO DO : save crop sub photo not yet done ! save time : 2.2974801063537598 map_output_result : {1390404834: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 1 /1390404834.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.014365673065185547 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.236438512802124 time spend to save output : 0.014646768569946289 total time spend for step 8 : 43.25108528137207 step9:crop_condition Wed Nov 26 17:08:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3327 Loading chi in step crop for list_pids : 1 ! batch 1 Loaded 69 chid ids of type : 3327 begin to crop the class : pet_clair param for this class : {'min_score': 0.5} filtre for class : pet_clair hashtag_id of this class : 2107755846 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3015255 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764173326_395092 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049567_0.png', 0, 958, 811, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049594_0.png', 0, 854, 880, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049578_0.png', 0, 601, 638, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049565_0.png', 0, 816, 705, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049580_0.png', 0, 797, 702, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049604_0.png', 0, 825, 702, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049566_0.png', 0, 705, 684, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_bib_crop_4046250090_0.jpg', 0, 615, 704, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049579_0.png', 0, 616, 708, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049605_0.png', 0, 824, 696, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049581_0.png', 0, 766, 757, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049576_0.png', 0, 115, 137, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764173328), 0.0, 0.0, 14, '', 0, 0, '1764173196_395092_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049569_0.png', 0, 836, 781, 0, 1764173328,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3015255 time of upload the photos Elapsed time : 4.411383152008057 we have finished the crop for the class : pet_clair begin to crop the class : etiquette param for this class : {'min_score': 0.5} filtre for class : etiquette hashtag_id of this class : 492636447 begin to crop the class : bouchon param for this class : {'min_score': 0.5} filtre for class : bouchon hashtag_id of this class : 492645504 begin to crop the class : pet_fonce param for this class : {'min_score': 0.5} filtre for class : pet_fonce hashtag_id of this class : 2107755900 begin to crop the class : pehd param for this class : {'min_score': 0.5} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : barquette_avec_film param for this class : {'min_score': 0.5} filtre for class : barquette_avec_film hashtag_id of this class : 2107756859 begin to crop the class : papier param for this class : {'min_score': 0.5} filtre for class : papier hashtag_id of this class : 492668766 begin to crop the class : carton param for this class : {'min_score': 0.5} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : verre param for this class : {'min_score': 0.5} filtre for class : verre hashtag_id of this class : 492631919 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : autre param for this class : {'min_score': 0.5} filtre for class : autre hashtag_id of this class : 494826614 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 13 /1396267093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.024750709533691406 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.221927404403687 time spend to save output : 0.025516271591186523 total time spend for step 9 : 25.247443675994873 step10:ventilate_hashtags_in_portfolio Wed Nov 26 17:08:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2547 thcls : [{'id': 2547, 'mtr_user_id': 31, 'name': 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_2212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'autre,barquette_avec_film,bouchon,carton,environnement,etiquette,metal,papier,pehd,pet_clair,pet_fonce', 'svm_portfolios_learning': '3309139,3309056,3309252,3309141,3309086,3309137,3312281,3309184,3309073,3309053,3309070', 'photo_hashtag_type': 3200, 'photo_desc_type': 5072, 'type_classification': 'caffe', 'hashtag_id_list': '494826614,2107756859,492645504,492774966,493012381,492636447,492628673,492668766,628944319,2107755846,2107755900'}] thcl {'id': 2547, 'mtr_user_id': 31, 'name': 'sur_classifieur_rubbia_pet_clair_10_classes_finetune_aug_2212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'autre,barquette_avec_film,bouchon,carton,environnement,etiquette,metal,papier,pehd,pet_clair,pet_fonce', 'svm_portfolios_learning': '3309139,3309056,3309252,3309141,3309086,3309137,3312281,3309184,3309073,3309053,3309070', 'photo_hashtag_type': 3200, 'photo_desc_type': 5072, 'type_classification': 'caffe', 'hashtag_id_list': '494826614,2107756859,492645504,492774966,493012381,492636447,492628673,492668766,628944319,2107755846,2107755900'} Update svm_hashtag_type_desc : 5072 Iterating over portfolio : 28926786 get user id for portfolio 28926786 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28926786 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('etiquette','papier','mal_croppe','autre','pehd','pet_clair','environnement','metal','flou','pet_fonce','barquette_avec_film','verre','carton','bouchon')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28926786 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('etiquette','papier','mal_croppe','autre','pehd','pet_clair','environnement','metal','flou','pet_fonce','barquette_avec_film','verre','carton','bouchon')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28926915,28926916,28926917,28926918,28926919,28926920,28926921,28926922,28926923,28926924,28926925,28926926,28926927,28926928?tags=metal,carton,pet_clair,etiquette,pehd,flou,papier,autre,bouchon,mal_croppe,pet_fonce,barquette_avec_film,verre,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 1 /28926786. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.014784097671508789 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1372828483581543 time spend to save output : 0.015009403228759766 total time spend for step 10 : 2.152292251586914 step11:final Wed Nov 26 17:08:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! apple banane 0.0 0.6846659191743826 list_material_ratio_1 [('28926786', '3327', '494826614', '0.0'), ('28926786', '3327', '492774966', '0.0'), ('28926786', '3327', '492628673', '0.0'), ('28926786', '3327', '492668766', '0.0'), ('28926786', '3327', '628944319', '0.0'), ('28926786', '3327', '2107755900', '0.0'), ('28926786', '3327', '2107755846', '0.9268686696509337'), ('28926786', '3327', '492645504', '0.0'), ('28926786', '3327', '492636447', '0.0'), ('28926786', '3327', '2107756859', '0.0'), ('28926786', '3327', '493061979', '0.07313133034906628')] 0.07313133034906628 0.9268686696509337 list_material_ratio_3 [('28926786', '3327', '494826614', '0.0'), ('28926786', '3327', '492774966', '0.0'), ('28926786', '3327', '492628673', '0.0'), ('28926786', '3327', '492668766', '0.0'), ('28926786', '3327', '628944319', '0.0'), ('28926786', '3327', '2107755900', '0.0'), ('28926786', '3327', '2107755846', '1.0'), ('28926786', '3327', '492645504', '0.0'), ('28926786', '3327', '492636447', '0.0'), ('28926786', '3327', '2107756859', '0.0')] Inside saveOutput : final : False verbose : 0 original output for save of step final : {1390404834: ('0.0',)} new output for save of step final : {1390404834: ('0.0',)} [1390404834] Looping around the photos to save general results len do output : 1 /1390404834.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.014459609985351562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15453791618347168 time spend to save output : 0.0146331787109375 total time spend for step 11 : 0.16917109489440918 step12:velours_tree Wed Nov 26 17:08:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.07359600067138672 time spend to save output : 2.9325485229492188e-05 total time spend for step 12 : 0.07362532615661621 step13:send_mail_cod Wed Nov 26 17:08:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin in order to get the selector url, please entre the license of selector results_Auto_P28926786_26-11-2025_17_08_52.pdf 28926915 imagette289269151764173332 28926916 imagette289269161764173332 28926918 imagette289269181764173332 28926919 imagette289269191764173332 28926920 imagette289269201764173332 28926921 imagette289269211764173332 28926922 imagette289269221764173332 28926923 imagette289269231764173332 28926924 imagette289269241764173332 28926925 imagette289269251764173332 28926926 imagette289269261764173332 28926927 imagette289269271764173332 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28926786 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28926915,28926916,28926917,28926918,28926919,28926920,28926921,28926922,28926923,28926924,28926925,28926926,28926927,28926928?tags=metal,carton,pet_clair,etiquette,pehd,flou,papier,autre,bouchon,mal_croppe,pet_fonce,barquette_avec_film,verre,environnement your option no_mail is active, we will not send the real mail to your client args[1390404834] : ((1390404834, -6.186561832478863, 492609224), (1390404834, -0.4382390890556738, 496442774), '0.0') We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28926786 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_17_08_52.pdf results_Auto_P28926786_26-11-2025_17_08_52.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_17_08_52.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3804','28926786','results_Auto_P28926786_26-11-2025_17_08_52.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_17_08_52.pdf','pdf','','0.06','0.0') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.013160467147827148 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9162611961364746 time spend to save output : 0.01329350471496582 total time spend for step 13 : 0.9295547008514404 step14:split_time_score Wed Nov 26 17:08:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! Dont find camara_place_name for portfolio_id : 28926786 Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1390404834] Looping around the photos to save general results len do output : 0 before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3804', None, None, None, None, None, None, None, '4121983') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121983') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.015129566192626953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14186501502990723 time spend to save output : 0.015260457992553711 total time spend for step 14 : 0.15712547302246094 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 83.60user 43.86system 2:21.33elapsed 90%CPU (0avgtext+0avgdata 3084916maxresident)k 669424inputs+61048outputs (2094major+6148934minor)pagefaults 0swaps