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 : 3061285 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 : ['3749264'] with mtr_portfolio_ids : ['27057432'] and first list_photo_ids : [] new path : /proc/3061285/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 1.085221290588379 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Sep 19 22:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10587 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-19 22:50:33.828966: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-19 22:50:33.864594: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-19 22:50:33.867524: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5a30000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-19 22:50:33.867592: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-19 22:50:33.874057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-19 22:50:34.091431: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3dd78c80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-19 22:50:34.091525: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-19 22:50:34.093342: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-19 22:50:34.094613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 22:50:34.100011: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 22:50:34.122950: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 22:50:34.124354: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 22:50:34.162984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 22:50:34.167934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 22:50:34.232137: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 22:50:34.234552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 22:50:34.235087: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 22:50:34.236360: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-19 22:50:34.236389: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-19 22:50:34.236404: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-19 22:50:34.238982: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9806 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-19 22:50:34.564421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-19 22:50:34.564535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 22:50:34.564553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 22:50:34.564567: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 22:50:34.564582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 22:50:34.564595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 22:50:34.564609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 22:50:34.564623: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 22:50:34.565815: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 22:50:34.567024: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-19 22:50:34.567055: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-19 22:50:34.567069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 22:50:34.567082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-19 22:50:34.567094: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-19 22:50:34.567107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-19 22:50:34.567119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-19 22:50:34.567131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-19 22:50:34.568301: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-19 22:50:34.568335: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-19 22:50:34.568370: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-19 22:50:34.568378: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-19 22:50:34.569667: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9806 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-19 22:50:46.324653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-19 22:50:46.515798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 34 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 : 25 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 : 18 Detection mask done ! Trying to reset tf kernel 3061804 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 414 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10587 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.0010254383087158203 nb_pixel_total : 39241 time to create 1 rle with old method : 0.04221224784851074 length of segment : 265 time for calcul the mask position with numpy : 0.0009884834289550781 nb_pixel_total : 59567 time to create 1 rle with old method : 0.06474947929382324 length of segment : 199 time for calcul the mask position with numpy : 0.001245260238647461 nb_pixel_total : 74988 time to create 1 rle with old method : 0.07965469360351562 length of segment : 362 time for calcul the mask position with numpy : 0.0024566650390625 nb_pixel_total : 117031 time to create 1 rle with old method : 0.12335968017578125 length of segment : 649 time for calcul the mask position with numpy : 0.0010867118835449219 nb_pixel_total : 78468 time to create 1 rle with old method : 0.08434700965881348 length of segment : 443 time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 13036 time to create 1 rle with old method : 0.014327287673950195 length of segment : 114 time for calcul the mask position with numpy : 0.002494335174560547 nb_pixel_total : 118252 time to create 1 rle with old method : 0.14449119567871094 length of segment : 378 time for calcul the mask position with numpy : 0.0007233619689941406 nb_pixel_total : 40306 time to create 1 rle with old method : 0.05142974853515625 length of segment : 225 time for calcul the mask position with numpy : 0.0009534358978271484 nb_pixel_total : 53860 time to create 1 rle with old method : 0.0668795108795166 length of segment : 307 time for calcul the mask position with numpy : 0.0002925395965576172 nb_pixel_total : 13290 time to create 1 rle with old method : 0.01693558692932129 length of segment : 111 time for calcul the mask position with numpy : 0.001844644546508789 nb_pixel_total : 104032 time to create 1 rle with old method : 0.13163232803344727 length of segment : 365 time for calcul the mask position with numpy : 0.0014476776123046875 nb_pixel_total : 101789 time to create 1 rle with old method : 0.11060857772827148 length of segment : 365 time for calcul the mask position with numpy : 0.0011675357818603516 nb_pixel_total : 65791 time to create 1 rle with old method : 0.07585763931274414 length of segment : 252 time for calcul the mask position with numpy : 0.001674652099609375 nb_pixel_total : 80922 time to create 1 rle with old method : 0.09450054168701172 length of segment : 337 time for calcul the mask position with numpy : 0.0002779960632324219 nb_pixel_total : 11375 time to create 1 rle with old method : 0.014334917068481445 length of segment : 143 time for calcul the mask position with numpy : 0.002185821533203125 nb_pixel_total : 123689 time to create 1 rle with old method : 0.13868141174316406 length of segment : 432 time for calcul the mask position with numpy : 0.0003502368927001953 nb_pixel_total : 14193 time to create 1 rle with old method : 0.016103267669677734 length of segment : 159 time for calcul the mask position with numpy : 0.0004057884216308594 nb_pixel_total : 26145 time to create 1 rle with old method : 0.029454946517944336 length of segment : 169 time for calcul the mask position with numpy : 0.00024771690368652344 nb_pixel_total : 12702 time to create 1 rle with old method : 0.014548540115356445 length of segment : 129 time for calcul the mask position with numpy : 0.00027179718017578125 nb_pixel_total : 12981 time to create 1 rle with old method : 0.015089035034179688 length of segment : 189 time for calcul the mask position with numpy : 0.0012483596801757812 nb_pixel_total : 78948 time to create 1 rle with old method : 0.08693099021911621 length of segment : 466 time for calcul the mask position with numpy : 0.0007426738739013672 nb_pixel_total : 41876 time to create 1 rle with old method : 0.04670000076293945 length of segment : 408 time for calcul the mask position with numpy : 0.0002503395080566406 nb_pixel_total : 14435 time to create 1 rle with old method : 0.01630115509033203 length of segment : 100 time for calcul the mask position with numpy : 0.0045664310455322266 nb_pixel_total : 197004 time to create 1 rle with new method : 0.011243343353271484 length of segment : 650 time for calcul the mask position with numpy : 0.0004963874816894531 nb_pixel_total : 23397 time to create 1 rle with old method : 0.026490449905395508 length of segment : 180 time for calcul the mask position with numpy : 0.0002951622009277344 nb_pixel_total : 15647 time to create 1 rle with old method : 0.017962932586669922 length of segment : 115 time for calcul the mask position with numpy : 0.00026106834411621094 nb_pixel_total : 10889 time to create 1 rle with old method : 0.01261591911315918 length of segment : 105 time for calcul the mask position with numpy : 0.0007493495941162109 nb_pixel_total : 44465 time to create 1 rle with old method : 0.04980134963989258 length of segment : 341 time for calcul the mask position with numpy : 0.0032143592834472656 nb_pixel_total : 150708 time to create 1 rle with new method : 0.008026838302612305 length of segment : 526 time for calcul the mask position with numpy : 0.0007603168487548828 nb_pixel_total : 45570 time to create 1 rle with old method : 0.050707340240478516 length of segment : 324 time for calcul the mask position with numpy : 0.0020585060119628906 nb_pixel_total : 61859 time to create 1 rle with old method : 0.07392168045043945 length of segment : 284 time for calcul the mask position with numpy : 0.0012564659118652344 nb_pixel_total : 17399 time to create 1 rle with old method : 0.020360469818115234 length of segment : 313 time for calcul the mask position with numpy : 0.0026116371154785156 nb_pixel_total : 102621 time to create 1 rle with old method : 0.12483572959899902 length of segment : 872 time for calcul the mask position with numpy : 0.005549430847167969 nb_pixel_total : 200934 time to create 1 rle with new method : 0.01405954360961914 length of segment : 407 time for calcul the mask position with numpy : 0.0045375823974609375 nb_pixel_total : 139354 time to create 1 rle with old method : 0.18029403686523438 length of segment : 445 time for calcul the mask position with numpy : 0.0009484291076660156 nb_pixel_total : 30537 time to create 1 rle with old method : 0.03291654586791992 length of segment : 178 time for calcul the mask position with numpy : 0.0010955333709716797 nb_pixel_total : 42560 time to create 1 rle with old method : 0.04538846015930176 length of segment : 230 time for calcul the mask position with numpy : 0.0003497600555419922 nb_pixel_total : 10247 time to create 1 rle with old method : 0.011039972305297852 length of segment : 102 time for calcul the mask position with numpy : 0.001596212387084961 nb_pixel_total : 45046 time to create 1 rle with old method : 0.053707122802734375 length of segment : 590 time for calcul the mask position with numpy : 0.0011284351348876953 nb_pixel_total : 45576 time to create 1 rle with old method : 0.04941296577453613 length of segment : 290 time for calcul the mask position with numpy : 0.0029163360595703125 nb_pixel_total : 138827 time to create 1 rle with old method : 0.1500096321105957 length of segment : 382 time for calcul the mask position with numpy : 0.0031194686889648438 nb_pixel_total : 111730 time to create 1 rle with old method : 0.12265324592590332 length of segment : 392 time for calcul the mask position with numpy : 0.005640745162963867 nb_pixel_total : 194652 time to create 1 rle with new method : 0.016614437103271484 length of segment : 530 time for calcul the mask position with numpy : 0.0016362667083740234 nb_pixel_total : 51679 time to create 1 rle with old method : 0.06165957450866699 length of segment : 296 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 10665 time to create 1 rle with old method : 0.012461185455322266 length of segment : 269 time for calcul the mask position with numpy : 0.0010082721710205078 nb_pixel_total : 41873 time to create 1 rle with old method : 0.048059940338134766 length of segment : 156 time for calcul the mask position with numpy : 0.0035796165466308594 nb_pixel_total : 134467 time to create 1 rle with old method : 0.14915013313293457 length of segment : 607 time for calcul the mask position with numpy : 0.0015683174133300781 nb_pixel_total : 53665 time to create 1 rle with old method : 0.06283378601074219 length of segment : 486 time for calcul the mask position with numpy : 0.0026628971099853516 nb_pixel_total : 109173 time to create 1 rle with old method : 0.12656140327453613 length of segment : 465 time for calcul the mask position with numpy : 0.0005447864532470703 nb_pixel_total : 15374 time to create 1 rle with old method : 0.02009296417236328 length of segment : 163 time for calcul the mask position with numpy : 0.0006105899810791016 nb_pixel_total : 15255 time to create 1 rle with old method : 0.01720905303955078 length of segment : 156 time for calcul the mask position with numpy : 0.0036356449127197266 nb_pixel_total : 163265 time to create 1 rle with new method : 0.007676124572753906 length of segment : 691 time for calcul the mask position with numpy : 0.004151821136474609 nb_pixel_total : 68451 time to create 1 rle with old method : 0.07565927505493164 length of segment : 638 time for calcul the mask position with numpy : 0.0007398128509521484 nb_pixel_total : 28099 time to create 1 rle with old method : 0.0316624641418457 length of segment : 392 time spent for convertir_results : 5.923778772354126 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 54 chid ids of type : 3594 Number RLEs to save : 18142 save missing photos in datou_result : time spend for datou_step_exec : 49.26523685455322 time spend to save output : 1.1815240383148193 total time spend for step 1 : 50.44676089286804 step2:crop_condition Fri Sep 19 22:51:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 54 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 34 About to insert : list_path_to_insert length 34 new photo from crops ! About to upload 34 photos upload in portfolio : 3736932 init cache_photo without model_param we have 34 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758315091_3061285 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 34 photos in the portfolio 3736932 time of upload the photos Elapsed time : 17.7322838306427 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758315111_3061285 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.121692180633545 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/1758315113_3061285 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 : 1.136908769607544 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758315120_3061285 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.737795352935791 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758315127_3061285 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.6944799423217773 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 ! 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/1758315129_3061285 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 : 1.0201351642608643 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] Looping around the photos to save general results len do output : 54 /1385177141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385177201Didn'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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 167 time used for this insertion : 0.019431591033935547 save_final save missing photos in datou_result : time spend for datou_step_exec : 49.40672564506531 time spend to save output : 0.021900653839111328 total time spend for step 2 : 49.42862629890442 step3:rle_unique_nms_with_priority Fri Sep 19 22:52:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 54 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 3.459390163421631 time for calcul the mask position with numpy : 0.5666816234588623 nb_pixel_total : 7699651 time to create 1 rle with new method : 0.8039326667785645 time for calcul the mask position with numpy : 0.023761749267578125 nb_pixel_total : 53860 time to create 1 rle with old method : 0.05800962448120117 time for calcul the mask position with numpy : 0.023950815200805664 nb_pixel_total : 40306 time to create 1 rle with old method : 0.04260611534118652 time for calcul the mask position with numpy : 0.024142026901245117 nb_pixel_total : 118252 time to create 1 rle with old method : 0.12352991104125977 time for calcul the mask position with numpy : 0.02483963966369629 nb_pixel_total : 13036 time to create 1 rle with old method : 0.014109373092651367 time for calcul the mask position with numpy : 0.024970531463623047 nb_pixel_total : 78468 time to create 1 rle with old method : 0.08321905136108398 time for calcul the mask position with numpy : 0.024344444274902344 nb_pixel_total : 117031 time to create 1 rle with old method : 0.12409591674804688 time for calcul the mask position with numpy : 0.0241243839263916 nb_pixel_total : 74988 time to create 1 rle with old method : 0.07998943328857422 time for calcul the mask position with numpy : 0.025079965591430664 nb_pixel_total : 59567 time to create 1 rle with old method : 0.06277942657470703 time for calcul the mask position with numpy : 0.02453327178955078 nb_pixel_total : 39241 time to create 1 rle with old method : 0.04189467430114746 create new chi : 2.2575485706329346 time to delete rle : 0.018191814422607422 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++Number RLEs to save : 8044 TO DO : save crop sub photo not yet done ! save time : 0.48984789848327637 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 7.416471481323242 time for calcul the mask position with numpy : 0.6409993171691895 nb_pixel_total : 7356148 time to create 1 rle with new method : 1.089648962020874 time for calcul the mask position with numpy : 0.030702829360961914 nb_pixel_total : 459 time to create 1 rle with old method : 0.0006880760192871094 time for calcul the mask position with numpy : 0.027382850646972656 nb_pixel_total : 15647 time to create 1 rle with old method : 0.017773151397705078 time for calcul the mask position with numpy : 0.029729843139648438 nb_pixel_total : 23397 time to create 1 rle with old method : 0.02640056610107422 time for calcul the mask position with numpy : 0.03221631050109863 nb_pixel_total : 197004 time to create 1 rle with new method : 1.6511013507843018 time for calcul the mask position with numpy : 0.024836301803588867 nb_pixel_total : 14012 time to create 1 rle with old method : 0.015199661254882812 time for calcul the mask position with numpy : 0.024628162384033203 nb_pixel_total : 41876 time to create 1 rle with old method : 0.04554390907287598 time for calcul the mask position with numpy : 0.02538299560546875 nb_pixel_total : 78948 time to create 1 rle with old method : 0.08627963066101074 time for calcul the mask position with numpy : 0.026299476623535156 nb_pixel_total : 12981 time to create 1 rle with old method : 0.01447606086730957 time for calcul the mask position with numpy : 0.028123140335083008 nb_pixel_total : 12702 time to create 1 rle with old method : 0.014405012130737305 time for calcul the mask position with numpy : 0.028354644775390625 nb_pixel_total : 26145 time to create 1 rle with old method : 0.028954505920410156 time for calcul the mask position with numpy : 0.026511669158935547 nb_pixel_total : 14193 time to create 1 rle with old method : 0.01563405990600586 time for calcul the mask position with numpy : 0.026516199111938477 nb_pixel_total : 123689 time to create 1 rle with old method : 0.164154052734375 time for calcul the mask position with numpy : 0.025792360305786133 nb_pixel_total : 11375 time to create 1 rle with old method : 0.012625932693481445 time for calcul the mask position with numpy : 0.02593398094177246 nb_pixel_total : 80922 time to create 1 rle with old method : 0.11480140686035156 time for calcul the mask position with numpy : 0.0260312557220459 nb_pixel_total : 65791 time to create 1 rle with old method : 0.07249212265014648 time for calcul the mask position with numpy : 0.025844812393188477 nb_pixel_total : 101789 time to create 1 rle with old method : 0.11594343185424805 time for calcul the mask position with numpy : 0.028086185455322266 nb_pixel_total : 104032 time to create 1 rle with old method : 0.11923527717590332 time for calcul the mask position with numpy : 0.026198387145996094 nb_pixel_total : 13290 time to create 1 rle with old method : 0.014605283737182617 create new chi : 4.850861072540283 time to delete rle : 0.0013260841369628906 batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++Number RLEs to save : 11460 TO DO : save crop sub photo not yet done ! save time : 0.7047860622406006 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 2.9866926670074463 time for calcul the mask position with numpy : 0.4841291904449463 nb_pixel_total : 7670844 time to create 1 rle with new method : 0.8445649147033691 time for calcul the mask position with numpy : 0.023955345153808594 nb_pixel_total : 200934 time to create 1 rle with new method : 0.6848101615905762 time for calcul the mask position with numpy : 0.024196863174438477 nb_pixel_total : 102621 time to create 1 rle with old method : 0.10918617248535156 time for calcul the mask position with numpy : 0.024526119232177734 nb_pixel_total : 17399 time to create 1 rle with old method : 0.018535375595092773 time for calcul the mask position with numpy : 0.023880720138549805 nb_pixel_total : 61859 time to create 1 rle with old method : 0.06514215469360352 time for calcul the mask position with numpy : 0.023633956909179688 nb_pixel_total : 45570 time to create 1 rle with old method : 0.0507814884185791 time for calcul the mask position with numpy : 0.025416135787963867 nb_pixel_total : 150708 time to create 1 rle with new method : 0.5438454151153564 time for calcul the mask position with numpy : 0.02638864517211914 nb_pixel_total : 44465 time to create 1 rle with old method : 0.049758195877075195 create new chi : 3.115884304046631 time to delete rle : 0.0010638236999511719 batch 1 Loaded 15 chid ids of type : 3594 +++++++++++++Number RLEs to save : 8294 TO DO : save crop sub photo not yet done ! save time : 0.5189604759216309 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 4.8125715255737305 time for calcul the mask position with numpy : 0.6158220767974854 nb_pixel_total : 7431654 time to create 1 rle with new method : 0.778529167175293 time for calcul the mask position with numpy : 0.02363872528076172 nb_pixel_total : 41873 time to create 1 rle with old method : 0.04300856590270996 time for calcul the mask position with numpy : 0.023529767990112305 nb_pixel_total : 10665 time to create 1 rle with old method : 0.011246681213378906 time for calcul the mask position with numpy : 0.023233652114868164 nb_pixel_total : 51679 time to create 1 rle with old method : 0.05379915237426758 time for calcul the mask position with numpy : 0.024404287338256836 nb_pixel_total : 194652 time to create 1 rle with new method : 0.8146219253540039 time for calcul the mask position with numpy : 0.024286746978759766 nb_pixel_total : 111730 time to create 1 rle with old method : 0.11638188362121582 time for calcul the mask position with numpy : 0.025455236434936523 nb_pixel_total : 138827 time to create 1 rle with old method : 0.14311552047729492 time for calcul the mask position with numpy : 0.024235248565673828 nb_pixel_total : 45576 time to create 1 rle with old method : 0.047254323959350586 time for calcul the mask position with numpy : 0.024911880493164062 nb_pixel_total : 45046 time to create 1 rle with old method : 0.04707765579223633 time for calcul the mask position with numpy : 0.025612354278564453 nb_pixel_total : 10247 time to create 1 rle with old method : 0.011495590209960938 time for calcul the mask position with numpy : 0.025816679000854492 nb_pixel_total : 42560 time to create 1 rle with old method : 0.050847768783569336 time for calcul the mask position with numpy : 0.02561330795288086 nb_pixel_total : 30537 time to create 1 rle with old method : 0.0341336727142334 time for calcul the mask position with numpy : 0.026989221572875977 nb_pixel_total : 139354 time to create 1 rle with old method : 0.14844846725463867 create new chi : 3.2781357765197754 time to delete rle : 0.0011937618255615234 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 9880 TO DO : save crop sub photo not yet done ! save time : 0.6173045635223389 nb_obj : 8 nb_hashtags : 1 time to prepare the origin masks : 2.9492874145507812 time for calcul the mask position with numpy : 0.7242233753204346 nb_pixel_total : 7706651 time to create 1 rle with new method : 0.8048501014709473 time for calcul the mask position with numpy : 0.02341461181640625 nb_pixel_total : 28099 time to create 1 rle with old method : 0.028830766677856445 time for calcul the mask position with numpy : 0.022971153259277344 nb_pixel_total : 68451 time to create 1 rle with old method : 0.07089614868164062 time for calcul the mask position with numpy : 0.024784088134765625 nb_pixel_total : 163265 time to create 1 rle with new method : 0.6174829006195068 time for calcul the mask position with numpy : 0.024564743041992188 nb_pixel_total : 15255 time to create 1 rle with old method : 0.01685023307800293 time for calcul the mask position with numpy : 0.02409958839416504 nb_pixel_total : 15374 time to create 1 rle with old method : 0.016686677932739258 time for calcul the mask position with numpy : 0.025217533111572266 nb_pixel_total : 109173 time to create 1 rle with old method : 0.11615228652954102 time for calcul the mask position with numpy : 0.02499675750732422 nb_pixel_total : 53665 time to create 1 rle with old method : 0.05654621124267578 time for calcul the mask position with numpy : 0.02398204803466797 nb_pixel_total : 134467 time to create 1 rle with old method : 0.1388394832611084 create new chi : 2.8490734100341797 time to delete rle : 0.0010156631469726562 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 9356 TO DO : save crop sub photo not yet done ! save time : 0.5581331253051758 map_output_result : {1385169051: (0.0, 'Should be the crop_list due to order', 0), 1385168948: (0.0, 'Should be the crop_list due to order', 0), 1385168920: (0.0, 'Should be the crop_list due to order', 0), 1385168892: (0.0, 'Should be the crop_list due to order', 0), 1385168862: (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 [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] Looping around the photos to save general results len do output : 5 /1385169051.Didn't retrieve data . /1385168948.Didn't retrieve data . /1385168920.Didn't retrieve data . /1385168892.Didn't retrieve data . /1385168862.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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013528823852539062 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.604923248291016 time spend to save output : 0.013852357864379883 total time spend for step 3 : 41.618775606155396 step4:ventilate_hashtags_in_portfolio Fri Sep 19 22:52:51 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 : 27057432 get user id for portfolio 27057432 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pehd','pet_clair','environnement','flou','pet_fonce','metal','carton','papier','background','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`=27057432 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pehd','pet_clair','environnement','flou','pet_fonce','metal','carton','papier','background','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`=27057432 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pehd','pet_clair','environnement','flou','pet_fonce','metal','carton','papier','background','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27057696,27057697,27057698,27057699,27057700,27057701,27057702,27057703,27057704,27057705,27057706?tags=mal_croppe,pehd,pet_clair,environnement,flou,pet_fonce,metal,carton,papier,background,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] Looping around the photos to save general results len do output : 1 /27057432. 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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014495849609375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6872682571411133 time spend to save output : 0.01470184326171875 total time spend for step 4 : 1.701970100402832 step5:final Fri Sep 19 22:52:53 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 : {1385169051: ('0.08697559799382718',), 1385168948: ('0.08697559799382718',), 1385168920: ('0.08697559799382718',), 1385168892: ('0.08697559799382718',), 1385168862: ('0.08697559799382718',)} new output for save of step final : {1385169051: ('0.08697559799382718',), 1385168948: ('0.08697559799382718',), 1385168920: ('0.08697559799382718',), 1385168892: ('0.08697559799382718',), 1385168862: ('0.08697559799382718',)} [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] Looping around the photos to save general results len do output : 5 /1385169051.Didn't retrieve data . /1385168948.Didn't retrieve data . /1385168920.Didn't retrieve data . /1385168892.Didn't retrieve data . /1385168862.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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013700723648071289 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12056970596313477 time spend to save output : 0.014008283615112305 total time spend for step 5 : 0.13457798957824707 step6:blur_detection Fri Sep 19 22:52:53 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/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787.jpg resize: (2160, 3840) 1385169051 -6.79037042219401 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1.jpg resize: (2160, 3840) 1385168948 -6.970754948031143 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3.jpg resize: (2160, 3840) 1385168920 -6.774558389276423 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a.jpg resize: (2160, 3840) 1385168892 -6.118067775245222 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168.jpg resize: (2160, 3840) 1385168862 -6.615107004153929 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358345_0.png resize: (643, 283) 1385177141 -3.4616317381088377 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358347_0.png resize: (114, 182) 1385177142 -1.5480566038375785 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358349_0.png resize: (225, 259) 1385177143 -4.008237628185399 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358351_0.png resize: (109, 143) 1385177144 -1.4459304136513051 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358353_0.png resize: (317, 414) 1385177145 -2.788882737155175 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358354_0.png resize: (248, 363) 1385177146 -2.291931452200435 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358355_0.png resize: (337, 444) 1385177147 -3.521489405264773 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358356_0.png resize: (139, 118) 1385177148 -2.5954169438709727 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358359_0.png resize: (165, 206) 1385177150 -5.347735482256365 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358363_0.png resize: (405, 137) 1385177151 -1.871951188274521 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358364_0.png resize: (97, 203) 1385177152 -3.1871324095445637 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358365_0.png resize: (647, 422) 1385177153 -4.9813048416427455 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358367_0.png resize: (110, 204) 1385177154 1.5515981426566057 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358369_0.png resize: (341, 248) 1385177155 0.05058452478607819 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358370_0.png resize: (498, 391) 1385177156 -4.831494201388759 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358372_0.png resize: (253, 336) 1385177157 -0.9991237192562129 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358373_0.png resize: (222, 169) 1385177158 -3.7950626428058274 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358374_0.png resize: (497, 445) 1385177159 -4.498820909184996 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358376_0.png resize: (445, 513) 1385177160 1.1098725047345979 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358377_0.png resize: (170, 265) 1385177161 -2.6736242924297637 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358378_0.png resize: (230, 268) 1385177162 -0.4639271037305994 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358379_0.png resize: (102, 128) 1385177163 -3.316180689886341 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358380_0.png resize: (398, 267) 1385177164 -3.2081360320060206 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358381_0.png resize: (290, 262) 1385177165 -2.920509230164377 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358383_0.png resize: (392, 473) 1385177166 -2.6288164921115342 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358386_0.png resize: (137, 118) 1385177167 -3.3127372960425396 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358388_0.png resize: (595, 413) 1385177168 -2.512554776170628 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358389_0.png resize: (457, 170) 1385177169 -1.7213276813443938 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358390_0.png resize: (462, 299) 1385177170 1.358495323819676 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358391_0.png resize: (163, 149) 1385177171 -0.631976407415528 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358392_0.png resize: (156, 144) 1385177172 0.8144385219878183 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358393_0.png resize: (425, 506) 1385177173 -3.369411335318766 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358394_0.png resize: (636, 214) 1385177174 -1.608904237570452 treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358395_0.png resize: (321, 146) 1385177175 -1.1073786867312738 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358350_0.png resize: (307, 274) 1385177176 -2.519125999474098 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358358_0.png resize: (159, 135) 1385177177 -2.981565821218592 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358382_0.png resize: (382, 494) 1385177178 -0.5836086412276541 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358361_0.png resize: (178, 128) 1385177180 -4.700705465222854 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358368_0.png resize: (105, 134) 1385177181 -3.5049929006031135 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358342_0.png resize: (265, 225) 1385177185 -4.259917203672039 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358343_0.png resize: (183, 407) 1385177186 -3.3456281588356296 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358344_0.png resize: (355, 289) 1385177187 -4.476475727392277 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358346_0.png resize: (442, 251) 1385177188 -5.529215264669161 treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358348_0.png resize: (378, 415) 1385177189 -4.594488260336046 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358352_0.png resize: (332, 423) 1385177190 -4.193174266676343 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358357_0.png resize: (430, 453) 1385177191 -5.394651288778814 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358362_0.png resize: (466, 251) 1385177192 -4.23060721882138 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358371_0.png resize: (269, 245) 1385177193 -4.996582481349063 treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358375_0.png resize: (354, 734) 1385177195 -4.622434474033396 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358384_0.png resize: (480, 507) 1385177196 -4.791819498694029 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358387_0.png resize: (155, 329) 1385177197 -3.549334625541042 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358360_0.png resize: (129, 131) 1385177199 -3.2965111964455693 treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358366_0.png resize: (179, 225) 1385177200 -4.278298576130887 treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358385_0.png resize: (296, 229) 1385177201 -2.1026486583192057 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 59 time used for this insertion : 0.01467752456665039 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.015648841857910156 save missing photos in datou_result : time spend for datou_step_exec : 20.514623880386353 time spend to save output : 0.03574943542480469 total time spend for step 6 : 20.550373315811157 step7:brightness Fri Sep 19 22:53: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 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/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787.jpg treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1.jpg treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3.jpg treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a.jpg treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168.jpg treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358345_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358347_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358349_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358351_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358353_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358354_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358355_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358356_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358359_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358363_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358364_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358365_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358367_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358369_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358370_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358372_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358373_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358374_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358376_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358377_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358378_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358379_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358380_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358381_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358383_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358386_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358388_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358389_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358390_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358391_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358392_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358393_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358394_0.png treat image : temp/1758315028_3061285_1385168862_639ec4a14c5730e2036df685161d3168_rle_crop_3968358395_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358350_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358358_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358382_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358361_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358368_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358342_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358343_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358344_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358346_0.png treat image : temp/1758315028_3061285_1385169051_49ba53f742c33850ec729f93d1a15787_rle_crop_3968358348_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358352_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358357_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358362_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358371_0.png treat image : temp/1758315028_3061285_1385168920_8ac4620da438d7db5222d3956ff020e3_rle_crop_3968358375_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358384_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358387_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358360_0.png treat image : temp/1758315028_3061285_1385168948_b1cc790e4ca1be958b759ecfdec9b7e1_rle_crop_3968358366_0.png treat image : temp/1758315028_3061285_1385168892_829deb483182a7929088890d0364598a_rle_crop_3968358385_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 59 time used for this insertion : 0.01503300666809082 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.015084028244018555 save missing photos in datou_result : time spend for datou_step_exec : 5.182947158813477 time spend to save output : 0.03500485420227051 total time spend for step 7 : 5.217952013015747 step8:velours_tree Fri Sep 19 22:53:19 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.09158492088317871 time spend to save output : 4.696846008300781e-05 total time spend for step 8 : 0.09163188934326172 step9:send_mail_cod Fri Sep 19 22:53:19 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_P27057432_19-09-2025_22_53_19.pdf 27057696 imagette270576961758315199 27057697 imagette270576971758315199 27057698 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 .imagette270576981758315199 27057700 imagette270577001758315200 27057701 change filename to text .change filename to text .imagette270577011758315200 27057702 change filename to text .change filename to text .imagette270577021758315200 27057703 change filename to text .change filename to text .change filename to text .imagette270577031758315200 27057704 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 .imagette270577041758315201 27057705 imagette270577051758315203 27057706 change filename to text .imagette270577061758315203 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27057432 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27057696,27057697,27057698,27057699,27057700,27057701,27057702,27057703,27057704,27057705,27057706?tags=mal_croppe,pehd,pet_clair,environnement,flou,pet_fonce,metal,carton,papier,background,autre args[1385169051] : ((1385169051, -6.79037042219401, 492609224), (1385169051, 1.1603855332488942, 2107752395), '0.08697559799382718') We are sending mail with results at report@fotonower.com args[1385168948] : ((1385168948, -6.970754948031143, 492609224), (1385168948, 1.0002643299376521, 2107752395), '0.08697559799382718') We are sending mail with results at report@fotonower.com args[1385168920] : ((1385168920, -6.774558389276423, 492609224), (1385168920, 1.1795260506692418, 2107752395), '0.08697559799382718') We are sending mail with results at report@fotonower.com args[1385168892] : ((1385168892, -6.118067775245222, 492609224), (1385168892, 0.9427211387220567, 2107752395), '0.08697559799382718') We are sending mail with results at report@fotonower.com args[1385168862] : ((1385168862, -6.615107004153929, 492609224), (1385168862, 1.1797642111173428, 2107752395), '0.08697559799382718') We are sending mail with results at report@fotonower.com refus_total : 0.08697559799382718 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=27057432 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_P27057432_19-09-2025_22_53_19.pdf results_Auto_P27057432_19-09-2025_22_53_19.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057432_19-09-2025_22_53_19.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','27057432','results_Auto_P27057432_19-09-2025_22_53_19.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057432_19-09-2025_22_53_19.pdf','pdf','','0.48','0.08697559799382718') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27057432

