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 : 364046 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 : ['4121874'] with mtr_portfolio_ids : ['28926786'] and first list_photo_ids : [] new path : /proc/364046/ 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.1743476390838623 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 16:48:21 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 16:48:24.426684: 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 16:48:24.454666: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 16:48:24.456285: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f225c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 16:48:24.456309: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 16:48:24.459197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 16:48:24.755229: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2217f940 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 16:48:24.755290: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 16:48:24.756647: 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 16:48:24.757127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:24.760437: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:24.763555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:24.764094: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:24.767766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:24.768826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:24.773453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:24.774968: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:24.775059: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:24.775863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 16:48:24.775879: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 16:48:24.775887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 16:48:24.777171: 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 16:48:25.025783: 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 16:48:25.025884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:25.025907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:25.025928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:25.025947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:25.025967: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:25.025986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:25.026006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:25.027675: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:25.029191: 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 16:48:25.029263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:25.029285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:25.029305: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:25.029324: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:25.029343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:25.029362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:25.029381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:25.031098: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:25.031140: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 16:48:25.031152: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 16:48:25.031162: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 16:48:25.032504: 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 16:48:34.749334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:34.927242: 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 364135 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.01982283592224121 nb_pixel_total : 502951 time to create 1 rle with new method : 0.029255151748657227 length of segment : 701 DEBUG bbox = [24, 2340, 816, 3204] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.24625158309936523 nb_pixel_total : 542173 time to create 1 rle with new method : 0.03253316879272461 length of segment : 782 DEBUG bbox = [0, 0, 858, 978] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.01929306983947754 nb_pixel_total : 579957 time to create 1 rle with new method : 0.03860878944396973 length of segment : 887 DEBUG bbox = [1254, 18, 2160, 774] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0056498050689697266 nb_pixel_total : 438914 time to create 1 rle with new method : 0.029965639114379883 length of segment : 927 DEBUG bbox = [1398, 1266, 2148, 2106] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006615161895751953 nb_pixel_total : 527726 time to create 1 rle with new method : 0.02368307113647461 length of segment : 704 DEBUG bbox = [18, 912, 774, 1758] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006651878356933594 nb_pixel_total : 519049 time to create 1 rle with new method : 0.027019500732421875 length of segment : 703 DEBUG bbox = [18, 1710, 780, 2484] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005197763442993164 nb_pixel_total : 438189 time to create 1 rle with new method : 0.022505760192871094 length of segment : 686 DEBUG bbox = [660, 2268, 1470, 3090] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00893259048461914 nb_pixel_total : 485608 time to create 1 rle with new method : 0.026597976684570312 length of segment : 800 DEBUG bbox = [1332, 540, 2136, 1368] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0070345401763916016 nb_pixel_total : 520772 time to create 1 rle with new method : 0.09401464462280273 length of segment : 762 DEBUG bbox = [1374, 2856, 2160, 3738] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006746053695678711 nb_pixel_total : 501587 time to create 1 rle with new method : 0.030025243759155273 length of segment : 1173 DEBUG bbox = [0, 3060, 822, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.009675025939941406 nb_pixel_total : 482141 time to create 1 rle with new method : 0.02659153938293457 length of segment : 842 DEBUG bbox = [156, 0, 1332, 504] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006031513214111328 nb_pixel_total : 267911 time to create 1 rle with new method : 0.02597498893737793 length of segment : 1574 DEBUG bbox = [750, 2946, 1452, 3828] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0049076080322265625 nb_pixel_total : 358599 time to create 1 rle with new method : 0.025999784469604492 length of segment : 795 DEBUG bbox = [582, 936, 1374, 1794] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.010302305221557617 nb_pixel_total : 465594 time to create 1 rle with new method : 0.08822250366210938 length of segment : 730 DEBUG bbox = [570, 1716, 1410, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008195877075195312 nb_pixel_total : 391074 time to create 1 rle with new method : 0.029359102249145508 length of segment : 750 DEBUG bbox = [624, 432, 1386, 1302] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00754547119140625 nb_pixel_total : 373111 time to create 1 rle with new method : 0.030361413955688477 length of segment : 692 DEBUG bbox = [678, 2328, 912, 2514] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004284381866455078 nb_pixel_total : 23247 time to create 1 rle with old method : 0.025338172912597656 length of segment : 227 DEBUG bbox = [1560, 2820, 1758, 2970] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005590915679931641 nb_pixel_total : 15299 time to create 1 rle with old method : 0.01649332046508789 length of segment : 185 DEBUG bbox = [360, 1950, 552, 2124] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006504058837890625 nb_pixel_total : 20187 time to create 1 rle with old method : 0.02173137664794922 length of segment : 189 DEBUG bbox = [1092, 450, 1524, 1200] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.003168821334838867 nb_pixel_total : 181576 time to create 1 rle with new method : 0.008654594421386719 length of segment : 348 DEBUG bbox = [1284, 2730, 1422, 3078] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007596015930175781 nb_pixel_total : 19791 time to create 1 rle with old method : 0.02325439453125 length of segment : 123 DEBUG bbox = [12, 2466, 1494, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.019669532775878906 nb_pixel_total : 548342 time to create 1 rle with new method : 0.2634618282318115 length of segment : 1444 time spent for convertir_results : 4.356135368347168 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 51 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 16024 save missing photos in datou_result : time spend for datou_step_exec : 26.02759027481079 time spend to save output : 1.0442209243774414 total time spend for step 1 : 27.071811199188232 step2:mask_detect Wed Nov 26 16:48:48 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 16:48:51.219754: 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 16:48:51.250554: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 16:48:51.252718: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f225c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 16:48:51.252780: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 16:48:51.256736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 16:48:51.559677: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x23028230 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 16:48:51.559737: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 16:48:51.561050: 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 16:48:51.561520: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:51.564838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:51.568019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:51.568575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:51.572120: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:51.573192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:51.577863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:51.579455: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:51.579542: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:51.580330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 16:48:51.580345: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 16:48:51.580354: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 16:48:51.581645: 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 16:48:51.787282: 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 16:48:51.787416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:51.787440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:51.787461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:51.787481: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:51.787519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:51.787540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:51.787561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:51.789145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:51.790523: 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 16:48:51.790566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 16:48:51.790590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:48:51.790613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 16:48:51.790635: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 16:48:51.790657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 16:48:51.790679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 16:48:51.790701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 16:48:51.792264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 16:48:51.792303: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 16:48:51.792314: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 16:48:51.792324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 16:48:51.793959: 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 16:49:00.381675: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 16:49:00.535612: 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 365391 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.014479637145996094 nb_pixel_total : 615217 time to create 1 rle with new method : 0.19365191459655762 length of segment : 889 DEBUG bbox = [1278, 2862, 2160, 3780] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.008662700653076172 nb_pixel_total : 628994 time to create 1 rle with new method : 0.036855220794677734 length of segment : 945 DEBUG bbox = [1392, 2076, 2130, 3024] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006815195083618164 nb_pixel_total : 491077 time to create 1 rle with new method : 0.028931140899658203 length of segment : 675 DEBUG bbox = [1224, 0, 2160, 810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005933284759521484 nb_pixel_total : 420708 time to create 1 rle with new method : 0.01732921600341797 length of segment : 907 DEBUG bbox = [42, 1836, 318, 2202] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008921623229980469 nb_pixel_total : 47416 time to create 1 rle with old method : 0.05104947090148926 length of segment : 258 DEBUG bbox = [0, 3090, 900, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006161928176879883 nb_pixel_total : 486626 time to create 1 rle with new method : 0.0161895751953125 length of segment : 1064 DEBUG bbox = [600, 2970, 1464, 3810] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005868196487426758 nb_pixel_total : 447765 time to create 1 rle with new method : 0.013985157012939453 length of segment : 867 DEBUG bbox = [24, 0, 1002, 1032] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007812023162841797 nb_pixel_total : 522460 time to create 1 rle with new method : 0.029305458068847656 length of segment : 834 DEBUG bbox = [612, 0, 1608, 714] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005515098571777344 nb_pixel_total : 320797 time to create 1 rle with new method : 0.15612006187438965 length of segment : 1253 DEBUG bbox = [1302, 1488, 2136, 2358] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0060749053955078125 nb_pixel_total : 449546 time to create 1 rle with new method : 0.01514887809753418 length of segment : 796 DEBUG bbox = [744, 1698, 1044, 1962] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006577968597412109 nb_pixel_total : 30904 time to create 1 rle with old method : 0.033118486404418945 length of segment : 239 DEBUG bbox = [18, 2376, 948, 3294] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007738351821899414 nb_pixel_total : 570411 time to create 1 rle with new method : 0.024071931838989258 length of segment : 924 DEBUG bbox = [30, 12, 252, 186] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005035400390625 nb_pixel_total : 24368 time to create 1 rle with old method : 0.04072976112365723 length of segment : 281 DEBUG bbox = [702, 2328, 1482, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.004830598831176758 nb_pixel_total : 350014 time to create 1 rle with new method : 0.0253143310546875 length of segment : 672 DEBUG bbox = [684, 1674, 1500, 2598] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006548643112182617 nb_pixel_total : 374583 time to create 1 rle with new method : 0.022917747497558594 length of segment : 722 DEBUG bbox = [174, 1098, 1068, 1998] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00727534294128418 nb_pixel_total : 474054 time to create 1 rle with new method : 0.021102190017700195 length of segment : 929 DEBUG bbox = [0, 1722, 846, 2556] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005686044692993164 nb_pixel_total : 409665 time to create 1 rle with new method : 0.03150343894958496 length of segment : 848 DEBUG bbox = [828, 1524, 1068, 1764] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005450248718261719 nb_pixel_total : 38107 time to create 1 rle with old method : 0.041966915130615234 length of segment : 208 DEBUG bbox = [666, 2334, 924, 2520] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004448890686035156 nb_pixel_total : 28328 time to create 1 rle with old method : 0.03144097328186035 length of segment : 237 DEBUG bbox = [1266, 2736, 1422, 3096] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004563331604003906 nb_pixel_total : 23824 time to create 1 rle with old method : 0.0272214412689209 length of segment : 130 DEBUG bbox = [858, 1284, 1764, 2142] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0059452056884765625 nb_pixel_total : 419774 time to create 1 rle with new method : 0.01920485496520996 length of segment : 867 DEBUG bbox = [690, 2244, 2094, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.013470649719238281 nb_pixel_total : 206291 time to create 1 rle with new method : 0.22965025901794434 length of segment : 626 DEBUG bbox = [882, 2466, 1092, 2694] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00041604042053222656 nb_pixel_total : 19072 time to create 1 rle with old method : 0.022031784057617188 length of segment : 154 DEBUG bbox = [1188, 1986, 1410, 2166] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00040721893310546875 nb_pixel_total : 31121 time to create 1 rle with old method : 0.03388071060180664 length of segment : 218 DEBUG bbox = [1152, 606, 1368, 840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00038123130798339844 nb_pixel_total : 13065 time to create 1 rle with old method : 0.015318870544433594 length of segment : 129 DEBUG bbox = [726, 366, 1602, 1368] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0068356990814208984 nb_pixel_total : 467154 time to create 1 rle with new method : 0.02152729034423828 length of segment : 767 DEBUG bbox = [1152, 2508, 2046, 3306] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0046460628509521484 nb_pixel_total : 235718 time to create 1 rle with new method : 0.013988971710205078 length of segment : 802 time spent for convertir_results : 4.310535430908203 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 51 chid ids of type : 3132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 17241 save missing photos in datou_result : time spend for datou_step_exec : 26.02188730239868 time spend to save output : 1.1865062713623047 total time spend for step 2 : 27.208393573760986 step3:blur_detection Wed Nov 26 16:49:15 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.009905815124511719 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.009955644607543945 save missing photos in datou_result : time spend for datou_step_exec : 0.02639174461364746 time spend to save output : 0.0255277156829834 total time spend for step 3 : 0.05191946029663086 step4:brightness Wed Nov 26 16:49:15 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.00994563102722168 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.010956048965454102 save missing photos in datou_result : time spend for datou_step_exec : 0.03121662139892578 time spend to save output : 0.02576136589050293 total time spend for step 4 : 0.05697798728942871 step5:crop_condition Wed Nov 26 16:49:15 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 51 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 time used for this insertion : 0.024113893508911133 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.117957353591919 time spend to save output : 0.024662494659423828 total time spend for step 5 : 2.1426198482513428 step6:thcl Wed Nov 26 16:49:18 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.0036089420318603516 time to convert the images to numpy array : 0.008076190948486328 time to import caffe and check if the image exist : 0.005913257598876953 time to convert the images to numpy array : 0.005928993225097656 time to import caffe and check if the image exist : 0.003871440887451172 time to convert the images to numpy array : 0.00961756706237793 time to import caffe and check if the image exist : 0.005207061767578125 time to convert the images to numpy array : 0.010085105895996094 time to import caffe and check if the image exist : 0.004736661911010742 time to convert the images to numpy array : 0.009650945663452148 time to import caffe and check if the image exist : 0.0072820186614990234 time to convert the images to numpy array : 0.007371664047241211 time to import caffe and check if the image exist : 0.0037953853607177734 time to convert the images to numpy array : 0.012153387069702148 time to import caffe and check if the image exist : 0.0069310665130615234 time to convert the images to numpy array : 0.00841522216796875 time to import caffe and check if the image exist : 0.004767179489135742 time to convert the images to numpy array : 0.01159524917602539 time to import caffe and check if the image exist : 0.007282733917236328 time to convert the images to numpy array : 0.011625051498413086 total time to convert the images to numpy array : 0.2380523681640625 list photo_ids error: [] list photo_ids correct : [-4009034721, -4009034718, -4009041080, -4009041074, -4009034719, -4009034717, -4009041079, -4009041081, -4009041085, -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(['prob', 'pool5']) time used to do the prepocess of the images : 0.09109044075012207 time used to do the prediction : 0.09856057167053223 save descriptor for thcl : 3441 time to traite the descriptors : 0.05712437629699707 storage_type for insertDescriptorsMulti : 3 Missing photo l117 : -4009034721 Missing photo l117 : -4009034718 Missing photo l117 : -4009041080 Missing photo l117 : -4009041074 Missing photo l117 : -4009034719 Missing photo l117 : -4009034717 Missing photo l117 : -4009041079 Missing photo l117 : -4009041081 Missing photo l117 : -4009041085 Missing photo l117 : -4009041066 To insert : -4009034721 Missing photo l134 : -4009034721 To insert : -4009034718 Missing photo l134 : -4009034718 To insert : -4009041080 Missing photo l134 : -4009041080 To insert : -4009041074 Missing photo l134 : -4009041074 To insert : -4009034719 Missing photo l134 : -4009034719 To insert : -4009034717 Missing photo l134 : -4009034717 To insert : -4009041079 Missing photo l134 : -4009041079 To insert : -4009041081 Missing photo l134 : -4009041081 To insert : -4009041085 Missing photo l134 : -4009041085 To insert : -4009041066 Missing photo l134 : -4009041066 time to insert the descriptors : 1.9914004802703857 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 : 2.6226043701171875e-06 save missing photos in datou_result : time spend for datou_step_exec : 6.198667526245117 time spend to save output : 0.00019788742065429688 total time spend for step 6 : 6.1988654136657715 step7:merge_mask_thcl_custom Wed Nov 26 16:49:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 51 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01693868637084961 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10098743438720703 time spend to save output : 0.017100811004638672 total time spend for step 7 : 0.1180882453918457 step8:rle_unique_nms_with_priority Wed Nov 26 16:49:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 49 nb_hashtags : 3 time to prepare the origin masks : 21.961556911468506 time for calcul the mask position with numpy : 0.03380274772644043 nb_pixel_total : 416559 time to create 1 rle with new method : 0.4208338260650635 time for calcul the mask position with numpy : 0.034473419189453125 nb_pixel_total : 479108 time to create 1 rle with new method : 0.8380632400512695 time for calcul the mask position with numpy : 0.034714698791503906 nb_pixel_total : 4670 time to create 1 rle with old method : 0.00587153434753418 time for calcul the mask position with numpy : 0.03723263740539551 nb_pixel_total : 509428 time to create 1 rle with new method : 0.5733630657196045 time for calcul the mask position with numpy : 0.034744977951049805 nb_pixel_total : 339043 time to create 1 rle with new method : 0.5402374267578125 time for calcul the mask position with numpy : 0.034407854080200195 nb_pixel_total : 554783 time to create 1 rle with new method : 0.6176385879516602 time for calcul the mask position with numpy : 0.031729698181152344 nb_pixel_total : 11743 time to create 1 rle with old method : 0.013327598571777344 time for calcul the mask position with numpy : 0.03415036201477051 nb_pixel_total : 541612 time to create 1 rle with new method : 0.6642673015594482 time for calcul the mask position with numpy : 0.03122854232788086 nb_pixel_total : 28125 time to create 1 rle with old method : 0.029328584671020508 time for calcul the mask position with numpy : 0.03076958656311035 nb_pixel_total : 24290 time to create 1 rle with old method : 0.026749372482299805 time for calcul the mask position with numpy : 0.03183937072753906 nb_pixel_total : 47254 time to create 1 rle with old method : 0.05033516883850098 time for calcul the mask position with numpy : 0.0324251651763916 nb_pixel_total : 38126 time to create 1 rle with old method : 0.0410463809967041 time for calcul the mask position with numpy : 0.03410983085632324 nb_pixel_total : 251699 time to create 1 rle with new method : 0.5024526119232178 time for calcul the mask position with numpy : 0.032263755798339844 nb_pixel_total : 20140 time to create 1 rle with old method : 0.020899295806884766 time for calcul the mask position with numpy : 0.031005144119262695 nb_pixel_total : 6593 time to create 1 rle with old method : 0.00690150260925293 time for calcul the mask position with numpy : 0.03135228157043457 nb_pixel_total : 22028 time to create 1 rle with old method : 0.025135040283203125 time for calcul the mask position with numpy : 0.03329610824584961 nb_pixel_total : 214686 time to create 1 rle with new method : 0.6450550556182861 time for calcul the mask position with numpy : 0.03320598602294922 nb_pixel_total : 332478 time to create 1 rle with new method : 0.5988554954528809 time for calcul the mask position with numpy : 0.031069040298461914 nb_pixel_total : 1805 time to create 1 rle with old method : 0.002595663070678711 time for calcul the mask position with numpy : 0.033364057540893555 nb_pixel_total : 400487 time to create 1 rle with new method : 0.6052665710449219 time for calcul the mask position with numpy : 0.03386116027832031 nb_pixel_total : 409729 time to create 1 rle with new method : 0.6532659530639648 time for calcul the mask position with numpy : 0.03226351737976074 nb_pixel_total : 28316 time to create 1 rle with old method : 0.02975773811340332 time for calcul the mask position with numpy : 0.031009912490844727 nb_pixel_total : 802 time to create 1 rle with old method : 0.0009462833404541016 time for calcul the mask position with numpy : 0.031050682067871094 nb_pixel_total : 50479 time to create 1 rle with old method : 0.05240178108215332 time for calcul the mask position with numpy : 0.03227806091308594 nb_pixel_total : 11744 time to create 1 rle with old method : 0.012978553771972656 time for calcul the mask position with numpy : 0.03337740898132324 nb_pixel_total : 336119 time to create 1 rle with new method : 0.40918564796447754 time for calcul the mask position with numpy : 0.03417325019836426 nb_pixel_total : 111328 time to create 1 rle with old method : 0.12065649032592773 time for calcul the mask position with numpy : 0.032248735427856445 nb_pixel_total : 37984 time to create 1 rle with old method : 0.03897380828857422 time for calcul the mask position with numpy : 0.031097412109375 nb_pixel_total : 22 time to create 1 rle with old method : 5.602836608886719e-05 time for calcul the mask position with numpy : 0.03113412857055664 nb_pixel_total : 6860 time to create 1 rle with old method : 0.00822305679321289 time for calcul the mask position with numpy : 0.03269648551940918 nb_pixel_total : 72935 time to create 1 rle with old method : 0.07619237899780273 time for calcul the mask position with numpy : 0.031445980072021484 nb_pixel_total : 64689 time to create 1 rle with old method : 0.06815433502197266 time for calcul the mask position with numpy : 0.03191828727722168 nb_pixel_total : 41105 time to create 1 rle with old method : 0.04290318489074707 time for calcul the mask position with numpy : 0.03363752365112305 nb_pixel_total : 579986 time to create 1 rle with new method : 0.6316573619842529 time for calcul the mask position with numpy : 0.031424522399902344 nb_pixel_total : 40652 time to create 1 rle with old method : 0.04531216621398926 time for calcul the mask position with numpy : 0.03349804878234863 nb_pixel_total : 23628 time to create 1 rle with old method : 0.024335384368896484 time for calcul the mask position with numpy : 0.030844449996948242 nb_pixel_total : 15627 time to create 1 rle with old method : 0.016118526458740234 time for calcul the mask position with numpy : 0.03211522102355957 nb_pixel_total : 147384 time to create 1 rle with old method : 0.15215706825256348 time for calcul the mask position with numpy : 0.030670642852783203 nb_pixel_total : 873 time to create 1 rle with old method : 0.0011034011840820312 time for calcul the mask position with numpy : 0.032594919204711914 nb_pixel_total : 438426 time to create 1 rle with new method : 0.5831010341644287 time for calcul the mask position with numpy : 0.03221631050109863 nb_pixel_total : 6152 time to create 1 rle with old method : 0.006461620330810547 time for calcul the mask position with numpy : 0.030759572982788086 nb_pixel_total : 63749 time to create 1 rle with old method : 0.06699037551879883 time for calcul the mask position with numpy : 0.030932903289794922 nb_pixel_total : 415 time to create 1 rle with old method : 0.0007543563842773438 time for calcul the mask position with numpy : 0.03309011459350586 nb_pixel_total : 499478 time to create 1 rle with new method : 0.6023199558258057 time for calcul the mask position with numpy : 0.033397674560546875 nb_pixel_total : 527333 time to create 1 rle with new method : 0.5219011306762695 time for calcul the mask position with numpy : 0.034865617752075195 nb_pixel_total : 488050 time to create 1 rle with new method : 0.5699920654296875 time for calcul the mask position with numpy : 0.030983448028564453 nb_pixel_total : 8302 time to create 1 rle with old method : 0.00871729850769043 time for calcul the mask position with numpy : 0.03107929229736328 nb_pixel_total : 17827 time to create 1 rle with old method : 0.019162893295288086 time for calcul the mask position with numpy : 0.030566930770874023 nb_pixel_total : 15265 time to create 1 rle with old method : 0.01588129997253418 time for calcul the mask position with numpy : 0.03050827980041504 nb_pixel_total : 4484 time to create 1 rle with old method : 0.005038261413574219 create new chi : 13.065178394317627 time to delete rle : 0.05827736854553223 batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 37038 TO DO : save crop sub photo not yet done ! save time : 2.4016964435577393 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.015453338623046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.90435814857483 time spend to save output : 0.01562786102294922 total time spend for step 8 : 37.91998600959778 step9:crop_condition Wed Nov 26 16:50:02 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 55 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 : 12 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/1764172222_364046 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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049567_0.png', 0, 958, 811, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049594_0.png', 0, 854, 880, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049578_0.png', 0, 601, 638, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049565_0.png', 0, 816, 705, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049580_0.png', 0, 797, 702, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049604_0.png', 0, 825, 702, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049566_0.png', 0, 705, 684, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049579_0.png', 0, 616, 708, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049605_0.png', 0, 824, 696, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049581_0.png', 0, 766, 757, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049576_0.png', 0, 115, 137, 0, 1764172224,'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(1764172224), 0.0, 0.0, 14, '', 0, 0, '1764172101_364046_1390404834_21d8b3022193ceb2def5c87914a3f088_18581028_rle_crop_4009049569_0.png', 0, 836, 781, 0, 1764172224,'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 : 3.080381393432617 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 : 12 /1396266366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396266377Didn'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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 time used for this insertion : 0.02411508560180664 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.966118097305298 time spend to save output : 0.024769067764282227 total time spend for step 9 : 22.99088716506958 step10:ventilate_hashtags_in_portfolio Wed Nov 26 16:50:25 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 ('metal','carton','pet_clair','etiquette','pehd','flou','papier','autre','bouchon','mal_croppe','pet_fonce','barquette_avec_film','verre','environnement')) AND mptpi.`min_score`=0.5 To do To do 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 ('metal','carton','pet_clair','etiquette','pehd','flou','papier','autre','bouchon','mal_croppe','pet_fonce','barquette_avec_film','verre','environnement')) 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 ('metal','carton','pet_clair','etiquette','pehd','flou','papier','autre','bouchon','mal_croppe','pet_fonce','barquette_avec_film','verre','environnement')) 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.017427682876586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.626307725906372 time spend to save output : 0.017731904983520508 total time spend for step 10 : 2.6440396308898926 step11:final Wed Nov 26 16:50:27 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 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.9266506805993613'), ('28926786', '3327', '492645504', '0.0'), ('28926786', '3327', '492636447', '0.0'), ('28926786', '3327', '2107756859', '0.0'), ('28926786', '3327', '493061979', '0.0733493194006387')] 0.0733493194006387 0.9266506805993613 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.014032840728759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1394062042236328 time spend to save output : 0.014275789260864258 total time spend for step 11 : 0.15368199348449707 step12:velours_tree Wed Nov 26 16:50:28 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.04107475280761719 time spend to save output : 3.552436828613281e-05 total time spend for step 12 : 0.04111027717590332 step13:send_mail_cod Wed Nov 26 16:50:28 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_16_50_28.pdf 28926915 imagette289269151764172228 28926916 imagette289269161764172228 28926918 imagette289269181764172228 28926919 imagette289269191764172228 28926920 imagette289269201764172228 28926921 imagette289269211764172228 28926922 imagette289269221764172228 28926923 imagette289269231764172228 28926924 imagette289269241764172228 28926925 imagette289269251764172228 28926926 imagette289269261764172228 28926927 imagette289269271764172228 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_16_50_28.pdf results_Auto_P28926786_26-11-2025_16_50_28.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_16_50_28.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_16_50_28.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926786_26-11-2025_16_50_28.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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.014588356018066406 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2296645641326904 time spend to save output : 0.014722824096679688 total time spend for step 13 : 1.2443873882293701 step14:split_time_score Wed Nov 26 16:50:29 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, '4121874') ('3804', '28926786', '1390404834', None, None, None, None, None, '4121874') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.017240047454833984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13764595985412598 time spend to save output : 0.017449378967285156 total time spend for step 14 : 0.15509533882141113 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 75.48user 44.91system 2:10.12elapsed 92%CPU (0avgtext+0avgdata 3066336maxresident)k 96inputs+59648outputs (2major+6040457minor)pagefaults 0swaps