python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 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/caffe_cuda8_python3/python', '/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', '/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 : 2018199 load datou : 3318 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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 ? [ (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 ? 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 ? 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 ? 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 ? 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 : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['3747116'] with mtr_portfolio_ids : ['27040464'] and first list_photo_ids : [] new path : /proc/2018199/ 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.8769114017486572 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 : 10 step1:mask_detect Fri Sep 19 12:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 2956 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-19 12:10:33.263282: 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-09-19 12:10:33.292481: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-19 12:10:33.294702: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6358000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-19 12:10:33.294757: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-19 12:10:33.298732: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-19 12:10:33.445905: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x113ef5e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-19 12:10:33.445955: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-19 12:10:33.446974: 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-09-19 12:10:33.447396: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 12:10:33.450530: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 12:10:33.453592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 12:10:33.454000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 12:10:33.456897: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 12:10:33.462256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 12:10:33.468104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 12:10:33.469364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 12:10:33.469451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 12:10:33.470151: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-19 12:10:33.470171: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-19 12:10:33.470183: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-19 12:10:33.471348: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2504 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-09-19 12:10:33.769508: 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-09-19 12:10:33.769626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 12:10:33.769649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 12:10:33.769670: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 12:10:33.769689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 12:10:33.769708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 12:10:33.769727: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 12:10:33.769746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 12:10:33.770776: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 12:10:33.772011: 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-09-19 12:10:33.772047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 12:10:33.772067: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 12:10:33.772085: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 12:10:33.772103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 12:10:33.772121: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 12:10:33.772139: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 12:10:33.772157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 12:10:33.773211: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 12:10:33.773252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-19 12:10:33.773264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-19 12:10:33.773274: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-19 12:10:33.774193: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2504 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 : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] 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 learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 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 : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-19 12:10:41.774766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 12:10:41.958388: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 12:10:43.323013: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.323073: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.329482: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.329505: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.379874: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.379945: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.421590: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.421619: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.466090: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.466121: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-19 12:10:43.468102: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.45G (1553530880 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.468639: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.30G (1398177792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.782749: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-09-19 12:10:43.830935: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.832118: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.833653: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.834752: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.844945: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.845499: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.846066: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.846614: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.847162: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.847710: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.862004: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.862560: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.922815: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.923417: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.939286: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.940065: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.940853: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.941524: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.945561: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.946137: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.946693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.947249: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.948167: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.948182: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-09-19 12:10:43.958518: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.959076: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.968022: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.968601: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.969169: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.969725: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.970289: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-19 12:10:43.970844: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.95G (2090401792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2018620 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1763 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 2956 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 8769 time to create 1 rle with old method : 0.009486198425292969 length of segment : 83 time for calcul the mask position with numpy : 0.0005180835723876953 nb_pixel_total : 27399 time to create 1 rle with old method : 0.02841353416442871 length of segment : 212 time for calcul the mask position with numpy : 0.00012826919555664062 nb_pixel_total : 5029 time to create 1 rle with old method : 0.005425453186035156 length of segment : 127 time for calcul the mask position with numpy : 0.00015282630920410156 nb_pixel_total : 8740 time to create 1 rle with old method : 0.009543418884277344 length of segment : 108 time for calcul the mask position with numpy : 0.0002853870391845703 nb_pixel_total : 14631 time to create 1 rle with old method : 0.015266895294189453 length of segment : 202 time for calcul the mask position with numpy : 0.0007443428039550781 nb_pixel_total : 44080 time to create 1 rle with old method : 0.04633140563964844 length of segment : 315 time for calcul the mask position with numpy : 0.00012803077697753906 nb_pixel_total : 5524 time to create 1 rle with old method : 0.0060465335845947266 length of segment : 140 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 6375 time to create 1 rle with old method : 0.0068128108978271484 length of segment : 110 time for calcul the mask position with numpy : 0.00022983551025390625 nb_pixel_total : 11778 time to create 1 rle with old method : 0.01233530044555664 length of segment : 178 time for calcul the mask position with numpy : 0.00012159347534179688 nb_pixel_total : 7411 time to create 1 rle with old method : 0.007810831069946289 length of segment : 101 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 9331 time to create 1 rle with old method : 0.010165691375732422 length of segment : 137 time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 7233 time to create 1 rle with old method : 0.007917404174804688 length of segment : 128 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 11807 time to create 1 rle with old method : 0.012892723083496094 length of segment : 128 time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 9947 time to create 1 rle with old method : 0.010849475860595703 length of segment : 96 time for calcul the mask position with numpy : 0.00047397613525390625 nb_pixel_total : 34138 time to create 1 rle with old method : 0.03615093231201172 length of segment : 143 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 11182 time to create 1 rle with old method : 0.011594533920288086 length of segment : 172 time for calcul the mask position with numpy : 0.00013494491577148438 nb_pixel_total : 7423 time to create 1 rle with old method : 0.007818460464477539 length of segment : 96 time for calcul the mask position with numpy : 0.0002269744873046875 nb_pixel_total : 12867 time to create 1 rle with old method : 0.013655662536621094 length of segment : 118 time for calcul the mask position with numpy : 0.00011110305786132812 nb_pixel_total : 4769 time to create 1 rle with old method : 0.0051767826080322266 length of segment : 122 time for calcul the mask position with numpy : 9.322166442871094e-05 nb_pixel_total : 4087 time to create 1 rle with old method : 0.0042803287506103516 length of segment : 126 time for calcul the mask position with numpy : 6.747245788574219e-05 nb_pixel_total : 2644 time to create 1 rle with old method : 0.0030050277709960938 length of segment : 49 time for calcul the mask position with numpy : 0.0001735687255859375 nb_pixel_total : 10025 time to create 1 rle with old method : 0.01126861572265625 length of segment : 93 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 5120 time to create 1 rle with old method : 0.005550861358642578 length of segment : 136 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 6677 time to create 1 rle with old method : 0.007128477096557617 length of segment : 174 time for calcul the mask position with numpy : 0.00023484230041503906 nb_pixel_total : 13126 time to create 1 rle with old method : 0.01384878158569336 length of segment : 160 time for calcul the mask position with numpy : 0.00025963783264160156 nb_pixel_total : 16812 time to create 1 rle with old method : 0.017622709274291992 length of segment : 158 time for calcul the mask position with numpy : 0.0005447864532470703 nb_pixel_total : 36071 time to create 1 rle with old method : 0.037847280502319336 length of segment : 286 time for calcul the mask position with numpy : 0.00020003318786621094 nb_pixel_total : 11511 time to create 1 rle with old method : 0.012148141860961914 length of segment : 149 time for calcul the mask position with numpy : 0.000110626220703125 nb_pixel_total : 5578 time to create 1 rle with old method : 0.005878448486328125 length of segment : 89 time for calcul the mask position with numpy : 0.000270843505859375 nb_pixel_total : 21476 time to create 1 rle with old method : 0.02246236801147461 length of segment : 131 time for calcul the mask position with numpy : 0.00028777122497558594 nb_pixel_total : 14013 time to create 1 rle with old method : 0.015092134475708008 length of segment : 163 time for calcul the mask position with numpy : 0.00022292137145996094 nb_pixel_total : 13293 time to create 1 rle with old method : 0.014047622680664062 length of segment : 122 time for calcul the mask position with numpy : 0.00016951560974121094 nb_pixel_total : 7491 time to create 1 rle with old method : 0.007978677749633789 length of segment : 144 time for calcul the mask position with numpy : 0.0002715587615966797 nb_pixel_total : 16205 time to create 1 rle with old method : 0.017200946807861328 length of segment : 158 time for calcul the mask position with numpy : 0.0004546642303466797 nb_pixel_total : 24855 time to create 1 rle with old method : 0.02606201171875 length of segment : 337 time for calcul the mask position with numpy : 0.0003952980041503906 nb_pixel_total : 8843 time to create 1 rle with old method : 0.00960540771484375 length of segment : 108 time for calcul the mask position with numpy : 0.023136377334594727 nb_pixel_total : 727800 time to create 1 rle with new method : 0.05545401573181152 length of segment : 924 time for calcul the mask position with numpy : 0.002271890640258789 nb_pixel_total : 86012 time to create 1 rle with old method : 0.09510517120361328 length of segment : 437 time for calcul the mask position with numpy : 0.00022125244140625 nb_pixel_total : 3657 time to create 1 rle with old method : 0.003912687301635742 length of segment : 116 time for calcul the mask position with numpy : 0.00015020370483398438 nb_pixel_total : 2636 time to create 1 rle with old method : 0.0030176639556884766 length of segment : 65 time for calcul the mask position with numpy : 0.00024175643920898438 nb_pixel_total : 8882 time to create 1 rle with old method : 0.009453535079956055 length of segment : 90 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 10723 time to create 1 rle with old method : 0.011505126953125 length of segment : 121 time for calcul the mask position with numpy : 0.0003211498260498047 nb_pixel_total : 6874 time to create 1 rle with old method : 0.007666110992431641 length of segment : 150 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 13413 time to create 1 rle with old method : 0.014461040496826172 length of segment : 150 time for calcul the mask position with numpy : 0.0004687309265136719 nb_pixel_total : 12716 time to create 1 rle with old method : 0.013434410095214844 length of segment : 185 time for calcul the mask position with numpy : 0.00020933151245117188 nb_pixel_total : 7037 time to create 1 rle with old method : 0.007763862609863281 length of segment : 68 time spent for convertir_results : 1.8975038528442383 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 46 chid ids of type : 3594 Number RLEs to save : 7605 save missing photos in datou_result : time spend for datou_step_exec : 24.051618337631226 time spend to save output : 0.5312445163726807 total time spend for step 1 : 24.582862854003906 step2:crop_condition Fri Sep 19 12:10:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 13 ! batch 1 Loaded 46 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 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 ! 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 ! 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 : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758276657_2018199 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.058401107788086 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758276666_2018199 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.502838134765625 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758276668_2018199 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5776228904724121 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 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 ! 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 : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758276670_2018199 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.284318685531616 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 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 : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758276674_2018199 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9727003574371338 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] Looping around the photos to save general results len do output : 46 /1385060239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385060367Didn'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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 151 time used for this insertion : 0.022003889083862305 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.01850461959839 time spend to save output : 0.023928165435791016 total time spend for step 2 : 20.04243278503418 step3:rle_unique_nms_with_priority Fri Sep 19 12:11: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 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 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 46 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.4234187602996826 time for calcul the mask position with numpy : 0.06623291969299316 nb_pixel_total : 2037432 time to create 1 rle with new method : 0.24691057205200195 time for calcul the mask position with numpy : 0.006393909454345703 nb_pixel_total : 27399 time to create 1 rle with old method : 0.03050708770751953 time for calcul the mask position with numpy : 0.006387472152709961 nb_pixel_total : 8769 time to create 1 rle with old method : 0.011127471923828125 create new chi : 0.3776874542236328 time to delete rle : 0.020046472549438477 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1670 TO DO : save crop sub photo not yet done ! save time : 0.1439812183380127 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.527360200881958 time for calcul the mask position with numpy : 0.26822423934936523 nb_pixel_total : 2001120 time to create 1 rle with new method : 0.28375840187072754 time for calcul the mask position with numpy : 0.010239362716674805 nb_pixel_total : 44080 time to create 1 rle with old method : 0.04932713508605957 time for calcul the mask position with numpy : 0.010237455368041992 nb_pixel_total : 14631 time to create 1 rle with old method : 0.016027212142944336 time for calcul the mask position with numpy : 0.00626683235168457 nb_pixel_total : 8740 time to create 1 rle with old method : 0.00954890251159668 time for calcul the mask position with numpy : 0.006350994110107422 nb_pixel_total : 5029 time to create 1 rle with old method : 0.005671262741088867 create new chi : 0.6761412620544434 time to delete rle : 0.00040459632873535156 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2584 TO DO : save crop sub photo not yet done ! save time : 0.20898962020874023 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.10348391532897949 time for calcul the mask position with numpy : 0.12082505226135254 nb_pixel_total : 2042512 time to create 1 rle with new method : 0.2206556797027588 time for calcul the mask position with numpy : 0.006433248519897461 nb_pixel_total : 7411 time to create 1 rle with old method : 0.008249044418334961 time for calcul the mask position with numpy : 0.006308317184448242 nb_pixel_total : 11778 time to create 1 rle with old method : 0.013072490692138672 time for calcul the mask position with numpy : 0.006201744079589844 nb_pixel_total : 6375 time to create 1 rle with old method : 0.007153749465942383 time for calcul the mask position with numpy : 0.006205081939697266 nb_pixel_total : 5524 time to create 1 rle with old method : 0.006169795989990234 create new chi : 0.4115877151489258 time to delete rle : 0.0003147125244140625 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2138 TO DO : save crop sub photo not yet done ! save time : 0.16677021980285645 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.166825532913208 time for calcul the mask position with numpy : 0.13201642036437988 nb_pixel_total : 1989962 time to create 1 rle with new method : 0.1782970428466797 time for calcul the mask position with numpy : 0.0063173770904541016 nb_pixel_total : 11182 time to create 1 rle with old method : 0.012529373168945312 time for calcul the mask position with numpy : 0.006671428680419922 nb_pixel_total : 34138 time to create 1 rle with old method : 0.038272857666015625 time for calcul the mask position with numpy : 0.0062906742095947266 nb_pixel_total : 9947 time to create 1 rle with old method : 0.011200666427612305 time for calcul the mask position with numpy : 0.0062427520751953125 nb_pixel_total : 11807 time to create 1 rle with old method : 0.013263702392578125 time for calcul the mask position with numpy : 0.006281852722167969 nb_pixel_total : 7233 time to create 1 rle with old method : 0.008267879486083984 time for calcul the mask position with numpy : 0.006337165832519531 nb_pixel_total : 9331 time to create 1 rle with old method : 0.010457515716552734 create new chi : 0.4526407718658447 time to delete rle : 0.0004184246063232422 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2688 TO DO : save crop sub photo not yet done ! save time : 0.21931195259094238 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06127214431762695 time for calcul the mask position with numpy : 0.0218658447265625 nb_pixel_total : 2044454 time to create 1 rle with new method : 0.18372797966003418 time for calcul the mask position with numpy : 0.006988525390625 nb_pixel_total : 4087 time to create 1 rle with old method : 0.00455784797668457 time for calcul the mask position with numpy : 0.006398916244506836 nb_pixel_total : 4769 time to create 1 rle with old method : 0.005536556243896484 time for calcul the mask position with numpy : 0.0061953067779541016 nb_pixel_total : 12867 time to create 1 rle with old method : 0.014387130737304688 time for calcul the mask position with numpy : 0.006422758102416992 nb_pixel_total : 7423 time to create 1 rle with old method : 0.008331298828125 create new chi : 0.2711958885192871 time to delete rle : 0.0003917217254638672 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2004 TO DO : save crop sub photo not yet done ! save time : 0.17595624923706055 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.050981760025024414 time for calcul the mask position with numpy : 0.023411035537719727 nb_pixel_total : 2060931 time to create 1 rle with new method : 0.05571269989013672 time for calcul the mask position with numpy : 0.006222724914550781 nb_pixel_total : 10025 time to create 1 rle with old method : 0.011327505111694336 time for calcul the mask position with numpy : 0.0061953067779541016 nb_pixel_total : 2644 time to create 1 rle with old method : 0.0030198097229003906 create new chi : 0.10621309280395508 time to delete rle : 0.00023221969604492188 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1364 TO DO : save crop sub photo not yet done ! save time : 0.12764596939086914 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.11362600326538086 time for calcul the mask position with numpy : 0.17154192924499512 nb_pixel_total : 2031865 time to create 1 rle with new method : 0.32544517517089844 time for calcul the mask position with numpy : 0.0066335201263427734 nb_pixel_total : 16812 time to create 1 rle with old method : 0.018993854522705078 time for calcul the mask position with numpy : 0.006051778793334961 nb_pixel_total : 13126 time to create 1 rle with old method : 0.015009880065917969 time for calcul the mask position with numpy : 0.00722503662109375 nb_pixel_total : 6677 time to create 1 rle with old method : 0.007349252700805664 time for calcul the mask position with numpy : 0.007169008255004883 nb_pixel_total : 5120 time to create 1 rle with old method : 0.005650997161865234 create new chi : 0.581409215927124 time to delete rle : 0.00044608116149902344 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2336 TO DO : save crop sub photo not yet done ! save time : 0.16403841972351074 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04354715347290039 time for calcul the mask position with numpy : 0.020444393157958984 nb_pixel_total : 2026018 time to create 1 rle with new method : 0.09243512153625488 time for calcul the mask position with numpy : 0.006634950637817383 nb_pixel_total : 11511 time to create 1 rle with old method : 0.012847900390625 time for calcul the mask position with numpy : 0.006209611892700195 nb_pixel_total : 36071 time to create 1 rle with old method : 0.03895902633666992 create new chi : 0.1845259666442871 time to delete rle : 0.0002923011779785156 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1950 TO DO : save crop sub photo not yet done ! save time : 0.14911842346191406 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3860354423522949 time for calcul the mask position with numpy : 0.1887192726135254 nb_pixel_total : 2046546 time to create 1 rle with new method : 0.10483431816101074 time for calcul the mask position with numpy : 0.0062329769134521484 nb_pixel_total : 21476 time to create 1 rle with old method : 0.023270130157470703 time for calcul the mask position with numpy : 0.010174274444580078 nb_pixel_total : 5578 time to create 1 rle with old method : 0.006093740463256836 create new chi : 0.34900760650634766 time to delete rle : 0.00037741661071777344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1520 TO DO : save crop sub photo not yet done ! save time : 0.1486186981201172 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.3213779926300049 time for calcul the mask position with numpy : 0.04262256622314453 nb_pixel_total : 1261100 time to create 1 rle with new method : 0.32544803619384766 time for calcul the mask position with numpy : 0.011626958847045898 nb_pixel_total : 727800 time to create 1 rle with new method : 0.1442279815673828 time for calcul the mask position with numpy : 0.006260395050048828 nb_pixel_total : 8843 time to create 1 rle with old method : 0.00990152359008789 time for calcul the mask position with numpy : 0.006367206573486328 nb_pixel_total : 24855 time to create 1 rle with old method : 0.027747392654418945 time for calcul the mask position with numpy : 0.0064203739166259766 nb_pixel_total : 16205 time to create 1 rle with old method : 0.018239736557006836 time for calcul the mask position with numpy : 0.0064356327056884766 nb_pixel_total : 7491 time to create 1 rle with old method : 0.008431196212768555 time for calcul the mask position with numpy : 0.007310152053833008 nb_pixel_total : 13293 time to create 1 rle with old method : 0.014980792999267578 time for calcul the mask position with numpy : 0.006579875946044922 nb_pixel_total : 14013 time to create 1 rle with old method : 0.01584649085998535 create new chi : 0.6735918521881104 time to delete rle : 0.0006282329559326172 batch 1 Loaded 15 chid ids of type : 3594 ++++++++Number RLEs to save : 4992 TO DO : save crop sub photo not yet done ! save time : 0.3286449909210205 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04622697830200195 time for calcul the mask position with numpy : 0.021765947341918945 nb_pixel_total : 1983931 time to create 1 rle with new method : 0.02945876121520996 time for calcul the mask position with numpy : 0.006311178207397461 nb_pixel_total : 3657 time to create 1 rle with old method : 0.004035472869873047 time for calcul the mask position with numpy : 0.006829500198364258 nb_pixel_total : 86012 time to create 1 rle with old method : 0.09314608573913574 create new chi : 0.1619107723236084 time to delete rle : 0.0003077983856201172 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2186 TO DO : save crop sub photo not yet done ! save time : 0.1648712158203125 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06189751625061035 time for calcul the mask position with numpy : 0.020477294921875 nb_pixel_total : 2044485 time to create 1 rle with new method : 0.13040876388549805 time for calcul the mask position with numpy : 0.006219625473022461 nb_pixel_total : 6874 time to create 1 rle with old method : 0.007903814315795898 time for calcul the mask position with numpy : 0.006962299346923828 nb_pixel_total : 10723 time to create 1 rle with old method : 0.01757192611694336 time for calcul the mask position with numpy : 0.007590770721435547 nb_pixel_total : 8882 time to create 1 rle with old method : 0.013713836669921875 time for calcul the mask position with numpy : 0.007347583770751953 nb_pixel_total : 2636 time to create 1 rle with old method : 0.004118204116821289 create new chi : 0.2306532859802246 time to delete rle : 0.0004982948303222656 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 1932 TO DO : save crop sub photo not yet done ! save time : 0.147125244140625 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.05126500129699707 time for calcul the mask position with numpy : 0.04058122634887695 nb_pixel_total : 2040434 time to create 1 rle with new method : 0.08388853073120117 time for calcul the mask position with numpy : 0.006810903549194336 nb_pixel_total : 7037 time to create 1 rle with old method : 0.008175849914550781 time for calcul the mask position with numpy : 0.00641942024230957 nb_pixel_total : 12716 time to create 1 rle with old method : 0.014217853546142578 time for calcul the mask position with numpy : 0.006357669830322266 nb_pixel_total : 13413 time to create 1 rle with old method : 0.01524496078491211 create new chi : 0.1925215721130371 time to delete rle : 0.00035452842712402344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1886 TO DO : save crop sub photo not yet done ! save time : 0.14828133583068848 map_output_result : {1385045104: (0.0, 'Should be the crop_list due to order', 0), 1385045073: (0.0, 'Should be the crop_list due to order', 0), 1385044692: (0.0, 'Should be the crop_list due to order', 0), 1385044691: (0.0, 'Should be the crop_list due to order', 0), 1385044684: (0.0, 'Should be the crop_list due to order', 0), 1385044674: (0.0, 'Should be the crop_list due to order', 0), 1385044635: (0.0, 'Should be the crop_list due to order', 0), 1385044615: (0.0, 'Should be the crop_list due to order', 0), 1385044455: (0.0, 'Should be the crop_list due to order', 0), 1385044408: (0.0, 'Should be the crop_list due to order', 0), 1385044361: (0.0, 'Should be the crop_list due to order', 0), 1385044312: (0.0, 'Should be the crop_list due to order', 0), 1385044242: (0.0, 'Should be the crop_list due to order', 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 [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] Looping around the photos to save general results len do output : 13 /1385045104.Didn't retrieve data . /1385045073.Didn't retrieve data . /1385044692.Didn't retrieve data . /1385044691.Didn't retrieve data . /1385044684.Didn't retrieve data . /1385044674.Didn't retrieve data . /1385044635.Didn't retrieve data . /1385044615.Didn't retrieve data . /1385044455.Didn't retrieve data . /1385044408.Didn't retrieve data . /1385044361.Didn't retrieve data . /1385044312.Didn't retrieve data . /1385044242.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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.015905141830444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.776196956634521 time spend to save output : 0.016404390335083008 total time spend for step 3 : 9.792601346969604 step4:ventilate_hashtags_in_portfolio Fri Sep 19 12:11: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 ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27040464 get user id for portfolio 27040464 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`=27040464 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','mal_croppe','pehd','papier','environnement','pet_fonce','carton','background','metal','autre')) 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`=27040464 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','mal_croppe','pehd','papier','environnement','pet_fonce','carton','background','metal','autre')) 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") 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`=27040464 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','mal_croppe','pehd','papier','environnement','pet_fonce','carton','background','metal','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27040553,27040554,27040555,27040556,27040557,27040558,27040559,27040560,27040561,27040562,27040563?tags=pet_clair,flou,mal_croppe,pehd,papier,environnement,pet_fonce,carton,background,metal,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] Looping around the photos to save general results len do output : 1 /27040464. 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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.016514062881469727 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6914126873016357 time spend to save output : 0.016756772994995117 total time spend for step 4 : 1.7081694602966309 step5:final Fri Sep 19 12:11:26 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 ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1385045104: ('0.049932113603988616',), 1385045073: ('0.049932113603988616',), 1385044692: ('0.049932113603988616',), 1385044691: ('0.049932113603988616',), 1385044684: ('0.049932113603988616',), 1385044674: ('0.049932113603988616',), 1385044635: ('0.049932113603988616',), 1385044615: ('0.049932113603988616',), 1385044455: ('0.049932113603988616',), 1385044408: ('0.049932113603988616',), 1385044361: ('0.049932113603988616',), 1385044312: ('0.049932113603988616',), 1385044242: ('0.049932113603988616',)} new output for save of step final : {1385045104: ('0.049932113603988616',), 1385045073: ('0.049932113603988616',), 1385044692: ('0.049932113603988616',), 1385044691: ('0.049932113603988616',), 1385044684: ('0.049932113603988616',), 1385044674: ('0.049932113603988616',), 1385044635: ('0.049932113603988616',), 1385044615: ('0.049932113603988616',), 1385044455: ('0.049932113603988616',), 1385044408: ('0.049932113603988616',), 1385044361: ('0.049932113603988616',), 1385044312: ('0.049932113603988616',), 1385044242: ('0.049932113603988616',)} [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] Looping around the photos to save general results len do output : 13 /1385045104.Didn't retrieve data . /1385045073.Didn't retrieve data . /1385044692.Didn't retrieve data . /1385044691.Didn't retrieve data . /1385044684.Didn't retrieve data . /1385044674.Didn't retrieve data . /1385044635.Didn't retrieve data . /1385044615.Didn't retrieve data . /1385044455.Didn't retrieve data . /1385044408.Didn't retrieve data . /1385044361.Didn't retrieve data . /1385044312.Didn't retrieve data . /1385044242.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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.01322174072265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11691117286682129 time spend to save output : 0.013882637023925781 total time spend for step 5 : 0.13079380989074707 step6:blur_detection Fri Sep 19 12:11:26 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 methode: ratio et variance treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4.jpg resize: (1080, 1920) 1385045104 0.44599014573976165 treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9.jpg resize: (1080, 1920) 1385045073 4.467966599266537 treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088.jpg resize: (1080, 1920) 1385044692 2.627261726543214 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e.jpg resize: (1080, 1920) 1385044691 -0.7191470909364401 treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9.jpg resize: (1080, 1920) 1385044684 2.467710997557417 treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42.jpg resize: (1080, 1920) 1385044674 -0.2004049718568201 treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422.jpg resize: (1080, 1920) 1385044635 0.7367310969784719 treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07.jpg resize: (1080, 1920) 1385044615 0.1754798032266566 treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2.jpg resize: (1080, 1920) 1385044455 -0.25889343946265975 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f.jpg resize: (1080, 1920) 1385044408 2.8075150907554285 treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d.jpg resize: (1080, 1920) 1385044361 3.227693120685777 treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0.jpg resize: (1080, 1920) 1385044312 0.11034427308777474 treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839.jpg resize: (1080, 1920) 1385044242 0.18505587846073585 treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658898_0.png resize: (201, 133) 1385060239 -0.3045789027425022 treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658896_0.png resize: (125, 75) 1385060240 -1.2402431871319777 treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658897_0.png resize: (106, 119) 1385060241 -0.5052615557422345 treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658902_0.png resize: (178, 114) 1385060242 -0.39247605571223965 treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658900_0.png resize: (138, 75) 1385060244 -1.224094726605454 treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658901_0.png resize: (110, 101) 1385060245 -1.4414863018125956 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658909_0.png resize: (171, 114) 1385060246 -0.6152511188626133 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658904_0.png resize: (125, 167) 1385060248 -1.3366105919537283 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658905_0.png resize: (123, 109) 1385060249 -0.7858014207241273 treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658910_0.png resize: (96, 114) 1385060250 -1.624859338636934 treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658913_0.png resize: (126, 42) 1385060252 2.0937401412391217 treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658911_0.png resize: (114, 188) 1385060253 -1.4157473801001492 treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42_rle_crop_3967658914_0.png resize: (49, 67) 1385060254 2.7867212776067802 treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42_rle_crop_3967658915_0.png resize: (82, 215) 1385060256 -1.9479846540647001 treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658917_0.png resize: (151, 75) 1385060257 -1.347515906851239 treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658916_0.png resize: (136, 60) 1385060258 -0.9137992184341844 treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07_rle_crop_3967658920_0.png resize: (227, 251) 1385060260 0.28262213738766345 treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2_rle_crop_3967658923_0.png resize: (131, 195) 1385060261 0.5055543091939729 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658924_0.png resize: (158, 181) 1385060262 2.047258612774288 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658925_0.png resize: (116, 178) 1385060264 -0.01698618073482761 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658929_0.png resize: (102, 143) 1385060265 -1.5558683935203657 treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658933_0.png resize: (65, 73) 1385060266 -1.5813742114583598 treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658936_0.png resize: (138, 100) 1385060267 0.7783808835176287 treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658935_0.png resize: (121, 137) 1385060269 -1.4074386317096161 treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658938_0.png resize: (185, 121) 1385060270 -0.327527736607244 treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658912_0.png resize: (113, 63) 1385060302 -0.8401767277499544 treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07_rle_crop_3967658921_0.png resize: (149, 98) 1385060304 -0.09765994146088307 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658930_0.png resize: (922, 1067) 1385060305 1.2842441961769997 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658926_0.png resize: (144, 80) 1385060306 -1.5165914502064999 treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d_rle_crop_3967658932_0.png resize: (116, 44) 1385060308 0.5365881634631126 treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658937_0.png resize: (150, 110) 1385060309 -0.08655986329113514 treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4_rle_crop_3967658894_0.png resize: (79, 129) 1385060315 -2.83726146531408 treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4_rle_crop_3967658895_0.png resize: (209, 166) 1385060342 -1.8177267161219994 treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658899_0.png resize: (305, 191) 1385060343 -0.21613351149335333 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658908_0.png resize: (138, 316) 1385060345 -1.1366737373544096 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658907_0.png resize: (95, 128) 1385060346 -2.2611132599680452 treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658906_0.png resize: (121, 133) 1385060347 -2.229491641160627 treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658919_0.png resize: (154, 159) 1385060349 -2.1556280867821758 treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2_rle_crop_3967658922_0.png resize: (89, 87) 1385060350 -2.9563276314214946 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658927_0.png resize: (126, 202) 1385060351 -0.304961517918693 treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658928_0.png resize: (204, 188) 1385060353 -1.279402991461251 treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d_rle_crop_3967658931_0.png resize: (427, 342) 1385060354 -0.25230564013422646 treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658934_0.png resize: (89, 127) 1385060355 -1.9661675144174522 treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658939_0.png resize: (67, 125) 1385060356 -0.13447218639920164 treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658903_0.png resize: (101, 89) 1385060365 1.471639887530311 treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658918_0.png resize: (160, 116) 1385060367 -0.8647103846290436 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 : 59 time used for this insertion : 0.013900995254516602 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.014808416366577148 save missing photos in datou_result : time spend for datou_step_exec : 11.258941650390625 time spend to save output : 0.033997297286987305 total time spend for step 6 : 11.292938947677612 step7:brightness Fri Sep 19 12:11:38 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 treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4.jpg treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9.jpg treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088.jpg treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e.jpg treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9.jpg treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42.jpg treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422.jpg treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07.jpg treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2.jpg treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f.jpg treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d.jpg treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0.jpg treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839.jpg treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658898_0.png treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658896_0.png treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658897_0.png treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658902_0.png treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658900_0.png treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658901_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658909_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658904_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658905_0.png treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658910_0.png treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658913_0.png treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658911_0.png treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42_rle_crop_3967658914_0.png treat image : temp/1758276628_2018199_1385044674_7003dd748b9262a21f5f97ba6e47ff42_rle_crop_3967658915_0.png treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658917_0.png treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658916_0.png treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07_rle_crop_3967658920_0.png treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2_rle_crop_3967658923_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658924_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658925_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658929_0.png treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658933_0.png treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658936_0.png treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658935_0.png treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658938_0.png treat image : temp/1758276628_2018199_1385044684_272258d05ffa4640e8709b726a35d1b9_rle_crop_3967658912_0.png treat image : temp/1758276628_2018199_1385044615_bf96f10e8f61b98bef540665e3a1eb07_rle_crop_3967658921_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658930_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658926_0.png treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d_rle_crop_3967658932_0.png treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658937_0.png treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4_rle_crop_3967658894_0.png treat image : temp/1758276628_2018199_1385045104_6f1f81901b2df90f63cf6da8873225e4_rle_crop_3967658895_0.png treat image : temp/1758276628_2018199_1385045073_8544f8e9e4ad728f1524463c442c04b9_rle_crop_3967658899_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658908_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658907_0.png treat image : temp/1758276628_2018199_1385044691_f880e90db62c3908a62c7fe1b39e0b1e_rle_crop_3967658906_0.png treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658919_0.png treat image : temp/1758276628_2018199_1385044455_aedd06f224ce2a440a1d52973c7046f2_rle_crop_3967658922_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658927_0.png treat image : temp/1758276628_2018199_1385044408_78a3a601a85d17e331f2ca3db375c50f_rle_crop_3967658928_0.png treat image : temp/1758276628_2018199_1385044361_80512eb36f168c0a415fa97cf413047d_rle_crop_3967658931_0.png treat image : temp/1758276628_2018199_1385044312_b10b87a19f170b69421fab16e10c1de0_rle_crop_3967658934_0.png treat image : temp/1758276628_2018199_1385044242_abc91f40ead9fe174424a8e611c7e839_rle_crop_3967658939_0.png treat image : temp/1758276628_2018199_1385044692_7273ec037d2013d02a9a8128ee8fa088_rle_crop_3967658903_0.png treat image : temp/1758276628_2018199_1385044635_ce730e978bb76f5782bd10a0125be422_rle_crop_3967658918_0.png 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 : 59 time used for this insertion : 0.01793360710144043 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.016874313354492188 save missing photos in datou_result : time spend for datou_step_exec : 3.0974323749542236 time spend to save output : 0.039571285247802734 total time spend for step 7 : 3.1370036602020264 step8:velours_tree Fri Sep 19 12:11:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.20059466361999512 time spend to save output : 3.62396240234375e-05 total time spend for step 8 : 0.20063090324401855 step9:send_mail_cod Fri Sep 19 12:11:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 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 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/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P27040464_19-09-2025_12_11_41.pdf 27040553 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270405531758276701 27040554 imagette270405541758276702 27040555 imagette270405551758276702 27040556 imagette270405561758276702 27040557 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270405571758276702 27040559 imagette270405591758276703 27040560 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270405601758276703 27040561 imagette270405611758276704 27040562 change filename to text .imagette270405621758276704 27040563 change filename to text .change filename to text .imagette270405631758276704 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27040464 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27040553,27040554,27040555,27040556,27040557,27040558,27040559,27040560,27040561,27040562,27040563?tags=pet_clair,flou,mal_croppe,pehd,papier,environnement,pet_fonce,carton,background,metal,autre args[1385045104] : ((1385045104, 0.44599014573976165, 492688767), (1385045104, 0.6612734727096771, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385045073] : ((1385045073, 4.467966599266537, 492688767), (1385045073, 0.4865014214330551, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044692] : ((1385044692, 2.627261726543214, 492688767), (1385044692, 0.36313822560400827, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044691] : ((1385044691, -0.7191470909364401, 492688767), (1385044691, 0.7999568129345634, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044684] : ((1385044684, 2.467710997557417, 492688767), (1385044684, 0.37525177165290163, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044674] : ((1385044674, -0.2004049718568201, 492688767), (1385044674, 0.4091045839216964, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044635] : ((1385044635, 0.7367310969784719, 492688767), (1385044635, 0.5465998998298779, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044615] : ((1385044615, 0.1754798032266566, 492688767), (1385044615, 0.5276889091232905, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044455] : ((1385044455, -0.25889343946265975, 492688767), (1385044455, 0.6552109211132656, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044408] : ((1385044408, 2.8075150907554285, 492688767), (1385044408, 0.3687468615747255, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044361] : ((1385044361, 3.227693120685777, 492688767), (1385044361, 0.673816321422395, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044312] : ((1385044312, 0.11034427308777474, 492688767), (1385044312, 0.6011917318834795, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com args[1385044242] : ((1385044242, 0.18505587846073585, 492688767), (1385044242, 0.6395275175785217, 2107752395), '0.049932113603988616') We are sending mail with results at report@fotonower.com refus_total : 0.049932113603988616 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27040464 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_P27040464_19-09-2025_12_11_41.pdf results_Auto_P27040464_19-09-2025_12_11_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27040464_19-09-2025_12_11_41.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','27040464','results_Auto_P27040464_19-09-2025_12_11_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27040464_19-09-2025_12_11_41.pdf','pdf','','0.26','0.049932113603988616') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27040464

https://www.fotonower.com/image?json=false&list_photos_id=1385045104
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385045073
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.467966599266537)
https://www.fotonower.com/image?json=false&list_photos_id=1385044692
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.627261726543214)
https://www.fotonower.com/image?json=false&list_photos_id=1385044691
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044684
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.467710997557417)
https://www.fotonower.com/image?json=false&list_photos_id=1385044674
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044635
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044615
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044455
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044408
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.8075150907554285)
https://www.fotonower.com/image?json=false&list_photos_id=1385044361
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.227693120685777)
https://www.fotonower.com/image?json=false&list_photos_id=1385044312
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385044242
Bravo, la photo est bien prise.

Dans ces conditions,le taux de refus est: 4.99%
Veuillez trouver les photos des contaminants.

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27040553?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27040557?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27040560?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27040562?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27040563?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27040464_19-09-2025_12_11_41.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27040553,27040554,27040555,27040556,27040557,27040558,27040559,27040560,27040561,27040562,27040563?tags=pet_clair,flou,mal_croppe,pehd,papier,environnement,pet_fonce,carton,background,metal,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 19 Sep 2025 10:11:45 GMT Content-Length: 0 Connection: close X-Message-Id: 5T8au8XGR-Sq5rgwp9xbyg Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] 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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.015598535537719727 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.605589151382446 time spend to save output : 0.015818119049072266 total time spend for step 9 : 4.6214072704315186 step10:split_time_score Fri Sep 19 12:11:46 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 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19092025 27040464 Nombre de photos uploadées : 13 / 23040 (0%) 19092025 27040464 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 19092025 27040464 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006475448608398438 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22416067123413086 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.0757153420781893 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27032986_19-09-2025_09_26_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27032986 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27032986 AND mptpi.`type`=3594 To do Qualite : 0.06073209728157643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27033020_19-09-2025_09_31_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27033020 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27033020 AND mptpi.`type`=3594 To do Qualite : 0.10538957281144778 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27033023_19-09-2025_09_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27033023 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27033023 AND mptpi.`type`=3594 To do Qualite : 0.12652753665123456 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27033025_19-09-2025_09_11_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27033025 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27033025 AND mptpi.`type`=3594 To do Qualite : 0.03437041859567901 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27035434_19-09-2025_11_41_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27035434 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27035434 AND mptpi.`type`=3594 To do Qualite : 0.04673382750090779 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038968_19-09-2025_11_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27038968 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27038968 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27038976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27038977 order by id desc limit 1 Qualite : 0.049932113603988616 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27040464_19-09-2025_12_11_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27040464 order by id desc limit 1 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? 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`=27040464 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19092025': {'nb_upload': 13, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385045104, 1385045073, 1385044692, 1385044691, 1385044684, 1385044674, 1385044635, 1385044615, 1385044455, 1385044408, 1385044361, 1385044312, 1385044242] Looping around the photos to save general results len do output : 1 /27040464Didn't retrieve data . 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 ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045104', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385045073', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044692', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044691', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044684', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044674', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044635', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044615', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044455', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044408', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044361', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044312', None, None, None, None, None, '3747116') ('3318', None, None, None, None, None, None, None, '3747116') ('3318', '27040464', '1385044242', None, None, None, None, None, '3747116') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.019798994064331055 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.78816819190979 time spend to save output : 0.020029306411743164 total time spend for step 10 : 2.808197498321533 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 41.17user 21.75system 1:23.37elapsed 75%CPU (0avgtext+0avgdata 2830972maxresident)k 697984inputs+17272outputs (1268major+1705547minor)pagefaults 0swaps