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 : 160044 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 : ['3741645'] with mtr_portfolio_ids : ['27003818'] and first list_photo_ids : [] new path : /proc/160044/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.4382963180541992 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Sep 18 18:40:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10590 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-18 18:40:33.943495: 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-18 18:40:33.968499: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-18 18:40:33.970567: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6f10000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-18 18:40:33.970614: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-18 18:40:33.973969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-18 18:40:34.118727: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x24c3c340 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-18 18:40:34.118778: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-18 18:40:34.120118: 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-18 18:40:34.120496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 18:40:34.123439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 18:40:34.129342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 18:40:34.129722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 18:40:34.133297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 18:40:34.134835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 18:40:34.140504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 18:40:34.141972: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 18:40:34.142029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 18:40:34.142863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-18 18:40:34.142878: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-18 18:40:34.142886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-18 18:40:34.144235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9809 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-18 18:40:34.388125: 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-18 18:40:34.388213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 18:40:34.388236: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 18:40:34.388258: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 18:40:34.388278: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 18:40:34.388298: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 18:40:34.388318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 18:40:34.388355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 18:40:34.389953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 18:40:34.391311: 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-18 18:40:34.391358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 18:40:34.391378: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 18:40:34.391395: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 18:40:34.391412: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 18:40:34.391429: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 18:40:34.391446: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 18:40:34.391464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 18:40:34.393038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 18:40:34.393073: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-18 18:40:34.393084: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-18 18:40:34.393093: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-18 18:40:34.394713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9809 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-18 18:40:41.251526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 18:40:41.444259: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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 : 12 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 38.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: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.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 : 16 Detection mask done ! Trying to reset tf kernel 160781 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4499 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 9788 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.0007739067077636719 nb_pixel_total : 22929 time to create 1 rle with old method : 0.025327682495117188 length of segment : 422 time for calcul the mask position with numpy : 0.00020956993103027344 nb_pixel_total : 10767 time to create 1 rle with old method : 0.012837886810302734 length of segment : 120 time for calcul the mask position with numpy : 0.00042366981506347656 nb_pixel_total : 30277 time to create 1 rle with old method : 0.03534984588623047 length of segment : 194 time for calcul the mask position with numpy : 0.0003058910369873047 nb_pixel_total : 20993 time to create 1 rle with old method : 0.024909496307373047 length of segment : 176 time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 2232 time to create 1 rle with old method : 0.002796649932861328 length of segment : 54 time for calcul the mask position with numpy : 0.00023245811462402344 nb_pixel_total : 15401 time to create 1 rle with old method : 0.018402814865112305 length of segment : 104 time for calcul the mask position with numpy : 0.00017547607421875 nb_pixel_total : 8749 time to create 1 rle with old method : 0.010161638259887695 length of segment : 159 time for calcul the mask position with numpy : 0.0002117156982421875 nb_pixel_total : 9779 time to create 1 rle with old method : 0.011571168899536133 length of segment : 122 time for calcul the mask position with numpy : 0.0003509521484375 nb_pixel_total : 21461 time to create 1 rle with old method : 0.024863719940185547 length of segment : 187 time for calcul the mask position with numpy : 7.081031799316406e-05 nb_pixel_total : 2048 time to create 1 rle with old method : 0.0024187564849853516 length of segment : 44 time for calcul the mask position with numpy : 6.127357482910156e-05 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0027878284454345703 length of segment : 33 time for calcul the mask position with numpy : 0.00018668174743652344 nb_pixel_total : 7104 time to create 1 rle with old method : 0.008060216903686523 length of segment : 168 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 12469 time to create 1 rle with old method : 0.01356649398803711 length of segment : 187 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 3145 time to create 1 rle with old method : 0.003671884536743164 length of segment : 172 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 8119 time to create 1 rle with old method : 0.009293556213378906 length of segment : 128 time for calcul the mask position with numpy : 8.249282836914062e-05 nb_pixel_total : 3172 time to create 1 rle with old method : 0.003728151321411133 length of segment : 52 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 10840 time to create 1 rle with old method : 0.012331485748291016 length of segment : 125 time for calcul the mask position with numpy : 0.00010538101196289062 nb_pixel_total : 4653 time to create 1 rle with old method : 0.005090951919555664 length of segment : 86 time for calcul the mask position with numpy : 0.0013599395751953125 nb_pixel_total : 75375 time to create 1 rle with old method : 0.08048510551452637 length of segment : 285 time for calcul the mask position with numpy : 0.010946512222290039 nb_pixel_total : 574053 time to create 1 rle with new method : 0.03764200210571289 length of segment : 1223 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 4470 time to create 1 rle with old method : 0.004857778549194336 length of segment : 60 time for calcul the mask position with numpy : 0.000110626220703125 nb_pixel_total : 4768 time to create 1 rle with old method : 0.005170583724975586 length of segment : 80 time for calcul the mask position with numpy : 0.0001571178436279297 nb_pixel_total : 9415 time to create 1 rle with old method : 0.010013341903686523 length of segment : 105 time for calcul the mask position with numpy : 6.771087646484375e-05 nb_pixel_total : 1950 time to create 1 rle with old method : 0.0021829605102539062 length of segment : 66 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 9117 time to create 1 rle with old method : 0.014849424362182617 length of segment : 188 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 1911 time to create 1 rle with old method : 0.002287626266479492 length of segment : 46 time for calcul the mask position with numpy : 0.00023293495178222656 nb_pixel_total : 5249 time to create 1 rle with old method : 0.0057489871978759766 length of segment : 92 time for calcul the mask position with numpy : 0.0006103515625 nb_pixel_total : 18600 time to create 1 rle with old method : 0.02048635482788086 length of segment : 168 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 6998 time to create 1 rle with old method : 0.007696390151977539 length of segment : 78 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 10102 time to create 1 rle with old method : 0.011242389678955078 length of segment : 101 time for calcul the mask position with numpy : 0.00040721893310546875 nb_pixel_total : 11791 time to create 1 rle with old method : 0.01258540153503418 length of segment : 119 time for calcul the mask position with numpy : 0.0002949237823486328 nb_pixel_total : 8527 time to create 1 rle with old method : 0.009195804595947266 length of segment : 95 time for calcul the mask position with numpy : 0.0005712509155273438 nb_pixel_total : 12229 time to create 1 rle with old method : 0.013283252716064453 length of segment : 313 time for calcul the mask position with numpy : 0.0005850791931152344 nb_pixel_total : 29572 time to create 1 rle with old method : 0.03147602081298828 length of segment : 202 time for calcul the mask position with numpy : 0.0002949237823486328 nb_pixel_total : 6134 time to create 1 rle with old method : 0.006604909896850586 length of segment : 103 time for calcul the mask position with numpy : 0.0001735687255859375 nb_pixel_total : 4172 time to create 1 rle with old method : 0.0047283172607421875 length of segment : 63 time for calcul the mask position with numpy : 0.0002815723419189453 nb_pixel_total : 15779 time to create 1 rle with old method : 0.017007827758789062 length of segment : 126 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 5128 time to create 1 rle with old method : 0.00572514533996582 length of segment : 119 time for calcul the mask position with numpy : 0.0001983642578125 nb_pixel_total : 7394 time to create 1 rle with old method : 0.008241415023803711 length of segment : 112 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 4605 time to create 1 rle with old method : 0.005440235137939453 length of segment : 52 time for calcul the mask position with numpy : 0.0001239776611328125 nb_pixel_total : 4746 time to create 1 rle with old method : 0.005258798599243164 length of segment : 109 time for calcul the mask position with numpy : 0.0002982616424560547 nb_pixel_total : 19357 time to create 1 rle with old method : 0.021317720413208008 length of segment : 103 time spent for convertir_results : 1.7493829727172852 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 42 chid ids of type : 3594 Number RLEs to save : 6541 save missing photos in datou_result : time spend for datou_step_exec : 21.81842350959778 time spend to save output : 0.48198747634887695 total time spend for step 1 : 22.300410985946655 step2:crop_condition Thu Sep 18 18:40:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 42 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 27 About to insert : list_path_to_insert length 27 new photo from crops ! About to upload 27 photos upload in portfolio : 3736932 init cache_photo without model_param we have 27 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758213655_160044 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 27 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.015234708786011 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758213663_160044 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 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.7129015922546387 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758213667_160044 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 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.372568130493164 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758213671_160044 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4097580909729004 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] Looping around the photos to save general results len do output : 42 /1384910106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384910217Didn'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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 time used for this insertion : 0.02326369285583496 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.98206853866577 time spend to save output : 0.024503469467163086 total time spend for step 2 : 19.006572008132935 step3:rle_unique_nms_with_priority Thu Sep 18 18:41:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 42 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 1.1168498992919922 time for calcul the mask position with numpy : 0.34163355827331543 nb_pixel_total : 1952473 time to create 1 rle with new method : 0.38422131538391113 time for calcul the mask position with numpy : 0.012135982513427734 nb_pixel_total : 9779 time to create 1 rle with old method : 0.010791301727294922 time for calcul the mask position with numpy : 0.006468057632446289 nb_pixel_total : 8749 time to create 1 rle with old method : 0.009866952896118164 time for calcul the mask position with numpy : 0.006071805953979492 nb_pixel_total : 15401 time to create 1 rle with old method : 0.01718926429748535 time for calcul the mask position with numpy : 0.006465911865234375 nb_pixel_total : 2232 time to create 1 rle with old method : 0.0025277137756347656 time for calcul the mask position with numpy : 0.006421804428100586 nb_pixel_total : 20993 time to create 1 rle with old method : 0.023253917694091797 time for calcul the mask position with numpy : 0.007170677185058594 nb_pixel_total : 30277 time to create 1 rle with old method : 0.034236907958984375 time for calcul the mask position with numpy : 0.0062901973724365234 nb_pixel_total : 10767 time to create 1 rle with old method : 0.01202535629272461 time for calcul the mask position with numpy : 0.0070476531982421875 nb_pixel_total : 22929 time to create 1 rle with old method : 0.02566242218017578 create new chi : 0.9341118335723877 time to delete rle : 0.026029586791992188 batch 1 Loaded 17 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 3782 TO DO : save crop sub photo not yet done ! save time : 0.2598257064819336 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09959602355957031 time for calcul the mask position with numpy : 0.241715669631958 nb_pixel_total : 2040736 time to create 1 rle with new method : 0.15638113021850586 time for calcul the mask position with numpy : 0.006857156753540039 nb_pixel_total : 7104 time to create 1 rle with old method : 0.007823467254638672 time for calcul the mask position with numpy : 0.006247043609619141 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0025839805603027344 time for calcul the mask position with numpy : 0.006298065185546875 nb_pixel_total : 2048 time to create 1 rle with old method : 0.0023245811462402344 time for calcul the mask position with numpy : 0.006281614303588867 nb_pixel_total : 21461 time to create 1 rle with old method : 0.023863554000854492 create new chi : 0.46074366569519043 time to delete rle : 0.0003352165222167969 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1944 TO DO : save crop sub photo not yet done ! save time : 0.1512134075164795 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.11062431335449219 time for calcul the mask position with numpy : 0.01926732063293457 nb_pixel_total : 1381774 time to create 1 rle with new method : 0.19748544692993164 time for calcul the mask position with numpy : 0.01136326789855957 nb_pixel_total : 574053 time to create 1 rle with new method : 0.09997820854187012 time for calcul the mask position with numpy : 0.006827116012573242 nb_pixel_total : 75375 time to create 1 rle with old method : 0.08797669410705566 time for calcul the mask position with numpy : 0.006959199905395508 nb_pixel_total : 4653 time to create 1 rle with old method : 0.00565648078918457 time for calcul the mask position with numpy : 0.0070154666900634766 nb_pixel_total : 10840 time to create 1 rle with old method : 0.01228785514831543 time for calcul the mask position with numpy : 0.006768941879272461 nb_pixel_total : 3172 time to create 1 rle with old method : 0.0036394596099853516 time for calcul the mask position with numpy : 0.006884574890136719 nb_pixel_total : 8119 time to create 1 rle with old method : 0.009303569793701172 time for calcul the mask position with numpy : 0.0068187713623046875 nb_pixel_total : 3145 time to create 1 rle with old method : 0.0036995410919189453 time for calcul the mask position with numpy : 0.006740570068359375 nb_pixel_total : 12469 time to create 1 rle with old method : 0.014767169952392578 create new chi : 0.5239999294281006 time to delete rle : 0.0007078647613525391 batch 1 Loaded 17 chid ids of type : 3594 +++++++++++Number RLEs to save : 5596 TO DO : save crop sub photo not yet done ! save time : 0.3589639663696289 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.09131622314453125 time for calcul the mask position with numpy : 0.15708303451538086 nb_pixel_total : 2041969 time to create 1 rle with new method : 0.11901712417602539 time for calcul the mask position with numpy : 0.006531715393066406 nb_pixel_total : 1911 time to create 1 rle with old method : 0.0021708011627197266 time for calcul the mask position with numpy : 0.006296634674072266 nb_pixel_total : 9117 time to create 1 rle with old method : 0.01016545295715332 time for calcul the mask position with numpy : 0.006283760070800781 nb_pixel_total : 1950 time to create 1 rle with old method : 0.002176046371459961 time for calcul the mask position with numpy : 0.0062978267669677734 nb_pixel_total : 9415 time to create 1 rle with old method : 0.010517120361328125 time for calcul the mask position with numpy : 0.007595539093017578 nb_pixel_total : 4768 time to create 1 rle with old method : 0.006842374801635742 time for calcul the mask position with numpy : 0.006113529205322266 nb_pixel_total : 4470 time to create 1 rle with old method : 0.004946231842041016 create new chi : 0.36081433296203613 time to delete rle : 0.0003476142883300781 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2170 TO DO : save crop sub photo not yet done ! save time : 0.16773557662963867 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04985451698303223 time for calcul the mask position with numpy : 0.07504796981811523 nb_pixel_total : 2049751 time to create 1 rle with new method : 0.16446685791015625 time for calcul the mask position with numpy : 0.008159399032592773 nb_pixel_total : 18600 time to create 1 rle with old method : 0.02786707878112793 time for calcul the mask position with numpy : 0.007634401321411133 nb_pixel_total : 5249 time to create 1 rle with old method : 0.005785703659057617 create new chi : 0.3039584159851074 time to delete rle : 0.00043702125549316406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1600 TO DO : save crop sub photo not yet done ! save time : 0.1386723518371582 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.051397085189819336 time for calcul the mask position with numpy : 0.033142805099487305 nb_pixel_total : 2066602 time to create 1 rle with new method : 0.12955832481384277 time for calcul the mask position with numpy : 0.008104324340820312 nb_pixel_total : 6998 time to create 1 rle with old method : 0.013611078262329102 create new chi : 0.19917631149291992 time to delete rle : 0.0005128383636474609 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1236 TO DO : save crop sub photo not yet done ! save time : 0.1276848316192627 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.10272765159606934 time for calcul the mask position with numpy : 0.13660264015197754 nb_pixel_total : 2063498 time to create 1 rle with new method : 0.11590909957885742 time for calcul the mask position with numpy : 0.007875204086303711 nb_pixel_total : 10102 time to create 1 rle with old method : 0.011426925659179688 create new chi : 0.283477783203125 time to delete rle : 0.0004591941833496094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1282 TO DO : save crop sub photo not yet done ! save time : 0.12959694862365723 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.5263845920562744 time for calcul the mask position with numpy : 0.29120492935180664 nb_pixel_total : 2001175 time to create 1 rle with new method : 0.20368504524230957 time for calcul the mask position with numpy : 0.012694835662841797 nb_pixel_total : 4172 time to create 1 rle with old method : 0.0045166015625 time for calcul the mask position with numpy : 0.012267351150512695 nb_pixel_total : 6134 time to create 1 rle with old method : 0.006906032562255859 time for calcul the mask position with numpy : 0.007914066314697266 nb_pixel_total : 29572 time to create 1 rle with old method : 0.032669782638549805 time for calcul the mask position with numpy : 0.008015632629394531 nb_pixel_total : 12229 time to create 1 rle with old method : 0.013792753219604492 time for calcul the mask position with numpy : 0.007859468460083008 nb_pixel_total : 8527 time to create 1 rle with old method : 0.009891748428344727 time for calcul the mask position with numpy : 0.007501125335693359 nb_pixel_total : 11791 time to create 1 rle with old method : 0.013353109359741211 create new chi : 0.6456010341644287 time to delete rle : 0.0007424354553222656 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 2870 TO DO : save crop sub photo not yet done ! save time : 0.22246909141540527 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.13380956649780273 time for calcul the mask position with numpy : 0.09607434272766113 nb_pixel_total : 2016591 time to create 1 rle with new method : 0.19786453247070312 time for calcul the mask position with numpy : 0.008105278015136719 nb_pixel_total : 19357 time to create 1 rle with old method : 0.021419048309326172 time for calcul the mask position with numpy : 0.007820606231689453 nb_pixel_total : 4746 time to create 1 rle with old method : 0.005488395690917969 time for calcul the mask position with numpy : 0.009302377700805664 nb_pixel_total : 4605 time to create 1 rle with old method : 0.007312297821044922 time for calcul the mask position with numpy : 0.008159399032592773 nb_pixel_total : 7394 time to create 1 rle with old method : 0.012227773666381836 time for calcul the mask position with numpy : 0.008087635040283203 nb_pixel_total : 5128 time to create 1 rle with old method : 0.00843191146850586 time for calcul the mask position with numpy : 0.008109092712402344 nb_pixel_total : 15779 time to create 1 rle with old method : 0.025727033615112305 create new chi : 0.43762803077697754 time to delete rle : 0.0006804466247558594 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 2322 TO DO : save crop sub photo not yet done ! save time : 0.20126605033874512 map_output_result : {1384902895: (0.0, 'Should be the crop_list due to order', 0), 1384902894: (0.0, 'Should be the crop_list due to order', 0), 1384902878: (0.0, 'Should be the crop_list due to order', 0), 1384902877: (0.0, 'Should be the crop_list due to order', 0), 1384902875: (0.0, 'Should be the crop_list due to order', 0), 1384902874: (0.0, 'Should be the crop_list due to order', 0), 1384902865: (0.0, 'Should be the crop_list due to order', 0), 1384902864: (0.0, 'Should be the crop_list due to order', 0), 1384902863: (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 [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] Looping around the photos to save general results len do output : 9 /1384902895.Didn't retrieve data . /1384902894.Didn't retrieve data . /1384902878.Didn't retrieve data . /1384902877.Didn't retrieve data . /1384902875.Didn't retrieve data . /1384902874.Didn't retrieve data . /1384902865.Didn't retrieve data . /1384902864.Didn't retrieve data . /1384902863.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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01757669448852539 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.56866979598999 time spend to save output : 0.018007755279541016 total time spend for step 3 : 8.586677551269531 step4:ventilate_hashtags_in_portfolio Thu Sep 18 18:41:21 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 : 27003818 get user id for portfolio 27003818 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`=27003818 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','environnement','pet_fonce','carton','flou','background','pet_clair','metal','mal_croppe','papier','pehd')) 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`=27003818 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','environnement','pet_fonce','carton','flou','background','pet_clair','metal','mal_croppe','papier','pehd')) 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`=27003818 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','environnement','pet_fonce','carton','flou','background','pet_clair','metal','mal_croppe','papier','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27003878,27003879,27003880,27003881,27003882,27003883,27003884,27003885,27003886,27003887,27003888?tags=autre,environnement,pet_fonce,carton,flou,background,pet_clair,metal,mal_croppe,papier,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] Looping around the photos to save general results len do output : 1 /27003818. 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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01406407356262207 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7492294311523438 time spend to save output : 0.014337539672851562 total time spend for step 4 : 1.7635669708251953 step5:final Thu Sep 18 18:41:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1384902895: ('0.05614663708847737',), 1384902894: ('0.05614663708847737',), 1384902878: ('0.05614663708847737',), 1384902877: ('0.05614663708847737',), 1384902875: ('0.05614663708847737',), 1384902874: ('0.05614663708847737',), 1384902865: ('0.05614663708847737',), 1384902864: ('0.05614663708847737',), 1384902863: ('0.05614663708847737',)} new output for save of step final : {1384902895: ('0.05614663708847737',), 1384902894: ('0.05614663708847737',), 1384902878: ('0.05614663708847737',), 1384902877: ('0.05614663708847737',), 1384902875: ('0.05614663708847737',), 1384902874: ('0.05614663708847737',), 1384902865: ('0.05614663708847737',), 1384902864: ('0.05614663708847737',), 1384902863: ('0.05614663708847737',)} [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] Looping around the photos to save general results len do output : 9 /1384902895.Didn't retrieve data . /1384902894.Didn't retrieve data . /1384902878.Didn't retrieve data . /1384902877.Didn't retrieve data . /1384902875.Didn't retrieve data . /1384902874.Didn't retrieve data . /1384902865.Didn't retrieve data . /1384902864.Didn't retrieve data . /1384902863.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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015720367431640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12210345268249512 time spend to save output : 0.01620936393737793 total time spend for step 5 : 0.13831281661987305 step6:blur_detection Thu Sep 18 18:41:23 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/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6.jpg resize: (1080, 1920) 1384902895 -0.4267531944098631 treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33.jpg resize: (1080, 1920) 1384902894 1.8648261541318327 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce.jpg resize: (1080, 1920) 1384902878 0.06401103284594599 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc.jpg resize: (1080, 1920) 1384902877 -3.84026051330583 treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea.jpg resize: (1080, 1920) 1384902875 0.12613532632431812 treat image : temp/1758213629_160044_1384902874_492ff6378f6dd6c4781b3597531f41d8.jpg resize: (1080, 1920) 1384902874 -0.022338172173142712 treat image : temp/1758213629_160044_1384902865_b919a49820928924cb7f6f33833531f3.jpg resize: (1080, 1920) 1384902865 1.0434578321762775 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6.jpg resize: (1080, 1920) 1384902864 -0.23190221586302542 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b.jpg resize: (1080, 1920) 1384902863 -3.976661667054702 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667506_0.png resize: (159, 101) 1384910106 -1.1981936541022313 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667501_0.png resize: (105, 137) 1384910107 -0.7486975198720898 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667502_0.png resize: (192, 270) 1384910108 1.423972867574076 treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667511_0.png resize: (168, 98) 1384910109 -2.0004265254484324 treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667509_0.png resize: (44, 73) 1384910110 -0.30031567013863397 treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667508_0.png resize: (123, 290) 1384910111 -2.367755646606607 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667512_0.png resize: (185, 116) 1384910112 -0.18417537993563693 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667518_0.png resize: (278, 473) 1384910113 -2.29070369627414 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667513_0.png resize: (84, 64) 1384910114 -2.5948101905184626 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667514_0.png resize: (101, 143) 1384910116 -1.3904264021158386 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667515_0.png resize: (51, 84) 1384910117 -0.2967908045172465 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667517_0.png resize: (86, 69) 1384910118 0.5031711800880201 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667521_0.png resize: (80, 95) 1384910120 -2.379505124978016 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667525_0.png resize: (41, 73) 1384910121 -1.9374458208791414 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667520_0.png resize: (60, 83) 1384910122 1.8962446244556521 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667522_0.png resize: (105, 106) 1384910123 2.394366835759016 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667523_0.png resize: (66, 41) 1384910125 0.5043461145315568 treat image : temp/1758213629_160044_1384902874_492ff6378f6dd6c4781b3597531f41d8_rle_crop_3966667528_0.png resize: (78, 120) 1384910126 1.194614554746153 treat image : temp/1758213629_160044_1384902865_b919a49820928924cb7f6f33833531f3_rle_crop_3966667529_0.png resize: (101, 134) 1384910127 -0.4405047811843906 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667532_0.png resize: (235, 124) 1384910129 -2.909107297486881 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667533_0.png resize: (194, 221) 1384910130 -1.715840693990702 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667530_0.png resize: (119, 132) 1384910131 -0.8348151083751142 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667531_0.png resize: (93, 137) 1384910133 -0.5732012147022506 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667537_0.png resize: (110, 93) 1384910134 -4.053851519652965 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667539_0.png resize: (48, 114) 1384910135 2.812279220141066 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667540_0.png resize: (109, 63) 1384910137 -3.947615214419222 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667536_0.png resize: (117, 204) 1384910138 -3.868301477231039 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667503_0.png resize: (137, 262) 1384910152 -2.0676599170203462 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667504_0.png resize: (54, 60) 1384910153 -0.6508939091326583 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667534_0.png resize: (100, 85) 1384910155 -0.16813335107496605 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667538_0.png resize: (112, 101) 1384910157 -1.6722205367077012 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667505_0.png resize: (103, 260) 1384910193 -1.5399384266926919 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667507_0.png resize: (98, 154) 1384910194 -2.6642336085448868 treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667510_0.png resize: (32, 81) 1384910196 20.0 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667519_0.png resize: (892, 893) 1384910197 0.11299172725147186 treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667516_0.png resize: (121, 123) 1384910199 -2.2454247847750777 treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667524_0.png resize: (151, 78) 1384910200 -1.0406720629842565 treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea_rle_crop_3966667527_0.png resize: (159, 180) 1384910201 -0.6951023720154561 treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667535_0.png resize: (58, 101) 1384910203 0.19807277369483395 treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667541_0.png resize: (103, 246) 1384910204 -3.69500947913313 treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667500_0.png resize: (315, 119) 1384910215 -2.253777989526554 treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea_rle_crop_3966667526_0.png resize: (92, 70) 1384910217 3.8203562606392434 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 : 51 time used for this insertion : 0.014549732208251953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.015446901321411133 save missing photos in datou_result : time spend for datou_step_exec : 7.9466712474823 time spend to save output : 0.035214900970458984 total time spend for step 6 : 7.981886148452759 step7:brightness Thu Sep 18 18:41:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6.jpg treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33.jpg treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce.jpg treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc.jpg treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea.jpg treat image : temp/1758213629_160044_1384902874_492ff6378f6dd6c4781b3597531f41d8.jpg treat image : temp/1758213629_160044_1384902865_b919a49820928924cb7f6f33833531f3.jpg treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6.jpg treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b.jpg treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667506_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667501_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667502_0.png treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667511_0.png treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667509_0.png treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667508_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667512_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667518_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667513_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667514_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667515_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667517_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667521_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667525_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667520_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667522_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667523_0.png treat image : temp/1758213629_160044_1384902874_492ff6378f6dd6c4781b3597531f41d8_rle_crop_3966667528_0.png treat image : temp/1758213629_160044_1384902865_b919a49820928924cb7f6f33833531f3_rle_crop_3966667529_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667532_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667533_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667530_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667531_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667537_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667539_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667540_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667536_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667503_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667504_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667534_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667538_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667505_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667507_0.png treat image : temp/1758213629_160044_1384902894_94d826ba166f94dabc3b7e8e8569cc33_rle_crop_3966667510_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667519_0.png treat image : temp/1758213629_160044_1384902878_c547edb7e880544adf4b17abebf252ce_rle_crop_3966667516_0.png treat image : temp/1758213629_160044_1384902877_ab81f95a5bc57208b97d829e10c86cbc_rle_crop_3966667524_0.png treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea_rle_crop_3966667527_0.png treat image : temp/1758213629_160044_1384902864_ea7742777eb5c0e04d3096ba440b1ba6_rle_crop_3966667535_0.png treat image : temp/1758213629_160044_1384902863_47310803040dc69395edaeb6f1daea1b_rle_crop_3966667541_0.png treat image : temp/1758213629_160044_1384902895_3765ad04f527875e7a5188d456a00da6_rle_crop_3966667500_0.png treat image : temp/1758213629_160044_1384902875_9894a2978b0ea37cac99add661f87aea_rle_crop_3966667526_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 : 51 time used for this insertion : 0.01679229736328125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.013860225677490234 save missing photos in datou_result : time spend for datou_step_exec : 2.197821617126465 time spend to save output : 0.03550863265991211 total time spend for step 7 : 2.233330249786377 step8:velours_tree Thu Sep 18 18:41:33 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.16634559631347656 time spend to save output : 3.409385681152344e-05 total time spend for step 8 : 0.16637969017028809 step9:send_mail_cod Thu Sep 18 18:41:33 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_P27003818_18-09-2025_18_41_33.pdf 27003878 change filename to text .change filename to text .imagette270038781758213693 27003880 imagette270038801758213693 27003881 change filename to text .change filename to text .change filename to text .change filename to text .imagette270038811758213693 27003882 imagette270038821758213693 27003883 imagette270038831758213693 27003884 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 .imagette270038841758213693 27003885 imagette270038851758213694 27003886 imagette270038861758213694 27003887 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270038871758213694 27003888 imagette270038881758213696 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27003818 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27003878,27003879,27003880,27003881,27003882,27003883,27003884,27003885,27003886,27003887,27003888?tags=autre,environnement,pet_fonce,carton,flou,background,pet_clair,metal,mal_croppe,papier,pehd args[1384902895] : ((1384902895, -0.4267531944098631, 492688767), (1384902895, 0.20046424792451603, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902894] : ((1384902894, 1.8648261541318327, 492688767), (1384902894, 0.3246825389942285, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902878] : ((1384902878, 0.06401103284594599, 492688767), (1384902878, 0.8437849769639265, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902877] : ((1384902877, -3.84026051330583, 492609224), (1384902877, 0.558063428198719, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902875] : ((1384902875, 0.12613532632431812, 492688767), (1384902875, 0.7910462481620611, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902874] : ((1384902874, -0.022338172173142712, 492688767), (1384902874, 0.9016108810733179, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902865] : ((1384902865, 1.0434578321762775, 492688767), (1384902865, 0.41797052328226647, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902864] : ((1384902864, -0.23190221586302542, 492688767), (1384902864, 0.11597449476441417, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com args[1384902863] : ((1384902863, -3.976661667054702, 492609224), (1384902863, 0.2820904207166753, 2107752395), '0.05614663708847737') We are sending mail with results at report@fotonower.com refus_total : 0.05614663708847737 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=27003818 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_P27003818_18-09-2025_18_41_33.pdf results_Auto_P27003818_18-09-2025_18_41_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003818_18-09-2025_18_41_33.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','27003818','results_Auto_P27003818_18-09-2025_18_41_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003818_18-09-2025_18_41_33.pdf','pdf','','0.19','0.05614663708847737') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27003818

https://www.fotonower.com/image?json=false&list_photos_id=1384902895
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902894
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.8648261541318327)
https://www.fotonower.com/image?json=false&list_photos_id=1384902878
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902877
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902875
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902874
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902865
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0434578321762775)
https://www.fotonower.com/image?json=false&list_photos_id=1384902864
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384902863
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/27003878?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27003881?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27003884?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27003887?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003818_18-09-2025_18_41_33.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27003878,27003879,27003880,27003881,27003882,27003883,27003884,27003885,27003886,27003887,27003888?tags=autre,environnement,pet_fonce,carton,flou,background,pet_clair,metal,mal_croppe,papier,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 18 Sep 2025 16:41:38 GMT Content-Length: 0 Connection: close X-Message-Id: gbP4JToIQGikZ41s7_cDUA 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 [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] 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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014007091522216797 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.568617343902588 time spend to save output : 0.014213323593139648 total time spend for step 9 : 4.5828306674957275 step10:split_time_score Thu Sep 18 18:41:38 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'}] (('17', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18092025 27003818 Nombre de photos uploadées : 9 / 23040 (0%) 18092025 27003818 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 18092025 27003818 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004839897155761719 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21385836601257324 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.029968609708193043 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26993632_18-09-2025_09_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26993632 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`=26993632 AND mptpi.`type`=3594 To do Qualite : 0.07461375911896746 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994368_18-09-2025_09_32_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994368 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`=26994368 AND mptpi.`type`=3594 To do Qualite : 0.13248333547668037 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994376_18-09-2025_09_21_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994376 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`=26994376 AND mptpi.`type`=3594 To do Qualite : 0.02829922027290448 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994377_18-09-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994377 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`=26994377 AND mptpi.`type`=3594 To do Qualite : 0.22073720421810702 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26998416_18-09-2025_13_02_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26998416 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`=26998416 AND mptpi.`type`=3594 To do Qualite : 0.06378718171296298 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997919_18-09-2025_12_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26997919 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`=26997919 AND mptpi.`type`=3594 To do Qualite : 0.10073354713220166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26996058_18-09-2025_13_11_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26996058 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`=26996058 AND mptpi.`type`=3594 To do Qualite : 0.14480436599794244 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997922_18-09-2025_12_31_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26997922 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`=26997922 AND mptpi.`type`=3594 To do Qualite : 0.10946210026577505 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26999691_18-09-2025_14_22_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26999691 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`=26999691 AND mptpi.`type`=3594 To do Qualite : 0.05668700569058639 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27000677_18-09-2025_16_36_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27000677 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`=27000677 AND mptpi.`type`=3594 To do Qualite : 0.03057369569088319 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27002076_18-09-2025_17_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27002076 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`=27002076 AND mptpi.`type`=3594 To do Qualite : 0.05614663708847737 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003818_18-09-2025_18_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27003818 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`=27003818 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18092025': {'nb_upload': 9, '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 [1384902895, 1384902894, 1384902878, 1384902877, 1384902875, 1384902874, 1384902865, 1384902864, 1384902863] Looping around the photos to save general results len do output : 1 /27003818Didn'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, '3741645') ('3318', '27003818', '1384902895', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902894', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902878', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902877', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902875', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902874', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902865', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902864', None, None, None, None, None, '3741645') ('3318', None, None, None, None, None, None, None, '3741645') ('3318', '27003818', '1384902863', None, None, None, None, None, '3741645') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012681722640991211 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0863420963287354 time spend to save output : 0.01292872428894043 total time spend for step 10 : 1.0992708206176758 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 33.77user 18.63system 1:13.51elapsed 71%CPU (0avgtext+0avgdata 2837204maxresident)k 539880inputs+13592outputs (792major+1504773minor)pagefaults 0swaps