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 : 3513399 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 : ['3689568'] with mtr_portfolio_ids : ['26716830'] and first list_photo_ids : [] new path : /proc/3513399/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.1248035430908203 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Sep 10 18:40:30 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 : 10594 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-10 18:40:33.573987: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-10 18:40:33.600497: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-10 18:40:33.601977: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3e10000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-10 18:40:33.602030: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-10 18:40:33.604826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-10 18:40:33.780604: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x247fdb30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-10 18:40:33.780660: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-10 18:40:33.781754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 18:40:33.782452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 18:40:33.785983: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 18:40:33.788775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 18:40:33.790299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 18:40:33.793628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 18:40:33.795259: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 18:40:33.801274: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 18:40:33.802847: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 18:40:33.802942: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 18:40:33.803699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-10 18:40:33.803715: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-10 18:40:33.803724: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-10 18:40:33.805514: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9813 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-10 18:40:34.133546: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 18:40:34.133659: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 18:40:34.133678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 18:40:34.133694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 18:40:34.133709: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 18:40:34.133724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 18:40:34.133739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 18:40:34.133754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 18:40:34.134949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 18:40:34.136318: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 18:40:34.136360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 18:40:34.136378: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 18:40:34.136392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 18:40:34.136406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 18:40:34.136420: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 18:40:34.136434: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 18:40:34.136448: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 18:40:34.137703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 18:40:34.137744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-10 18:40:34.137754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-10 18:40:34.137761: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-10 18:40:34.138995: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9813 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-10 18:40:42.030644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 18:40:42.272422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.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 : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 19 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 : 22 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 24 Detection mask done ! Trying to reset tf kernel 3514139 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 726 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5621 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.0004603862762451172 nb_pixel_total : 10300 time to create 1 rle with old method : 0.016608715057373047 length of segment : 131 time for calcul the mask position with numpy : 0.00022339820861816406 nb_pixel_total : 7587 time to create 1 rle with old method : 0.00933527946472168 length of segment : 116 time for calcul the mask position with numpy : 0.0004744529724121094 nb_pixel_total : 22595 time to create 1 rle with old method : 0.026621103286743164 length of segment : 129 time for calcul the mask position with numpy : 0.0003752708435058594 nb_pixel_total : 19299 time to create 1 rle with old method : 0.022763729095458984 length of segment : 189 time for calcul the mask position with numpy : 0.00031280517578125 nb_pixel_total : 11337 time to create 1 rle with old method : 0.013150930404663086 length of segment : 181 time for calcul the mask position with numpy : 0.0011491775512695312 nb_pixel_total : 46995 time to create 1 rle with old method : 0.05348682403564453 length of segment : 214 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 9043 time to create 1 rle with old method : 0.010495901107788086 length of segment : 98 time for calcul the mask position with numpy : 0.0004661083221435547 nb_pixel_total : 29154 time to create 1 rle with old method : 0.03359842300415039 length of segment : 218 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 8867 time to create 1 rle with old method : 0.010379791259765625 length of segment : 109 time for calcul the mask position with numpy : 0.00023865699768066406 nb_pixel_total : 13414 time to create 1 rle with old method : 0.015298128128051758 length of segment : 83 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 13294 time to create 1 rle with old method : 0.014763593673706055 length of segment : 165 time for calcul the mask position with numpy : 0.00022220611572265625 nb_pixel_total : 11052 time to create 1 rle with old method : 0.012672185897827148 length of segment : 87 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 16633 time to create 1 rle with old method : 0.01882195472717285 length of segment : 114 time for calcul the mask position with numpy : 0.028995275497436523 nb_pixel_total : 1515370 time to create 1 rle with new method : 0.22840118408203125 length of segment : 1386 time for calcul the mask position with numpy : 0.0002903938293457031 nb_pixel_total : 17038 time to create 1 rle with old method : 0.01895427703857422 length of segment : 141 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 8044 time to create 1 rle with old method : 0.009530305862426758 length of segment : 49 time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 7784 time to create 1 rle with old method : 0.008911609649658203 length of segment : 106 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 5261 time to create 1 rle with old method : 0.006241321563720703 length of segment : 101 time for calcul the mask position with numpy : 0.0003826618194580078 nb_pixel_total : 11242 time to create 1 rle with old method : 0.013224124908447266 length of segment : 243 time for calcul the mask position with numpy : 0.00032591819763183594 nb_pixel_total : 20857 time to create 1 rle with old method : 0.023620128631591797 length of segment : 157 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 9054 time to create 1 rle with old method : 0.010161161422729492 length of segment : 119 time for calcul the mask position with numpy : 0.00014829635620117188 nb_pixel_total : 6176 time to create 1 rle with old method : 0.00691533088684082 length of segment : 119 time for calcul the mask position with numpy : 0.0004258155822753906 nb_pixel_total : 17167 time to create 1 rle with old method : 0.019391775131225586 length of segment : 206 time for calcul the mask position with numpy : 0.0004317760467529297 nb_pixel_total : 20752 time to create 1 rle with old method : 0.02373504638671875 length of segment : 191 time for calcul the mask position with numpy : 0.0002942085266113281 nb_pixel_total : 21243 time to create 1 rle with old method : 0.02375936508178711 length of segment : 132 time for calcul the mask position with numpy : 0.0003676414489746094 nb_pixel_total : 24416 time to create 1 rle with old method : 0.027271747589111328 length of segment : 218 time for calcul the mask position with numpy : 0.00023674964904785156 nb_pixel_total : 16400 time to create 1 rle with old method : 0.01855015754699707 length of segment : 115 time for calcul the mask position with numpy : 0.0002295970916748047 nb_pixel_total : 13202 time to create 1 rle with old method : 0.014914512634277344 length of segment : 133 time for calcul the mask position with numpy : 0.00019240379333496094 nb_pixel_total : 9820 time to create 1 rle with old method : 0.010901689529418945 length of segment : 133 time for calcul the mask position with numpy : 0.00034689903259277344 nb_pixel_total : 20839 time to create 1 rle with old method : 0.02328634262084961 length of segment : 154 time for calcul the mask position with numpy : 0.002016782760620117 nb_pixel_total : 108459 time to create 1 rle with old method : 0.12364840507507324 length of segment : 523 time for calcul the mask position with numpy : 0.019606590270996094 nb_pixel_total : 851922 time to create 1 rle with new method : 0.041275978088378906 length of segment : 1147 time for calcul the mask position with numpy : 0.00043964385986328125 nb_pixel_total : 22252 time to create 1 rle with old method : 0.02507925033569336 length of segment : 184 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 6779 time to create 1 rle with old method : 0.008167743682861328 length of segment : 56 time for calcul the mask position with numpy : 0.00045418739318847656 nb_pixel_total : 27694 time to create 1 rle with old method : 0.03195929527282715 length of segment : 110 time for calcul the mask position with numpy : 0.00014519691467285156 nb_pixel_total : 6829 time to create 1 rle with old method : 0.00801706314086914 length of segment : 90 time for calcul the mask position with numpy : 0.0005309581756591797 nb_pixel_total : 22436 time to create 1 rle with old method : 0.025516510009765625 length of segment : 219 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 6813 time to create 1 rle with old method : 0.008154869079589844 length of segment : 102 time for calcul the mask position with numpy : 0.0002732276916503906 nb_pixel_total : 13216 time to create 1 rle with old method : 0.014891862869262695 length of segment : 181 time for calcul the mask position with numpy : 0.00011205673217773438 nb_pixel_total : 4362 time to create 1 rle with old method : 0.005199432373046875 length of segment : 77 time for calcul the mask position with numpy : 0.0003058910369873047 nb_pixel_total : 17040 time to create 1 rle with old method : 0.6293973922729492 length of segment : 141 time for calcul the mask position with numpy : 0.00044417381286621094 nb_pixel_total : 30087 time to create 1 rle with old method : 0.03369903564453125 length of segment : 168 time for calcul the mask position with numpy : 0.0005593299865722656 nb_pixel_total : 29368 time to create 1 rle with old method : 0.033072471618652344 length of segment : 206 time spent for convertir_results : 3.794095516204834 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 43 chid ids of type : 3594 Number RLEs to save : 8741 save missing photos in datou_result : time spend for datou_step_exec : 27.645719528198242 time spend to save output : 0.593482255935669 total time spend for step 1 : 28.23920178413391 step2:crop_condition Wed Sep 10 18:40:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 43 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 ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522460_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.501606702804565 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522465_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9527292251586914 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522466_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.109574317932129 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522478_3513399 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 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.727576017379761 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522483_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.779259204864502 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522485_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.942401647567749 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757522486_3513399 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6184957027435303 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] Looping around the photos to save general results len do output : 43 /1383088275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383088613Didn'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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 137 time used for this insertion : 0.022062063217163086 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.01663565635681 time spend to save output : 0.02353215217590332 total time spend for step 2 : 28.040167808532715 step3:rle_unique_nms_with_priority Wed Sep 10 18:41: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.8420767784118652 time for calcul the mask position with numpy : 0.5110936164855957 nb_pixel_total : 1955487 time to create 1 rle with new method : 0.3479154109954834 time for calcul the mask position with numpy : 0.007079124450683594 nb_pixel_total : 46995 time to create 1 rle with old method : 0.055785179138183594 time for calcul the mask position with numpy : 0.007381916046142578 nb_pixel_total : 11337 time to create 1 rle with old method : 0.01853632926940918 time for calcul the mask position with numpy : 0.007678985595703125 nb_pixel_total : 19299 time to create 1 rle with old method : 0.03138613700866699 time for calcul the mask position with numpy : 0.007773637771606445 nb_pixel_total : 22595 time to create 1 rle with old method : 0.031821489334106445 time for calcul the mask position with numpy : 0.007904767990112305 nb_pixel_total : 7587 time to create 1 rle with old method : 0.00901484489440918 time for calcul the mask position with numpy : 0.007732391357421875 nb_pixel_total : 10300 time to create 1 rle with old method : 0.012298822402954102 create new chi : 1.07462477684021 time to delete rle : 0.015453577041625977 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3000 TO DO : save crop sub photo not yet done ! save time : 0.21529316902160645 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 1.1500873565673828 time for calcul the mask position with numpy : 0.07095789909362793 nb_pixel_total : 2013122 time to create 1 rle with new method : 0.08487415313720703 time for calcul the mask position with numpy : 0.0066030025482177734 nb_pixel_total : 13414 time to create 1 rle with old method : 0.015582084655761719 time for calcul the mask position with numpy : 0.006587505340576172 nb_pixel_total : 8867 time to create 1 rle with old method : 0.010458707809448242 time for calcul the mask position with numpy : 0.006857633590698242 nb_pixel_total : 29154 time to create 1 rle with old method : 0.03409862518310547 time for calcul the mask position with numpy : 0.0065844058990478516 nb_pixel_total : 9043 time to create 1 rle with old method : 0.010719537734985352 create new chi : 0.26044201850891113 time to delete rle : 0.0003943443298339844 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2096 TO DO : save crop sub photo not yet done ! save time : 0.18402314186096191 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.08988142013549805 time for calcul the mask position with numpy : 0.011499404907226562 nb_pixel_total : 543849 time to create 1 rle with new method : 0.05019736289978027 time for calcul the mask position with numpy : 0.018773555755615234 nb_pixel_total : 1488772 time to create 1 rle with new method : 0.03440594673156738 time for calcul the mask position with numpy : 0.008400678634643555 nb_pixel_total : 16633 time to create 1 rle with old method : 0.02103710174560547 time for calcul the mask position with numpy : 0.006703376770019531 nb_pixel_total : 11052 time to create 1 rle with old method : 0.013163566589355469 time for calcul the mask position with numpy : 0.0065686702728271484 nb_pixel_total : 13294 time to create 1 rle with old method : 0.019507646560668945 create new chi : 0.19117975234985352 time to delete rle : 0.0006272792816162109 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4536 TO DO : save crop sub photo not yet done ! save time : 0.31794071197509766 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.34299159049987793 time for calcul the mask position with numpy : 0.07141780853271484 nb_pixel_total : 2026726 time to create 1 rle with new method : 0.08968019485473633 time for calcul the mask position with numpy : 0.0066547393798828125 nb_pixel_total : 8747 time to create 1 rle with old method : 0.01140904426574707 time for calcul the mask position with numpy : 0.007042646408081055 nb_pixel_total : 5261 time to create 1 rle with old method : 0.0066928863525390625 time for calcul the mask position with numpy : 0.0068094730377197266 nb_pixel_total : 7784 time to create 1 rle with old method : 0.009848356246948242 time for calcul the mask position with numpy : 0.00671696662902832 nb_pixel_total : 8044 time to create 1 rle with old method : 0.010275125503540039 time for calcul the mask position with numpy : 0.00687408447265625 nb_pixel_total : 17038 time to create 1 rle with old method : 0.021216392517089844 create new chi : 0.26515984535217285 time to delete rle : 0.0004208087921142578 batch 1 Loaded 11 chid ids of type : 3594 ++++++++++Number RLEs to save : 2268 TO DO : save crop sub photo not yet done ! save time : 0.1732494831085205 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07548809051513672 time for calcul the mask position with numpy : 0.02284693717956543 nb_pixel_total : 2020346 time to create 1 rle with new method : 0.10799741744995117 time for calcul the mask position with numpy : 0.0069849491119384766 nb_pixel_total : 17167 time to create 1 rle with old method : 0.021129131317138672 time for calcul the mask position with numpy : 0.006539106369018555 nb_pixel_total : 6176 time to create 1 rle with old method : 0.009308576583862305 time for calcul the mask position with numpy : 0.0069828033447265625 nb_pixel_total : 9054 time to create 1 rle with old method : 0.01337432861328125 time for calcul the mask position with numpy : 0.00650477409362793 nb_pixel_total : 20857 time to create 1 rle with old method : 0.025575876235961914 create new chi : 0.23575115203857422 time to delete rle : 0.00038814544677734375 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2282 TO DO : save crop sub photo not yet done ! save time : 0.18739676475524902 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.32860422134399414 time for calcul the mask position with numpy : 0.0933992862701416 nb_pixel_total : 1967767 time to create 1 rle with new method : 0.11908507347106934 time for calcul the mask position with numpy : 0.0063703060150146484 nb_pixel_total : 9820 time to create 1 rle with old method : 0.011362791061401367 time for calcul the mask position with numpy : 0.006340980529785156 nb_pixel_total : 13202 time to create 1 rle with old method : 0.015259265899658203 time for calcul the mask position with numpy : 0.006313800811767578 nb_pixel_total : 16400 time to create 1 rle with old method : 0.020856618881225586 time for calcul the mask position with numpy : 0.006663084030151367 nb_pixel_total : 24416 time to create 1 rle with old method : 0.028586626052856445 time for calcul the mask position with numpy : 0.006873607635498047 nb_pixel_total : 21243 time to create 1 rle with old method : 0.027213096618652344 time for calcul the mask position with numpy : 0.006458282470703125 nb_pixel_total : 20752 time to create 1 rle with old method : 0.024302005767822266 create new chi : 0.3895413875579834 time to delete rle : 0.00048613548278808594 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2924 TO DO : save crop sub photo not yet done ! save time : 0.2055494785308838 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.10768866539001465 time for calcul the mask position with numpy : 0.01604747772216797 nb_pixel_total : 1079103 time to create 1 rle with new method : 0.0843808650970459 time for calcul the mask position with numpy : 0.006537914276123047 nb_pixel_total : 11580 time to create 1 rle with old method : 0.01618790626525879 time for calcul the mask position with numpy : 0.006336688995361328 nb_pixel_total : 6549 time to create 1 rle with old method : 0.010789155960083008 time for calcul the mask position with numpy : 0.00635981559753418 nb_pixel_total : 9545 time to create 1 rle with old method : 0.011485099792480469 time for calcul the mask position with numpy : 0.012419939041137695 nb_pixel_total : 837525 time to create 1 rle with new method : 0.03069472312927246 time for calcul the mask position with numpy : 0.007058382034301758 nb_pixel_total : 108459 time to create 1 rle with old method : 0.13286924362182617 time for calcul the mask position with numpy : 0.007894515991210938 nb_pixel_total : 20839 time to create 1 rle with old method : 0.03618955612182617 create new chi : 0.38614940643310547 time to delete rle : 0.0011625289916992188 batch 1 Loaded 14 chid ids of type : 3594 ++++++++Number RLEs to save : 4943 TO DO : save crop sub photo not yet done ! save time : 0.34595751762390137 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.09725356101989746 time for calcul the mask position with numpy : 0.05243706703186035 nb_pixel_total : 1950278 time to create 1 rle with new method : 0.10221433639526367 time for calcul the mask position with numpy : 0.006815910339355469 nb_pixel_total : 29368 time to create 1 rle with old method : 0.03531694412231445 time for calcul the mask position with numpy : 0.008082389831542969 nb_pixel_total : 30087 time to create 1 rle with old method : 0.03673696517944336 time for calcul the mask position with numpy : 0.006670236587524414 nb_pixel_total : 17040 time to create 1 rle with old method : 0.02136850357055664 time for calcul the mask position with numpy : 0.0066912174224853516 nb_pixel_total : 4362 time to create 1 rle with old method : 0.005955219268798828 time for calcul the mask position with numpy : 0.006860017776489258 nb_pixel_total : 13216 time to create 1 rle with old method : 0.015353918075561523 time for calcul the mask position with numpy : 0.006604194641113281 nb_pixel_total : 6813 time to create 1 rle with old method : 0.008321762084960938 time for calcul the mask position with numpy : 0.006518363952636719 nb_pixel_total : 22436 time to create 1 rle with old method : 0.02835702896118164 create new chi : 0.36519455909729004 time to delete rle : 0.000530242919921875 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 3268 TO DO : save crop sub photo not yet done ! save time : 0.2502167224884033 map_output_result : {1382949729: (0.0, 'Should be the crop_list due to order', 0), 1382949655: (0.0, 'Should be the crop_list due to order', 0), 1382949588: (0.0, 'Should be the crop_list due to order', 0), 1382949440: (0.0, 'Should be the crop_list due to order', 0), 1382949308: (0.0, 'Should be the crop_list due to order', 0), 1382948231: (0.0, 'Should be the crop_list due to order', 0), 1382948153: (0.0, 'Should be the crop_list due to order', 0), 1382948068: (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 [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] Looping around the photos to save general results len do output : 8 /1382949729.Didn't retrieve data . /1382949655.Didn't retrieve data . /1382949588.Didn't retrieve data . /1382949440.Didn't retrieve data . /1382949308.Didn't retrieve data . /1382948231.Didn't retrieve data . /1382948153.Didn't retrieve data . /1382948068.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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01587986946105957 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.465094089508057 time spend to save output : 0.016362905502319336 total time spend for step 3 : 8.481456995010376 step4:ventilate_hashtags_in_portfolio Wed Sep 10 18:41:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26716830 get user id for portfolio 26716830 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`=26716830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','flou','environnement','pet_clair','autre','mal_croppe','background','pehd','papier','carton','pet_fonce')) 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`=26716830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','flou','environnement','pet_clair','autre','mal_croppe','background','pehd','papier','carton','pet_fonce')) 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`=26716830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','flou','environnement','pet_clair','autre','mal_croppe','background','pehd','papier','carton','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26725491,26725492,26725493,26725495,26725496,26725497,26725498,26725500,26725501,26725502,26725503?tags=metal,flou,environnement,pet_clair,autre,mal_croppe,background,pehd,papier,carton,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] Looping around the photos to save general results len do output : 1 /26716830. 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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016961336135864258 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7174935340881348 time spend to save output : 0.017265796661376953 total time spend for step 4 : 1.7347593307495117 step5:final Wed Sep 10 18:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1382949729: ('0.18278127411265432',), 1382949655: ('0.18278127411265432',), 1382949588: ('0.18278127411265432',), 1382949440: ('0.18278127411265432',), 1382949308: ('0.18278127411265432',), 1382948231: ('0.18278127411265432',), 1382948153: ('0.18278127411265432',), 1382948068: ('0.18278127411265432',)} new output for save of step final : {1382949729: ('0.18278127411265432',), 1382949655: ('0.18278127411265432',), 1382949588: ('0.18278127411265432',), 1382949440: ('0.18278127411265432',), 1382949308: ('0.18278127411265432',), 1382948231: ('0.18278127411265432',), 1382948153: ('0.18278127411265432',), 1382948068: ('0.18278127411265432',)} [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] Looping around the photos to save general results len do output : 8 /1382949729.Didn't retrieve data . /1382949655.Didn't retrieve data . /1382949588.Didn't retrieve data . /1382949440.Didn't retrieve data . /1382949308.Didn't retrieve data . /1382948231.Didn't retrieve data . /1382948153.Didn't retrieve data . /1382948068.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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013526439666748047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1310410499572754 time spend to save output : 0.014202594757080078 total time spend for step 5 : 0.14524364471435547 step6:blur_detection Wed Sep 10 18:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133.jpg resize: (1080, 1920) 1382949729 2.4864786092893083 treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427.jpg resize: (1080, 1920) 1382949655 3.266567160721235 treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81.jpg resize: (1080, 1920) 1382949588 3.113137137943102 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367.jpg resize: (1080, 1920) 1382949440 0.8309760169612611 treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30.jpg resize: (1080, 1920) 1382949308 2.628951509713857 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2.jpg resize: (1080, 1920) 1382948231 2.3480239049284 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0.jpg resize: (1080, 1920) 1382948153 0.5316291755587166 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2.jpg resize: (1080, 1920) 1382948068 1.144259930212522 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314792_0.png resize: (181, 110) 1383088275 -0.4179860733720489 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314793_0.png resize: (214, 409) 1383088276 -1.381276746858504 treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314796_0.png resize: (108, 125) 1383088278 -0.21127314094701724 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314802_0.png resize: (141, 181) 1383088280 -0.4491183387264594 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314805_0.png resize: (100, 92) 1383088281 -1.706822069896558 treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314807_0.png resize: (156, 203) 1383088283 -0.4098362011200014 treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314810_0.png resize: (173, 175) 1383088285 -2.2805022955032763 treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314809_0.png resize: (118, 96) 1383088286 -1.9454659377095689 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314811_0.png resize: (172, 223) 1383088288 -0.9914789106995656 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314813_0.png resize: (217, 136) 1383088289 1.7023428628095731 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314823_0.png resize: (90, 110) 1383088291 -1.2470956818383052 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314824_0.png resize: (169, 275) 1383088293 -0.5247718923039734 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314827_0.png resize: (77, 80) 1383088294 -0.9256025630267796 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314825_0.png resize: (101, 104) 1383088296 -0.6150658397253229 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314829_0.png resize: (167, 228) 1383088298 -0.19686527320338948 treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314794_0.png resize: (92, 116) 1383088314 1.0728135327082562 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314826_0.png resize: (172, 120) 1383088315 -0.7273905449155762 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314788_0.png resize: (130, 99) 1383088333 0.002915798181894189 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314816_0.png resize: (133, 101) 1383088334 0.4908070132549894 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314789_0.png resize: (115, 84) 1383088533 0.4492671747387154 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314791_0.png resize: (186, 146) 1383088535 -1.3469979646918495 treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314797_0.png resize: (82, 198) 1383088537 2.357822275454923 treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314795_0.png resize: (218, 168) 1383088538 -0.1799589872746541 treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314801_0.png resize: (1010, 1612) 1383088540 0.14694338009754904 treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314800_0.png resize: (114, 176) 1383088542 0.06379555002227306 treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314799_0.png resize: (84, 156) 1383088543 -0.09029540992068118 treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314798_0.png resize: (164, 105) 1383088547 -0.6458712672182814 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314806_0.png resize: (152, 205) 1383088549 -3.0432285301213837 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314804_0.png resize: (93, 125) 1383088550 -1.0393877183512914 treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314808_0.png resize: (118, 91) 1383088552 -2.5173079905348192 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314814_0.png resize: (115, 167) 1383088554 1.6683961224536177 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314812_0.png resize: (132, 185) 1383088555 0.9318757294256221 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314820_0.png resize: (184, 168) 1383088557 -1.417490548508264 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314819_0.png resize: (1008, 1105) 1383088559 -1.0545516021230625 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314821_0.png resize: (55, 185) 1383088560 -0.9985343115878605 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314817_0.png resize: (154, 160) 1383088562 0.834230873412666 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314822_0.png resize: (103, 338) 1383088564 -0.27630315925584187 treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314818_0.png resize: (517, 352) 1383088565 0.35090114448711957 treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314790_0.png resize: (127, 255) 1383088580 0.24844954881420694 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314828_0.png resize: (114, 214) 1383088582 -2.387804496207572 treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314815_0.png resize: (133, 122) 1383088601 1.4267778837357845 treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314830_0.png resize: (204, 200) 1383088602 -2.1985986294739006 treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314803_0.png resize: (48, 244) 1383088613 -1.0073459383956584 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.01575446128845215 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.017053604125976562 save missing photos in datou_result : time spend for datou_step_exec : 8.36915898323059 time spend to save output : 0.03743934631347656 total time spend for step 6 : 8.406598329544067 step7:brightness Wed Sep 10 18:41:45 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/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133.jpg treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427.jpg treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81.jpg treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367.jpg treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30.jpg treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2.jpg treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0.jpg treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2.jpg treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314792_0.png treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314793_0.png treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314796_0.png treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314802_0.png treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314805_0.png treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314807_0.png treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314810_0.png treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314809_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314811_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314813_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314823_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314824_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314827_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314825_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314829_0.png treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314794_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314826_0.png treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314788_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314816_0.png treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314789_0.png treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314791_0.png treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314797_0.png treat image : temp/1757522429_3513399_1382949655_d2f405728ad29960fb698d348c5cd427_rle_crop_3954314795_0.png treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314801_0.png treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314800_0.png treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314799_0.png treat image : temp/1757522429_3513399_1382949588_e69d586ad9493a6e76ac5f7f1a315e81_rle_crop_3954314798_0.png treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314806_0.png treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314804_0.png treat image : temp/1757522429_3513399_1382949308_d3b2bd5b66783dfecd71df0b1a7cba30_rle_crop_3954314808_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314814_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314812_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314820_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314819_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314821_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314817_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314822_0.png treat image : temp/1757522429_3513399_1382948153_592769c54fb3a2bc7170afd0e7d0cfe0_rle_crop_3954314818_0.png treat image : temp/1757522429_3513399_1382949729_c8be83ec33121bd756031ab7b1839133_rle_crop_3954314790_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314828_0.png treat image : temp/1757522429_3513399_1382948231_f10b5e64170719ab9fe2e3d1c1ec93f2_rle_crop_3954314815_0.png treat image : temp/1757522429_3513399_1382948068_6958459a4c30b1a98d0094c4ef9476f2_rle_crop_3954314830_0.png treat image : temp/1757522429_3513399_1382949440_e6a01615e3ba5a06cc91a40ebe322367_rle_crop_3954314803_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.014764785766601562 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.01503133773803711 save missing photos in datou_result : time spend for datou_step_exec : 2.5292775630950928 time spend to save output : 0.03454279899597168 total time spend for step 7 : 2.5638203620910645 step8:velours_tree Wed Sep 10 18:41:47 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.39865994453430176 time spend to save output : 3.528594970703125e-05 total time spend for step 8 : 0.3986952304840088 step9:send_mail_cod Wed Sep 10 18:41:48 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_P26716830_10-09-2025_18_41_48.pdf 26725491 change filename to text .change filename to text .imagette267254911757522508 26725492 imagette267254921757522508 26725495 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 .imagette267254951757522508 26725496 change filename to text .change filename to text .imagette267254961757522509 26725497 imagette267254971757522509 26725498 imagette267254981757522509 26725500 change filename to text .change filename to text .imagette267255001757522509 26725501 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 .imagette267255011757522510 26725502 change filename to text .change filename to text .imagette267255021757522511 26725503 change filename to text .imagette267255031757522511 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26716830 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26725491,26725492,26725493,26725495,26725496,26725497,26725498,26725500,26725501,26725502,26725503?tags=metal,flou,environnement,pet_clair,autre,mal_croppe,background,pehd,papier,carton,pet_fonce args[1382949729] : ((1382949729, 2.4864786092893083, 492688767), (1382949729, 0.6740147716814161, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382949655] : ((1382949655, 3.266567160721235, 492688767), (1382949655, 0.5744798189548537, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382949588] : ((1382949588, 3.113137137943102, 492688767), (1382949588, -0.8139835690608136, 501862349), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382949440] : ((1382949440, 0.8309760169612611, 492688767), (1382949440, 0.3066659720793245, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382949308] : ((1382949308, 2.628951509713857, 492688767), (1382949308, 0.18900931250632555, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382948231] : ((1382948231, 2.3480239049284, 492688767), (1382948231, 0.32211100144910393, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382948153] : ((1382948153, 0.5316291755587166, 492688767), (1382948153, 0.4970753866508535, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com args[1382948068] : ((1382948068, 1.144259930212522, 492688767), (1382948068, 0.35177789352777844, 2107752395), '0.18278127411265432') We are sending mail with results at report@fotonower.com refus_total : 0.18278127411265432 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=26716830 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_P26716830_10-09-2025_18_41_48.pdf results_Auto_P26716830_10-09-2025_18_41_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26716830_10-09-2025_18_41_48.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','26716830','results_Auto_P26716830_10-09-2025_18_41_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26716830_10-09-2025_18_41_48.pdf','pdf','','0.43','0.18278127411265432') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26716830

https://www.fotonower.com/image?json=false&list_photos_id=1382949729
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.4864786092893083)
https://www.fotonower.com/image?json=false&list_photos_id=1382949655
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.266567160721235)
https://www.fotonower.com/image?json=false&list_photos_id=1382949588
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.113137137943102)
https://www.fotonower.com/image?json=false&list_photos_id=1382949440
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382949308
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.628951509713857)
https://www.fotonower.com/image?json=false&list_photos_id=1382948231
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.3480239049284)
https://www.fotonower.com/image?json=false&list_photos_id=1382948153
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382948068
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.144259930212522)

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

exemples de contaminants: metal: https://www.fotonower.com/view/26725491?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26725495?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26725496?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/26725500?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26725501?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26725502?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26725503?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26716830_10-09-2025_18_41_48.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26725491,26725492,26725493,26725495,26725496,26725497,26725498,26725500,26725501,26725502,26725503?tags=metal,flou,environnement,pet_clair,autre,mal_croppe,background,pehd,papier,carton,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 10 Sep 2025 16:41:52 GMT Content-Length: 0 Connection: close X-Message-Id: HUyUw_JHTay0HPm0S9a4Dw 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 [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] 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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.015305757522583008 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.377832889556885 time spend to save output : 0.015515804290771484 total time spend for step 9 : 4.393348693847656 step10:split_time_score Wed Sep 10 18:41:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('10', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10092025 26716830 Nombre de photos uploadées : 8 / 23040 (0%) 10092025 26716830 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 10092025 26716830 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005452632904052734 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20822572708129883 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.08979048295454548 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26712868_10-09-2025_17_26_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26712868 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`=26712868 AND mptpi.`type`=3594 To do Qualite : 0.17853288277116408 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26713944_10-09-2025_17_47_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713944 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`=26713944 AND mptpi.`type`=3594 To do Qualite : 0.12233618812838642 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26713945_10-09-2025_09_12_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713945 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26713945 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713963 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26716828 order by id desc limit 1 Qualite : 0.18278127411265432 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26716830_10-09-2025_18_41_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26716830 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`=26716830 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26719857 order by id desc limit 1 Qualite : 0.03022143454218108 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26717897_10-09-2025_18_31_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26717897 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`=26717897 AND mptpi.`type`=3594 To do Qualite : 0.14878978587962963 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722888_10-09-2025_18_12_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722888 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`=26722888 AND mptpi.`type`=3594 To do Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722891_10-09-2025_17_31_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722891 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`=26722891 AND mptpi.`type`=3594 To do Qualite : 0.062443335262345676 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722894_10-09-2025_17_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722894 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`=26722894 AND mptpi.`type`=3594 To do Qualite : 0.07557032455632717 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724005_10-09-2025_18_01_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724005 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`=26724005 AND mptpi.`type`=3594 To do Qualite : 0.12398239776234568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724007_10-09-2025_17_51_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724007 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`=26724007 AND mptpi.`type`=3594 To do Qualite : 0.18615648308899177 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724009_10-09-2025_17_41_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724009 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`=26724009 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10092025': {'nb_upload': 8, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1382949729, 1382949655, 1382949588, 1382949440, 1382949308, 1382948231, 1382948153, 1382948068] Looping around the photos to save general results len do output : 1 /26716830Didn'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, '3689568') ('3318', '26716830', '1382949729', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949655', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949588', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949440', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382949308', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948231', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948153', None, None, None, None, None, '3689568') ('3318', None, None, None, None, None, None, None, '3689568') ('3318', '26716830', '1382948068', None, None, None, None, None, '3689568') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.018297195434570312 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.041134357452393 time spend to save output : 0.018574953079223633 total time spend for step 10 : 4.059709310531616 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 45.70user 20.99system 1:32.52elapsed 72%CPU (0avgtext+0avgdata 2735216maxresident)k 795480inputs+29216outputs (5737major+1659745minor)pagefaults 0swaps