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 : 3900475 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 : ['4336649'] with mtr_portfolio_ids : ['30237494'] and first list_photo_ids : [] new path : /proc/3900475/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.2645418643951416 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 Wed Jan 28 12:40:32 2026 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 : 2884 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-01-28 12:40:35.713318: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-01-28 12:40:35.722893: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-01-28 12:40:35.724575: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8fc0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-01-28 12:40:35.724630: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-01-28 12:40:35.727616: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-01-28 12:40:35.881779: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2151a1b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-01-28 12:40:35.881827: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-01-28 12:40:35.882795: 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 2026-01-28 12:40:35.883208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-28 12:40:35.889852: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-28 12:40:35.902053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-28 12:40:35.902482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-28 12:40:35.913288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-28 12:40:35.915263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-28 12:40:35.927038: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-28 12:40:35.928261: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-28 12:40:35.928352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-28 12:40:35.929000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-01-28 12:40:35.929018: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-01-28 12:40:35.929029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-01-28 12:40:35.930310: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2432 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. 2026-01-28 12:40:36.209893: 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 2026-01-28 12:40:36.209999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-28 12:40:36.210029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-28 12:40:36.210057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-28 12:40:36.210083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-28 12:40:36.210109: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-28 12:40:36.210134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-28 12:40:36.210160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-28 12:40:36.211560: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-28 12:40:36.212503: 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 2026-01-28 12:40:36.212532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-28 12:40:36.212547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-28 12:40:36.212561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-28 12:40:36.212574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-28 12:40:36.212588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-28 12:40:36.212602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-28 12:40:36.212615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-28 12:40:36.213414: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-28 12:40:36.213445: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-01-28 12:40:36.213455: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-01-28 12:40:36.213463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-01-28 12:40:36.214244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2432 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 : [] 2026-01-28 12:40:46.145663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-28 12:40:46.332966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-28 12:40:47.733342: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.733408: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.739769: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.739791: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.790250: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.790342: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.831835: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.831862: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.882457: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.882485: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-01-28 12:40:47.888144: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.38G (1478098944 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:47.888692: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.24G (1330289152 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.207480: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2026-01-28 12:40:48.249467: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.250725: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.252397: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.253521: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.264042: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.264665: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.265305: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.265908: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.266555: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.267212: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.282155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.282816: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.347564: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.348195: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.365123: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.365727: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.366349: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.366977: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.371061: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.371658: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.372220: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.372783: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.373746: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.373763: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2026-01-28 12:40:48.384119: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.384690: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.393809: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.394420: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.395050: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.395673: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.396270: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-01-28 12:40:48.396855: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.88G (2014969856 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 6 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 : 21 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 : 14 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 : 7 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 : 24 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 : 9 Detection mask done ! Trying to reset tf kernel 3900876 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1691 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 2884 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 = [192, 2394, 630, 3012] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0037696361541748047 nb_pixel_total : 135498 time to create 1 rle with old method : 0.14191484451293945 length of segment : 432 DEBUG bbox = [486, 960, 642, 1308] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005316734313964844 nb_pixel_total : 30117 time to create 1 rle with old method : 0.03219866752624512 length of segment : 150 DEBUG bbox = [1374, 1116, 1794, 1320] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0009334087371826172 nb_pixel_total : 51864 time to create 1 rle with old method : 0.056070566177368164 length of segment : 374 DEBUG bbox = [582, 1506, 900, 1872] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010602474212646484 nb_pixel_total : 64829 time to create 1 rle with old method : 0.07126140594482422 length of segment : 307 DEBUG bbox = [1536, 1854, 1674, 2076] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003566741943359375 nb_pixel_total : 19595 time to create 1 rle with old method : 0.021630048751831055 length of segment : 130 DEBUG bbox = [66, 1590, 522, 2586] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.005745410919189453 nb_pixel_total : 232365 time to create 1 rle with new method : 0.018119096755981445 length of segment : 396 DEBUG bbox = [1788, 1236, 2136, 1806] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0016489028930664062 nb_pixel_total : 112183 time to create 1 rle with old method : 0.11852121353149414 length of segment : 355 DEBUG bbox = [12, 3528, 216, 3672] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.000331878662109375 nb_pixel_total : 18117 time to create 1 rle with old method : 0.019205808639526367 length of segment : 201 DEBUG bbox = [390, 3324, 738, 3732] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012717247009277344 nb_pixel_total : 92376 time to create 1 rle with old method : 0.1005105972290039 length of segment : 335 DEBUG bbox = [1770, 1236, 1938, 1350] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 9866 time to create 1 rle with old method : 0.01105952262878418 length of segment : 146 DEBUG bbox = [1188, 1080, 1524, 1296] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00074005126953125 nb_pixel_total : 44867 time to create 1 rle with old method : 0.05169486999511719 length of segment : 302 DEBUG bbox = [774, 2682, 882, 2922] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 14652 time to create 1 rle with old method : 0.016381025314331055 length of segment : 87 DEBUG bbox = [2040, 1890, 2160, 2226] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003819465637207031 nb_pixel_total : 28406 time to create 1 rle with old method : 0.03116464614868164 length of segment : 114 DEBUG bbox = [792, 3060, 1116, 3438] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0009489059448242188 nb_pixel_total : 53172 time to create 1 rle with old method : 0.05693364143371582 length of segment : 320 DEBUG bbox = [462, 954, 660, 1128] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003445148468017578 nb_pixel_total : 16817 time to create 1 rle with old method : 0.01852893829345703 length of segment : 169 DEBUG bbox = [1266, 1362, 1488, 1554] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004456043243408203 nb_pixel_total : 29821 time to create 1 rle with old method : 0.03211855888366699 length of segment : 220 DEBUG bbox = [0, 2190, 450, 2664] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.002367258071899414 nb_pixel_total : 152342 time to create 1 rle with new method : 0.006734609603881836 length of segment : 402 DEBUG bbox = [2058, 1314, 2154, 1536] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 11793 time to create 1 rle with old method : 0.012881278991699219 length of segment : 83 DEBUG bbox = [1236, 1110, 1602, 1314] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006079673767089844 nb_pixel_total : 25519 time to create 1 rle with old method : 0.027113676071166992 length of segment : 317 DEBUG bbox = [600, 2274, 912, 2832] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012402534484863281 nb_pixel_total : 95187 time to create 1 rle with old method : 0.1011190414428711 length of segment : 275 DEBUG bbox = [924, 1044, 1116, 1158] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0002372264862060547 nb_pixel_total : 11582 time to create 1 rle with old method : 0.012862682342529297 length of segment : 177 DEBUG bbox = [1068, 1488, 1458, 1800] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0009729862213134766 nb_pixel_total : 79314 time to create 1 rle with old method : 0.08442163467407227 length of segment : 358 DEBUG bbox = [12, 1254, 348, 1482] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006542205810546875 nb_pixel_total : 41224 time to create 1 rle with old method : 0.044661760330200195 length of segment : 315 DEBUG bbox = [822, 2412, 978, 2676] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008916854858398438 nb_pixel_total : 28639 time to create 1 rle with old method : 0.03127098083496094 length of segment : 138 DEBUG bbox = [654, 2784, 960, 3120] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0019290447235107422 nb_pixel_total : 69166 time to create 1 rle with old method : 0.07330131530761719 length of segment : 292 DEBUG bbox = [222, 2832, 522, 3030] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0011904239654541016 nb_pixel_total : 18824 time to create 1 rle with old method : 0.02065873146057129 length of segment : 271 DEBUG bbox = [300, 1884, 882, 2556] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006016969680786133 nb_pixel_total : 167785 time to create 1 rle with new method : 0.014883279800415039 length of segment : 654 DEBUG bbox = [1428, 2382, 1698, 2694] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.001710653305053711 nb_pixel_total : 39176 time to create 1 rle with old method : 0.04352164268493652 length of segment : 248 DEBUG bbox = [1584, 2292, 1746, 2532] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005910396575927734 nb_pixel_total : 16830 time to create 1 rle with old method : 0.018218278884887695 length of segment : 150 DEBUG bbox = [1506, 2646, 1698, 2898] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007424354553222656 nb_pixel_total : 36683 time to create 1 rle with old method : 0.03988385200500488 length of segment : 190 DEBUG bbox = [1098, 3090, 1206, 3174] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 5758 time to create 1 rle with old method : 0.00631403923034668 length of segment : 87 DEBUG bbox = [1296, 1350, 1410, 1482] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 10587 time to create 1 rle with old method : 0.011893510818481445 length of segment : 116 DEBUG bbox = [1236, 1296, 2148, 3174] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.06972503662109375 nb_pixel_total : 1285200 time to create 1 rle with new method : 0.2690448760986328 length of segment : 882 time spent for convertir_results : 3.508695602416992 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 33 chid ids of type : 3594 Number RLEs to save : 8993 save missing photos in datou_result : time spend for datou_step_exec : 39.38128733634949 time spend to save output : 0.6525986194610596 total time spend for step 1 : 40.03388595581055 step2:crop_condition Wed Jan 28 12:41:12 2026 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 : 6 ! batch 1 Loaded 33 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1769600477_3900475 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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411599_0.png', 0, 358, 307, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411600_0.png', 0, 205, 130, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411605_0.png', 0, 103, 145, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411608_0.png', 0, 327, 112, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411607_0.png', 0, 232, 87, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411603_0.png', 0, 120, 201, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411610_0.png', 0, 145, 169, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411613_0.png', 0, 206, 82, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411611_0.png', 0, 190, 220, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411612_0.png', 0, 473, 400, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411616_0.png', 0, 114, 176, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411622_0.png', 0, 614, 507, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411621_0.png', 0, 180, 263, 0, 1769600479,'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(1769600479), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411624_0.png', 0, 179, 150, 0, 1769600479,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.3835294246673584 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1769600482_3900475 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(1769600483), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411597_0.png', 0, 301, 136, 0, 1769600483,'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(1769600483), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411609_0.png', 0, 332, 274, 0, 1769600483,'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(1769600483), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411604_0.png', 0, 357, 334, 0, 1769600483,'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(1769600483), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411619_0.png', 0, 255, 137, 0, 1769600483,'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(1769600483), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411626_0.png', 0, 82, 85, 0, 1769600483,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5216314792633057 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 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/1769600493_3900475 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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411598_0.png', 0, 188, 374, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411601_0.png', 0, 869, 350, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411596_0.png', 0, 553, 418, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411606_0.png', 0, 196, 300, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411602_0.png', 0, 534, 340, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411614_0.png', 0, 140, 317, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411618_0.png', 0, 210, 287, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411617_0.png', 0, 304, 358, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411615_0.png', 0, 553, 263, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411623_0.png', 0, 275, 247, 0, 1769600496,'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(1769600496), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411628_0.png', 0, 1715, 840, 0, 1769600496,'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 : 3.5431671142578125 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1769600498_3900475 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(1769600499), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411620_0.png', 0, 317, 288, 0, 1769600499,'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(1769600499), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411627_0.png', 0, 131, 107, 0, 1769600499,'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(1769600499), 0.0, 0.0, 14, '', 0, 0, '1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411625_0.png', 0, 250, 190, 0, 1769600499,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2007436752319336 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] Looping around the photos to save general results len do output : 33 /1405822158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1405822338Didn'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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 time used for this insertion : 0.02073359489440918 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.764172554016113 time spend to save output : 0.022083759307861328 total time spend for step 2 : 26.786256313323975 step3:rle_unique_nms_with_priority Wed Jan 28 12:41:39 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 2.4227073192596436 time for calcul the mask position with numpy : 0.607717752456665 nb_pixel_total : 7760132 time to create 1 rle with new method : 0.4840972423553467 time for calcul the mask position with numpy : 0.027237653732299805 nb_pixel_total : 232365 time to create 1 rle with new method : 0.7989242076873779 time for calcul the mask position with numpy : 0.025251388549804688 nb_pixel_total : 19595 time to create 1 rle with old method : 0.0214846134185791 time for calcul the mask position with numpy : 0.038223981857299805 nb_pixel_total : 64829 time to create 1 rle with old method : 0.07056736946105957 time for calcul the mask position with numpy : 0.0370786190032959 nb_pixel_total : 51864 time to create 1 rle with old method : 0.07928943634033203 time for calcul the mask position with numpy : 0.026199817657470703 nb_pixel_total : 30117 time to create 1 rle with old method : 0.03148627281188965 time for calcul the mask position with numpy : 0.024962902069091797 nb_pixel_total : 135498 time to create 1 rle with old method : 0.143326997756958 create new chi : 2.479166269302368 time to delete rle : 0.03491616249084473 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 5738 TO DO : save crop sub photo not yet done ! save time : 0.4317958354949951 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 3.4778435230255127 time for calcul the mask position with numpy : 0.6953995227813721 nb_pixel_total : 7928166 time to create 1 rle with new method : 1.1038317680358887 time for calcul the mask position with numpy : 0.024394989013671875 nb_pixel_total : 53172 time to create 1 rle with old method : 0.05616259574890137 time for calcul the mask position with numpy : 0.03950190544128418 nb_pixel_total : 28406 time to create 1 rle with old method : 0.030160903930664062 time for calcul the mask position with numpy : 0.03916192054748535 nb_pixel_total : 14652 time to create 1 rle with old method : 0.0157778263092041 time for calcul the mask position with numpy : 0.026384353637695312 nb_pixel_total : 44867 time to create 1 rle with old method : 0.047768354415893555 time for calcul the mask position with numpy : 0.024136066436767578 nb_pixel_total : 2461 time to create 1 rle with old method : 0.002886056900024414 time for calcul the mask position with numpy : 0.025061607360839844 nb_pixel_total : 92376 time to create 1 rle with old method : 0.09970831871032715 time for calcul the mask position with numpy : 0.025589466094970703 nb_pixel_total : 18117 time to create 1 rle with old method : 0.019572019577026367 time for calcul the mask position with numpy : 0.026186466217041016 nb_pixel_total : 112183 time to create 1 rle with old method : 0.12000823020935059 create new chi : 2.4648170471191406 time to delete rle : 0.0006625652313232422 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 5751 TO DO : save crop sub photo not yet done ! save time : 0.46994543075561523 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 2.3871848583221436 time for calcul the mask position with numpy : 0.8782284259796143 nb_pixel_total : 8058108 time to create 1 rle with new method : 0.6466546058654785 time for calcul the mask position with numpy : 0.023462772369384766 nb_pixel_total : 25519 time to create 1 rle with old method : 0.026836872100830078 time for calcul the mask position with numpy : 0.02331089973449707 nb_pixel_total : 11793 time to create 1 rle with old method : 0.012540817260742188 time for calcul the mask position with numpy : 0.024805307388305664 nb_pixel_total : 152342 time to create 1 rle with new method : 0.5399091243743896 time for calcul the mask position with numpy : 0.02559041976928711 nb_pixel_total : 29821 time to create 1 rle with old method : 0.03180718421936035 time for calcul the mask position with numpy : 0.0243070125579834 nb_pixel_total : 16817 time to create 1 rle with old method : 0.017724037170410156 create new chi : 2.349155902862549 time to delete rle : 0.000537872314453125 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4542 TO DO : save crop sub photo not yet done ! save time : 0.36184215545654297 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 1.8932290077209473 time for calcul the mask position with numpy : 0.5626780986785889 nb_pixel_total : 8067093 time to create 1 rle with new method : 0.8056316375732422 time for calcul the mask position with numpy : 0.03957247734069824 nb_pixel_total : 41224 time to create 1 rle with old method : 0.0441584587097168 time for calcul the mask position with numpy : 0.023124217987060547 nb_pixel_total : 79314 time to create 1 rle with old method : 0.08289647102355957 time for calcul the mask position with numpy : 0.022881031036376953 nb_pixel_total : 11582 time to create 1 rle with old method : 0.011865377426147461 time for calcul the mask position with numpy : 0.023500680923461914 nb_pixel_total : 95187 time to create 1 rle with old method : 0.09840178489685059 create new chi : 1.7561869621276855 time to delete rle : 0.0005538463592529297 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4410 TO DO : save crop sub photo not yet done ! save time : 0.34169816970825195 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 3.197971820831299 time for calcul the mask position with numpy : 0.5039916038513184 nb_pixel_total : 7970810 time to create 1 rle with new method : 0.8876457214355469 time for calcul the mask position with numpy : 0.024098634719848633 nb_pixel_total : 39176 time to create 1 rle with old method : 0.04204607009887695 time for calcul the mask position with numpy : 0.02533555030822754 nb_pixel_total : 167785 time to create 1 rle with new method : 0.6089358329772949 time for calcul the mask position with numpy : 0.02438950538635254 nb_pixel_total : 18824 time to create 1 rle with old method : 0.02045750617980957 time for calcul the mask position with numpy : 0.023938655853271484 nb_pixel_total : 69166 time to create 1 rle with old method : 0.07398581504821777 time for calcul the mask position with numpy : 0.02416682243347168 nb_pixel_total : 28639 time to create 1 rle with old method : 0.03105783462524414 create new chi : 2.3658642768859863 time to delete rle : 0.0006213188171386719 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 5366 TO DO : save crop sub photo not yet done ! save time : 0.43102073669433594 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 2.9774129390716553 time for calcul the mask position with numpy : 0.5591704845428467 nb_pixel_total : 6997365 time to create 1 rle with new method : 0.8025381565093994 time for calcul the mask position with numpy : 0.03182363510131836 nb_pixel_total : 1227177 time to create 1 rle with new method : 0.625114917755127 time for calcul the mask position with numpy : 0.023053646087646484 nb_pixel_total : 10587 time to create 1 rle with old method : 0.011182785034179688 time for calcul the mask position with numpy : 0.02292346954345703 nb_pixel_total : 5758 time to create 1 rle with old method : 0.006653308868408203 time for calcul the mask position with numpy : 0.02459263801574707 nb_pixel_total : 36683 time to create 1 rle with old method : 0.03870534896850586 time for calcul the mask position with numpy : 0.023100614547729492 nb_pixel_total : 16830 time to create 1 rle with old method : 0.01821756362915039 create new chi : 2.2518157958984375 time to delete rle : 0.0006117820739746094 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4979 TO DO : save crop sub photo not yet done ! save time : 0.3717522621154785 map_output_result : {1405817495: (0.0, 'Should be the crop_list due to order', 0), 1405817365: (0.0, 'Should be the crop_list due to order', 0), 1405817247: (0.0, 'Should be the crop_list due to order', 0), 1405816845: (0.0, 'Should be the crop_list due to order', 0), 1405816844: (0.0, 'Should be the crop_list due to order', 0), 1405816843: (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 [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] Looping around the photos to save general results len do output : 6 /1405817495.Didn't retrieve data . /1405817365.Didn't retrieve data . /1405817247.Didn't retrieve data . /1405816845.Didn't retrieve data . /1405816844.Didn't retrieve data . /1405816843.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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.019648313522338867 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.34862422943115 time spend to save output : 0.019963741302490234 total time spend for step 3 : 33.36858797073364 step4:ventilate_hashtags_in_portfolio Wed Jan 28 12:42:12 2026 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 : 30237494 get user id for portfolio 30237494 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`=30237494 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre','metal','carton','pehd','pet_clair','environnement','mal_croppe','pet_fonce','background')) 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`=30237494 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre','metal','carton','pehd','pet_clair','environnement','mal_croppe','pet_fonce','background')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30237494 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre','metal','carton','pehd','pet_clair','environnement','mal_croppe','pet_fonce','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30237606,30237607,30237608,30237609,30237610,30237611,30237612,30237613,30237614,30237615,30237616?tags=flou,papier,autre,metal,carton,pehd,pet_clair,environnement,mal_croppe,pet_fonce,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] Looping around the photos to save general results len do output : 1 /30237494. 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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.018906831741333008 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.040614128112793 time spend to save output : 0.01911449432373047 total time spend for step 4 : 2.0597286224365234 step5:final Wed Jan 28 12:42:14 2026 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 : {1405817495: ('0.05997472190072017',), 1405817365: ('0.05997472190072017',), 1405817247: ('0.05997472190072017',), 1405816845: ('0.05997472190072017',), 1405816844: ('0.05997472190072017',), 1405816843: ('0.05997472190072017',)} new output for save of step final : {1405817495: ('0.05997472190072017',), 1405817365: ('0.05997472190072017',), 1405817247: ('0.05997472190072017',), 1405816845: ('0.05997472190072017',), 1405816844: ('0.05997472190072017',), 1405816843: ('0.05997472190072017',)} [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] Looping around the photos to save general results len do output : 6 /1405817495.Didn't retrieve data . /1405817365.Didn't retrieve data . /1405817247.Didn't retrieve data . /1405816845.Didn't retrieve data . /1405816844.Didn't retrieve data . /1405816843.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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015476226806640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14622282981872559 time spend to save output : 0.0158231258392334 total time spend for step 5 : 0.16204595565795898 step6:blur_detection Wed Jan 28 12:42:14 2026 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/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410.jpg resize: (2160, 3840) 1405817495 -6.762257916840367 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f.jpg resize: (2160, 3840) 1405817365 -6.546138806297483 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070.jpg resize: (2160, 3840) 1405817247 -6.337602070677587 treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097.jpg resize: (2160, 3840) 1405816845 -6.206096909052666 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d.jpg resize: (2160, 3840) 1405816844 -6.3853539293586286 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644.jpg resize: (2160, 3840) 1405816843 -4.566432821188833 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411599_0.png resize: (307, 358) 1405822158 -3.5609044480677094 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411600_0.png resize: (130, 205) 1405822159 -4.893931299846149 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411605_0.png resize: (145, 103) 1405822160 -3.332536258804046 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411608_0.png resize: (112, 327) 1405822161 -4.091109450276791 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411607_0.png resize: (87, 232) 1405822162 -2.314547038117102 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411603_0.png resize: (201, 120) 1405822163 -3.1553911545025977 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411610_0.png resize: (169, 145) 1405822164 -3.8009143064694255 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411613_0.png resize: (82, 206) 1405822165 -4.919618288617213 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411611_0.png resize: (220, 190) 1405822166 -3.327483973597795 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411612_0.png resize: (400, 473) 1405822167 -2.1691901833577147 treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411616_0.png resize: (176, 114) 1405822168 -3.333430244039598 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411622_0.png resize: (507, 614) 1405822169 -5.075940772645549 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411621_0.png resize: (263, 180) 1405822170 -2.616915280162027 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411624_0.png resize: (150, 179) 1405822171 -2.433669500644654 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411597_0.png resize: (136, 301) 1405822183 -3.8685345896474184 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411609_0.png resize: (274, 332) 1405822184 -4.564608194453987 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411604_0.png resize: (334, 357) 1405822186 -2.9050418403246536 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411619_0.png resize: (137, 255) 1405822187 -4.48193542833033 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411626_0.png resize: (85, 82) 1405822188 0.3333751906361634 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411598_0.png resize: (374, 188) 1405822311 -4.92986548664381 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411601_0.png resize: (350, 869) 1405822312 -5.300510275346696 treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411596_0.png resize: (418, 553) 1405822314 -3.5478850623399802 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411606_0.png resize: (300, 196) 1405822315 -5.15665151791369 treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411602_0.png resize: (340, 534) 1405822316 -4.973932721140889 treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411614_0.png resize: (317, 140) 1405822318 -4.740303568106249 treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411618_0.png resize: (287, 210) 1405822319 -3.9166334352223164 treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411617_0.png resize: (358, 304) 1405822320 -5.63000170494754 treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411615_0.png resize: (263, 553) 1405822322 -6.058432878098365 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411623_0.png resize: (247, 275) 1405822323 -4.293445957991538 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411628_0.png resize: (840, 1715) 1405822324 -6.273889424164927 treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411620_0.png resize: (288, 317) 1405822336 -3.1545406611526405 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411627_0.png resize: (107, 131) 1405822337 -4.823797691669332 treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411625_0.png resize: (190, 250) 1405822338 -4.0012064240240255 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 : 39 time used for this insertion : 0.016928911209106445 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.01584601402282715 save missing photos in datou_result : time spend for datou_step_exec : 24.26778554916382 time spend to save output : 0.038750410079956055 total time spend for step 6 : 24.306535959243774 step7:brightness Wed Jan 28 12:42:39 2026 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/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410.jpg treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f.jpg treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070.jpg treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097.jpg treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d.jpg treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644.jpg treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411599_0.png treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411600_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411605_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411608_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411607_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411603_0.png treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411610_0.png treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411613_0.png treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411611_0.png treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411612_0.png treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411616_0.png treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411622_0.png treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411621_0.png treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411624_0.png treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411597_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411609_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411604_0.png treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411619_0.png treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411626_0.png treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411598_0.png treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411601_0.png treat image : temp/1769600431_3900475_1405817495_64ab76413a9859fc1796a4b721a12410_rle_crop_4114411596_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411606_0.png treat image : temp/1769600431_3900475_1405817365_f4b772498fe1ae5b17b50c1076db361f_rle_crop_4114411602_0.png treat image : temp/1769600431_3900475_1405817247_b0e8be9bd86afe312f6b3ef318047070_rle_crop_4114411614_0.png treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411618_0.png treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411617_0.png treat image : temp/1769600431_3900475_1405816845_ae51fcc0be197c0b5bf8114fc99dc097_rle_crop_4114411615_0.png treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411623_0.png treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411628_0.png treat image : temp/1769600431_3900475_1405816844_b81526dd03aa2befdd3b73386e4f8f4d_rle_crop_4114411620_0.png treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411627_0.png treat image : temp/1769600431_3900475_1405816843_54f7ddb31bdd2b8c50c7a4a5dcda2644_rle_crop_4114411625_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 : 39 time used for this insertion : 0.03364205360412598 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.018779277801513672 save missing photos in datou_result : time spend for datou_step_exec : 6.325294733047485 time spend to save output : 0.05811715126037598 total time spend for step 7 : 6.383411884307861 step8:velours_tree Wed Jan 28 12:42:45 2026 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.08695340156555176 time spend to save output : 4.57763671875e-05 total time spend for step 8 : 0.08699917793273926 step9:send_mail_cod Wed Jan 28 12:42:45 2026 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_P30237494_28-01-2026_12_42_45.pdf 30237606 imagette302376061769600565 30237607 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 .imagette302376071769600565 30237608 change filename to text .change filename to text .change filename to text .imagette302376081769600567 30237609 imagette302376091769600567 30237610 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette302376101769600567 30237611 imagette302376111769600567 30237612 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 .imagette302376121769600567 30237614 imagette302376141769600569 30237615 imagette302376151769600569 30237616 imagette302376161769600569 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30237494 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30237606,30237607,30237608,30237609,30237610,30237611,30237612,30237613,30237614,30237615,30237616?tags=flou,papier,autre,metal,carton,pehd,pet_clair,environnement,mal_croppe,pet_fonce,background your option no_mail is active, we will not send the real mail to your client args[1405817495] : ((1405817495, -6.762257916840367, 492609224), (1405817495, 0.18270881756707236, 2107752395), '0.05997472190072017') We are sending mail with results at report@fotonower.com args[1405817365] : ((1405817365, -6.546138806297483, 492609224), (1405817365, 0.17029862817104455, 2107752395), '0.05997472190072017') We are sending mail with results at report@fotonower.com args[1405817247] : ((1405817247, -6.337602070677587, 492609224), (1405817247, 0.1420643229956872, 2107752395), '0.05997472190072017') We are sending mail with results at report@fotonower.com args[1405816845] : ((1405816845, -6.206096909052666, 492609224), (1405816845, 0.10514991313343786, 2107752395), '0.05997472190072017') We are sending mail with results at report@fotonower.com args[1405816844] : ((1405816844, -6.3853539293586286, 492609224), (1405816844, 0.12130721594403508, 2107752395), '0.05997472190072017') We are sending mail with results at report@fotonower.com args[1405816843] : ((1405816843, -4.566432821188833, 492609224), (1405816843, -1.1703108763835977, 501862349), '0.05997472190072017') We are sending mail with results at report@fotonower.com refus_total : 0.05997472190072017 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=30237494 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_P30237494_28-01-2026_12_42_45.pdf results_Auto_P30237494_28-01-2026_12_42_45.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237494_28-01-2026_12_42_45.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','30237494','results_Auto_P30237494_28-01-2026_12_42_45.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237494_28-01-2026_12_42_45.pdf','pdf','','0.56','0.05997472190072017') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] 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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01483297348022461 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.22027325630188 time spend to save output : 0.015039205551147461 total time spend for step 9 : 5.235312461853027 step10:split_time_score Wed Jan 28 12:42:50 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28012026 30237494 Nombre de photos uploadées : 6 / 23040 (0%) 28012026 30237494 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 28012026 30237494 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.0003371238708496094 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24025487899780273 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.019700830853174606 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235378_28-01-2026_08_43_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235378 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`=30235378 AND mptpi.`type`=3594 To do Qualite : 0.056928968556826644 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30234919_28-01-2026_07_43_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30234919 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`=30234919 AND mptpi.`type`=3726 To do Qualite : 0.13863631166697782 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235379_28-01-2026_08_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235379 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`=30235379 AND mptpi.`type`=3726 To do Qualite : 0.02479175410971832 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235383_28-01-2026_08_35_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235383 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`=30235383 AND mptpi.`type`=3726 To do Qualite : 0.07082479682434775 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235384_28-01-2026_08_34_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235384 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`=30235384 AND mptpi.`type`=3726 To do Qualite : 0.08625505094547697 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235645_28-01-2026_09_07_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235645 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`=30235645 AND mptpi.`type`=3726 To do Qualite : 0.10069930552664587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30235646_28-01-2026_09_08_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30235646 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`=30235646 AND mptpi.`type`=3726 To do Qualite : 0.11787349817655071 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30236091_28-01-2026_10_07_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30236091 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`=30236091 AND mptpi.`type`=3726 To do Qualite : 0.11399473608195902 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30236094_28-01-2026_11_38_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30236094 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`=30236094 AND mptpi.`type`=3726 To do Qualite : 0.08250807843218085 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237490_28-01-2026_12_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237490 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`=30237490 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237190 order by id desc limit 1 Qualite : 0.02985784384645061 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237192_28-01-2026_12_19_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237192 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`=30237192 AND mptpi.`type`=3594 To do Qualite : 0.030840486754115232 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237193_28-01-2026_12_22_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237193 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`=30237193 AND mptpi.`type`=3594 To do Qualite : 0.22628122281413302 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237194_28-01-2026_12_08_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237194 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`=30237194 AND mptpi.`type`=3726 To do Qualite : 0.13447959623543107 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237196_28-01-2026_12_06_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237196 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`=30237196 AND mptpi.`type`=3726 To do Qualite : 0.027669764477944038 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237492_28-01-2026_12_35_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237492 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`=30237492 AND mptpi.`type`=3726 To do Qualite : 0.05997472190072017 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30237494_28-01-2026_12_42_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30237494 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`=30237494 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28012026': {'nb_upload': 6, '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 [1405817495, 1405817365, 1405817247, 1405816845, 1405816844, 1405816843] Looping around the photos to save general results len do output : 1 /30237494Didn'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, '4336649') ('3318', '30237494', '1405817495', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817365', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405817247', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816845', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816844', None, None, None, None, None, '4336649') ('3318', None, None, None, None, None, None, None, '4336649') ('3318', '30237494', '1405816843', None, None, None, None, None, '4336649') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.01499795913696289 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.900935411453247 time spend to save output : 0.0152435302734375 total time spend for step 10 : 2.9161789417266846 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 65.54user 60.56system 2:27.55elapsed 85%CPU (0avgtext+0avgdata 3536556maxresident)k 789496inputs+80152outputs (2652major+5677460minor)pagefaults 0swaps