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 : 2131761 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 : ['4207764'] with mtr_portfolio_ids : ['29330476'] and first list_photo_ids : [] new path : /proc/2131761/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 1.0775425434112549 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 Thu Dec 11 10:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-12-11 10:10:32.064989: 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-12-11 10:10:32.090420: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-12-11 10:10:32.092514: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5420000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-12-11 10:10:32.092580: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-12-11 10:10:32.096726: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-12-11 10:10:32.404878: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1761cd80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-12-11 10:10:32.404934: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-12-11 10:10:32.406360: 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-12-11 10:10:32.406782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-11 10:10:32.410018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-11 10:10:32.416054: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-11 10:10:32.416440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-11 10:10:32.420160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-11 10:10:32.421782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-11 10:10:32.428301: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-11 10:10:32.429731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-11 10:10:32.429810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-11 10:10:32.430567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-11 10:10:32.430583: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-11 10:10:32.430591: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-11 10:10:32.431878: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-12-11 10:10:32.689253: 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-12-11 10:10:32.689336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-11 10:10:32.689357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-11 10:10:32.689376: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-11 10:10:32.689394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-11 10:10:32.689412: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-11 10:10:32.689430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-11 10:10:32.689448: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-11 10:10:32.691041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-11 10:10:32.692297: 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-12-11 10:10:32.692330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-11 10:10:32.692348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-11 10:10:32.692365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-11 10:10:32.692382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-11 10:10:32.692399: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-11 10:10:32.692416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-11 10:10:32.692432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-11 10:10:32.694004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-11 10:10:32.694034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-11 10:10:32.694044: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-11 10:10:32.694054: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-11 10:10:32.695704: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : 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-12-11 10:10:42.217409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-11 10:10:42.403215: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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 : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 12 Detection mask done ! Trying to reset tf kernel 2132265 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 417 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 5706 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'] DEBUG bbox = [276, 2898, 498, 2994] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003559589385986328 nb_pixel_total : 8148 time to create 1 rle with old method : 0.015657663345336914 length of segment : 169 DEBUG bbox = [972, 2286, 1278, 2634] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0016314983367919922 nb_pixel_total : 59920 time to create 1 rle with old method : 0.06435441970825195 length of segment : 288 DEBUG bbox = [1536, 2736, 1926, 2982] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0009562969207763672 nb_pixel_total : 50207 time to create 1 rle with old method : 0.054007768630981445 length of segment : 369 DEBUG bbox = [1356, 2784, 1578, 2964] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00046133995056152344 nb_pixel_total : 22289 time to create 1 rle with old method : 0.023628950119018555 length of segment : 208 DEBUG bbox = [282, 1518, 816, 2118] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0047266483306884766 nb_pixel_total : 201659 time to create 1 rle with new method : 0.013689994812011719 length of segment : 549 DEBUG bbox = [1800, 1230, 2160, 1662] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0014739036560058594 nb_pixel_total : 75273 time to create 1 rle with old method : 0.0824272632598877 length of segment : 344 DEBUG bbox = [12, 672, 210, 894] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004696846008300781 nb_pixel_total : 18686 time to create 1 rle with old method : 0.02193284034729004 length of segment : 161 DEBUG bbox = [0, 456, 540, 1290] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0038695335388183594 nb_pixel_total : 181042 time to create 1 rle with new method : 0.01953887939453125 length of segment : 651 DEBUG bbox = [1116, 2898, 1344, 3042] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004715919494628906 nb_pixel_total : 20777 time to create 1 rle with old method : 0.023738622665405273 length of segment : 226 DEBUG bbox = [318, 2622, 756, 2796] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010356903076171875 nb_pixel_total : 52759 time to create 1 rle with old method : 0.06120610237121582 length of segment : 382 DEBUG bbox = [1008, 1626, 1314, 2166] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0019936561584472656 nb_pixel_total : 88141 time to create 1 rle with old method : 0.12102150917053223 length of segment : 273 DEBUG bbox = [678, 2130, 1182, 2574] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.002716541290283203 nb_pixel_total : 110833 time to create 1 rle with old method : 0.12613487243652344 length of segment : 465 DEBUG bbox = [1590, 2340, 1818, 2616] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007617473602294922 nb_pixel_total : 30074 time to create 1 rle with old method : 0.033797264099121094 length of segment : 207 DEBUG bbox = [762, 1392, 966, 1584] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00060272216796875 nb_pixel_total : 28119 time to create 1 rle with old method : 0.03272056579589844 length of segment : 182 DEBUG bbox = [1086, 2208, 1236, 2370] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00030732154846191406 nb_pixel_total : 12035 time to create 1 rle with old method : 0.013605117797851562 length of segment : 122 DEBUG bbox = [1452, 594, 1818, 1086] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0018267631530761719 nb_pixel_total : 104987 time to create 1 rle with old method : 0.11352324485778809 length of segment : 357 DEBUG bbox = [1428, 1068, 1692, 1560] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0013055801391601562 nb_pixel_total : 84025 time to create 1 rle with old method : 0.09609818458557129 length of segment : 254 DEBUG bbox = [774, 1920, 1170, 2298] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012323856353759766 nb_pixel_total : 67086 time to create 1 rle with old method : 0.07744503021240234 length of segment : 335 DEBUG bbox = [684, 1842, 1314, 2538] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005046367645263672 nb_pixel_total : 297837 time to create 1 rle with new method : 0.01780843734741211 length of segment : 591 DEBUG bbox = [1776, 1374, 2124, 1914] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0018050670623779297 nb_pixel_total : 112545 time to create 1 rle with old method : 0.17552804946899414 length of segment : 288 DEBUG bbox = [1416, 2268, 1986, 3018] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0037429332733154297 nb_pixel_total : 250814 time to create 1 rle with new method : 0.016483783721923828 length of segment : 530 DEBUG bbox = [162, 2790, 414, 2904] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005671977996826172 nb_pixel_total : 19281 time to create 1 rle with old method : 0.022633790969848633 length of segment : 235 DEBUG bbox = [756, 2454, 1038, 2826] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0013298988342285156 nb_pixel_total : 61415 time to create 1 rle with old method : 0.07396245002746582 length of segment : 272 DEBUG bbox = [444, 2352, 840, 2766] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0019273757934570312 nb_pixel_total : 75024 time to create 1 rle with old method : 0.08616375923156738 length of segment : 353 DEBUG bbox = [366, 2898, 630, 3042] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007586479187011719 nb_pixel_total : 24717 time to create 1 rle with old method : 0.028749465942382812 length of segment : 222 DEBUG bbox = [438, 2328, 858, 2760] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0014653205871582031 nb_pixel_total : 75491 time to create 1 rle with old method : 0.08764147758483887 length of segment : 371 DEBUG bbox = [1326, 1278, 1662, 1668] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012934207916259766 nb_pixel_total : 93745 time to create 1 rle with old method : 0.11185836791992188 length of segment : 384 DEBUG bbox = [780, 1242, 1662, 2316] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.017477035522460938 nb_pixel_total : 285506 time to create 1 rle with new method : 0.054754018783569336 length of segment : 1046 DEBUG bbox = [1800, 2058, 2118, 2406] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010228157043457031 nb_pixel_total : 56793 time to create 1 rle with old method : 0.06541800498962402 length of segment : 243 DEBUG bbox = [186, 2502, 480, 2694] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007712841033935547 nb_pixel_total : 28056 time to create 1 rle with old method : 0.03215980529785156 length of segment : 275 DEBUG bbox = [1518, 1638, 2076, 2274] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0034995079040527344 nb_pixel_total : 207238 time to create 1 rle with new method : 0.009822607040405273 length of segment : 556 DEBUG bbox = [552, 1968, 924, 2310] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012478828430175781 nb_pixel_total : 69036 time to create 1 rle with old method : 0.08087444305419922 length of segment : 387 DEBUG bbox = [636, 1566, 1146, 2112] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0025064945220947266 nb_pixel_total : 145003 time to create 1 rle with old method : 0.17513322830200195 length of segment : 560 DEBUG bbox = [1248, 2670, 1620, 2964] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0015573501586914062 nb_pixel_total : 68516 time to create 1 rle with old method : 0.0837106704711914 length of segment : 414 DEBUG bbox = [1920, 2502, 2160, 2640] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006928443908691406 nb_pixel_total : 25535 time to create 1 rle with old method : 0.02953815460205078 length of segment : 225 time spent for convertir_results : 4.602437973022461 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 12494 save missing photos in datou_result : time spend for datou_step_exec : 42.742793798446655 time spend to save output : 0.9248435497283936 total time spend for step 1 : 43.66763734817505 step2:crop_condition Thu Dec 11 10:11:12 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 : 5 ! batch 1 Loaded 35 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 ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1765444278_2131761 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032276_0.png', 0, 542, 476, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032275_0.png', 0, 219, 161, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032279_0.png', 0, 509, 266, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032270_0.png', 0, 316, 285, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032278_0.png', 0, 173, 360, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032271_0.png', 0, 222, 369, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032272_0.png', 0, 174, 208, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032286_0.png', 0, 319, 332, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032280_0.png', 0, 379, 464, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032283_0.png', 0, 149, 122, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032281_0.png', 0, 255, 207, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032292_0.png', 0, 365, 352, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032290_0.png', 0, 105, 235, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032293_0.png', 0, 139, 222, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444281), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032298_0.png', 0, 173, 267, 0, 1765444281,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.9635729789733887 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/1765444286_2131761 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032269_0.png', 0, 74, 169, 0, 1765444287,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032288_0.png', 0, 488, 281, 0, 1765444287,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032296_0.png', 0, 877, 867, 0, 1765444287,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032294_0.png', 0, 368, 350, 0, 1765444287,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032291_0.png', 0, 352, 234, 0, 1765444287,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444287), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032302_0.png', 0, 273, 343, 0, 1765444287,'0',0) 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.7557477951049805 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 ! 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/1765444289_2131761 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444289), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032282_0.png', 0, 185, 182, 0, 1765444289,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444289), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032303_0.png', 0, 123, 225, 0, 1765444289,'0',0) 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.830007791519165 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1765444297_2131761 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032274_0.png', 0, 384, 321, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032273_0.png', 0, 573, 525, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032284_0.png', 0, 455, 357, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032285_0.png', 0, 419, 246, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032287_0.png', 0, 676, 580, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032289_0.png', 0, 717, 505, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032295_0.png', 0, 386, 319, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032297_0.png', 0, 286, 238, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032301_0.png', 0, 536, 414, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032299_0.png', 0, 591, 556, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444299), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032300_0.png', 0, 319, 318, 0, 1765444299,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6326138973236084 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 ! 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/1765444301_2131761 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1765444301), 0.0, 0.0, 14, '', 0, 0, '1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032277_0.png', 0, 116, 226, 0, 1765444301,'0',0) 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.5779201984405518 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] Looping around the photos to save general results len do output : 35 /1398856699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1398856902Didn'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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 110 time used for this insertion : 0.026413679122924805 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.566589832305908 time spend to save output : 0.027901887893676758 total time spend for step 2 : 28.594491720199585 step3:rle_unique_nms_with_priority Thu Dec 11 10: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 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 35 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 5.486070394515991 time for calcul the mask position with numpy : 0.47673678398132324 nb_pixel_total : 7521611 time to create 1 rle with new method : 1.089531660079956 time for calcul the mask position with numpy : 0.04435443878173828 nb_pixel_total : 88141 time to create 1 rle with old method : 0.09876322746276855 time for calcul the mask position with numpy : 0.04116535186767578 nb_pixel_total : 52759 time to create 1 rle with old method : 0.05908012390136719 time for calcul the mask position with numpy : 0.03952455520629883 nb_pixel_total : 20777 time to create 1 rle with old method : 0.023459672927856445 time for calcul the mask position with numpy : 0.02675485610961914 nb_pixel_total : 174930 time to create 1 rle with new method : 0.7886662483215332 time for calcul the mask position with numpy : 0.024291276931762695 nb_pixel_total : 18686 time to create 1 rle with old method : 0.0205535888671875 time for calcul the mask position with numpy : 0.025053739547729492 nb_pixel_total : 75273 time to create 1 rle with old method : 0.08434748649597168 time for calcul the mask position with numpy : 0.0285642147064209 nb_pixel_total : 201659 time to create 1 rle with new method : 1.345813274383545 time for calcul the mask position with numpy : 0.026652097702026367 nb_pixel_total : 22289 time to create 1 rle with old method : 0.02498602867126465 time for calcul the mask position with numpy : 0.026805400848388672 nb_pixel_total : 50207 time to create 1 rle with old method : 0.05478858947753906 time for calcul the mask position with numpy : 0.027225971221923828 nb_pixel_total : 59920 time to create 1 rle with old method : 0.06573057174682617 time for calcul the mask position with numpy : 0.024160385131835938 nb_pixel_total : 8148 time to create 1 rle with old method : 0.009048223495483398 create new chi : 4.5757691860198975 time to delete rle : 0.026538848876953125 batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 9347 TO DO : save crop sub photo not yet done ! save time : 0.6088285446166992 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 3.0494604110717773 time for calcul the mask position with numpy : 0.5136795043945312 nb_pixel_total : 7857241 time to create 1 rle with new method : 0.7726678848266602 time for calcul the mask position with numpy : 0.023845434188842773 nb_pixel_total : 67086 time to create 1 rle with old method : 0.07178878784179688 time for calcul the mask position with numpy : 0.024313688278198242 nb_pixel_total : 84025 time to create 1 rle with old method : 0.09083271026611328 time for calcul the mask position with numpy : 0.02603626251220703 nb_pixel_total : 104987 time to create 1 rle with old method : 0.11241936683654785 time for calcul the mask position with numpy : 0.02481222152709961 nb_pixel_total : 12035 time to create 1 rle with old method : 0.013068914413452148 time for calcul the mask position with numpy : 0.024335145950317383 nb_pixel_total : 28119 time to create 1 rle with old method : 0.03045201301574707 time for calcul the mask position with numpy : 0.02435755729675293 nb_pixel_total : 30074 time to create 1 rle with old method : 0.03244423866271973 time for calcul the mask position with numpy : 0.02474212646484375 nb_pixel_total : 110833 time to create 1 rle with old method : 0.11867403984069824 create new chi : 1.969743013381958 time to delete rle : 0.0007128715515136719 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 6004 TO DO : save crop sub photo not yet done ! save time : 0.389357328414917 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 1.5635552406311035 time for calcul the mask position with numpy : 0.6158459186553955 nb_pixel_total : 7633204 time to create 1 rle with new method : 0.6293776035308838 time for calcul the mask position with numpy : 0.02371358871459961 nb_pixel_total : 250814 time to create 1 rle with new method : 0.7074251174926758 time for calcul the mask position with numpy : 0.024449586868286133 nb_pixel_total : 112545 time to create 1 rle with old method : 0.18312382698059082 time for calcul the mask position with numpy : 0.048236846923828125 nb_pixel_total : 297837 time to create 1 rle with new method : 0.8117616176605225 create new chi : 3.136021375656128 time to delete rle : 0.0007174015045166016 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4978 TO DO : save crop sub photo not yet done ! save time : 0.33357739448547363 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 3.424288749694824 time for calcul the mask position with numpy : 0.4952676296234131 nb_pixel_total : 7761958 time to create 1 rle with new method : 0.9453954696655273 time for calcul the mask position with numpy : 0.02416682243347168 nb_pixel_total : 56793 time to create 1 rle with old method : 0.060941457748413086 time for calcul the mask position with numpy : 0.026220083236694336 nb_pixel_total : 200170 time to create 1 rle with new method : 0.7023499011993408 time for calcul the mask position with numpy : 0.025313615798950195 nb_pixel_total : 93745 time to create 1 rle with old method : 0.10171723365783691 time for calcul the mask position with numpy : 0.02518010139465332 nb_pixel_total : 1297 time to create 1 rle with old method : 0.0018563270568847656 time for calcul the mask position with numpy : 0.024347305297851562 nb_pixel_total : 24717 time to create 1 rle with old method : 0.027379274368286133 time for calcul the mask position with numpy : 0.026228904724121094 nb_pixel_total : 75024 time to create 1 rle with old method : 0.08246111869812012 time for calcul the mask position with numpy : 0.025124549865722656 nb_pixel_total : 61415 time to create 1 rle with old method : 0.06633830070495605 time for calcul the mask position with numpy : 0.02477717399597168 nb_pixel_total : 19281 time to create 1 rle with old method : 0.020952463150024414 create new chi : 2.7741591930389404 time to delete rle : 0.0009481906890869141 batch 1 Loaded 17 chid ids of type : 3594 +++++++++++Number RLEs to save : 7892 TO DO : save crop sub photo not yet done ! save time : 0.49147558212280273 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 2.9834752082824707 time for calcul the mask position with numpy : 0.49933648109436035 nb_pixel_total : 7751016 time to create 1 rle with new method : 0.8023214340209961 time for calcul the mask position with numpy : 0.022582530975341797 nb_pixel_total : 25535 time to create 1 rle with old method : 0.026752710342407227 time for calcul the mask position with numpy : 0.02388286590576172 nb_pixel_total : 68516 time to create 1 rle with old method : 0.07381749153137207 time for calcul the mask position with numpy : 0.025136470794677734 nb_pixel_total : 145003 time to create 1 rle with old method : 0.1556410789489746 time for calcul the mask position with numpy : 0.02443385124206543 nb_pixel_total : 69036 time to create 1 rle with old method : 0.07263040542602539 time for calcul the mask position with numpy : 0.02569293975830078 nb_pixel_total : 207238 time to create 1 rle with new method : 0.6629540920257568 time for calcul the mask position with numpy : 0.023923397064208984 nb_pixel_total : 28056 time to create 1 rle with old method : 0.03064703941345215 create new chi : 2.5338187217712402 time to delete rle : 0.0008189678192138672 batch 1 Loaded 13 chid ids of type : 3594 ++++++++++Number RLEs to save : 6994 TO DO : save crop sub photo not yet done ! save time : 0.4529595375061035 map_output_result : {1398729100: (0.0, 'Should be the crop_list due to order', 0), 1398729097: (0.0, 'Should be the crop_list due to order', 0), 1398729094: (0.0, 'Should be the crop_list due to order', 0), 1398728950: (0.0, 'Should be the crop_list due to order', 0), 1398728946: (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 [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] Looping around the photos to save general results len do output : 5 /1398729100.Didn't retrieve data . /1398729097.Didn't retrieve data . /1398729094.Didn't retrieve data . /1398728950.Didn't retrieve data . /1398728946.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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013797283172607422 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.679144859313965 time spend to save output : 0.014595508575439453 total time spend for step 3 : 34.693740367889404 step4:ventilate_hashtags_in_portfolio Thu Dec 11 10:12:16 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 : 29330476 get user id for portfolio 29330476 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`=29330476 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','metal','autre','pet_fonce','pehd','pet_clair','mal_croppe','flou','background','carton')) 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`=29330476 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','metal','autre','pet_fonce','pehd','pet_clair','mal_croppe','flou','background','carton')) AND mptpi.`min_score`=0.5 To do 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`=29330476 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','metal','autre','pet_fonce','pehd','pet_clair','mal_croppe','flou','background','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29334566,29334567,29334568,29334569,29334570,29334571,29334572,29334573,29334574,29334575,29334576?tags=environnement,papier,metal,autre,pet_fonce,pehd,pet_clair,mal_croppe,flou,background,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] Looping around the photos to save general results len do output : 1 /29330476. 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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015511751174926758 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8813519477844238 time spend to save output : 0.01573491096496582 total time spend for step 4 : 0.8970868587493896 step5:final Thu Dec 11 10:12:17 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 : {1398729100: ('0.07105926890432095',), 1398729097: ('0.07105926890432095',), 1398729094: ('0.07105926890432095',), 1398728950: ('0.07105926890432095',), 1398728946: ('0.07105926890432095',)} new output for save of step final : {1398729100: ('0.07105926890432095',), 1398729097: ('0.07105926890432095',), 1398729094: ('0.07105926890432095',), 1398728950: ('0.07105926890432095',), 1398728946: ('0.07105926890432095',)} [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] Looping around the photos to save general results len do output : 5 /1398729100.Didn't retrieve data . /1398729097.Didn't retrieve data . /1398729094.Didn't retrieve data . /1398728950.Didn't retrieve data . /1398728946.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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01483297348022461 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13347816467285156 time spend to save output : 0.015153646469116211 total time spend for step 5 : 0.14863181114196777 step6:blur_detection Thu Dec 11 10:12:17 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/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5.jpg resize: (2160, 3840) 1398729100 -5.980561211009102 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b.jpg resize: (2160, 3840) 1398729097 -5.993196436011314 treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867.jpg resize: (2160, 3840) 1398729094 -4.0553625149838375 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705.jpg resize: (2160, 3840) 1398728950 -4.133815332811695 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce.jpg resize: (2160, 3840) 1398728946 -4.301697058089119 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032276_0.png resize: (476, 542) 1398856699 -3.467463868338016 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032275_0.png resize: (161, 219) 1398856700 -3.716679059062306 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032279_0.png resize: (266, 509) 1398856703 -3.9911838618944917 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032270_0.png resize: (285, 316) 1398856704 -4.037218971037888 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032278_0.png resize: (360, 173) 1398856705 -3.716049470221682 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032271_0.png resize: (369, 222) 1398856708 -3.728576516428855 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032272_0.png resize: (208, 174) 1398856709 -3.4754640103290146 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032286_0.png resize: (332, 319) 1398856710 -3.880663705207936 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032280_0.png resize: (464, 379) 1398856713 -4.784525399238884 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032283_0.png resize: (122, 149) 1398856714 -3.422894926252742 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032281_0.png resize: (207, 255) 1398856715 -4.894605968485257 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032292_0.png resize: (352, 365) 1398856718 -3.7136038684747943 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032290_0.png resize: (235, 105) 1398856719 -3.4921314987221495 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032293_0.png resize: (222, 139) 1398856720 -4.2463357444634715 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032298_0.png resize: (267, 173) 1398856723 -3.181753636782296 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032269_0.png resize: (169, 74) 1398856810 -1.7692073579803496 treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032288_0.png resize: (281, 488) 1398856811 -3.1801153010972762 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032296_0.png resize: (867, 877) 1398856813 -4.3429411663798 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032294_0.png resize: (350, 368) 1398856814 -3.767478815085366 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032291_0.png resize: (234, 352) 1398856815 -4.384968334609987 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032302_0.png resize: (343, 273) 1398856817 -3.5775483600273947 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032282_0.png resize: (182, 185) 1398856835 -5.195930982175254 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032303_0.png resize: (225, 123) 1398856836 -4.860487732513225 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032274_0.png resize: (321, 384) 1398856890 -4.1332275490638395 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032273_0.png resize: (525, 573) 1398856891 -3.1923984444535107 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032284_0.png resize: (357, 455) 1398856892 -4.786552758725947 treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032285_0.png resize: (246, 419) 1398856893 -4.895560403273643 treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032287_0.png resize: (580, 676) 1398856894 -4.789781285226878 treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032289_0.png resize: (505, 717) 1398856895 -4.96505038538909 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032295_0.png resize: (319, 386) 1398856896 -3.9867115934122777 treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032297_0.png resize: (238, 286) 1398856897 -3.9272127823291547 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032301_0.png resize: (414, 536) 1398856898 -3.525906955805103 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032299_0.png resize: (556, 591) 1398856900 -4.255804302252824 treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032300_0.png resize: (318, 319) 1398856901 -3.8539842979082994 treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032277_0.png resize: (226, 116) 1398856902 -4.413548339574249 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 : 40 time used for this insertion : 0.01581263542175293 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.017798185348510742 save missing photos in datou_result : time spend for datou_step_exec : 18.784082889556885 time spend to save output : 0.03963804244995117 total time spend for step 6 : 18.823720932006836 step7:brightness Thu Dec 11 10:12:36 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/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5.jpg treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b.jpg treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867.jpg treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705.jpg treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce.jpg treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032276_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032275_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032279_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032270_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032278_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032271_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032272_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032286_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032280_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032283_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032281_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032292_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032290_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032293_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032298_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032269_0.png treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032288_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032296_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032294_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032291_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032302_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032282_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032303_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032274_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032273_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032284_0.png treat image : temp/1765444228_2131761_1398729097_4075ea543463739e9df783f1e51fc26b_rle_crop_4066032285_0.png treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032287_0.png treat image : temp/1765444228_2131761_1398729094_4035597de36c74c937b56340c2403867_rle_crop_4066032289_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032295_0.png treat image : temp/1765444228_2131761_1398728950_fb39489aebefdc7d46b8920a92fd2705_rle_crop_4066032297_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032301_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032299_0.png treat image : temp/1765444228_2131761_1398728946_905fce222901691a9c2158629434f8ce_rle_crop_4066032300_0.png treat image : temp/1765444228_2131761_1398729100_08d2512db7d49762f3ff1894aa3dc3c5_rle_crop_4066032277_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 : 40 time used for this insertion : 0.018323898315429688 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.016104936599731445 save missing photos in datou_result : time spend for datou_step_exec : 4.896875619888306 time spend to save output : 0.04013395309448242 total time spend for step 7 : 4.937009572982788 step8:velours_tree Thu Dec 11 10:12:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.10249876976013184 time spend to save output : 4.649162292480469e-05 total time spend for step 8 : 0.10254526138305664 step9:send_mail_cod Thu Dec 11 10:12:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P29330476_11-12-2025_10_12_41.pdf 29334567 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 .imagette293345671765444361 29334568 change filename to text .change filename to text .imagette293345681765444362 29334569 change filename to text .imagette293345691765444362 29334570 imagette293345701765444362 29334571 imagette293345711765444362 29334572 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 .imagette293345721765444362 29334573 imagette293345731765444364 29334574 imagette293345741765444364 29334575 imagette293345751765444364 29334576 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette293345761765444364 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29330476 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29334566,29334567,29334568,29334569,29334570,29334571,29334572,29334573,29334574,29334575,29334576?tags=environnement,papier,metal,autre,pet_fonce,pehd,pet_clair,mal_croppe,flou,background,carton your option no_mail is active, we will not send the real mail to your client args[1398729100] : ((1398729100, -5.980561211009102, 492609224), (1398729100, 0.01966711535968066, 2107752395), '0.07105926890432095') We are sending mail with results at report@fotonower.com args[1398729097] : ((1398729097, -5.993196436011314, 492609224), (1398729097, -0.6284117270186985, 501862349), '0.07105926890432095') We are sending mail with results at report@fotonower.com args[1398729094] : ((1398729094, -4.0553625149838375, 492609224), (1398729094, -1.2193011858832652, 501862349), '0.07105926890432095') We are sending mail with results at report@fotonower.com args[1398728950] : ((1398728950, -4.133815332811695, 492609224), (1398728950, -1.484169844618714, 501862349), '0.07105926890432095') We are sending mail with results at report@fotonower.com args[1398728946] : ((1398728946, -4.301697058089119, 492609224), (1398728946, -0.8868211916417414, 501862349), '0.07105926890432095') We are sending mail with results at report@fotonower.com refus_total : 0.07105926890432095 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29330476 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_P29330476_11-12-2025_10_12_41.pdf results_Auto_P29330476_11-12-2025_10_12_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330476_11-12-2025_10_12_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','29330476','results_Auto_P29330476_11-12-2025_10_12_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330476_11-12-2025_10_12_41.pdf','pdf','','0.55','0.07105926890432095') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] 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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.013728618621826172 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.553758859634399 time spend to save output : 0.013941287994384766 total time spend for step 9 : 5.567700147628784 step10:split_time_score Thu Dec 11 10:12: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'}] (('16', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08122025 29330476 Nombre de photos uploadées : 5 / 23040 (0%) 08122025 29330476 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 08122025 29330476 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0013580322265625e-05 ????? elapsed_time : fill_and_build_computed_from_old_data 0.00034689903259277344 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23149824142456055 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.02770428631463702 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29258470_08-12-2025_09_18_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29258470 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29258470 AND mptpi.`type`=3726 To do Qualite : 0.022725278740161642 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29264674 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29264674 AND mptpi.`type`=3726 To do Qualite : 0.07350194106867285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29291864_10-12-2025_08_54_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29291864 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`=29291864 AND mptpi.`type`=3594 To do Qualite : 0.01556137720813759 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29291918_10-12-2025_09_53_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29291918 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29291918 AND mptpi.`type`=3726 To do Qualite : 0.027598373462229476 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330471_11-12-2025_09_09_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330471 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29330471 AND mptpi.`type`=3726 To do Qualite : 0.07105926890432095 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330476_11-12-2025_10_12_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330476 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`=29330476 AND mptpi.`type`=3594 To do Qualite : 0.016158399409172988 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330525_11-12-2025_09_05_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330525 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29330525 AND mptpi.`type`=3726 To do Qualite : 0.020908630159645242 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330528_11-12-2025_08_59_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330528 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29330528 AND mptpi.`type`=3726 To do Qualite : 0.014315322648034545 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330597_11-12-2025_08_53_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330597 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=29330597 AND mptpi.`type`=3726 To do Qualite : 0.049179478523662556 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330612_11-12-2025_08_55_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330612 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`=29330612 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08122025': {'nb_upload': 5, '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 [1398729100, 1398729097, 1398729094, 1398728950, 1398728946] Looping around the photos to save general results len do output : 1 /29330476Didn'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, '4207764') ('3318', '29330476', '1398729100', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729097', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398729094', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728950', None, None, None, None, None, '4207764') ('3318', None, None, None, None, None, None, None, '4207764') ('3318', '29330476', '1398728946', None, None, None, None, None, '4207764') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01591014862060547 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.405355215072632 time spend to save output : 0.01610565185546875 total time spend for step 10 : 2.4214608669281006 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 65.02user 60.53system 2:24.23elapsed 87%CPU (0avgtext+0avgdata 3475612maxresident)k 19312inputs+73416outputs (167major+5423662minor)pagefaults 0swaps