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 : 2437829 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 : ['3659311'] with mtr_portfolio_ids : ['26493017'] and first list_photo_ids : [] new path : /proc/2437829/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.6509637832641602 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Sep 3 16:10:28 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 : 10601 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-03 16:10:30.856831: 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-03 16:10:30.888490: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-03 16:10:30.890755: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fbcd0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-03 16:10:30.890815: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-03 16:10:30.894890: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-03 16:10:31.070458: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1ace1b70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-03 16:10:31.070530: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-03 16:10:31.072052: 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-03 16:10:31.072538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 16:10:31.075979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 16:10:31.079176: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 16:10:31.079744: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 16:10:31.082858: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 16:10:31.083943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 16:10:31.088671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 16:10:31.090201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 16:10:31.090284: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 16:10:31.091101: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 16:10:31.091118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 16:10:31.091127: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 16:10:31.096976: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9819 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-03 16:10:31.399734: 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-03 16:10:31.399826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 16:10:31.399849: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 16:10:31.399870: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 16:10:31.399889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 16:10:31.399909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 16:10:31.399928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 16:10:31.399947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 16:10:31.401604: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 16:10:31.403082: 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-03 16:10:31.403145: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 16:10:31.403165: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 16:10:31.403182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 16:10:31.403199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 16:10:31.403216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 16:10:31.403233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 16:10:31.403250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 16:10:31.404850: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 16:10:31.404887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 16:10:31.404898: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 16:10:31.404908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 16:10:31.406303: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9819 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-03 16:10:40.136736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 16:10:40.367213: 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 2438402 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1379 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5300 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.0002181529998779297 nb_pixel_total : 5418 time to create 1 rle with old method : 0.006192445755004883 length of segment : 76 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 3478 time to create 1 rle with old method : 0.003999471664428711 length of segment : 80 time for calcul the mask position with numpy : 0.0002512931823730469 nb_pixel_total : 10829 time to create 1 rle with old method : 0.012333393096923828 length of segment : 161 time for calcul the mask position with numpy : 0.0024263858795166016 nb_pixel_total : 120476 time to create 1 rle with old method : 0.13204360008239746 length of segment : 560 time for calcul the mask position with numpy : 0.00016117095947265625 nb_pixel_total : 7542 time to create 1 rle with old method : 0.009196996688842773 length of segment : 123 time for calcul the mask position with numpy : 0.0002582073211669922 nb_pixel_total : 14553 time to create 1 rle with old method : 0.01810431480407715 length of segment : 147 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 14969 time to create 1 rle with old method : 0.017567873001098633 length of segment : 144 time for calcul the mask position with numpy : 0.001737833023071289 nb_pixel_total : 113884 time to create 1 rle with old method : 0.1231534481048584 length of segment : 570 time for calcul the mask position with numpy : 0.007745981216430664 nb_pixel_total : 348640 time to create 1 rle with new method : 0.02589869499206543 length of segment : 733 time for calcul the mask position with numpy : 0.00020456314086914062 nb_pixel_total : 8211 time to create 1 rle with old method : 0.009452581405639648 length of segment : 176 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 3898 time to create 1 rle with old method : 0.004675865173339844 length of segment : 113 time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 10651 time to create 1 rle with old method : 0.012018680572509766 length of segment : 184 time for calcul the mask position with numpy : 0.0005741119384765625 nb_pixel_total : 40474 time to create 1 rle with old method : 0.047057390213012695 length of segment : 193 time for calcul the mask position with numpy : 0.0004012584686279297 nb_pixel_total : 17661 time to create 1 rle with old method : 0.02038121223449707 length of segment : 190 time for calcul the mask position with numpy : 0.00020503997802734375 nb_pixel_total : 10103 time to create 1 rle with old method : 0.011861562728881836 length of segment : 114 time for calcul the mask position with numpy : 9.822845458984375e-05 nb_pixel_total : 4735 time to create 1 rle with old method : 0.005673646926879883 length of segment : 71 time for calcul the mask position with numpy : 0.0019214153289794922 nb_pixel_total : 114305 time to create 1 rle with old method : 0.12983179092407227 length of segment : 535 time for calcul the mask position with numpy : 0.00047469139099121094 nb_pixel_total : 27759 time to create 1 rle with old method : 0.030814647674560547 length of segment : 198 time for calcul the mask position with numpy : 9.822845458984375e-05 nb_pixel_total : 3582 time to create 1 rle with old method : 0.004264354705810547 length of segment : 53 time for calcul the mask position with numpy : 6.699562072753906e-05 nb_pixel_total : 2021 time to create 1 rle with old method : 0.0024318695068359375 length of segment : 52 time for calcul the mask position with numpy : 9.703636169433594e-05 nb_pixel_total : 4551 time to create 1 rle with old method : 0.0052204132080078125 length of segment : 68 time for calcul the mask position with numpy : 0.00012373924255371094 nb_pixel_total : 6203 time to create 1 rle with old method : 0.007075309753417969 length of segment : 85 time for calcul the mask position with numpy : 0.0002849102020263672 nb_pixel_total : 19758 time to create 1 rle with old method : 0.022480010986328125 length of segment : 194 time for calcul the mask position with numpy : 7.677078247070312e-05 nb_pixel_total : 2991 time to create 1 rle with old method : 0.003365755081176758 length of segment : 78 time for calcul the mask position with numpy : 0.02052450180053711 nb_pixel_total : 1384796 time to create 1 rle with new method : 0.07202291488647461 length of segment : 1083 time for calcul the mask position with numpy : 0.00031447410583496094 nb_pixel_total : 9206 time to create 1 rle with old method : 0.011369466781616211 length of segment : 77 time for calcul the mask position with numpy : 0.05026125907897949 nb_pixel_total : 1408390 time to create 1 rle with new method : 0.31466054916381836 length of segment : 1183 time for calcul the mask position with numpy : 0.00022840499877929688 nb_pixel_total : 11046 time to create 1 rle with old method : 0.012333154678344727 length of segment : 106 time for calcul the mask position with numpy : 0.0005500316619873047 nb_pixel_total : 40670 time to create 1 rle with old method : 0.04435229301452637 length of segment : 181 time for calcul the mask position with numpy : 0.0008676052093505859 nb_pixel_total : 53081 time to create 1 rle with old method : 0.05927681922912598 length of segment : 296 time for calcul the mask position with numpy : 0.0027167797088623047 nb_pixel_total : 122179 time to create 1 rle with old method : 0.139892578125 length of segment : 550 time for calcul the mask position with numpy : 0.0005548000335693359 nb_pixel_total : 16428 time to create 1 rle with old method : 0.018435239791870117 length of segment : 184 time for calcul the mask position with numpy : 0.00023365020751953125 nb_pixel_total : 12288 time to create 1 rle with old method : 0.013614892959594727 length of segment : 137 time spent for convertir_results : 2.936537981033325 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 33 chid ids of type : 3594 Number RLEs to save : 8695 save missing photos in datou_result : time spend for datou_step_exec : 28.639422178268433 time spend to save output : 0.5444517135620117 total time spend for step 1 : 29.183873891830444 step2:crop_condition Wed Sep 3 16:10:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 13 ! batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756908658_2437829 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.318190336227417 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756908662_2437829 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5712711811065674 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756908678_2437829 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.297664403915405 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/1756908683_2437829 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.9410226345062256 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] Looping around the photos to save general results len do output : 33 /1381139858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381139906Didn'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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 112 time used for this insertion : 0.017958641052246094 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.079293966293335 time spend to save output : 0.019504308700561523 total time spend for step 2 : 27.098798274993896 step3:rle_unique_nms_with_priority Wed Sep 3 16:11:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.8348641395568848 time for calcul the mask position with numpy : 0.4310767650604248 nb_pixel_total : 1933399 time to create 1 rle with new method : 0.08081459999084473 time for calcul the mask position with numpy : 0.0075490474700927734 nb_pixel_total : 120476 time to create 1 rle with old method : 0.1409471035003662 time for calcul the mask position with numpy : 0.006762266159057617 nb_pixel_total : 10829 time to create 1 rle with old method : 0.012701988220214844 time for calcul the mask position with numpy : 0.00639796257019043 nb_pixel_total : 3478 time to create 1 rle with old method : 0.004408359527587891 time for calcul the mask position with numpy : 0.006421566009521484 nb_pixel_total : 5418 time to create 1 rle with old method : 0.006434202194213867 create new chi : 0.7147514820098877 time to delete rle : 0.02511906623840332 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2834 TO DO : save crop sub photo not yet done ! save time : 0.1861119270324707 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07872986793518066 time for calcul the mask position with numpy : 0.09065914154052734 nb_pixel_total : 2066058 time to create 1 rle with new method : 0.08145475387573242 time for calcul the mask position with numpy : 0.007279634475708008 nb_pixel_total : 7542 time to create 1 rle with old method : 0.009517192840576172 create new chi : 0.1891798973083496 time to delete rle : 0.0002732276916503906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1326 TO DO : save crop sub photo not yet done ! save time : 0.11053681373596191 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07666182518005371 time for calcul the mask position with numpy : 0.028443098068237305 nb_pixel_total : 1944126 time to create 1 rle with new method : 0.32605576515197754 time for calcul the mask position with numpy : 0.007997274398803711 nb_pixel_total : 113884 time to create 1 rle with old method : 0.16242694854736328 time for calcul the mask position with numpy : 0.006430625915527344 nb_pixel_total : 1037 time to create 1 rle with old method : 0.0014128684997558594 time for calcul the mask position with numpy : 0.00638580322265625 nb_pixel_total : 14553 time to create 1 rle with old method : 0.0176389217376709 create new chi : 0.5690004825592041 time to delete rle : 0.00028586387634277344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2698 TO DO : save crop sub photo not yet done ! save time : 0.18862032890319824 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04107332229614258 time for calcul the mask position with numpy : 0.03323721885681152 nb_pixel_total : 1716749 time to create 1 rle with new method : 0.32134008407592773 time for calcul the mask position with numpy : 0.00645756721496582 nb_pixel_total : 8211 time to create 1 rle with old method : 0.00946807861328125 time for calcul the mask position with numpy : 0.009269952774047852 nb_pixel_total : 348640 time to create 1 rle with new method : 0.07181477546691895 create new chi : 0.46157383918762207 time to delete rle : 0.0002918243408203125 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2898 TO DO : save crop sub photo not yet done ! save time : 0.2084500789642334 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04236555099487305 time for calcul the mask position with numpy : 0.10796380043029785 nb_pixel_total : 2069702 time to create 1 rle with new method : 0.07321619987487793 time for calcul the mask position with numpy : 0.006549358367919922 nb_pixel_total : 3898 time to create 1 rle with old method : 0.004651308059692383 create new chi : 0.20402145385742188 time to delete rle : 0.00031280517578125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1306 TO DO : save crop sub photo not yet done ! save time : 0.11569404602050781 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.11373686790466309 time for calcul the mask position with numpy : 0.38106465339660645 nb_pixel_total : 2062949 time to create 1 rle with new method : 0.0769968032836914 time for calcul the mask position with numpy : 0.006379127502441406 nb_pixel_total : 10651 time to create 1 rle with old method : 0.012338399887084961 create new chi : 0.48729443550109863 time to delete rle : 0.00024700164794921875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1448 TO DO : save crop sub photo not yet done ! save time : 0.1125178337097168 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04653525352478027 time for calcul the mask position with numpy : 0.29680967330932617 nb_pixel_total : 2033126 time to create 1 rle with new method : 0.22508907318115234 time for calcul the mask position with numpy : 0.006974220275878906 nb_pixel_total : 40474 time to create 1 rle with old method : 0.04801130294799805 create new chi : 0.5880117416381836 time to delete rle : 0.0002663135528564453 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1466 TO DO : save crop sub photo not yet done ! save time : 0.11420798301696777 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.40673112869262695 time for calcul the mask position with numpy : 0.0551762580871582 nb_pixel_total : 1899119 time to create 1 rle with new method : 0.31503748893737793 time for calcul the mask position with numpy : 0.006816387176513672 nb_pixel_total : 27759 time to create 1 rle with old method : 0.03214764595031738 time for calcul the mask position with numpy : 0.00678253173828125 nb_pixel_total : 114305 time to create 1 rle with old method : 0.13126063346862793 time for calcul the mask position with numpy : 0.007550716400146484 nb_pixel_total : 4653 time to create 1 rle with old method : 0.006966114044189453 time for calcul the mask position with numpy : 0.006570577621459961 nb_pixel_total : 10103 time to create 1 rle with old method : 0.011733055114746094 time for calcul the mask position with numpy : 0.008223533630371094 nb_pixel_total : 17661 time to create 1 rle with old method : 0.026473045349121094 create new chi : 0.6258664131164551 time to delete rle : 0.0008151531219482422 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3285 TO DO : save crop sub photo not yet done ! save time : 0.25417637825012207 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.11976385116577148 time for calcul the mask position with numpy : 0.3145263195037842 nb_pixel_total : 2036951 time to create 1 rle with new method : 0.12413477897644043 time for calcul the mask position with numpy : 0.0064961910247802734 nb_pixel_total : 2991 time to create 1 rle with old method : 0.0036499500274658203 time for calcul the mask position with numpy : 0.007156848907470703 nb_pixel_total : 17301 time to create 1 rle with old method : 0.020658493041992188 time for calcul the mask position with numpy : 0.0072329044342041016 nb_pixel_total : 6203 time to create 1 rle with old method : 0.007500886917114258 time for calcul the mask position with numpy : 0.007105112075805664 nb_pixel_total : 4551 time to create 1 rle with old method : 0.005489826202392578 time for calcul the mask position with numpy : 0.006790876388549805 nb_pixel_total : 2021 time to create 1 rle with old method : 0.002613544464111328 time for calcul the mask position with numpy : 0.006706714630126953 nb_pixel_total : 3582 time to create 1 rle with old method : 0.004608631134033203 create new chi : 0.5374045372009277 time to delete rle : 0.0006172657012939453 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2126 TO DO : save crop sub photo not yet done ! save time : 0.1587364673614502 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04478883743286133 time for calcul the mask position with numpy : 0.011049985885620117 nb_pixel_total : 688804 time to create 1 rle with new method : 0.03390240669250488 time for calcul the mask position with numpy : 0.01690387725830078 nb_pixel_total : 1384796 time to create 1 rle with new method : 0.03131914138793945 create new chi : 0.09360003471374512 time to delete rle : 0.00033736228942871094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3246 TO DO : save crop sub photo not yet done ! save time : 0.20940208435058594 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0615239143371582 time for calcul the mask position with numpy : 0.012865781784057617 nb_pixel_total : 656004 time to create 1 rle with new method : 0.07958483695983887 time for calcul the mask position with numpy : 0.09506726264953613 nb_pixel_total : 1408390 time to create 1 rle with new method : 0.08415627479553223 time for calcul the mask position with numpy : 0.00641632080078125 nb_pixel_total : 9206 time to create 1 rle with old method : 0.010990142822265625 create new chi : 0.3070528507232666 time to delete rle : 0.0006418228149414062 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3600 TO DO : save crop sub photo not yet done ! save time : 0.2196497917175293 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.11352205276489258 time for calcul the mask position with numpy : 0.17776727676391602 nb_pixel_total : 1968803 time to create 1 rle with new method : 0.07625603675842285 time for calcul the mask position with numpy : 0.0075299739837646484 nb_pixel_total : 53081 time to create 1 rle with old method : 0.06012463569641113 time for calcul the mask position with numpy : 0.006724357604980469 nb_pixel_total : 40670 time to create 1 rle with old method : 0.04730224609375 time for calcul the mask position with numpy : 0.007125139236450195 nb_pixel_total : 11046 time to create 1 rle with old method : 0.01284170150756836 create new chi : 0.4064033031463623 time to delete rle : 0.0003783702850341797 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2246 TO DO : save crop sub photo not yet done ! save time : 0.16485023498535156 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.09057831764221191 time for calcul the mask position with numpy : 0.24076509475708008 nb_pixel_total : 1922705 time to create 1 rle with new method : 0.2653794288635254 time for calcul the mask position with numpy : 0.006576061248779297 nb_pixel_total : 12288 time to create 1 rle with old method : 0.015115976333618164 time for calcul the mask position with numpy : 0.007333278656005859 nb_pixel_total : 16428 time to create 1 rle with old method : 0.019547700881958008 time for calcul the mask position with numpy : 0.007149457931518555 nb_pixel_total : 122179 time to create 1 rle with old method : 0.147965669631958 create new chi : 0.7207958698272705 time to delete rle : 0.0005354881286621094 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2822 TO DO : save crop sub photo not yet done ! save time : 0.19278454780578613 map_output_result : {1381112133: (0.0, 'Should be the crop_list due to order', 0), 1381112087: (0.0, 'Should be the crop_list due to order', 0), 1381112084: (0.0, 'Should be the crop_list due to order', 0), 1381112080: (0.0, 'Should be the crop_list due to order', 0), 1381112072: (0.0, 'Should be the crop_list due to order', 0), 1381112069: (0.0, 'Should be the crop_list due to order', 0), 1381112067: (0.0, 'Should be the crop_list due to order', 0), 1381112033: (0.0, 'Should be the crop_list due to order', 0), 1381112032: (0.0, 'Should be the crop_list due to order', 0), 1381112029: (0.0, 'Should be the crop_list due to order', 0), 1381112016: (0.0, 'Should be the crop_list due to order', 0), 1381111964: (0.0, 'Should be the crop_list due to order', 0), 1381111938: (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 [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] Looping around the photos to save general results len do output : 13 /1381112133.Didn't retrieve data . /1381112087.Didn't retrieve data . /1381112084.Didn't retrieve data . /1381112080.Didn't retrieve data . /1381112072.Didn't retrieve data . /1381112069.Didn't retrieve data . /1381112067.Didn't retrieve data . /1381112033.Didn't retrieve data . /1381112032.Didn't retrieve data . /1381112029.Didn't retrieve data . /1381112016.Didn't retrieve data . /1381111964.Didn't retrieve data . /1381111938.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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.013787031173706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.704611539840698 time spend to save output : 0.014260053634643555 total time spend for step 3 : 10.718871593475342 step4:ventilate_hashtags_in_portfolio Wed Sep 3 16:11:35 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 : 26493017 get user id for portfolio 26493017 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`=26493017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','pehd','background','pet_clair','environnement','metal','autre','flou','pet_fonce','mal_croppe')) 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`=26493017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','pehd','background','pet_clair','environnement','metal','autre','flou','pet_fonce','mal_croppe')) 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`=26493017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','pehd','background','pet_clair','environnement','metal','autre','flou','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26493286,26493287,26493288,26493289,26493290,26493291,26493292,26493293,26493294,26493295,26493296?tags=papier,carton,pehd,background,pet_clair,environnement,metal,autre,flou,pet_fonce,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] Looping around the photos to save general results len do output : 1 /26493017. 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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014563322067260742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.70509934425354 time spend to save output : 0.014827728271484375 total time spend for step 4 : 1.7199270725250244 step5:final Wed Sep 3 16:11:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1381112133: ('0.1468388310185185',), 1381112087: ('0.1468388310185185',), 1381112084: ('0.1468388310185185',), 1381112080: ('0.1468388310185185',), 1381112072: ('0.1468388310185185',), 1381112069: ('0.1468388310185185',), 1381112067: ('0.1468388310185185',), 1381112033: ('0.1468388310185185',), 1381112032: ('0.1468388310185185',), 1381112029: ('0.1468388310185185',), 1381112016: ('0.1468388310185185',), 1381111964: ('0.1468388310185185',), 1381111938: ('0.1468388310185185',)} new output for save of step final : {1381112133: ('0.1468388310185185',), 1381112087: ('0.1468388310185185',), 1381112084: ('0.1468388310185185',), 1381112080: ('0.1468388310185185',), 1381112072: ('0.1468388310185185',), 1381112069: ('0.1468388310185185',), 1381112067: ('0.1468388310185185',), 1381112033: ('0.1468388310185185',), 1381112032: ('0.1468388310185185',), 1381112029: ('0.1468388310185185',), 1381112016: ('0.1468388310185185',), 1381111964: ('0.1468388310185185',), 1381111938: ('0.1468388310185185',)} [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] Looping around the photos to save general results len do output : 13 /1381112133.Didn't retrieve data . /1381112087.Didn't retrieve data . /1381112084.Didn't retrieve data . /1381112080.Didn't retrieve data . /1381112072.Didn't retrieve data . /1381112069.Didn't retrieve data . /1381112067.Didn't retrieve data . /1381112033.Didn't retrieve data . /1381112032.Didn't retrieve data . /1381112029.Didn't retrieve data . /1381112016.Didn't retrieve data . /1381111964.Didn't retrieve data . /1381111938.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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.01628708839416504 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13001251220703125 time spend to save output : 0.01692652702331543 total time spend for step 5 : 0.14693903923034668 step6:blur_detection Wed Sep 3 16:11:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949.jpg resize: (1080, 1920) 1381112133 -0.683700059703524 treat image : temp/1756908626_2437829_1381112087_9c5e84cc46cceccd6c196759631c3107.jpg resize: (1080, 1920) 1381112087 -0.9930723564628505 treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d.jpg resize: (1080, 1920) 1381112084 -4.574112270243713 treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd.jpg resize: (1080, 1920) 1381112080 -1.06190669894192 treat image : temp/1756908626_2437829_1381112072_6a00cdd709f008a8defa510ae280f245.jpg resize: (1080, 1920) 1381112072 -5.280104832703436 treat image : temp/1756908626_2437829_1381112069_77372218d17124bf64447e981ba0697e.jpg resize: (1080, 1920) 1381112069 -0.46040697955263543 treat image : temp/1756908626_2437829_1381112067_2c1b3ae4e9e3c2a2d0dc3b1f7aa41756.jpg resize: (1080, 1920) 1381112067 -4.9097079654193365 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605.jpg resize: (1080, 1920) 1381112033 -4.2881634060973735 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121.jpg resize: (1080, 1920) 1381112032 0.8015859403969194 treat image : temp/1756908626_2437829_1381112029_520ae6b2a8f7c3079fbc1da7eb5ea4ae.jpg resize: (1080, 1920) 1381112029 -4.926996141652513 treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf.jpg resize: (1080, 1920) 1381112016 -4.932928988523117 treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef.jpg resize: (1080, 1920) 1381111964 -3.618532116201138 treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639.jpg resize: (1080, 1920) 1381111938 -3.3448986756697896 treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318878_0.png resize: (146, 127) 1381139858 0.050285918892426 treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318877_0.png resize: (80, 56) 1381139859 2.1908726288086644 treat image : temp/1756908626_2437829_1381112087_9c5e84cc46cceccd6c196759631c3107_rle_crop_3942318880_0.png resize: (122, 77) 1381139860 -1.2957091276673165 treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd_rle_crop_3942318885_0.png resize: (176, 82) 1381139861 -0.7179743485188036 treat image : temp/1756908626_2437829_1381112072_6a00cdd709f008a8defa510ae280f245_rle_crop_3942318886_0.png resize: (113, 81) 1381139862 -3.6871453181863583 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318889_0.png resize: (190, 165) 1381139863 -4.225740138520475 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318894_0.png resize: (53, 111) 1381139864 -2.129745804555348 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318895_0.png resize: (52, 65) 1381139865 -2.1435097273207884 treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318903_0.png resize: (106, 163) 1381139866 -2.762735531446474 treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318905_0.png resize: (236, 407) 1381139867 -4.250766178150502 treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318907_0.png resize: (178, 159) 1381139868 -3.9002453101499284 treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318876_0.png resize: (76, 89) 1381139870 1.014015133481055 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318890_0.png resize: (109, 138) 1381139871 -1.5641648383559021 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318891_0.png resize: (70, 86) 1381139872 0.05651006690195898 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318899_0.png resize: (78, 45) 1381139873 20.0 treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318908_0.png resize: (131, 131) 1381139874 -0.45606619940098825 treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318879_0.png resize: (549, 374) 1381139888 0.20512601641809752 treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318881_0.png resize: (135, 135) 1381139889 -2.8414528790407294 treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318883_0.png resize: (560, 352) 1381139890 -0.3902745884352176 treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd_rle_crop_3942318884_0.png resize: (836, 758) 1381139891 1.8326666259395459 treat image : temp/1756908626_2437829_1381112069_77372218d17124bf64447e981ba0697e_rle_crop_3942318887_0.png resize: (183, 91) 1381139892 -0.4993958923705239 treat image : temp/1756908626_2437829_1381112067_2c1b3ae4e9e3c2a2d0dc3b1f7aa41756_rle_crop_3942318888_0.png resize: (183, 250) 1381139893 -4.152835588664817 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318893_0.png resize: (185, 204) 1381139894 -5.474912208244622 treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318892_0.png resize: (529, 353) 1381139895 0.07960341694361482 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318897_0.png resize: (83, 90) 1381139896 3.4134891901887965 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318898_0.png resize: (193, 123) 1381139897 1.036415084696093 treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318896_0.png resize: (67, 78) 1381139898 2.3491011612864368 treat image : temp/1756908626_2437829_1381112029_520ae6b2a8f7c3079fbc1da7eb5ea4ae_rle_crop_3942318900_0.png resize: (994, 1572) 1381139899 -5.136916338320348 treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf_rle_crop_3942318902_0.png resize: (995, 1544) 1381139900 -5.092013534644625 treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf_rle_crop_3942318901_0.png resize: (76, 180) 1381139901 -4.365327009059974 treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318904_0.png resize: (165, 328) 1381139902 -2.872939489048213 treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318906_0.png resize: (544, 365) 1381139903 -0.06397258187920099 treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318882_0.png resize: (128, 157) 1381139906 -2.903521491577594 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 : 46 time used for this insertion : 0.013977289199829102 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.013892889022827148 save missing photos in datou_result : time spend for datou_step_exec : 12.071599960327148 time spend to save output : 0.032111167907714844 total time spend for step 6 : 12.103711128234863 step7:brightness Wed Sep 3 16:11:49 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/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949.jpg treat image : temp/1756908626_2437829_1381112087_9c5e84cc46cceccd6c196759631c3107.jpg treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d.jpg treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd.jpg treat image : temp/1756908626_2437829_1381112072_6a00cdd709f008a8defa510ae280f245.jpg treat image : temp/1756908626_2437829_1381112069_77372218d17124bf64447e981ba0697e.jpg treat image : temp/1756908626_2437829_1381112067_2c1b3ae4e9e3c2a2d0dc3b1f7aa41756.jpg treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605.jpg treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121.jpg treat image : temp/1756908626_2437829_1381112029_520ae6b2a8f7c3079fbc1da7eb5ea4ae.jpg treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf.jpg treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef.jpg treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639.jpg treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318878_0.png treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318877_0.png treat image : temp/1756908626_2437829_1381112087_9c5e84cc46cceccd6c196759631c3107_rle_crop_3942318880_0.png treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd_rle_crop_3942318885_0.png treat image : temp/1756908626_2437829_1381112072_6a00cdd709f008a8defa510ae280f245_rle_crop_3942318886_0.png treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318889_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318894_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318895_0.png treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318903_0.png treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318905_0.png treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318907_0.png treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318876_0.png treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318890_0.png treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318891_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318899_0.png treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318908_0.png treat image : temp/1756908626_2437829_1381112133_f36c49bfcac6e14a0061a55d876fc949_rle_crop_3942318879_0.png treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318881_0.png treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318883_0.png treat image : temp/1756908626_2437829_1381112080_09b6470619b1cc10a5c033b026d5fbdd_rle_crop_3942318884_0.png treat image : temp/1756908626_2437829_1381112069_77372218d17124bf64447e981ba0697e_rle_crop_3942318887_0.png treat image : temp/1756908626_2437829_1381112067_2c1b3ae4e9e3c2a2d0dc3b1f7aa41756_rle_crop_3942318888_0.png treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318893_0.png treat image : temp/1756908626_2437829_1381112033_6563f501a4fe8e823412fc1fb1b41605_rle_crop_3942318892_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318897_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318898_0.png treat image : temp/1756908626_2437829_1381112032_f582a2cf2e6baf5ec46e58836b2c4121_rle_crop_3942318896_0.png treat image : temp/1756908626_2437829_1381112029_520ae6b2a8f7c3079fbc1da7eb5ea4ae_rle_crop_3942318900_0.png treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf_rle_crop_3942318902_0.png treat image : temp/1756908626_2437829_1381112016_dc1140c5a35ccc42a6332d209a02eadf_rle_crop_3942318901_0.png treat image : temp/1756908626_2437829_1381111964_1ff7d5a82e4d77ea082ad6c8b2afecef_rle_crop_3942318904_0.png treat image : temp/1756908626_2437829_1381111938_559a7f215d2ab638c5dac44de53d3639_rle_crop_3942318906_0.png treat image : temp/1756908626_2437829_1381112084_8f0bb336fb827cc42330a91b2a87112d_rle_crop_3942318882_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 : 46 time used for this insertion : 0.013233184814453125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.014136791229248047 save missing photos in datou_result : time spend for datou_step_exec : 3.3155903816223145 time spend to save output : 0.03206944465637207 total time spend for step 7 : 3.3476598262786865 step8:velours_tree Wed Sep 3 16:11:52 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.12715792655944824 time spend to save output : 3.0279159545898438e-05 total time spend for step 8 : 0.12718820571899414 step9:send_mail_cod Wed Sep 3 16:11:52 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_P26493017_03-09-2025_16_11_52.pdf 26493286 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 .imagette264932861756908712 26493287 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264932871756908713 26493288 imagette264932881756908713 26493289 imagette264932891756908713 26493290 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 .imagette264932901756908713 26493292 imagette264932921756908714 26493293 change filename to text .imagette264932931756908714 26493294 imagette264932941756908714 26493295 imagette264932951756908715 26493296 imagette264932961756908715 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26493017 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26493286,26493287,26493288,26493289,26493290,26493291,26493292,26493293,26493294,26493295,26493296?tags=papier,carton,pehd,background,pet_clair,environnement,metal,autre,flou,pet_fonce,mal_croppe args[1381112133] : ((1381112133, -0.683700059703524, 492688767), (1381112133, 0.5517288564057461, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112087] : ((1381112087, -0.9930723564628505, 492688767), (1381112087, 0.8857432325937188, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112084] : ((1381112084, -4.574112270243713, 492609224), (1381112084, 0.3601684517855784, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112080] : ((1381112080, -1.06190669894192, 492688767), (1381112080, 0.8465069813084224, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112072] : ((1381112072, -5.280104832703436, 492609224), (1381112072, 0.36134574129263514, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112069] : ((1381112069, -0.46040697955263543, 492688767), (1381112069, 0.6729283162273186, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112067] : ((1381112067, -4.9097079654193365, 492609224), (1381112067, 0.5580744001721952, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112033] : ((1381112033, -4.2881634060973735, 492609224), (1381112033, 0.3671572107553754, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112032] : ((1381112032, 0.8015859403969194, 492688767), (1381112032, 0.7972710375180274, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112029] : ((1381112029, -4.926996141652513, 492609224), (1381112029, 0.5498574722267493, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381112016] : ((1381112016, -4.932928988523117, 492609224), (1381112016, 0.5224311961144872, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381111964] : ((1381111964, -3.618532116201138, 492609224), (1381111964, 0.42664547778213724, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com args[1381111938] : ((1381111938, -3.3448986756697896, 492609224), (1381111938, 0.4043866781520916, 2107752395), '0.1468388310185185') We are sending mail with results at report@fotonower.com refus_total : 0.1468388310185185 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=26493017 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_P26493017_03-09-2025_16_11_52.pdf results_Auto_P26493017_03-09-2025_16_11_52.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493017_03-09-2025_16_11_52.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','26493017','results_Auto_P26493017_03-09-2025_16_11_52.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493017_03-09-2025_16_11_52.pdf','pdf','','0.53','0.1468388310185185') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26493017

https://www.fotonower.com/image?json=false&list_photos_id=1381112133
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112087
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112084
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112080
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112072
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112069
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112067
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112033
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112032
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112029
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381112016
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381111964
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381111938
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/26493286?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26493287?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26493290?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26493293?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493017_03-09-2025_16_11_52.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26493286,26493287,26493288,26493289,26493290,26493291,26493292,26493293,26493294,26493295,26493296?tags=papier,carton,pehd,background,pet_clair,environnement,metal,autre,flou,pet_fonce,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 03 Sep 2025 14:11:57 GMT Content-Length: 0 Connection: close X-Message-Id: 5uavHuuOSQ6XVR2yW8yZjA 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 [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] 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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.014440536499023438 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.488515615463257 time spend to save output : 0.0146942138671875 total time spend for step 9 : 4.503209829330444 step10:split_time_score Wed Sep 3 16:11:57 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'}] (('14', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03092025 26493017 Nombre de photos uploadées : 13 / 23040 (0%) 03092025 26493017 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 03092025 26493017 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006124973297119141 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2032485008239746 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.027291130829903972 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478209 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`=26478209 AND mptpi.`type`=3594 To do Qualite : 0.12315901491769546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478214_03-09-2025_09_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478214 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`=26478214 AND mptpi.`type`=3594 To do Qualite : 0.05389473620756173 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481005_03-09-2025_11_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481005 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`=26481005 AND mptpi.`type`=3594 To do Qualite : 0.04487265073853617 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481009_03-09-2025_11_01_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481009 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`=26481009 AND mptpi.`type`=3594 To do Qualite : 0.05827681929976852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481011_03-09-2025_10_52_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481011 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`=26481011 AND mptpi.`type`=3594 To do Qualite : 0.05965432098765431 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481032_03-09-2025_10_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481032 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`=26481032 AND mptpi.`type`=3594 To do Qualite : 0.236389283459596 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487184_03-09-2025_13_32_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487184 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`=26487184 AND mptpi.`type`=3594 To do Qualite : 0.0369567901234568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487187_03-09-2025_14_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487187 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`=26487187 AND mptpi.`type`=3594 To do Qualite : 0.21451915173778852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487189_03-09-2025_13_22_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487189 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`=26487189 AND mptpi.`type`=3594 To do Qualite : 0.12936402874228398 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491587_03-09-2025_15_16_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491587 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`=26491587 AND mptpi.`type`=3594 To do Qualite : 0.1468388310185185 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493017_03-09-2025_16_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26493017 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`=26493017 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03092025': {'nb_upload': 13, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381112133, 1381112087, 1381112084, 1381112080, 1381112072, 1381112069, 1381112067, 1381112033, 1381112032, 1381112029, 1381112016, 1381111964, 1381111938] Looping around the photos to save general results len do output : 1 /26493017Didn'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, '3659311') ('3318', '26493017', '1381112133', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112087', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112084', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112080', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112072', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112069', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112067', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112033', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112032', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112029', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381112016', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111964', None, None, None, None, None, '3659311') ('3318', None, None, None, None, None, None, None, '3659311') ('3318', '26493017', '1381111938', None, None, None, None, None, '3659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.01289057731628418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9909858703613281 time spend to save output : 0.013195991516113281 total time spend for step 10 : 1.0041818618774414 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 52.92user 25.00system 1:33.53elapsed 83%CPU (0avgtext+0avgdata 2751684maxresident)k 509920inputs+48264outputs (76major+1712755minor)pagefaults 0swaps