https://www.fotonower.com/image?json=false&list_photos_id=1385169051
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385168948
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385168920
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385168892
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385168862
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27057698?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/27057701?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27057702?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27057703?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27057704?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27057706?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057432_19-09-2025_22_53_19.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27057696,27057697,27057698,27057699,27057700,27057701,27057702,27057703,27057704,27057705,27057706?tags=mal_croppe,pehd,pet_clair,environnement,flou,pet_fonce,metal,carton,papier,background,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 19 Sep 2025 20:53:25 GMT Content-Length: 0 Connection: close X-Message-Id: UgDnyCl7SHaFWDTdlIT3Sw 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 [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] 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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.0154876708984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.212038040161133 time spend to save output : 0.01566147804260254 total time spend for step 9 : 6.227699518203735 step10:split_time_score Fri Sep 19 22:53:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('12', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19092025 27057432 Nombre de photos uploadées : 5 / 23040 (0%) 19092025 27057432 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 19092025 27057432 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.00033664703369140625 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2180492877960205 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 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19092025': {'nb_upload': 5, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385169051, 1385168948, 1385168920, 1385168892, 1385168862] Looping around the photos to save general results len do output : 1 /27057432Didn'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, '3749264') ('3318', '27057432', '1385169051', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168948', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168920', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168892', None, None, None, None, None, '3749264') ('3318', None, None, None, None, None, None, None, '3749264') ('3318', '27057432', '1385168862', None, None, None, None, None, '3749264') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015243291854858398 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8116195201873779 time spend to save output : 0.015408039093017578 total time spend for step 10 : 0.8270275592803955 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 75.22user 67.88system 3:00.61elapsed 79%CPU (0avgtext+0avgdata 4054204maxresident)k 1843712inputs+70496outputs (7463major+6772866minor)pagefaults 0swaps