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 : 3340653 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 : ['3504967'] with mtr_portfolio_ids : ['25889017'] and first list_photo_ids : [] new path : /proc/3340653/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 3.2469379901885986 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Aug 11 19:50:32 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-11 19:50:35.066763: 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-08-11 19:50:35.091307: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-11 19:50:35.092769: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc188000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-11 19:50:35.092806: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-11 19:50:35.095100: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-11 19:50:35.240198: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56febf0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-11 19:50:35.240242: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-11 19:50:35.241585: 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-08-11 19:50:35.241957: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 19:50:35.244868: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 19:50:35.247426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 19:50:35.247880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 19:50:35.251022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 19:50:35.252695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 19:50:35.256742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 19:50:35.258116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 19:50:35.258171: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 19:50:35.258889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-11 19:50:35.258904: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-11 19:50:35.258912: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-11 19:50:35.260340: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08-11 19:50:35.509545: 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-08-11 19:50:35.509642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 19:50:35.509671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 19:50:35.509697: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 19:50:35.509722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 19:50:35.509746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 19:50:35.509772: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 19:50:35.509796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 19:50:35.511940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 19:50:35.513211: 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-08-11 19:50:35.513245: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 19:50:35.513260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 19:50:35.513274: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 19:50:35.513288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 19:50:35.513303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 19:50:35.513317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 19:50:35.513331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 19:50:35.514623: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 19:50:35.514650: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-11 19:50:35.514658: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-11 19:50:35.514665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-11 19:50:35.515990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08-11 19:50:43.078711: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 19:50:43.264953: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 22 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.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 : 8 Detection mask done ! Trying to reset tf kernel 3341178 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4486 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 5665 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.0001323223114013672 nb_pixel_total : 2986 time to create 1 rle with old method : 0.0037946701049804688 length of segment : 54 time for calcul the mask position with numpy : 0.0001704692840576172 nb_pixel_total : 9119 time to create 1 rle with old method : 0.011185884475708008 length of segment : 75 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 8574 time to create 1 rle with old method : 0.01031637191772461 length of segment : 112 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 5160 time to create 1 rle with old method : 0.0064013004302978516 length of segment : 76 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 5741 time to create 1 rle with old method : 0.007132291793823242 length of segment : 106 time for calcul the mask position with numpy : 0.0001595020294189453 nb_pixel_total : 6774 time to create 1 rle with old method : 0.008489370346069336 length of segment : 117 time for calcul the mask position with numpy : 0.00024199485778808594 nb_pixel_total : 12254 time to create 1 rle with old method : 0.01498103141784668 length of segment : 112 time for calcul the mask position with numpy : 6.723403930664062e-05 nb_pixel_total : 2172 time to create 1 rle with old method : 0.0027937889099121094 length of segment : 54 time for calcul the mask position with numpy : 0.001871347427368164 nb_pixel_total : 113307 time to create 1 rle with old method : 0.1265852451324463 length of segment : 570 time for calcul the mask position with numpy : 0.00023221969604492188 nb_pixel_total : 10315 time to create 1 rle with old method : 0.012380123138427734 length of segment : 152 time for calcul the mask position with numpy : 0.00013303756713867188 nb_pixel_total : 6321 time to create 1 rle with old method : 0.007418394088745117 length of segment : 117 time for calcul the mask position with numpy : 7.05718994140625e-05 nb_pixel_total : 2251 time to create 1 rle with old method : 0.002771139144897461 length of segment : 64 time for calcul the mask position with numpy : 0.00011348724365234375 nb_pixel_total : 4873 time to create 1 rle with old method : 0.005911111831665039 length of segment : 125 time for calcul the mask position with numpy : 7.271766662597656e-05 nb_pixel_total : 2276 time to create 1 rle with old method : 0.0028450489044189453 length of segment : 70 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 5535 time to create 1 rle with old method : 0.006520271301269531 length of segment : 114 time for calcul the mask position with numpy : 6.079673767089844e-05 nb_pixel_total : 1541 time to create 1 rle with old method : 0.0020096302032470703 length of segment : 42 time for calcul the mask position with numpy : 0.00011658668518066406 nb_pixel_total : 5752 time to create 1 rle with old method : 0.006670713424682617 length of segment : 123 time for calcul the mask position with numpy : 0.0003807544708251953 nb_pixel_total : 24255 time to create 1 rle with old method : 0.02853703498840332 length of segment : 172 time for calcul the mask position with numpy : 0.0014560222625732422 nb_pixel_total : 110815 time to create 1 rle with old method : 0.12570881843566895 length of segment : 527 time for calcul the mask position with numpy : 8.320808410644531e-05 nb_pixel_total : 3769 time to create 1 rle with old method : 0.004540205001831055 length of segment : 40 time for calcul the mask position with numpy : 0.00010609626770019531 nb_pixel_total : 4642 time to create 1 rle with old method : 0.005434751510620117 length of segment : 104 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 8023 time to create 1 rle with old method : 0.009489059448242188 length of segment : 123 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 5573 time to create 1 rle with old method : 0.006625652313232422 length of segment : 116 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 9467 time to create 1 rle with old method : 0.011021614074707031 length of segment : 178 time for calcul the mask position with numpy : 0.00019979476928710938 nb_pixel_total : 8601 time to create 1 rle with old method : 0.009952545166015625 length of segment : 170 time for calcul the mask position with numpy : 0.0010688304901123047 nb_pixel_total : 99031 time to create 1 rle with old method : 0.11160421371459961 length of segment : 285 time for calcul the mask position with numpy : 0.0004036426544189453 nb_pixel_total : 31928 time to create 1 rle with old method : 0.036551475524902344 length of segment : 256 time for calcul the mask position with numpy : 0.00010418891906738281 nb_pixel_total : 3441 time to create 1 rle with old method : 0.004063844680786133 length of segment : 76 time for calcul the mask position with numpy : 0.00016760826110839844 nb_pixel_total : 11441 time to create 1 rle with old method : 0.013175487518310547 length of segment : 114 time for calcul the mask position with numpy : 0.00011038780212402344 nb_pixel_total : 6102 time to create 1 rle with old method : 0.006914615631103516 length of segment : 120 time for calcul the mask position with numpy : 0.0014433860778808594 nb_pixel_total : 113228 time to create 1 rle with old method : 0.12865471839904785 length of segment : 594 time for calcul the mask position with numpy : 0.0001537799835205078 nb_pixel_total : 2718 time to create 1 rle with old method : 0.0033528804779052734 length of segment : 57 time for calcul the mask position with numpy : 0.00031065940856933594 nb_pixel_total : 8052 time to create 1 rle with old method : 0.009619712829589844 length of segment : 128 time for calcul the mask position with numpy : 0.00020623207092285156 nb_pixel_total : 7865 time to create 1 rle with old method : 0.009050607681274414 length of segment : 150 time for calcul the mask position with numpy : 0.00011324882507324219 nb_pixel_total : 4620 time to create 1 rle with old method : 0.005499839782714844 length of segment : 93 time for calcul the mask position with numpy : 0.00039577484130859375 nb_pixel_total : 12879 time to create 1 rle with old method : 0.015038728713989258 length of segment : 149 time for calcul the mask position with numpy : 0.0001876354217529297 nb_pixel_total : 8251 time to create 1 rle with old method : 0.009424924850463867 length of segment : 91 time for calcul the mask position with numpy : 0.0017392635345458984 nb_pixel_total : 65058 time to create 1 rle with old method : 0.07422757148742676 length of segment : 456 time for calcul the mask position with numpy : 0.0002117156982421875 nb_pixel_total : 5386 time to create 1 rle with old method : 0.006354093551635742 length of segment : 86 time for calcul the mask position with numpy : 0.0002810955047607422 nb_pixel_total : 8772 time to create 1 rle with old method : 0.010087728500366211 length of segment : 116 time for calcul the mask position with numpy : 0.0003948211669921875 nb_pixel_total : 7267 time to create 1 rle with old method : 0.008408546447753906 length of segment : 192 time spent for convertir_results : 1.947571039199829 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 6476 save missing photos in datou_result : time spend for datou_step_exec : 24.963348150253296 time spend to save output : 0.40442776679992676 total time spend for step 1 : 25.367775917053223 step2:crop_condition Mon Aug 11 19:50:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 41 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 29 About to insert : list_path_to_insert length 29 new photo from crops ! About to upload 29 photos upload in portfolio : 3736932 init cache_photo without model_param we have 29 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754934659_3340653 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 29 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.0199925899505615 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/1754934668_3340653 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.213059663772583 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754934669_3340653 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1194190979003906 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754934671_3340653 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 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0826759338378906 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 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 [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] Looping around the photos to save general results len do output : 41 /1376484202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376484250Didn'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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 133 time used for this insertion : 0.01941061019897461 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.734389305114746 time spend to save output : 0.02103281021118164 total time spend for step 2 : 15.755422115325928 step3:rle_unique_nms_with_priority Mon Aug 11 19:51:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 41 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 16 nb_hashtags : 3 time to prepare the origin masks : 2.766300678253174 time for calcul the mask position with numpy : 0.0713798999786377 nb_pixel_total : 1877433 time to create 1 rle with new method : 0.4857139587402344 time for calcul the mask position with numpy : 0.008318662643432617 nb_pixel_total : 367 time to create 1 rle with old method : 0.00045561790466308594 time for calcul the mask position with numpy : 0.006340742111206055 nb_pixel_total : 5535 time to create 1 rle with old method : 0.00633549690246582 time for calcul the mask position with numpy : 0.007035732269287109 nb_pixel_total : 2276 time to create 1 rle with old method : 0.002611875534057617 time for calcul the mask position with numpy : 0.006205320358276367 nb_pixel_total : 4873 time to create 1 rle with old method : 0.005606651306152344 time for calcul the mask position with numpy : 0.006489276885986328 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0024878978729248047 time for calcul the mask position with numpy : 0.006324052810668945 nb_pixel_total : 6321 time to create 1 rle with old method : 0.006995677947998047 time for calcul the mask position with numpy : 0.006761074066162109 nb_pixel_total : 8457 time to create 1 rle with old method : 0.009850740432739258 time for calcul the mask position with numpy : 0.008414268493652344 nb_pixel_total : 113307 time to create 1 rle with old method : 0.13082146644592285 time for calcul the mask position with numpy : 0.006316184997558594 nb_pixel_total : 2172 time to create 1 rle with old method : 0.0026273727416992188 time for calcul the mask position with numpy : 0.006600379943847656 nb_pixel_total : 12254 time to create 1 rle with old method : 0.015283823013305664 time for calcul the mask position with numpy : 0.006821393966674805 nb_pixel_total : 6774 time to create 1 rle with old method : 0.008005380630493164 time for calcul the mask position with numpy : 0.0062558650970458984 nb_pixel_total : 5741 time to create 1 rle with old method : 0.006813764572143555 time for calcul the mask position with numpy : 0.006127357482910156 nb_pixel_total : 5160 time to create 1 rle with old method : 0.005825519561767578 time for calcul the mask position with numpy : 0.006324291229248047 nb_pixel_total : 8574 time to create 1 rle with old method : 0.009500265121459961 time for calcul the mask position with numpy : 0.006310939788818359 nb_pixel_total : 9119 time to create 1 rle with old method : 0.010636568069458008 time for calcul the mask position with numpy : 0.006484508514404297 nb_pixel_total : 2986 time to create 1 rle with old method : 0.0034089088439941406 create new chi : 0.9016661643981934 time to delete rle : 0.02565145492553711 batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++Number RLEs to save : 4893 TO DO : save crop sub photo not yet done ! save time : 0.30298924446105957 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.691718578338623 time for calcul the mask position with numpy : 0.020807504653930664 nb_pixel_total : 1932778 time to create 1 rle with new method : 0.030440092086791992 time for calcul the mask position with numpy : 0.006814718246459961 nb_pixel_total : 110815 time to create 1 rle with old method : 0.1243283748626709 time for calcul the mask position with numpy : 0.006235361099243164 nb_pixel_total : 24255 time to create 1 rle with old method : 0.02732062339782715 time for calcul the mask position with numpy : 0.0061206817626953125 nb_pixel_total : 5752 time to create 1 rle with old method : 0.0067903995513916016 create new chi : 0.22928166389465332 time to delete rle : 0.0002512931823730469 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2724 TO DO : save crop sub photo not yet done ! save time : 0.18407464027404785 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06164908409118652 time for calcul the mask position with numpy : 0.3239574432373047 nb_pixel_total : 2069831 time to create 1 rle with new method : 0.09875607490539551 time for calcul the mask position with numpy : 0.006305217742919922 nb_pixel_total : 3769 time to create 1 rle with old method : 0.004499673843383789 create new chi : 0.44374966621398926 time to delete rle : 0.00018739700317382812 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1160 TO DO : save crop sub photo not yet done ! save time : 0.10563945770263672 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.22763681411743164 time for calcul the mask position with numpy : 0.3972465991973877 nb_pixel_total : 2045895 time to create 1 rle with new method : 0.33411502838134766 time for calcul the mask position with numpy : 0.00670623779296875 nb_pixel_total : 9467 time to create 1 rle with old method : 0.010494470596313477 time for calcul the mask position with numpy : 0.005960226058959961 nb_pixel_total : 5573 time to create 1 rle with old method : 0.006147861480712891 time for calcul the mask position with numpy : 0.005998373031616211 nb_pixel_total : 8023 time to create 1 rle with old method : 0.008849382400512695 time for calcul the mask position with numpy : 0.00597071647644043 nb_pixel_total : 4642 time to create 1 rle with old method : 0.005147695541381836 create new chi : 0.801987886428833 time to delete rle : 0.0004088878631591797 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2122 TO DO : save crop sub photo not yet done ! save time : 0.16885805130004883 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04746389389038086 time for calcul the mask position with numpy : 0.020015954971313477 nb_pixel_total : 1965968 time to create 1 rle with new method : 0.10609889030456543 time for calcul the mask position with numpy : 0.007087230682373047 nb_pixel_total : 99031 time to create 1 rle with old method : 0.11434674263000488 time for calcul the mask position with numpy : 0.006402015686035156 nb_pixel_total : 8601 time to create 1 rle with old method : 0.01007080078125 create new chi : 0.2718851566314697 time to delete rle : 0.0003218650817871094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1990 TO DO : save crop sub photo not yet done ! save time : 0.15137410163879395 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.543036937713623 time for calcul the mask position with numpy : 0.08332371711730957 nb_pixel_total : 1904742 time to create 1 rle with new method : 0.3762242794036865 time for calcul the mask position with numpy : 0.006204843521118164 nb_pixel_total : 2718 time to create 1 rle with old method : 0.003221750259399414 time for calcul the mask position with numpy : 0.006837129592895508 nb_pixel_total : 113228 time to create 1 rle with old method : 0.13242626190185547 time for calcul the mask position with numpy : 0.005771160125732422 nb_pixel_total : 6102 time to create 1 rle with old method : 0.006644487380981445 time for calcul the mask position with numpy : 0.006266117095947266 nb_pixel_total : 11441 time to create 1 rle with old method : 0.012822389602661133 time for calcul the mask position with numpy : 0.006345987319946289 nb_pixel_total : 3441 time to create 1 rle with old method : 0.0038340091705322266 time for calcul the mask position with numpy : 0.006037712097167969 nb_pixel_total : 31928 time to create 1 rle with old method : 0.03528451919555664 create new chi : 0.7019984722137451 time to delete rle : 0.00044918060302734375 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3514 TO DO : save crop sub photo not yet done ! save time : 0.24580931663513184 No data in photo_id : 1376465786 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05181741714477539 time for calcul the mask position with numpy : 0.018571853637695312 nb_pixel_total : 2053063 time to create 1 rle with new method : 0.05688977241516113 time for calcul the mask position with numpy : 0.0058023929595947266 nb_pixel_total : 4620 time to create 1 rle with old method : 0.0051114559173583984 time for calcul the mask position with numpy : 0.005835056304931641 nb_pixel_total : 7865 time to create 1 rle with old method : 0.008582830429077148 time for calcul the mask position with numpy : 0.009341716766357422 nb_pixel_total : 8052 time to create 1 rle with old method : 0.008715629577636719 create new chi : 0.11916422843933105 time to delete rle : 0.0003018379211425781 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 1822 TO DO : save crop sub photo not yet done ! save time : 0.13533306121826172 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.08701705932617188 time for calcul the mask position with numpy : 0.024332046508789062 nb_pixel_total : 1987412 time to create 1 rle with new method : 0.3592674732208252 time for calcul the mask position with numpy : 0.006371974945068359 nb_pixel_total : 65058 time to create 1 rle with old method : 0.07084298133850098 time for calcul the mask position with numpy : 0.006006479263305664 nb_pixel_total : 8251 time to create 1 rle with old method : 0.009249448776245117 time for calcul the mask position with numpy : 0.005863666534423828 nb_pixel_total : 12879 time to create 1 rle with old method : 0.014111995697021484 create new chi : 0.5033388137817383 time to delete rle : 0.00037217140197753906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2472 TO DO : save crop sub photo not yet done ! save time : 0.17419004440307617 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.0514225959777832 time for calcul the mask position with numpy : 0.01855015754699707 nb_pixel_total : 2052175 time to create 1 rle with new method : 0.0851445198059082 time for calcul the mask position with numpy : 0.005999088287353516 nb_pixel_total : 7267 time to create 1 rle with old method : 0.008266448974609375 time for calcul the mask position with numpy : 0.005810976028442383 nb_pixel_total : 8772 time to create 1 rle with old method : 0.010198831558227539 time for calcul the mask position with numpy : 0.005924701690673828 nb_pixel_total : 5386 time to create 1 rle with old method : 0.006027936935424805 create new chi : 0.1527247428894043 time to delete rle : 0.0002951622009277344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1868 TO DO : save crop sub photo not yet done ! save time : 0.13463282585144043 map_output_result : {1376465880: (0.0, 'Should be the crop_list due to order', 0), 1376465876: (0.0, 'Should be the crop_list due to order', 0), 1376465811: (0.0, 'Should be the crop_list due to order', 0), 1376465808: (0.0, 'Should be the crop_list due to order', 0), 1376465807: (0.0, 'Should be the crop_list due to order', 0), 1376465805: (0.0, 'Should be the crop_list due to order', 0), 1376465786: (0.0, 'Should be the crop_list due to order', 0.0), 1376465768: (0.0, 'Should be the crop_list due to order', 0), 1376465766: (0.0, 'Should be the crop_list due to order', 0), 1376465764: (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 [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] Looping around the photos to save general results len do output : 10 /1376465880.Didn't retrieve data . /1376465876.Didn't retrieve data . /1376465811.Didn't retrieve data . /1376465808.Didn't retrieve data . /1376465807.Didn't retrieve data . /1376465805.Didn't retrieve data . /1376465786.Didn't retrieve data . /1376465768.Didn't retrieve data . /1376465766.Didn't retrieve data . /1376465764.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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01265096664428711 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.611622333526611 time spend to save output : 0.013164758682250977 total time spend for step 3 : 10.624787092208862 step4:ventilate_hashtags_in_portfolio Mon Aug 11 19:51:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25889017 get user id for portfolio 25889017 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`=25889017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','pehd','environnement','flou','background','pet_clair','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25889017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','pehd','environnement','flou','background','pet_clair','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25889017 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','pehd','environnement','flou','background','pet_clair','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25889467,25889468,25889469,25889470,25889471,25889472,25889473,25889474,25889475,25889476,25889477?tags=mal_croppe,carton,pet_fonce,pehd,environnement,flou,background,pet_clair,papier,metal,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] Looping around the photos to save general results len do output : 1 /25889017. 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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01415252685546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6291160583496094 time spend to save output : 0.014435052871704102 total time spend for step 4 : 1.6435511112213135 step5:final Mon Aug 11 19:51:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1376465880: ('0.03728313078703702',), 1376465876: ('0.03728313078703702',), 1376465811: ('0.03728313078703702',), 1376465808: ('0.03728313078703702',), 1376465807: ('0.03728313078703702',), 1376465805: ('0.03728313078703702',), 1376465786: ('0.03728313078703702',), 1376465768: ('0.03728313078703702',), 1376465766: ('0.03728313078703702',), 1376465764: ('0.03728313078703702',)} new output for save of step final : {1376465880: ('0.03728313078703702',), 1376465876: ('0.03728313078703702',), 1376465811: ('0.03728313078703702',), 1376465808: ('0.03728313078703702',), 1376465807: ('0.03728313078703702',), 1376465805: ('0.03728313078703702',), 1376465786: ('0.03728313078703702',), 1376465768: ('0.03728313078703702',), 1376465766: ('0.03728313078703702',), 1376465764: ('0.03728313078703702',)} [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] Looping around the photos to save general results len do output : 10 /1376465880.Didn't retrieve data . /1376465876.Didn't retrieve data . /1376465811.Didn't retrieve data . /1376465808.Didn't retrieve data . /1376465807.Didn't retrieve data . /1376465805.Didn't retrieve data . /1376465786.Didn't retrieve data . /1376465768.Didn't retrieve data . /1376465766.Didn't retrieve data . /1376465764.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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013608932495117188 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11060738563537598 time spend to save output : 0.014170646667480469 total time spend for step 5 : 0.12477803230285645 step6:blur_detection Mon Aug 11 19:51:26 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/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f.jpg resize: (1080, 1920) 1376465880 -0.9772950684858366 treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526.jpg resize: (1080, 1920) 1376465876 0.9532764033673757 treat image : temp/1754934629_3340653_1376465811_4dc164641a67be7b7267ffd0da7f900c.jpg resize: (1080, 1920) 1376465811 0.3355218741087608 treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790.jpg resize: (1080, 1920) 1376465808 0.8317875419744106 treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d.jpg resize: (1080, 1920) 1376465807 2.193148399172664 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740.jpg resize: (1080, 1920) 1376465805 -4.2316367105786385 treat image : temp/1754934629_3340653_1376465786_80eb32715325c83d179a469b974393a0.jpg resize: (1080, 1920) 1376465786 1.2900458161479218 treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab.jpg resize: (1080, 1920) 1376465768 -0.32045087649190984 treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d.jpg resize: (1080, 1920) 1376465766 -1.1510887364779394 treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab.jpg resize: (1080, 1920) 1376465764 0.9753337243897119 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290155_0.png resize: (117, 80) 1376484202 -1.191311620730665 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290157_0.png resize: (125, 55) 1376484203 -2.9586724552146944 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290158_0.png resize: (63, 54) 1376484204 -1.4129624542116077 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290147_0.png resize: (97, 129) 1376484205 -1.1168739351483654 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290146_0.png resize: (74, 145) 1376484206 2.108861687556839 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290148_0.png resize: (76, 105) 1376484207 -0.6740746132396555 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290156_0.png resize: (64, 52) 1376484208 -0.22433022173679223 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290154_0.png resize: (125, 151) 1376484209 -0.937904893669802 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290160_0.png resize: (42, 48) 1376484211 1.4401725645541326 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290152_0.png resize: (46, 63) 1376484212 6.535875465640251 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290149_0.png resize: (74, 132) 1376484213 -2.130253021524819 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290145_0.png resize: (54, 71) 1376484214 5.22298890809306 treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290168_0.png resize: (177, 95) 1376484215 -0.6454569128361934 treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290165_0.png resize: (103, 66) 1376484216 -0.33536924152560843 treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290166_0.png resize: (123, 97) 1376484217 -1.0192135944500884 treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290167_0.png resize: (103, 77) 1376484218 -0.4237067253786663 treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d_rle_crop_3911290169_0.png resize: (170, 102) 1376484219 -1.9707127199272425 treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d_rle_crop_3911290170_0.png resize: (284, 467) 1376484220 0.2090088898707337 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290176_0.png resize: (57, 66) 1376484221 0.40586342698625816 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290172_0.png resize: (75, 58) 1376484222 1.9098587443860922 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290171_0.png resize: (152, 293) 1376484223 -4.02602372945697 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290173_0.png resize: (114, 118) 1376484224 -2.629464763906389 treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290178_0.png resize: (148, 62) 1376484225 0.24949638427572507 treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290177_0.png resize: (106, 99) 1376484226 -0.7264201920562352 treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290179_0.png resize: (91, 66) 1376484227 1.516622555388594 treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290180_0.png resize: (146, 135) 1376484228 -1.5589039663883886 treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290185_0.png resize: (174, 97) 1376484229 -2.475500630705036 treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290183_0.png resize: (85, 102) 1376484230 -2.0463952394797422 treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290184_0.png resize: (116, 109) 1376484231 -0.6177174502205759 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290150_0.png resize: (117, 119) 1376484236 -1.9256431363724753 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290153_0.png resize: (560, 323) 1376484237 -0.23076277346744256 treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290162_0.png resize: (158, 244) 1376484238 -1.9813445102075804 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290175_0.png resize: (556, 356) 1376484239 -0.2809961649118677 treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290181_0.png resize: (91, 124) 1376484241 -2.8994517160296565 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290151_0.png resize: (106, 180) 1376484244 -1.4054097069372509 treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290159_0.png resize: (114, 63) 1376484245 -3.0144236934434314 treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290161_0.png resize: (105, 77) 1376484246 -3.935595470685697 treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290163_0.png resize: (521, 363) 1376484247 0.2181266031646577 treat image : temp/1754934629_3340653_1376465811_4dc164641a67be7b7267ffd0da7f900c_rle_crop_3911290164_0.png resize: (40, 105) 1376484248 20.0 treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290174_0.png resize: (119, 71) 1376484249 -4.239932468007584 treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290182_0.png resize: (450, 280) 1376484250 -0.4894943742105942 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.013772726058959961 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.013819456100463867 save missing photos in datou_result : time spend for datou_step_exec : 8.088004112243652 time spend to save output : 0.0326690673828125 total time spend for step 6 : 8.120673179626465 step7:brightness Mon Aug 11 19:51:34 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/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f.jpg treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526.jpg treat image : temp/1754934629_3340653_1376465811_4dc164641a67be7b7267ffd0da7f900c.jpg treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790.jpg treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d.jpg treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740.jpg treat image : temp/1754934629_3340653_1376465786_80eb32715325c83d179a469b974393a0.jpg treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab.jpg treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d.jpg treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab.jpg treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290155_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290157_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290158_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290147_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290146_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290148_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290156_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290154_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290160_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290152_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290149_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290145_0.png treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290168_0.png treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290165_0.png treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290166_0.png treat image : temp/1754934629_3340653_1376465808_e49397f7af15acc396432fbf19837790_rle_crop_3911290167_0.png treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d_rle_crop_3911290169_0.png treat image : temp/1754934629_3340653_1376465807_c187368cceb54401ec1f3d483a4e155d_rle_crop_3911290170_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290176_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290172_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290171_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290173_0.png treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290178_0.png treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290177_0.png treat image : temp/1754934629_3340653_1376465768_49c44a847b341695a07cb4f79332fdab_rle_crop_3911290179_0.png treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290180_0.png treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290185_0.png treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290183_0.png treat image : temp/1754934629_3340653_1376465764_bf02280fb478accb96b9cdc4f39d33ab_rle_crop_3911290184_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290150_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290153_0.png treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290162_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290175_0.png treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290181_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290151_0.png treat image : temp/1754934629_3340653_1376465880_bacdb375d1f3745ea3306eba1c22146f_rle_crop_3911290159_0.png treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290161_0.png treat image : temp/1754934629_3340653_1376465876_898216a0dd65658cf2bc01a3f071d526_rle_crop_3911290163_0.png treat image : temp/1754934629_3340653_1376465811_4dc164641a67be7b7267ffd0da7f900c_rle_crop_3911290164_0.png treat image : temp/1754934629_3340653_1376465805_8055368527afc0ad44d354c6480c1740_rle_crop_3911290174_0.png treat image : temp/1754934629_3340653_1376465766_c743efce45e2236f9edd80b24730181d_rle_crop_3911290182_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.014722108840942383 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.014761686325073242 save missing photos in datou_result : time spend for datou_step_exec : 2.2929000854492188 time spend to save output : 0.03402113914489746 total time spend for step 7 : 2.326921224594116 step8:velours_tree Mon Aug 11 19:51:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.1256556510925293 time spend to save output : 3.0517578125e-05 total time spend for step 8 : 0.1256861686706543 step9:send_mail_cod Mon Aug 11 19:51:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P25889017_11-08-2025_19_51_36.pdf 25889467 imagette258894671754934696 25889468 change filename to text .change filename to text .change filename to text .change filename to text .imagette258894681754934696 25889469 imagette258894691754934696 25889470 imagette258894701754934696 25889472 imagette258894721754934696 25889473 imagette258894731754934696 25889474 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 .imagette258894741754934696 25889475 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 .imagette258894751754934697 25889476 change filename to text .imagette258894761754934698 25889477 imagette258894771754934698 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25889017 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25889467,25889468,25889469,25889470,25889471,25889472,25889473,25889474,25889475,25889476,25889477?tags=mal_croppe,carton,pet_fonce,pehd,environnement,flou,background,pet_clair,papier,metal,autre args[1376465880] : ((1376465880, -0.9772950684858366, 492688767), (1376465880, 0.32883718388504857, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465876] : ((1376465876, 0.9532764033673757, 492688767), (1376465876, 0.395922179006071, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465811] : ((1376465811, 0.3355218741087608, 492688767), (1376465811, 0.7382840010581763, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465808] : ((1376465808, 0.8317875419744106, 492688767), (1376465808, 0.596197169520137, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465807] : ((1376465807, 2.193148399172664, 492688767), (1376465807, 0.5285105879192654, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465805] : ((1376465805, -4.2316367105786385, 492609224), (1376465805, 0.4955124413765505, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465786] : ((1376465786, 1.2900458161479218, 492688767), (1376465786, 0.2595667820699385, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465768] : ((1376465768, -0.32045087649190984, 492688767), (1376465768, 0.858377065354796, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465766] : ((1376465766, -1.1510887364779394, 492688767), (1376465766, 0.6333528414648164, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com args[1376465764] : ((1376465764, 0.9753337243897119, 492688767), (1376465764, 0.509926144241363, 2107752395), '0.03728313078703702') We are sending mail with results at report@fotonower.com refus_total : 0.03728313078703702 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=25889017 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_P25889017_11-08-2025_19_51_36.pdf results_Auto_P25889017_11-08-2025_19_51_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889017_11-08-2025_19_51_36.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','25889017','results_Auto_P25889017_11-08-2025_19_51_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889017_11-08-2025_19_51_36.pdf','pdf','','0.19','0.03728313078703702') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25889017

https://www.fotonower.com/image?json=false&list_photos_id=1376465880
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465876
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465811
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465808
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465807
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.193148399172664)
https://www.fotonower.com/image?json=false&list_photos_id=1376465805
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465786
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2900458161479218)
https://www.fotonower.com/image?json=false&list_photos_id=1376465768
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465766
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376465764
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/25889468?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25889474?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25889475?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25889476?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889017_11-08-2025_19_51_36.pdf.

Lien vers velours :https://www.fotonower.com/velours/25889467,25889468,25889469,25889470,25889471,25889472,25889473,25889474,25889475,25889476,25889477?tags=mal_croppe,carton,pet_fonce,pehd,environnement,flou,background,pet_clair,papier,metal,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 11 Aug 2025 17:51:40 GMT Content-Length: 0 Connection: close X-Message-Id: Mpf_nfrnTBGqN4Sm_G3bXg 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 [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] 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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014949798583984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.393238067626953 time spend to save output : 0.015153169631958008 total time spend for step 9 : 3.408391237258911 step10:split_time_score Mon Aug 11 19:51:40 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', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11082025 25889017 Nombre de photos uploadées : 10 / 23040 (0%) 11082025 25889017 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 11082025 25889017 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005018711090087891 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19770431518554688 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.16853715102413025 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867656_11-08-2025_08_53_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867656 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`=25867656 AND mptpi.`type`=3594 To do Qualite : 0.2745930748456791 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867659_11-08-2025_08_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867659 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`=25867659 AND mptpi.`type`=3594 To do Qualite : 0.027527880256558643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876444_11-08-2025_13_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876444 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`=25876444 AND mptpi.`type`=3594 To do Qualite : 0.05581943238811734 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876448_11-08-2025_14_31_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876448 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`=25876448 AND mptpi.`type`=3594 To do Qualite : 0.10460060934095865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876450_11-08-2025_14_22_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876450 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`=25876450 AND mptpi.`type`=3594 To do Qualite : 0.0940857358305275 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876453_11-08-2025_14_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876453 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`=25876453 AND mptpi.`type`=3594 To do Qualite : 0.1356641589506173 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876454_11-08-2025_14_26_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876454 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`=25876454 AND mptpi.`type`=3594 To do Qualite : 0.140686149691358 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876456_11-08-2025_14_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876456 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`=25876456 AND mptpi.`type`=3594 To do Qualite : 0.026900438850308638 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876458_11-08-2025_14_01_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876458 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`=25876458 AND mptpi.`type`=3594 To do Qualite : 0.0838374083719136 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876465_11-08-2025_13_51_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876465 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`=25876465 AND mptpi.`type`=3594 To do Qualite : 0.07918220593278463 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876469_11-08-2025_13_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876469 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`=25876469 AND mptpi.`type`=3594 To do Qualite : 0.032547622492283955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876475_11-08-2025_13_31_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876475 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`=25876475 AND mptpi.`type`=3594 To do Qualite : 0.05628187692901234 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25884058_11-08-2025_17_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25884058 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`=25884058 AND mptpi.`type`=3594 To do Qualite : 0.16945542775848763 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25884079_11-08-2025_17_31_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25884079 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`=25884079 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25884082 order by id desc limit 1 Qualite : 0.03728313078703702 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889017_11-08-2025_19_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25889017 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`=25889017 AND mptpi.`type`=3594 To do Qualite : 0.10429767875514404 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25889022_11-08-2025_19_41_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25889022 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`=25889022 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11082025': {'nb_upload': 10, '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 [1376465880, 1376465876, 1376465811, 1376465808, 1376465807, 1376465805, 1376465786, 1376465768, 1376465766, 1376465764] Looping around the photos to save general results len do output : 1 /25889017Didn'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, '3504967') ('3318', '25889017', '1376465880', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465876', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465811', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465808', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465807', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465805', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465786', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465768', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465766', None, None, None, None, None, '3504967') ('3318', None, None, None, None, None, None, None, '3504967') ('3318', '25889017', '1376465764', None, None, None, None, None, '3504967') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.012995004653930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1986939907073975 time spend to save output : 0.013198375701904297 total time spend for step 10 : 2.2118923664093018 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 33.18user 23.86system 1:16.83elapsed 74%CPU (0avgtext+0avgdata 2774988maxresident)k 33496inputs+12952outputs (14major+1480876minor)pagefaults 0swaps