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 : 403704 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 : ['4122006'] with mtr_portfolio_ids : ['28926786'] and first list_photo_ids : [] new path : /proc/403704/ 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.18863272666931152 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:11:44 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-26 17:11:47.065769: 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:11:47.090455: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 17:11:47.092015: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efdfc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:11:47.092050: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 17:11:47.095553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 17:11:47.400684: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x416fe690 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:11:47.400732: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 17:11:47.402181: 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:11:47.402584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:11:47.405655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:11:47.408350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:11:47.408753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:11:47.410997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:11:47.412208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:11:47.417699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:11:47.419271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:11:47.419348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:11:47.420142: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:11:47.420159: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:11:47.420167: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:11:47.421570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:11:47.678651: 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:11:47.678731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:11:47.678748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:11:47.678763: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:11:47.678778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:11:47.678792: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:11:47.678807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:11:47.678822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:11:47.680137: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:11:47.681242: 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:11:47.681288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:11:47.681304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:11:47.681318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:11:47.681332: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:11:47.681346: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:11:47.681360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:11:47.681374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:11:47.682692: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:11:47.682723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:11:47.682732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:11:47.682740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:11:47.684091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:11:56.159114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:11:56.325030: 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 403809 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 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.020981311798095703 nb_pixel_total : 502965 time to create 1 rle with new method : 0.025065898895263672 length of segment : 701 DEBUG bbox = [24, 2340, 816, 3204] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01932501792907715 nb_pixel_total : 542140 time to create 1 rle with new method : 0.4375488758087158 length of segment : 782 DEBUG bbox = [0, 0, 858, 978] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.019536256790161133 nb_pixel_total : 579995 time to create 1 rle with new method : 0.03532814979553223 length of segment : 887 DEBUG bbox = [1260, 18, 2160, 774] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006893157958984375 nb_pixel_total : 437782 time to create 1 rle with new method : 0.05037665367126465 length of segment : 913 DEBUG bbox = [1398, 1272, 2148, 2106] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006654024124145508 nb_pixel_total : 524225 time to create 1 rle with new method : 0.028725385665893555 length of segment : 705 DEBUG bbox = [18, 912, 774, 1758] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00849151611328125 nb_pixel_total : 518991 time to create 1 rle with new method : 0.030809640884399414 length of segment : 703 DEBUG bbox = [18, 1710, 780, 2484] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00531315803527832 nb_pixel_total : 438095 time to create 1 rle with new method : 0.03280997276306152 length of segment : 686 DEBUG bbox = [660, 2268, 1470, 3090] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008757352828979492 nb_pixel_total : 485577 time to create 1 rle with new method : 0.02834463119506836 length of segment : 800 DEBUG bbox = [1332, 540, 2136, 1374] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0066967010498046875 nb_pixel_total : 522570 time to create 1 rle with new method : 0.02822256088256836 length of segment : 760 DEBUG bbox = [1374, 2856, 2160, 3738] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007052183151245117 nb_pixel_total : 501526 time to create 1 rle with new method : 0.033080339431762695 length of segment : 1175 DEBUG bbox = [0, 3060, 822, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.011683940887451172 nb_pixel_total : 482081 time to create 1 rle with new method : 0.029652118682861328 length of segment : 842 DEBUG bbox = [156, 0, 1332, 504] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008341312408447266 nb_pixel_total : 268038 time to create 1 rle with new method : 0.029237031936645508 length of segment : 1576 DEBUG bbox = [750, 2946, 1452, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008138656616210938 nb_pixel_total : 358610 time to create 1 rle with new method : 0.028567790985107422 length of segment : 795 DEBUG bbox = [582, 936, 1374, 1800] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.011567115783691406 nb_pixel_total : 467641 time to create 1 rle with new method : 0.09015822410583496 length of segment : 729 DEBUG bbox = [570, 1716, 1410, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007325649261474609 nb_pixel_total : 391027 time to create 1 rle with new method : 0.02959465980529785 length of segment : 750 DEBUG bbox = [624, 438, 1386, 1302] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.009981393814086914 nb_pixel_total : 372117 time to create 1 rle with new method : 0.02756023406982422 length of segment : 692 DEBUG bbox = [678, 2328, 912, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00041675567626953125 nb_pixel_total : 23246 time to create 1 rle with old method : 0.025647878646850586 length of segment : 226 DEBUG bbox = [1560, 2820, 1758, 2970] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007395744323730469 nb_pixel_total : 15298 time to create 1 rle with old method : 0.01772141456604004 length of segment : 185 DEBUG bbox = [360, 1950, 552, 2124] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003082752227783203 nb_pixel_total : 20186 time to create 1 rle with old method : 0.023065805435180664 length of segment : 189 DEBUG bbox = [1092, 450, 1524, 1200] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0032854080200195312 nb_pixel_total : 181825 time to create 1 rle with new method : 0.009371519088745117 length of segment : 347 DEBUG bbox = [1284, 2730, 1422, 3078] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006318092346191406 nb_pixel_total : 19802 time to create 1 rle with old method : 0.022968292236328125 length of segment : 123 DEBUG bbox = [12, 2466, 1494, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01474142074584961 nb_pixel_total : 548360 time to create 1 rle with new method : 0.180938720703125 length of segment : 1444 time spent for convertir_results : 4.531381845474243 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 61 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 16010 save missing photos in datou_result : time spend for datou_step_exec : 25.248445987701416 time spend to save output : 1.120009183883667 total time spend for step 1 : 26.368455171585083 step2:mask_detect Wed Nov 26 17:12:10 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-26 17:12:13.396072: 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:12:13.422513: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 17:12:13.424677: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efdf8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:12:13.424741: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 17:12:13.428769: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 17:12:13.725523: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42d87ad0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 17:12:13.725583: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 17:12:13.727064: 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:12:13.727512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:12:13.730771: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:12:13.736678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:12:13.737098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:12:13.739912: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:12:13.741276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:12:13.746117: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:12:13.747602: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:12:13.747682: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:12:13.748434: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:12:13.748449: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:12:13.748457: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:12:13.749754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:12:13.832203: 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:12:13.832344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:12:13.832370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:12:13.832395: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:12:13.832419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:12:13.832459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:12:13.832483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:12:13.832507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:12:13.834095: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:12:13.835471: 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:12:13.835511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 17:12:13.835532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:12:13.835552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 17:12:13.835571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 17:12:13.835590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 17:12:13.835609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 17:12:13.835629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 17:12:13.837187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 17:12:13.837224: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 17:12:13.837235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 17:12:13.837245: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 17:12:13.838883: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:12:23.327596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 17:12:23.523899: 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 404574 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 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.014016866683959961 nb_pixel_total : 615209 time to create 1 rle with new method : 0.03732895851135254 length of segment : 888 DEBUG bbox = [1278, 2862, 2160, 3780] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008303642272949219 nb_pixel_total : 628953 time to create 1 rle with new method : 0.03452920913696289 length of segment : 945 DEBUG bbox = [1392, 2076, 2130, 3024] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007733583450317383 nb_pixel_total : 491136 time to create 1 rle with new method : 0.03238725662231445 length of segment : 675 DEBUG bbox = [1224, 0, 2160, 810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006608486175537109 nb_pixel_total : 420700 time to create 1 rle with new method : 0.01603102684020996 length of segment : 907 DEBUG bbox = [42, 1836, 318, 2202] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008759498596191406 nb_pixel_total : 47418 time to create 1 rle with old method : 0.05359220504760742 length of segment : 258 DEBUG bbox = [0, 3090, 900, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0061266422271728516 nb_pixel_total : 486632 time to create 1 rle with new method : 0.013409614562988281 length of segment : 1063 DEBUG bbox = [600, 2970, 1464, 3810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006207704544067383 nb_pixel_total : 447800 time to create 1 rle with new method : 0.014407157897949219 length of segment : 864 DEBUG bbox = [24, 0, 1002, 1032] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008039712905883789 nb_pixel_total : 522521 time to create 1 rle with new method : 0.028658628463745117 length of segment : 834 DEBUG bbox = [612, 0, 1608, 714] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005132436752319336 nb_pixel_total : 320757 time to create 1 rle with new method : 0.11469197273254395 length of segment : 1252 DEBUG bbox = [1302, 1488, 2136, 2358] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0070803165435791016 nb_pixel_total : 449492 time to create 1 rle with new method : 0.019010305404663086 length of segment : 796 DEBUG bbox = [744, 1698, 1044, 1962] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006871223449707031 nb_pixel_total : 30904 time to create 1 rle with old method : 0.03539109230041504 length of segment : 239 DEBUG bbox = [18, 2376, 948, 3294] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008204460144042969 nb_pixel_total : 570431 time to create 1 rle with new method : 0.02337050437927246 length of segment : 924 DEBUG bbox = [30, 12, 252, 186] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00040602684020996094 nb_pixel_total : 24393 time to create 1 rle with old method : 0.026377439498901367 length of segment : 282 DEBUG bbox = [702, 2328, 1482, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.004834890365600586 nb_pixel_total : 350061 time to create 1 rle with new method : 0.02659916877746582 length of segment : 671 DEBUG bbox = [684, 1674, 1500, 2598] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005584239959716797 nb_pixel_total : 374634 time to create 1 rle with new method : 0.01979684829711914 length of segment : 721 DEBUG bbox = [174, 1098, 1068, 1998] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008202552795410156 nb_pixel_total : 473990 time to create 1 rle with new method : 0.02303171157836914 length of segment : 930 DEBUG bbox = [0, 1722, 846, 2556] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005636692047119141 nb_pixel_total : 409639 time to create 1 rle with new method : 0.028987884521484375 length of segment : 848 DEBUG bbox = [828, 1524, 1068, 1764] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005853176116943359 nb_pixel_total : 38105 time to create 1 rle with old method : 0.04150104522705078 length of segment : 208 DEBUG bbox = [666, 2334, 924, 2520] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004374980926513672 nb_pixel_total : 28336 time to create 1 rle with old method : 0.031374454498291016 length of segment : 237 DEBUG bbox = [1266, 2736, 1422, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00041604042053222656 nb_pixel_total : 23825 time to create 1 rle with old method : 0.026741743087768555 length of segment : 130 DEBUG bbox = [858, 1284, 1764, 2142] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006175041198730469 nb_pixel_total : 419753 time to create 1 rle with new method : 0.017061471939086914 length of segment : 867 DEBUG bbox = [690, 2244, 2094, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01184225082397461 nb_pixel_total : 206230 time to create 1 rle with new method : 0.17446136474609375 length of segment : 626 DEBUG bbox = [882, 2466, 1092, 2694] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00043392181396484375 nb_pixel_total : 19068 time to create 1 rle with old method : 0.020994901657104492 length of segment : 154 DEBUG bbox = [1188, 1986, 1410, 2166] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005230903625488281 nb_pixel_total : 31123 time to create 1 rle with old method : 0.0507197380065918 length of segment : 218 DEBUG bbox = [1152, 606, 1368, 840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00040984153747558594 nb_pixel_total : 13067 time to create 1 rle with old method : 0.014858484268188477 length of segment : 129 DEBUG bbox = [726, 366, 1602, 1368] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007621049880981445 nb_pixel_total : 467117 time to create 1 rle with new method : 0.022475242614746094 length of segment : 767 DEBUG bbox = [1152, 2508, 2046, 3306] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.004701852798461914 nb_pixel_total : 235765 time to create 1 rle with new method : 0.014775991439819336 length of segment : 803 time spent for convertir_results : 4.149070978164673 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 61 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 17236 save missing photos in datou_result : time spend for datou_step_exec : 27.47656488418579 time spend to save output : 1.246070384979248 total time spend for step 2 : 28.72263526916504 step3:blur_detection Wed Nov 26 17:12:39 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.01113128662109375 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.011260747909545898 save missing photos in datou_result : time spend for datou_step_exec : 0.028451204299926758 time spend to save output : 0.028173446655273438 total time spend for step 3 : 0.056624650955200195 step4:brightness Wed Nov 26 17:12:39 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.011046409606933594 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.011417388916015625 save missing photos in datou_result : time spend for datou_step_exec : 0.031503915786743164 time spend to save output : 0.028171300888061523 total time spend for step 4 : 0.05967521667480469 step5:crop_condition Wed Nov 26 17:12:39 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 61 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 time used for this insertion : 0.025371789932250977 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1158926486968994 time spend to save output : 0.026106834411621094 total time spend for step 5 : 2.1419994831085205 step6:thcl Wed Nov 26 17:12: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 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.006022453308105469 time to convert the images to numpy array : 0.008960962295532227 time to import caffe and check if the image exist : 0.0061986446380615234 time to convert the images to numpy array : 0.008308887481689453 time to import caffe and check if the image exist : 0.007822513580322266 time to convert the images to numpy array : 0.007074832916259766 time to import caffe and check if the image exist : 0.008052349090576172 time to convert the images to numpy array : 0.0065364837646484375 time to import caffe and check if the image exist : 0.005688905715942383 time to convert the images to numpy array : 0.011257410049438477 time to import caffe and check if the image exist : 0.006349086761474609 time to convert the images to numpy array : 0.0106964111328125 time to import caffe and check if the image exist : 0.006838083267211914 time to convert the images to numpy array : 0.010364770889282227 time to import caffe and check if the image exist : 0.005873918533325195 time to convert the images to numpy array : 0.0118560791015625 time to import caffe and check if the image exist : 0.0066492557525634766 time to convert the images to numpy array : 0.012888431549072266 time to import caffe and check if the image exist : 0.006841421127319336 time to convert the images to numpy array : 0.013551473617553711 total time to convert the images to numpy array : 0.23202753067016602 list photo_ids error: [] list photo_ids correct : [-4009041074, -4009034719, -4009034721, -4009034718, -4009041085, -4009034717, -4009041081, -4009041080, -4009041079, -4009041066] 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 : 10998 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 : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['pool5', 'prob']) time used to do the prepocess of the images : 0.07503819465637207 time used to do the prediction : 0.10342168807983398 save descriptor for thcl : 3441 time to traite the descriptors : 0.05652284622192383 storage_type for insertDescriptorsMulti : 3 Missing photo l117 : -4009041074 Missing photo l117 : -4009034719 Missing photo l117 : -4009034721 Missing photo l117 : -4009034718 Missing photo l117 : -4009041085 Missing photo l117 : -4009034717 Missing photo l117 : -4009041081 Missing photo l117 : -4009041080 Missing photo l117 : -4009041079 Missing photo l117 : -4009041066 To insert : -4009041074 Missing photo l134 : -4009041074 To insert : -4009034719 Missing photo l134 : -4009034719 To insert : -4009034721 Missing photo l134 : -4009034721 To insert : -4009034718 Missing photo l134 : -4009034718 To insert : -4009041085 Missing photo l134 : -4009041085 To insert : -4009034717 Missing photo l134 : -4009034717 To insert : -4009041081 Missing photo l134 : -4009041081 To insert : -4009041080 Missing photo l134 : -4009041080 To insert : -4009041079 Missing photo l134 : -4009041079 To insert : -4009041066 Missing photo l134 : -4009041066 time to insert the descriptors : 1.7999672889709473 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.172105073928833 time spend to save output : 0.00024080276489257812 total time spend for step 6 : 6.172345876693726 step7:merge_mask_thcl_custom Wed Nov 26 17:12:47 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 61 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01835346221923828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1101222038269043 time spend to save output : 0.018548011779785156 total time spend for step 7 : 0.12867021560668945 step8:rle_unique_nms_with_priority Wed Nov 26 17:12:47 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 : 59 nb_hashtags : 3 time to prepare the origin masks : 24.293633222579956 time for calcul the mask position with numpy : 0.035418033599853516 nb_pixel_total : 414980 time to create 1 rle with new method : 1.1088652610778809 time for calcul the mask position with numpy : 0.04114341735839844 nb_pixel_total : 479108 time to create 1 rle with new method : 0.719362735748291 time for calcul the mask position with numpy : 0.033603668212890625 nb_pixel_total : 4599 time to create 1 rle with old method : 0.005396604537963867 time for calcul the mask position with numpy : 0.03635406494140625 nb_pixel_total : 509428 time to create 1 rle with new method : 0.610964298248291 time for calcul the mask position with numpy : 0.03503561019897461 nb_pixel_total : 339043 time to create 1 rle with new method : 0.5083217620849609 time for calcul the mask position with numpy : 0.0382227897644043 nb_pixel_total : 554783 time to create 1 rle with new method : 0.566150426864624 time for calcul the mask position with numpy : 0.03249812126159668 nb_pixel_total : 565 time to create 1 rle with old method : 0.0009741783142089844 time for calcul the mask position with numpy : 0.032486915588378906 nb_pixel_total : 11743 time to create 1 rle with old method : 0.013098478317260742 time for calcul the mask position with numpy : 0.03583836555480957 nb_pixel_total : 541612 time to create 1 rle with new method : 0.7772934436798096 time for calcul the mask position with numpy : 0.03218817710876465 nb_pixel_total : 28125 time to create 1 rle with old method : 0.029175519943237305 time for calcul the mask position with numpy : 0.03220653533935547 nb_pixel_total : 24290 time to create 1 rle with old method : 0.02593517303466797 time for calcul the mask position with numpy : 0.03313112258911133 nb_pixel_total : 47254 time to create 1 rle with old method : 0.052266597747802734 time for calcul the mask position with numpy : 0.03374028205871582 nb_pixel_total : 38126 time to create 1 rle with old method : 0.04155230522155762 time for calcul the mask position with numpy : 0.03635096549987793 nb_pixel_total : 251699 time to create 1 rle with new method : 0.6080522537231445 time for calcul the mask position with numpy : 0.03473186492919922 nb_pixel_total : 20140 time to create 1 rle with old method : 0.022608518600463867 time for calcul the mask position with numpy : 0.03489398956298828 nb_pixel_total : 6593 time to create 1 rle with old method : 0.0071604251861572266 time for calcul the mask position with numpy : 0.03616619110107422 nb_pixel_total : 22028 time to create 1 rle with old method : 0.03586983680725098 time for calcul the mask position with numpy : 0.03733325004577637 nb_pixel_total : 867 time to create 1 rle with old method : 0.0014889240264892578 time for calcul the mask position with numpy : 0.0361485481262207 nb_pixel_total : 214239 time to create 1 rle with new method : 0.7220427989959717 time for calcul the mask position with numpy : 0.035645484924316406 nb_pixel_total : 332478 time to create 1 rle with new method : 0.49044275283813477 time for calcul the mask position with numpy : 0.03507876396179199 nb_pixel_total : 1805 time to create 1 rle with old method : 0.0028531551361083984 time for calcul the mask position with numpy : 0.0368955135345459 nb_pixel_total : 400487 time to create 1 rle with new method : 0.8331348896026611 time for calcul the mask position with numpy : 0.03567647933959961 nb_pixel_total : 409729 time to create 1 rle with new method : 0.672499418258667 time for calcul the mask position with numpy : 0.034600019454956055 nb_pixel_total : 28316 time to create 1 rle with old method : 0.03066873550415039 time for calcul the mask position with numpy : 0.03516530990600586 nb_pixel_total : 802 time to create 1 rle with old method : 0.0010461807250976562 time for calcul the mask position with numpy : 0.035286664962768555 nb_pixel_total : 50479 time to create 1 rle with old method : 0.056845903396606445 time for calcul the mask position with numpy : 0.034379005432128906 nb_pixel_total : 11744 time to create 1 rle with old method : 0.01343679428100586 time for calcul the mask position with numpy : 0.034880638122558594 nb_pixel_total : 336119 time to create 1 rle with new method : 0.605144739151001 time for calcul the mask position with numpy : 0.03460693359375 nb_pixel_total : 111211 time to create 1 rle with old method : 0.1262049674987793 time for calcul the mask position with numpy : 0.034864187240600586 nb_pixel_total : 37984 time to create 1 rle with old method : 0.04253053665161133 time for calcul the mask position with numpy : 0.03449892997741699 nb_pixel_total : 11 time to create 1 rle with old method : 4.410743713378906e-05 time for calcul the mask position with numpy : 0.03435850143432617 nb_pixel_total : 11 time to create 1 rle with old method : 3.695487976074219e-05 time for calcul the mask position with numpy : 0.03621411323547363 nb_pixel_total : 6766 time to create 1 rle with old method : 0.011898517608642578 time for calcul the mask position with numpy : 0.03876781463623047 nb_pixel_total : 42 time to create 1 rle with old method : 0.0005931854248046875 time for calcul the mask position with numpy : 0.03419017791748047 nb_pixel_total : 72789 time to create 1 rle with old method : 0.0807492733001709 time for calcul the mask position with numpy : 0.033972740173339844 nb_pixel_total : 64688 time to create 1 rle with old method : 0.07050561904907227 time for calcul the mask position with numpy : 0.033644676208496094 nb_pixel_total : 40828 time to create 1 rle with old method : 0.04494881629943848 time for calcul the mask position with numpy : 0.03792619705200195 nb_pixel_total : 579942 time to create 1 rle with new method : 0.6897237300872803 time for calcul the mask position with numpy : 0.0339961051940918 nb_pixel_total : 1364 time to create 1 rle with old method : 0.0018911361694335938 time for calcul the mask position with numpy : 0.03351759910583496 nb_pixel_total : 23628 time to create 1 rle with old method : 0.02604222297668457 time for calcul the mask position with numpy : 0.03372693061828613 nb_pixel_total : 15415 time to create 1 rle with old method : 0.017153263092041016 time for calcul the mask position with numpy : 0.03453874588012695 nb_pixel_total : 39833 time to create 1 rle with old method : 0.04398083686828613 time for calcul the mask position with numpy : 0.0356135368347168 nb_pixel_total : 147384 time to create 1 rle with old method : 0.18593072891235352 time for calcul the mask position with numpy : 0.033730506896972656 nb_pixel_total : 873 time to create 1 rle with old method : 0.0012784004211425781 time for calcul the mask position with numpy : 0.03449654579162598 nb_pixel_total : 1824 time to create 1 rle with old method : 0.0027925968170166016 time for calcul the mask position with numpy : 0.03849315643310547 nb_pixel_total : 437171 time to create 1 rle with new method : 0.6810908317565918 time for calcul the mask position with numpy : 0.03380560874938965 nb_pixel_total : 6151 time to create 1 rle with old method : 0.006913185119628906 time for calcul the mask position with numpy : 0.03496694564819336 nb_pixel_total : 60772 time to create 1 rle with old method : 0.06570744514465332 time for calcul the mask position with numpy : 0.03457999229431152 nb_pixel_total : 90 time to create 1 rle with old method : 0.00046181678771972656 time for calcul the mask position with numpy : 0.03427839279174805 nb_pixel_total : 619 time to create 1 rle with old method : 0.001135110855102539 time for calcul the mask position with numpy : 0.03785848617553711 nb_pixel_total : 499478 time to create 1 rle with new method : 0.7011220455169678 time for calcul the mask position with numpy : 0.03545832633972168 nb_pixel_total : 314 time to create 1 rle with old method : 0.0010325908660888672 time for calcul the mask position with numpy : 0.039676666259765625 nb_pixel_total : 527333 time to create 1 rle with new method : 0.6639647483825684 time for calcul the mask position with numpy : 0.038124799728393555 nb_pixel_total : 488050 time to create 1 rle with new method : 0.6612133979797363 time for calcul the mask position with numpy : 0.037134408950805664 nb_pixel_total : 8284 time to create 1 rle with old method : 0.009500503540039062 time for calcul the mask position with numpy : 0.03380942344665527 nb_pixel_total : 381 time to create 1 rle with old method : 0.0011670589447021484 time for calcul the mask position with numpy : 0.03521561622619629 nb_pixel_total : 20210 time to create 1 rle with old method : 0.02324676513671875 time for calcul the mask position with numpy : 0.03427267074584961 nb_pixel_total : 15265 time to create 1 rle with old method : 0.01658940315246582 time for calcul the mask position with numpy : 0.03394293785095215 nb_pixel_total : 4502 time to create 1 rle with old method : 0.005465269088745117 time for calcul the mask position with numpy : 0.03377246856689453 nb_pixel_total : 6 time to create 1 rle with old method : 3.910064697265625e-05 create new chi : 15.319433450698853 time to delete rle : 0.06527018547058105 batch 1 Loaded 75 chid ids of type : 3327 Number RLEs to save : 38857 TO DO : save crop sub photo not yet done ! save time : 2.33786678314209 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.015090465545654297 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.23566126823425 time spend to save output : 0.015355825424194336 total time spend for step 8 : 42.25101709365845 step9:crop_condition Wed Nov 26 17:13:30 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 75 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 : 14 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3015255 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764173629_403704 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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049567_0.png', 0, 958, 811, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049594_0.png', 0, 854, 880, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4046255156_0.png', 0, 596, 637, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049565_0.png', 0, 816, 705, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049580_0.png', 0, 797, 702, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049604_0.png', 0, 825, 702, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049566_0.png', 0, 705, 684, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049579_0.png', 0, 616, 708, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049605_0.png', 0, 824, 696, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049581_0.png', 0, 766, 757, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049576_0.png', 0, 115, 137, 0, 1764173631,'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(1764173631), 0.0, 0.0, 14, '', 0, 0, '1764173504_403704_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049569_0.png', 0, 836, 781, 0, 1764173631,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3015255 time of upload the photos Elapsed time : 2.955246925354004 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 : 14 /1396267506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393124092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396267517Didn'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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 time used for this insertion : 0.026221752166748047 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.67176342010498 time spend to save output : 0.02695631980895996 total time spend for step 9 : 22.69871973991394 step10:ventilate_hashtags_in_portfolio Wed Nov 26 17:13: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 ! 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 ('pehd','etiquette','barquette_avec_film','verre','flou','environnement','carton','mal_croppe','metal','autre','pet_clair','pet_fonce','bouchon','papier')) 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 ('pehd','etiquette','barquette_avec_film','verre','flou','environnement','carton','mal_croppe','metal','autre','pet_clair','pet_fonce','bouchon','papier')) 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.015217304229736328 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1481831073760986 time spend to save output : 0.015443086624145508 total time spend for step 10 : 2.163626194000244 step11:final Wed Nov 26 17:13:55 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 0.6846369839891975 [('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.9269228107440268'), ('28926786', '3327', '492645504', '0.0'), ('28926786', '3327', '492636447', '0.0'), ('28926786', '3327', '2107756859', '0.0'), ('28926786', '3327', '493061979', '0.07307718925597322')] 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.9269228107440268'), ('28926786', '3327', '492645504', '0.0'), ('28926786', '3327', '492636447', '0.0'), ('28926786', '3327', '2107756859', '0.0'), ('28926786', '3327', '493061979', '0.07307718925597322')] 0.07307718925597322 0.9269228107440268 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.015447616577148438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13336420059204102 time spend to save output : 0.01560831069946289 total time spend for step 11 : 0.1489725112915039 step12:velours_tree Wed Nov 26 17:13:55 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.032601356506347656 time spend to save output : 2.9802322387695312e-05 total time spend for step 12 : 0.03263115882873535 step13:send_mail_cod Wed Nov 26 17:13:55 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_13_55.pdf 28926915 imagette289269151764173635 28926916 imagette289269161764173635 28926918 imagette289269181764173635 28926919 imagette289269191764173635 28926920 imagette289269201764173635 28926921 imagette289269211764173635 28926922 imagette289269221764173635 28926923 imagette289269231764173635 28926924 imagette289269241764173635 28926925 imagette289269251764173635 28926926 imagette289269261764173635 28926927 imagette289269271764173635 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_13_55.pdf results_Auto_P28926786_26-11-2025_17_13_55.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_17_13_55.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_13_55.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_17_13_55.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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.017140626907348633 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8780570030212402 time spend to save output : 0.017274141311645508 total time spend for step 13 : 0.8953311443328857 step14:split_time_score Wed Nov 26 17:13:56 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, '4122006') ('3804', '28926786', '1390404834', None, None, None, None, None, '4122006') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.01787877082824707 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1240694522857666 time spend to save output : 0.018002986907958984 total time spend for step 14 : 0.14207243919372559 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 77.53user 46.33system 2:15.57elapsed 91%CPU (0avgtext+0avgdata 3083624maxresident)k 314328inputs+61504outputs (183major+6326146minor)pagefaults 0swaps