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 : 48385 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 : ['3756324'] with mtr_portfolio_ids : ['27082751'] and first list_photo_ids : [] new path : /proc/48385/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.7986857891082764 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 Mon Sep 22 09:00:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10362 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-22 09:00:35.132618: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-22 09:00:35.160704: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-22 09:00:35.162572: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8bd0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-22 09:00:35.162629: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-22 09:00:35.166263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-22 09:00:35.318742: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x18cb5fb0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-22 09:00:35.318782: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-22 09:00:35.319691: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-22 09:00:35.320289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:00:35.323336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:00:35.326410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:00:35.327275: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:00:35.331308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:00:35.333661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:00:35.340358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:00:35.342225: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:00:35.342352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:00:35.343187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 09:00:35.343208: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 09:00:35.343220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 09:00:35.344671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9597 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-22 09:00:35.714356: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-22 09:00:35.714439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:00:35.714461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:00:35.714479: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:00:35.714497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:00:35.714515: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:00:35.714532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:00:35.714550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:00:35.716132: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:00:35.717502: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-22 09:00:35.717544: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:00:35.717566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:00:35.717586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:00:35.717606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:00:35.717625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:00:35.717644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:00:35.717663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:00:35.719221: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:00:35.719253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 09:00:35.719264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 09:00:35.719273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 09:00:35.720886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9597 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-22 09:00:46.672942: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:00:46.838636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 29 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 : 20 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 : 17 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 : 3 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 20 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 : 19 Detection mask done ! Trying to reset tf kernel 49022 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5073 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 10362 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0015559196472167969 nb_pixel_total : 22476 time to create 1 rle with old method : 0.03235983848571777 length of segment : 156 time for calcul the mask position with numpy : 0.0009648799896240234 nb_pixel_total : 27504 time to create 1 rle with old method : 0.03552675247192383 length of segment : 199 time for calcul the mask position with numpy : 0.0005984306335449219 nb_pixel_total : 11237 time to create 1 rle with old method : 0.016067028045654297 length of segment : 85 time for calcul the mask position with numpy : 0.0008814334869384766 nb_pixel_total : 23126 time to create 1 rle with old method : 0.031058788299560547 length of segment : 217 time for calcul the mask position with numpy : 0.0014181137084960938 nb_pixel_total : 31430 time to create 1 rle with old method : 0.040558815002441406 length of segment : 205 time for calcul the mask position with numpy : 0.007157564163208008 nb_pixel_total : 200518 time to create 1 rle with new method : 0.01086115837097168 length of segment : 386 time for calcul the mask position with numpy : 0.00047516822814941406 nb_pixel_total : 8388 time to create 1 rle with old method : 0.010900020599365234 length of segment : 118 time for calcul the mask position with numpy : 0.00428318977355957 nb_pixel_total : 143025 time to create 1 rle with old method : 0.23928308486938477 length of segment : 438 time for calcul the mask position with numpy : 0.0009961128234863281 nb_pixel_total : 30049 time to create 1 rle with old method : 0.03481698036193848 length of segment : 241 time for calcul the mask position with numpy : 0.0007345676422119141 nb_pixel_total : 12481 time to create 1 rle with old method : 0.01720261573791504 length of segment : 102 time for calcul the mask position with numpy : 0.0006721019744873047 nb_pixel_total : 20960 time to create 1 rle with old method : 0.03117990493774414 length of segment : 158 time for calcul the mask position with numpy : 0.0008420944213867188 nb_pixel_total : 23398 time to create 1 rle with old method : 0.02855086326599121 length of segment : 213 time for calcul the mask position with numpy : 0.00036025047302246094 nb_pixel_total : 18425 time to create 1 rle with old method : 0.021877527236938477 length of segment : 244 time for calcul the mask position with numpy : 0.0007288455963134766 nb_pixel_total : 46993 time to create 1 rle with old method : 0.0568089485168457 length of segment : 257 time for calcul the mask position with numpy : 0.0037965774536132812 nb_pixel_total : 224723 time to create 1 rle with new method : 0.011855840682983398 length of segment : 646 time for calcul the mask position with numpy : 0.001314401626586914 nb_pixel_total : 54945 time to create 1 rle with old method : 0.06419801712036133 length of segment : 558 time for calcul the mask position with numpy : 0.00019884109497070312 nb_pixel_total : 10882 time to create 1 rle with old method : 0.013299703598022461 length of segment : 110 time for calcul the mask position with numpy : 0.0016384124755859375 nb_pixel_total : 108925 time to create 1 rle with old method : 0.12807941436767578 length of segment : 317 time for calcul the mask position with numpy : 0.0007207393646240234 nb_pixel_total : 22548 time to create 1 rle with old method : 0.027086734771728516 length of segment : 202 time for calcul the mask position with numpy : 0.0013365745544433594 nb_pixel_total : 32858 time to create 1 rle with old method : 0.03859758377075195 length of segment : 329 time for calcul the mask position with numpy : 0.0011036396026611328 nb_pixel_total : 42087 time to create 1 rle with old method : 0.05308794975280762 length of segment : 290 time for calcul the mask position with numpy : 0.0013425350189208984 nb_pixel_total : 48850 time to create 1 rle with old method : 0.059261322021484375 length of segment : 317 time for calcul the mask position with numpy : 0.000720977783203125 nb_pixel_total : 30249 time to create 1 rle with old method : 0.03509879112243652 length of segment : 160 time for calcul the mask position with numpy : 0.0007448196411132812 nb_pixel_total : 26063 time to create 1 rle with old method : 0.032087087631225586 length of segment : 184 time for calcul the mask position with numpy : 0.0007617473602294922 nb_pixel_total : 23841 time to create 1 rle with old method : 0.028099536895751953 length of segment : 143 time for calcul the mask position with numpy : 0.0014374256134033203 nb_pixel_total : 57791 time to create 1 rle with old method : 0.06759810447692871 length of segment : 222 time for calcul the mask position with numpy : 0.0011072158813476562 nb_pixel_total : 54073 time to create 1 rle with old method : 0.0626680850982666 length of segment : 208 time for calcul the mask position with numpy : 0.0006279945373535156 nb_pixel_total : 22698 time to create 1 rle with old method : 0.02604198455810547 length of segment : 288 time for calcul the mask position with numpy : 0.0005993843078613281 nb_pixel_total : 17476 time to create 1 rle with old method : 0.020596981048583984 length of segment : 138 time for calcul the mask position with numpy : 0.0003185272216796875 nb_pixel_total : 7460 time to create 1 rle with old method : 0.008980512619018555 length of segment : 82 time for calcul the mask position with numpy : 0.0009889602661132812 nb_pixel_total : 31701 time to create 1 rle with old method : 0.036470651626586914 length of segment : 254 time for calcul the mask position with numpy : 0.0030710697174072266 nb_pixel_total : 87791 time to create 1 rle with old method : 0.10128402709960938 length of segment : 395 time for calcul the mask position with numpy : 0.0010824203491210938 nb_pixel_total : 41790 time to create 1 rle with old method : 0.04902458190917969 length of segment : 184 time for calcul the mask position with numpy : 0.0012209415435791016 nb_pixel_total : 28582 time to create 1 rle with old method : 0.03961539268493652 length of segment : 223 time for calcul the mask position with numpy : 0.0003077983856201172 nb_pixel_total : 6398 time to create 1 rle with old method : 0.007794857025146484 length of segment : 84 time for calcul the mask position with numpy : 0.003600597381591797 nb_pixel_total : 159476 time to create 1 rle with new method : 0.006495952606201172 length of segment : 361 time for calcul the mask position with numpy : 0.0007650852203369141 nb_pixel_total : 27209 time to create 1 rle with old method : 0.033321380615234375 length of segment : 159 time for calcul the mask position with numpy : 0.0009987354278564453 nb_pixel_total : 32895 time to create 1 rle with old method : 0.038138389587402344 length of segment : 213 time for calcul the mask position with numpy : 0.0007822513580322266 nb_pixel_total : 21545 time to create 1 rle with old method : 0.02553272247314453 length of segment : 216 time for calcul the mask position with numpy : 0.0014536380767822266 nb_pixel_total : 48340 time to create 1 rle with old method : 0.07146954536437988 length of segment : 319 time for calcul the mask position with numpy : 0.007700681686401367 nb_pixel_total : 90014 time to create 1 rle with old method : 0.128434419631958 length of segment : 557 time for calcul the mask position with numpy : 0.0015630722045898438 nb_pixel_total : 81681 time to create 1 rle with old method : 0.09806561470031738 length of segment : 403 time for calcul the mask position with numpy : 0.005588531494140625 nb_pixel_total : 163205 time to create 1 rle with new method : 0.010337114334106445 length of segment : 743 time for calcul the mask position with numpy : 0.0013325214385986328 nb_pixel_total : 45854 time to create 1 rle with old method : 0.06992983818054199 length of segment : 319 time for calcul the mask position with numpy : 0.0014166831970214844 nb_pixel_total : 35118 time to create 1 rle with old method : 0.04326438903808594 length of segment : 226 time for calcul the mask position with numpy : 0.004521846771240234 nb_pixel_total : 67871 time to create 1 rle with old method : 0.08194208145141602 length of segment : 736 time for calcul the mask position with numpy : 0.0012035369873046875 nb_pixel_total : 37813 time to create 1 rle with old method : 0.04462718963623047 length of segment : 163 time for calcul the mask position with numpy : 0.0009114742279052734 nb_pixel_total : 32307 time to create 1 rle with old method : 0.038469791412353516 length of segment : 204 time for calcul the mask position with numpy : 0.0014889240264892578 nb_pixel_total : 32300 time to create 1 rle with old method : 0.04031968116760254 length of segment : 224 time for calcul the mask position with numpy : 0.0009415149688720703 nb_pixel_total : 27063 time to create 1 rle with old method : 0.03464198112487793 length of segment : 173 time for calcul the mask position with numpy : 0.00063323974609375 nb_pixel_total : 19305 time to create 1 rle with old method : 0.02332472801208496 length of segment : 155 time for calcul the mask position with numpy : 0.00033783912658691406 nb_pixel_total : 5791 time to create 1 rle with old method : 0.007641315460205078 length of segment : 95 time for calcul the mask position with numpy : 0.0010747909545898438 nb_pixel_total : 32450 time to create 1 rle with old method : 0.03830099105834961 length of segment : 271 time for calcul the mask position with numpy : 0.0005316734313964844 nb_pixel_total : 13761 time to create 1 rle with old method : 0.017151832580566406 length of segment : 113 time for calcul the mask position with numpy : 0.004062175750732422 nb_pixel_total : 170172 time to create 1 rle with new method : 0.006748199462890625 length of segment : 349 time for calcul the mask position with numpy : 0.0004942417144775391 nb_pixel_total : 7491 time to create 1 rle with old method : 0.009479761123657227 length of segment : 175 time for calcul the mask position with numpy : 0.0030684471130371094 nb_pixel_total : 126517 time to create 1 rle with old method : 0.1552886962890625 length of segment : 433 time for calcul the mask position with numpy : 0.0030078887939453125 nb_pixel_total : 107463 time to create 1 rle with old method : 0.15333127975463867 length of segment : 379 time spent for convertir_results : 6.002073764801025 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 58 chid ids of type : 3594 Number RLEs to save : 15339 save missing photos in datou_result : time spend for datou_step_exec : 58.68086242675781 time spend to save output : 1.2149906158447266 total time spend for step 1 : 59.89585304260254 step2:crop_condition Mon Sep 22 09:01:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 58 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758524497_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 8.209221601486206 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1758524510_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.9299235343933105 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758524515_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.964879035949707 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758524521_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.319729566574097 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758524528_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.040663003921509 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758524532_48385 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6669843196868896 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] Looping around the photos to save general results len do output : 58 /1385418807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385418995Didn'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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 182 time used for this insertion : 0.06975078582763672 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.63154983520508 time spend to save output : 0.07204437255859375 total time spend for step 2 : 41.70359420776367 step3:rle_unique_nms_with_priority Mon Sep 22 09:02:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 58 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 5.419116020202637 time for calcul the mask position with numpy : 0.6130881309509277 nb_pixel_total : 7739808 time to create 1 rle with new method : 0.7880010604858398 time for calcul the mask position with numpy : 0.024296045303344727 nb_pixel_total : 23398 time to create 1 rle with old method : 0.02666950225830078 time for calcul the mask position with numpy : 0.024573326110839844 nb_pixel_total : 20960 time to create 1 rle with old method : 0.0240781307220459 time for calcul the mask position with numpy : 0.024721384048461914 nb_pixel_total : 12481 time to create 1 rle with old method : 0.014465093612670898 time for calcul the mask position with numpy : 0.025269746780395508 nb_pixel_total : 30049 time to create 1 rle with old method : 0.03405880928039551 time for calcul the mask position with numpy : 0.025618791580200195 nb_pixel_total : 143025 time to create 1 rle with old method : 0.15924501419067383 time for calcul the mask position with numpy : 0.024212360382080078 nb_pixel_total : 8388 time to create 1 rle with old method : 0.009248495101928711 time for calcul the mask position with numpy : 0.026566505432128906 nb_pixel_total : 200518 time to create 1 rle with new method : 0.8347988128662109 time for calcul the mask position with numpy : 0.026247024536132812 nb_pixel_total : 31430 time to create 1 rle with old method : 0.03512310981750488 time for calcul the mask position with numpy : 0.02536320686340332 nb_pixel_total : 23126 time to create 1 rle with old method : 0.025085926055908203 time for calcul the mask position with numpy : 0.02390909194946289 nb_pixel_total : 11237 time to create 1 rle with old method : 0.012701272964477539 time for calcul the mask position with numpy : 0.025207042694091797 nb_pixel_total : 27504 time to create 1 rle with old method : 0.0316319465637207 time for calcul the mask position with numpy : 0.0331120491027832 nb_pixel_total : 22476 time to create 1 rle with old method : 0.025377273559570312 create new chi : 3.001450777053833 time to delete rle : 0.018420696258544922 batch 1 Loaded 25 chid ids of type : 3594 +++++++++++++Number RLEs to save : 7196 TO DO : save crop sub photo not yet done ! save time : 0.5616564750671387 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 5.682851314544678 time for calcul the mask position with numpy : 0.8937497138977051 nb_pixel_total : 7774101 time to create 1 rle with new method : 0.8916287422180176 time for calcul the mask position with numpy : 0.02487039566040039 nb_pixel_total : 32858 time to create 1 rle with old method : 0.037108659744262695 time for calcul the mask position with numpy : 0.03994894027709961 nb_pixel_total : 22548 time to create 1 rle with old method : 0.025894880294799805 time for calcul the mask position with numpy : 0.0417940616607666 nb_pixel_total : 108925 time to create 1 rle with old method : 0.12816524505615234 time for calcul the mask position with numpy : 0.042469024658203125 nb_pixel_total : 10882 time to create 1 rle with old method : 0.01238393783569336 time for calcul the mask position with numpy : 0.04041242599487305 nb_pixel_total : 54945 time to create 1 rle with old method : 0.06417155265808105 time for calcul the mask position with numpy : 0.04166555404663086 nb_pixel_total : 224723 time to create 1 rle with new method : 0.98238205909729 time for calcul the mask position with numpy : 0.03924250602722168 nb_pixel_total : 46993 time to create 1 rle with old method : 0.05448126792907715 time for calcul the mask position with numpy : 0.03841042518615723 nb_pixel_total : 18425 time to create 1 rle with old method : 0.020855188369750977 create new chi : 3.4912796020507812 time to delete rle : 0.0014982223510742188 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 7486 TO DO : save crop sub photo not yet done ! save time : 0.803032636642456 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 4.564733505249023 time for calcul the mask position with numpy : 0.7956249713897705 nb_pixel_total : 8011446 time to create 1 rle with new method : 1.2332170009613037 time for calcul the mask position with numpy : 0.047200679779052734 nb_pixel_total : 54073 time to create 1 rle with old method : 0.06235241889953613 time for calcul the mask position with numpy : 0.026463985443115234 nb_pixel_total : 57791 time to create 1 rle with old method : 0.06555867195129395 time for calcul the mask position with numpy : 0.024967193603515625 nb_pixel_total : 23841 time to create 1 rle with old method : 0.02773427963256836 time for calcul the mask position with numpy : 0.025913476943969727 nb_pixel_total : 26063 time to create 1 rle with old method : 0.02928924560546875 time for calcul the mask position with numpy : 0.02678084373474121 nb_pixel_total : 30249 time to create 1 rle with old method : 0.034661054611206055 time for calcul the mask position with numpy : 0.03426551818847656 nb_pixel_total : 48850 time to create 1 rle with old method : 0.054953813552856445 time for calcul the mask position with numpy : 0.03948330879211426 nb_pixel_total : 42087 time to create 1 rle with old method : 0.04744696617126465 create new chi : 2.6257896423339844 time to delete rle : 0.0011522769927978516 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 5208 TO DO : save crop sub photo not yet done ! save time : 0.4466228485107422 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.9975466728210449 time for calcul the mask position with numpy : 0.7055220603942871 nb_pixel_total : 8271702 time to create 1 rle with new method : 1.396061897277832 time for calcul the mask position with numpy : 0.024890422821044922 nb_pixel_total : 22698 time to create 1 rle with old method : 0.026324748992919922 create new chi : 2.201991319656372 time to delete rle : 0.00046539306640625 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 2736 TO DO : save crop sub photo not yet done ! save time : 0.39809632301330566 nb_obj : 7 nb_hashtags : 5 time to prepare the origin masks : 5.019785404205322 time for calcul the mask position with numpy : 0.7280030250549316 nb_pixel_total : 8073202 time to create 1 rle with new method : 1.2647464275360107 time for calcul the mask position with numpy : 0.02693462371826172 nb_pixel_total : 6398 time to create 1 rle with old method : 0.007334709167480469 time for calcul the mask position with numpy : 0.02697277069091797 nb_pixel_total : 28582 time to create 1 rle with old method : 0.03277325630187988 time for calcul the mask position with numpy : 0.026137590408325195 nb_pixel_total : 41790 time to create 1 rle with old method : 0.04742240905761719 time for calcul the mask position with numpy : 0.026215791702270508 nb_pixel_total : 87791 time to create 1 rle with old method : 0.09951424598693848 time for calcul the mask position with numpy : 0.025238752365112305 nb_pixel_total : 31701 time to create 1 rle with old method : 0.03594541549682617 time for calcul the mask position with numpy : 0.0245361328125 nb_pixel_total : 7460 time to create 1 rle with old method : 0.008400201797485352 time for calcul the mask position with numpy : 0.023267745971679688 nb_pixel_total : 17476 time to create 1 rle with old method : 0.0197451114654541 create new chi : 2.467423677444458 time to delete rle : 0.0007710456848144531 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 4880 TO DO : save crop sub photo not yet done ! save time : 0.5475990772247314 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 8.00212550163269 time for calcul the mask position with numpy : 0.7735302448272705 nb_pixel_total : 7668390 time to create 1 rle with new method : 1.0544989109039307 time for calcul the mask position with numpy : 0.024331331253051758 nb_pixel_total : 35118 time to create 1 rle with old method : 0.03949928283691406 time for calcul the mask position with numpy : 0.025519847869873047 nb_pixel_total : 45854 time to create 1 rle with old method : 0.0553438663482666 time for calcul the mask position with numpy : 0.029783964157104492 nb_pixel_total : 163205 time to create 1 rle with new method : 0.4320991039276123 time for calcul the mask position with numpy : 0.025259733200073242 nb_pixel_total : 2354 time to create 1 rle with old method : 0.003094911575317383 time for calcul the mask position with numpy : 0.024338245391845703 nb_pixel_total : 90014 time to create 1 rle with old method : 0.10024380683898926 time for calcul the mask position with numpy : 0.025359630584716797 nb_pixel_total : 48340 time to create 1 rle with old method : 0.05456805229187012 time for calcul the mask position with numpy : 0.02345442771911621 nb_pixel_total : 21545 time to create 1 rle with old method : 0.024343252182006836 time for calcul the mask position with numpy : 0.02341771125793457 nb_pixel_total : 32895 time to create 1 rle with old method : 0.0357668399810791 time for calcul the mask position with numpy : 0.023288249969482422 nb_pixel_total : 27209 time to create 1 rle with old method : 0.030277729034423828 time for calcul the mask position with numpy : 0.025328874588012695 nb_pixel_total : 159476 time to create 1 rle with new method : 0.8632161617279053 create new chi : 3.8197402954101562 time to delete rle : 0.0011491775512695312 batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 8710 TO DO : save crop sub photo not yet done ! save time : 0.6431159973144531 nb_obj : 7 nb_hashtags : 5 time to prepare the origin masks : 7.4626452922821045 time for calcul the mask position with numpy : 0.8649086952209473 nb_pixel_total : 8071950 time to create 1 rle with new method : 0.8627827167510986 time for calcul the mask position with numpy : 0.03940463066101074 nb_pixel_total : 5791 time to create 1 rle with old method : 0.006517887115478516 time for calcul the mask position with numpy : 0.03869295120239258 nb_pixel_total : 19305 time to create 1 rle with old method : 0.021613597869873047 time for calcul the mask position with numpy : 0.03819727897644043 nb_pixel_total : 27063 time to create 1 rle with old method : 0.029819250106811523 time for calcul the mask position with numpy : 0.0381772518157959 nb_pixel_total : 32300 time to create 1 rle with old method : 0.03532910346984863 time for calcul the mask position with numpy : 0.03790140151977539 nb_pixel_total : 32307 time to create 1 rle with old method : 0.03626537322998047 time for calcul the mask position with numpy : 0.028439998626708984 nb_pixel_total : 37813 time to create 1 rle with old method : 0.04263567924499512 time for calcul the mask position with numpy : 0.032858848571777344 nb_pixel_total : 67871 time to create 1 rle with old method : 0.07498598098754883 create new chi : 2.2714457511901855 time to delete rle : 0.0008077621459960938 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 5660 TO DO : save crop sub photo not yet done ! save time : 0.5021846294403076 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.139287233352661 time for calcul the mask position with numpy : 0.6025176048278809 nb_pixel_total : 7836546 time to create 1 rle with new method : 1.0438268184661865 time for calcul the mask position with numpy : 0.023889541625976562 nb_pixel_total : 107463 time to create 1 rle with old method : 0.11590027809143066 time for calcul the mask position with numpy : 0.02335834503173828 nb_pixel_total : 126517 time to create 1 rle with old method : 0.13840365409851074 time for calcul the mask position with numpy : 0.023549795150756836 nb_pixel_total : 7491 time to create 1 rle with old method : 0.008522510528564453 time for calcul the mask position with numpy : 0.024214982986450195 nb_pixel_total : 170172 time to create 1 rle with new method : 0.8579845428466797 time for calcul the mask position with numpy : 0.024440765380859375 nb_pixel_total : 13761 time to create 1 rle with old method : 0.01588892936706543 time for calcul the mask position with numpy : 0.025382518768310547 nb_pixel_total : 32450 time to create 1 rle with old method : 0.03679299354553223 create new chi : 3.032036066055298 time to delete rle : 0.0009238719940185547 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 5600 TO DO : save crop sub photo not yet done ! save time : 0.46158432960510254 map_output_result : {1385371117: (0.0, 'Should be the crop_list due to order', 0), 1385371115: (0.0, 'Should be the crop_list due to order', 0), 1385371091: (0.0, 'Should be the crop_list due to order', 0), 1385371089: (0.0, 'Should be the crop_list due to order', 0), 1385371086: (0.0, 'Should be the crop_list due to order', 0), 1385371085: (0.0, 'Should be the crop_list due to order', 0), 1385371084: (0.0, 'Should be the crop_list due to order', 0), 1385371082: (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 [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] Looping around the photos to save general results len do output : 8 /1385371117.Didn't retrieve data . /1385371115.Didn't retrieve data . /1385371091.Didn't retrieve data . /1385371089.Didn't retrieve data . /1385371086.Didn't retrieve data . /1385371085.Didn't retrieve data . /1385371084.Didn't retrieve data . /1385371082.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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.017305850982666016 save_final save missing photos in datou_result : time spend for datou_step_exec : 69.10076403617859 time spend to save output : 0.017830371856689453 total time spend for step 3 : 69.11859440803528 step4:ventilate_hashtags_in_portfolio Mon Sep 22 09:03:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27082751 get user id for portfolio 27082751 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`=27082751 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','papier','environnement','pet_fonce','metal','flou','pehd','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27082751 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','papier','environnement','pet_fonce','metal','flou','pehd','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27082751 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','papier','environnement','pet_fonce','metal','flou','pehd','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27082957,27082958,27082959,27082960,27082961,27082962,27082963,27082964,27082965,27082966,27082967?tags=mal_croppe,background,carton,papier,environnement,pet_fonce,metal,flou,pehd,pet_clair,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] Looping around the photos to save general results len do output : 1 /27082751. 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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016115188598632812 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8617002964019775 time spend to save output : 0.0163421630859375 total time spend for step 4 : 1.878042459487915 step5:final Mon Sep 22 09:03:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1385371117: ('0.043825578100887344',), 1385371115: ('0.043825578100887344',), 1385371091: ('0.043825578100887344',), 1385371089: ('0.043825578100887344',), 1385371086: ('0.043825578100887344',), 1385371085: ('0.043825578100887344',), 1385371084: ('0.043825578100887344',), 1385371082: ('0.043825578100887344',)} new output for save of step final : {1385371117: ('0.043825578100887344',), 1385371115: ('0.043825578100887344',), 1385371091: ('0.043825578100887344',), 1385371089: ('0.043825578100887344',), 1385371086: ('0.043825578100887344',), 1385371085: ('0.043825578100887344',), 1385371084: ('0.043825578100887344',), 1385371082: ('0.043825578100887344',)} [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] Looping around the photos to save general results len do output : 8 /1385371117.Didn't retrieve data . /1385371115.Didn't retrieve data . /1385371091.Didn't retrieve data . /1385371089.Didn't retrieve data . /1385371086.Didn't retrieve data . /1385371085.Didn't retrieve data . /1385371084.Didn't retrieve data . /1385371082.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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01600956916809082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1331498622894287 time spend to save output : 0.01650071144104004 total time spend for step 5 : 0.14965057373046875 step6:blur_detection Mon Sep 22 09:03:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d.jpg resize: (2160, 3840) 1385371117 -6.676040059115059 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624.jpg resize: (2160, 3840) 1385371115 -6.920991287822259 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f.jpg resize: (2160, 3840) 1385371091 -6.97425816817817 treat image : temp/1758524429_48385_1385371089_169a99839e071efab9c3826422a40f25.jpg resize: (2160, 3840) 1385371089 -7.131856599797537 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb.jpg resize: (2160, 3840) 1385371086 -7.011631248827829 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143.jpg resize: (2160, 3840) 1385371085 -7.098051604211292 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa.jpg resize: (2160, 3840) 1385371084 -7.014091298793804 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492.jpg resize: (2160, 3840) 1385371082 -6.940691129912186 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738785_0.png resize: (156, 251) 1385418807 -3.9946305262252704 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738787_0.png resize: (84, 178) 1385418808 -4.780056303980785 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738788_0.png resize: (207, 151) 1385418809 -5.59423222764028 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738794_0.png resize: (92, 209) 1385418810 -3.8622391749693294 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738796_0.png resize: (213, 154) 1385418811 -4.0635263379547455 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738798_0.png resize: (255, 277) 1385418812 -3.5545026471358367 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738800_0.png resize: (558, 135) 1385418813 -5.425679578667276 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738806_0.png resize: (270, 231) 1385418814 -3.880867424651141 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738807_0.png resize: (159, 246) 1385418815 -4.403038435631576 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738814_0.png resize: (81, 107) 1385418816 -2.370316058203943 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738815_0.png resize: (225, 182) 1385418817 -4.869265800259981 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738820_0.png resize: (352, 535) 1385418818 -4.7634097731942795 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738821_0.png resize: (157, 253) 1385418819 -4.908589067139131 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738826_0.png resize: (393, 398) 1385418821 -3.740446666599048 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738827_0.png resize: (605, 474) 1385418823 -5.144171437303198 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738834_0.png resize: (171, 265) 1385418825 -4.311709404911109 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738836_0.png resize: (95, 100) 1385418827 -4.096518552543119 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738838_0.png resize: (114, 195) 1385418829 -4.313065246458804 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738841_0.png resize: (433, 451) 1385418831 -3.7376820526119245 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738842_0.png resize: (373, 469) 1385418833 -4.155559995339948 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738790_0.png resize: (384, 696) 1385418842 -2.340370971313729 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738797_0.png resize: (210, 135) 1385418843 -2.4498588388760436 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738799_0.png resize: (646, 488) 1385418844 -4.704744104374281 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738803_0.png resize: (165, 233) 1385418845 -4.509265159475664 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738808_0.png resize: (183, 173) 1385418846 -3.3169623548619267 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738811_0.png resize: (206, 299) 1385418848 -5.18333690621349 treat image : temp/1758524429_48385_1385371089_169a99839e071efab9c3826422a40f25_rle_crop_3969738812_0.png resize: (235, 136) 1385418849 -4.5962786385571635 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738813_0.png resize: (135, 181) 1385418850 -2.1806207776015647 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738822_0.png resize: (211, 231) 1385418851 -4.691851112578101 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738823_0.png resize: (190, 207) 1385418852 -3.7783458787350606 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738831_0.png resize: (157, 314) 1385418853 -1.8606100536537202 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738833_0.png resize: (224, 232) 1385418854 -4.067128594053044 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738837_0.png resize: (247, 241) 1385418855 -3.46874439160914 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738840_0.png resize: (175, 63) 1385418856 -4.34032772327935 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738819_0.png resize: (83, 100) 1385418857 -4.442992740239194 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738835_0.png resize: (155, 159) 1385418858 -4.484500003003282 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738786_0.png resize: (195, 170) 1385418926 -4.614814640243623 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738789_0.png resize: (205, 227) 1385418928 -5.390082099955634 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738791_0.png resize: (118, 96) 1385418929 -4.294044540887314 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738793_0.png resize: (238, 164) 1385418930 -5.5078314750786115 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738802_0.png resize: (270, 526) 1385418932 -5.168204166113443 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738804_0.png resize: (329, 131) 1385418933 -4.12919071343111 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738805_0.png resize: (285, 192) 1385418934 -5.01446322898964 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738810_0.png resize: (220, 316) 1385418936 -5.934742789508643 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738816_0.png resize: (361, 326) 1385418937 -4.917518471283683 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738817_0.png resize: (184, 295) 1385418938 -4.066182864725752 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738824_0.png resize: (318, 185) 1385418940 -4.140580933466897 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738828_0.png resize: (305, 215) 1385418941 -5.05326041282994 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738829_0.png resize: (199, 259) 1385418942 -4.237369241129348 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738832_0.png resize: (182, 239) 1385418944 -5.300455186433761 treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738839_0.png resize: (349, 660) 1385418945 -5.162828238716196 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738792_0.png resize: (403, 477) 1385418971 -3.4558238605530462 treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738795_0.png resize: (156, 160) 1385418972 -3.6834159012443997 treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738801_0.png resize: (101, 139) 1385418974 -2.0465744570193065 treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738809_0.png resize: (132, 240) 1385418975 -3.091619448338127 treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738818_0.png resize: (223, 172) 1385418976 -3.6122654534799423 treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738830_0.png resize: (736, 324) 1385418978 -1.7307809501279274 treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738825_0.png resize: (380, 512) 1385418995 -3.8289713781612007 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 : 66 time used for this insertion : 0.020324230194091797 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 66 time used for this insertion : 0.14057517051696777 save missing photos in datou_result : time spend for datou_step_exec : 31.551016092300415 time spend to save output : 0.1654508113861084 total time spend for step 6 : 31.716466903686523 step7:brightness Mon Sep 22 09:03:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d.jpg treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624.jpg treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f.jpg treat image : temp/1758524429_48385_1385371089_169a99839e071efab9c3826422a40f25.jpg treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb.jpg treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143.jpg treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa.jpg treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492.jpg treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738785_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738787_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738788_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738794_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738796_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738798_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738800_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738806_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738807_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738814_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738815_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738820_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738821_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738826_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738827_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738834_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738836_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738838_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738841_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738842_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738790_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738797_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738799_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738803_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738808_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738811_0.png treat image : temp/1758524429_48385_1385371089_169a99839e071efab9c3826422a40f25_rle_crop_3969738812_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738813_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738822_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738823_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738831_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738833_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738837_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738840_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738819_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738835_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738786_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738789_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738791_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738793_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738802_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738804_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738805_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738810_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738816_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738817_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738824_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738828_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738829_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738832_0.png treat image : temp/1758524429_48385_1385371082_2dfedf771cdbf2ba7c05264eff52a492_rle_crop_3969738839_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738792_0.png treat image : temp/1758524429_48385_1385371117_fb50600d2de2527a36acfbba4ab6ad4d_rle_crop_3969738795_0.png treat image : temp/1758524429_48385_1385371115_c8c2fb671a715631c04a43da51ded624_rle_crop_3969738801_0.png treat image : temp/1758524429_48385_1385371091_96209673eb85f229aa60a9e64207656f_rle_crop_3969738809_0.png treat image : temp/1758524429_48385_1385371086_3505e297b6307f3202c3d12b6c3743cb_rle_crop_3969738818_0.png treat image : temp/1758524429_48385_1385371084_ac90095fdfa8bfbcb511c17bccc937fa_rle_crop_3969738830_0.png treat image : temp/1758524429_48385_1385371085_d8172167386d3c0c95dfee32464ae143_rle_crop_3969738825_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 : 66 time used for this insertion : 0.0308380126953125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 66 time used for this insertion : 0.26790547370910645 save missing photos in datou_result : time spend for datou_step_exec : 8.574408531188965 time spend to save output : 0.30359363555908203 total time spend for step 7 : 8.878002166748047 step8:velours_tree Mon Sep 22 09:04:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.10320115089416504 time spend to save output : 6.818771362304688e-05 total time spend for step 8 : 0.10326933860778809 step9:send_mail_cod Mon Sep 22 09:04:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P27082751_22-09-2025_09_04_04.pdf 27082957 imagette270829571758524644 27082958 imagette270829581758524644 27082959 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 .imagette270829591758524644 27082960 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270829601758524646 27082962 change filename to text .imagette270829621758524647 27082963 change filename to text .change filename to text .imagette270829631758524648 27082964 imagette270829641758524648 27082965 imagette270829651758524648 27082966 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270829661758524648 27082967 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270829671758524649 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27082751 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27082957,27082958,27082959,27082960,27082961,27082962,27082963,27082964,27082965,27082966,27082967?tags=mal_croppe,background,carton,papier,environnement,pet_fonce,metal,flou,pehd,pet_clair,autre args[1385371117] : ((1385371117, -6.676040059115059, 492609224), (1385371117, -0.12387434764048409, 496442774), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371115] : ((1385371115, -6.920991287822259, 492609224), (1385371115, 0.028016773397106405, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371091] : ((1385371091, -6.97425816817817, 492609224), (1385371091, 0.0670404680736288, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371089] : ((1385371089, -7.131856599797537, 492609224), (1385371089, 0.0457586512002931, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371086] : ((1385371086, -7.011631248827829, 492609224), (1385371086, 0.11188410152139772, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371085] : ((1385371085, -7.098051604211292, 492609224), (1385371085, 0.13963823839493242, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371084] : ((1385371084, -7.014091298793804, 492609224), (1385371084, 0.09482342403073689, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com args[1385371082] : ((1385371082, -6.940691129912186, 492609224), (1385371082, 0.12630303251687158, 2107752395), '0.043825578100887344') We are sending mail with results at report@fotonower.com refus_total : 0.043825578100887344 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27082751 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_P27082751_22-09-2025_09_04_04.pdf results_Auto_P27082751_22-09-2025_09_04_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27082751_22-09-2025_09_04_04.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','27082751','results_Auto_P27082751_22-09-2025_09_04_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27082751_22-09-2025_09_04_04.pdf','pdf','','0.68','0.043825578100887344') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27082751

https://www.fotonower.com/image?json=false&list_photos_id=1385371117
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371115
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371091
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371089
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371086
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371085
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371084
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385371082
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/27082959?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27082960?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/27082962?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27082963?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27082966?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27082967?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27082751_22-09-2025_09_04_04.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27082957,27082958,27082959,27082960,27082961,27082962,27082963,27082964,27082965,27082966,27082967?tags=mal_croppe,background,carton,papier,environnement,pet_fonce,metal,flou,pehd,pet_clair,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 22 Sep 2025 07:04:12 GMT Content-Length: 0 Connection: close X-Message-Id: jxHAD5zbSX2vy8DFU9ClDw Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] 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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 1.8496582508087158 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.100298881530762 time spend to save output : 1.8499648571014404 total time spend for step 9 : 9.950263738632202 step10:split_time_score Mon Sep 22 09:04:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19092025 27082751 Nombre de photos uploadées : 8 / 23040 (0%) 19092025 27082751 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 19092025 27082751 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.00044083595275878906 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2018439769744873 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.017269210746408352 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27045239_19-09-2025_17_10_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27045239 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`=27045239 AND mptpi.`type`=3726 To do Qualite : 0.01787303931881728 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048880_19-09-2025_19_13_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27048880 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`=27048880 AND mptpi.`type`=3726 To do Qualite : 0.08797370113168725 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052783_19-09-2025_21_58_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27052783 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`=27052783 AND mptpi.`type`=3594 To do Qualite : 0.01470908885007062 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052787_19-09-2025_20_42_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27052787 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`=27052787 AND mptpi.`type`=3726 To do Qualite : 0.08697559799382718 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057432_19-09-2025_22_53_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27057432 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`=27057432 AND mptpi.`type`=3594 To do Qualite : 0.08254049203593473 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057436_19-09-2025_22_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27057436 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`=27057436 AND mptpi.`type`=3594 To do Qualite : 0.012850038135002358 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057437_19-09-2025_22_40_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27057437 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`=27057437 AND mptpi.`type`=3726 To do Qualite : 0.08075339988425925 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058821_20-09-2025_00_25_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27058821 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`=27058821 AND mptpi.`type`=3594 To do Qualite : 0.060905824740460156 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058827_20-09-2025_00_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27058827 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`=27058827 AND mptpi.`type`=3594 To do Qualite : 0.08972187201462375 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27060966_20-09-2025_01_23_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27060966 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`=27060966 AND mptpi.`type`=3594 To do Qualite : 0.043825578100887344 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27082751_22-09-2025_09_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27082751 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`=27082751 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27082760 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27082790 order by id desc limit 1 Qualite : 0.006383690945979265 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27082808_22-09-2025_09_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27082808 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`=27082808 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19092025': {'nb_upload': 8, '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 [1385371117, 1385371115, 1385371091, 1385371089, 1385371086, 1385371085, 1385371084, 1385371082] Looping around the photos to save general results len do output : 1 /27082751Didn'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, '3756324') ('3318', '27082751', '1385371117', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371115', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371091', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371089', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371086', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371085', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371084', None, None, None, None, None, '3756324') ('3318', None, None, None, None, None, None, None, '3756324') ('3318', '27082751', '1385371082', None, None, None, None, None, '3756324') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.06969356536865234 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4462783336639404 time spend to save output : 0.06992220878601074 total time spend for step 10 : 3.516200542449951 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 88.62user 101.69system 3:53.10elapsed 81%CPU (0avgtext+0avgdata 3702008maxresident)k 914040inputs+85416outputs (12651major+8881295minor)pagefaults 0swaps