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 : 3309820 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 : ['3414818'] with mtr_portfolio_ids : ['25555609'] and first list_photo_ids : [] new path : /proc/3309820/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.6931781768798828 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Jul 31 19:10:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 8759 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-07-31 19:10:31.148615: 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-07-31 19:10:31.175382: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-07-31 19:10:31.177424: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd2d4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-07-31 19:10:31.177472: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-07-31 19:10:31.180875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-07-31 19:10:31.325685: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2f0ca630 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-07-31 19:10:31.325729: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-07-31 19:10:31.327003: 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-07-31 19:10:31.327385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-07-31 19:10:31.330299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-07-31 19:10:31.332886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-07-31 19:10:31.333351: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-07-31 19:10:31.339332: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-07-31 19:10:31.340743: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-07-31 19:10:31.345963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-07-31 19:10:31.347242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-07-31 19:10:31.347302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-07-31 19:10:31.348022: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-07-31 19:10:31.348041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-07-31 19:10:31.348050: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-07-31 19:10:31.349496: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8091 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-07-31 19:10:31.595457: 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-07-31 19:10:31.595536: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-07-31 19:10:31.595558: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-07-31 19:10:31.595576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-07-31 19:10:31.595594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-07-31 19:10:31.595612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-07-31 19:10:31.595629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-07-31 19:10:31.595647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-07-31 19:10:31.597063: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-07-31 19:10:31.598284: 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-07-31 19:10:31.598317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-07-31 19:10:31.598336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-07-31 19:10:31.598353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-07-31 19:10:31.598406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-07-31 19:10:31.598435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-07-31 19:10:31.598453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-07-31 19:10:31.598470: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-07-31 19:10:31.599889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-07-31 19:10:31.599921: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-07-31 19:10:31.599932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-07-31 19:10:31.599941: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-07-31 19:10:31.601402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8091 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-07-31 19:10:39.641108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-07-31 19:10:39.834684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 27.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: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 63.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3310396 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2671 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 7960 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.00025534629821777344 nb_pixel_total : 6554 time to create 1 rle with old method : 0.0086822509765625 length of segment : 102 time for calcul the mask position with numpy : 0.00033736228942871094 nb_pixel_total : 11613 time to create 1 rle with old method : 0.01359105110168457 length of segment : 190 time for calcul the mask position with numpy : 0.0001347064971923828 nb_pixel_total : 3614 time to create 1 rle with old method : 0.004173994064331055 length of segment : 101 time for calcul the mask position with numpy : 0.00029778480529785156 nb_pixel_total : 15165 time to create 1 rle with old method : 0.017779827117919922 length of segment : 154 time for calcul the mask position with numpy : 0.00017213821411132812 nb_pixel_total : 6930 time to create 1 rle with old method : 0.008199214935302734 length of segment : 102 time for calcul the mask position with numpy : 0.00014352798461914062 nb_pixel_total : 6927 time to create 1 rle with old method : 0.008128166198730469 length of segment : 127 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 7906 time to create 1 rle with old method : 0.009258270263671875 length of segment : 102 time for calcul the mask position with numpy : 0.0001316070556640625 nb_pixel_total : 5237 time to create 1 rle with old method : 0.006194114685058594 length of segment : 85 time for calcul the mask position with numpy : 0.00015783309936523438 nb_pixel_total : 6350 time to create 1 rle with old method : 0.007326364517211914 length of segment : 94 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 11107 time to create 1 rle with old method : 0.012663841247558594 length of segment : 89 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 11194 time to create 1 rle with old method : 0.012394189834594727 length of segment : 163 time for calcul the mask position with numpy : 0.0005600452423095703 nb_pixel_total : 32499 time to create 1 rle with old method : 0.03621363639831543 length of segment : 169 time for calcul the mask position with numpy : 0.0006017684936523438 nb_pixel_total : 43507 time to create 1 rle with old method : 0.04961729049682617 length of segment : 137 time for calcul the mask position with numpy : 0.0001704692840576172 nb_pixel_total : 8803 time to create 1 rle with old method : 0.010071754455566406 length of segment : 137 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 4201 time to create 1 rle with old method : 0.004921436309814453 length of segment : 85 time for calcul the mask position with numpy : 0.00020837783813476562 nb_pixel_total : 10541 time to create 1 rle with old method : 0.012189149856567383 length of segment : 186 time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 5408 time to create 1 rle with old method : 0.006520509719848633 length of segment : 55 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 11029 time to create 1 rle with old method : 0.012567281723022461 length of segment : 167 time for calcul the mask position with numpy : 0.0005557537078857422 nb_pixel_total : 31458 time to create 1 rle with old method : 0.03565669059753418 length of segment : 138 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 3615 time to create 1 rle with old method : 0.004188060760498047 length of segment : 65 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 4482 time to create 1 rle with old method : 0.00539398193359375 length of segment : 73 time for calcul the mask position with numpy : 0.0002613067626953125 nb_pixel_total : 12838 time to create 1 rle with old method : 0.01444101333618164 length of segment : 191 time for calcul the mask position with numpy : 0.0001354217529296875 nb_pixel_total : 7582 time to create 1 rle with old method : 0.008696794509887695 length of segment : 111 time for calcul the mask position with numpy : 0.00016736984252929688 nb_pixel_total : 10130 time to create 1 rle with old method : 0.011570453643798828 length of segment : 119 time for calcul the mask position with numpy : 0.0002434253692626953 nb_pixel_total : 14644 time to create 1 rle with old method : 0.016418933868408203 length of segment : 142 time for calcul the mask position with numpy : 0.0003485679626464844 nb_pixel_total : 21132 time to create 1 rle with old method : 0.023749589920043945 length of segment : 203 time for calcul the mask position with numpy : 0.00018286705017089844 nb_pixel_total : 9129 time to create 1 rle with old method : 0.010715961456298828 length of segment : 95 time for calcul the mask position with numpy : 0.00018978118896484375 nb_pixel_total : 8391 time to create 1 rle with old method : 0.009682178497314453 length of segment : 187 time for calcul the mask position with numpy : 0.0002658367156982422 nb_pixel_total : 15418 time to create 1 rle with old method : 0.017978429794311523 length of segment : 153 time for calcul the mask position with numpy : 0.00019216537475585938 nb_pixel_total : 7782 time to create 1 rle with old method : 0.008854150772094727 length of segment : 176 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 10367 time to create 1 rle with old method : 0.011620521545410156 length of segment : 131 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 7116 time to create 1 rle with old method : 0.008101224899291992 length of segment : 128 time for calcul the mask position with numpy : 8.153915405273438e-05 nb_pixel_total : 3727 time to create 1 rle with old method : 0.004349946975708008 length of segment : 45 time for calcul the mask position with numpy : 0.00017261505126953125 nb_pixel_total : 7962 time to create 1 rle with old method : 0.009279251098632812 length of segment : 95 time for calcul the mask position with numpy : 0.0020973682403564453 nb_pixel_total : 122485 time to create 1 rle with old method : 0.13594794273376465 length of segment : 544 time spent for convertir_results : 1.546699047088623 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 4841 save missing photos in datou_result : time spend for datou_step_exec : 27.340237855911255 time spend to save output : 0.36612606048583984 total time spend for step 1 : 27.706363916397095 step2:crop_condition Thu Jul 31 19:10:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 13 ! batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1753981858_3309820 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.53908371925354 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1753981865_3309820 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1968305110931396 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1753981867_3309820 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 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0656185150146484 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] Looping around the photos to save general results len do output : 35 /1374636701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374636757Didn'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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 118 time used for this insertion : 0.02218914031982422 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.026214599609375 time spend to save output : 0.02407217025756836 total time spend for step 2 : 13.050286769866943 step3:rle_unique_nms_with_priority Thu Jul 31 19:11:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.9489986896514893 time for calcul the mask position with numpy : 0.2477405071258545 nb_pixel_total : 2029724 time to create 1 rle with new method : 0.27999067306518555 time for calcul the mask position with numpy : 0.00681614875793457 nb_pixel_total : 6930 time to create 1 rle with old method : 0.007903814315795898 time for calcul the mask position with numpy : 0.006073474884033203 nb_pixel_total : 15165 time to create 1 rle with old method : 0.017335891723632812 time for calcul the mask position with numpy : 0.006954669952392578 nb_pixel_total : 3614 time to create 1 rle with old method : 0.0041544437408447266 time for calcul the mask position with numpy : 0.006388187408447266 nb_pixel_total : 11613 time to create 1 rle with old method : 0.013311386108398438 time for calcul the mask position with numpy : 0.006772756576538086 nb_pixel_total : 6554 time to create 1 rle with old method : 0.007676839828491211 create new chi : 0.6215991973876953 time to delete rle : 0.0290374755859375 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 2378 TO DO : save crop sub photo not yet done ! save time : 0.19535303115844727 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.45502781867980957 time for calcul the mask position with numpy : 0.06377172470092773 nb_pixel_total : 2047180 time to create 1 rle with new method : 0.3376505374908447 time for calcul the mask position with numpy : 0.007636070251464844 nb_pixel_total : 6350 time to create 1 rle with old method : 0.007380247116088867 time for calcul the mask position with numpy : 0.0073053836822509766 nb_pixel_total : 5237 time to create 1 rle with old method : 0.005935192108154297 time for calcul the mask position with numpy : 0.007341861724853516 nb_pixel_total : 7906 time to create 1 rle with old method : 0.008936643600463867 time for calcul the mask position with numpy : 0.008637666702270508 nb_pixel_total : 6927 time to create 1 rle with old method : 0.00813913345336914 create new chi : 0.47132372856140137 time to delete rle : 0.0004372596740722656 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1896 TO DO : save crop sub photo not yet done ! save time : 0.16800951957702637 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.08643412590026855 time for calcul the mask position with numpy : 0.03125643730163574 nb_pixel_total : 2018800 time to create 1 rle with new method : 0.1546037197113037 time for calcul the mask position with numpy : 0.007700443267822266 nb_pixel_total : 32499 time to create 1 rle with old method : 0.0376286506652832 time for calcul the mask position with numpy : 0.008324861526489258 nb_pixel_total : 11194 time to create 1 rle with old method : 0.012746095657348633 time for calcul the mask position with numpy : 0.0074787139892578125 nb_pixel_total : 11107 time to create 1 rle with old method : 0.01288294792175293 create new chi : 0.27309656143188477 time to delete rle : 0.0004284381866455078 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1922 TO DO : save crop sub photo not yet done ! save time : 0.1582469940185547 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.059967756271362305 time for calcul the mask position with numpy : 0.10308718681335449 nb_pixel_total : 2030093 time to create 1 rle with new method : 0.24506807327270508 time for calcul the mask position with numpy : 0.007683515548706055 nb_pixel_total : 43507 time to create 1 rle with old method : 0.05379748344421387 create new chi : 0.4224092960357666 time to delete rle : 0.0003199577331542969 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1354 TO DO : save crop sub photo not yet done ! save time : 0.12665534019470215 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5139799118041992 time for calcul the mask position with numpy : 0.5992560386657715 nb_pixel_total : 2050055 time to create 1 rle with new method : 0.12566566467285156 time for calcul the mask position with numpy : 0.012531042098999023 nb_pixel_total : 10541 time to create 1 rle with old method : 0.012134790420532227 time for calcul the mask position with numpy : 0.008720159530639648 nb_pixel_total : 4201 time to create 1 rle with old method : 0.004739522933959961 time for calcul the mask position with numpy : 0.008252859115600586 nb_pixel_total : 8803 time to create 1 rle with old method : 0.009932279586791992 create new chi : 0.7949044704437256 time to delete rle : 0.0005109310150146484 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1896 TO DO : save crop sub photo not yet done ! save time : 0.16216301918029785 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.7378108501434326 time for calcul the mask position with numpy : 0.06433391571044922 nb_pixel_total : 2017643 time to create 1 rle with new method : 0.19662785530090332 time for calcul the mask position with numpy : 0.006375312805175781 nb_pixel_total : 4447 time to create 1 rle with old method : 0.005254268646240234 time for calcul the mask position with numpy : 0.0061266422271728516 nb_pixel_total : 3615 time to create 1 rle with old method : 0.004178047180175781 time for calcul the mask position with numpy : 0.0063135623931884766 nb_pixel_total : 31458 time to create 1 rle with old method : 0.03520703315734863 time for calcul the mask position with numpy : 0.00606083869934082 nb_pixel_total : 11029 time to create 1 rle with old method : 0.012705564498901367 time for calcul the mask position with numpy : 0.006136894226074219 nb_pixel_total : 5408 time to create 1 rle with old method : 0.0063250064849853516 create new chi : 0.3658177852630615 time to delete rle : 0.0003204345703125 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2058 TO DO : save crop sub photo not yet done ! save time : 0.18556880950927734 No data in photo_id : 1374621950 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05036520957946777 time for calcul the mask position with numpy : 0.019498109817504883 nb_pixel_total : 2043050 time to create 1 rle with new method : 0.21505451202392578 time for calcul the mask position with numpy : 0.0063021183013916016 nb_pixel_total : 10130 time to create 1 rle with old method : 0.011843442916870117 time for calcul the mask position with numpy : 0.0060536861419677734 nb_pixel_total : 7582 time to create 1 rle with old method : 0.008969306945800781 time for calcul the mask position with numpy : 0.006448507308959961 nb_pixel_total : 12838 time to create 1 rle with old method : 0.014644622802734375 create new chi : 0.29636693000793457 time to delete rle : 0.0002772808074951172 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1922 TO DO : save crop sub photo not yet done ! save time : 0.15721797943115234 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.14293789863586426 time for calcul the mask position with numpy : 0.23296213150024414 nb_pixel_total : 2020304 time to create 1 rle with new method : 0.34392786026000977 time for calcul the mask position with numpy : 0.006318330764770508 nb_pixel_total : 8391 time to create 1 rle with old method : 0.009668111801147461 time for calcul the mask position with numpy : 0.006716251373291016 nb_pixel_total : 9129 time to create 1 rle with old method : 0.010494232177734375 time for calcul the mask position with numpy : 0.006279945373535156 nb_pixel_total : 21132 time to create 1 rle with old method : 0.023993730545043945 time for calcul the mask position with numpy : 0.006949186325073242 nb_pixel_total : 14644 time to create 1 rle with old method : 0.0168607234954834 create new chi : 0.6745359897613525 time to delete rle : 0.0003445148468017578 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2334 TO DO : save crop sub photo not yet done ! save time : 0.18853187561035156 No data in photo_id : 1374621926 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05671525001525879 time for calcul the mask position with numpy : 0.07405567169189453 nb_pixel_total : 2040033 time to create 1 rle with new method : 0.1218879222869873 time for calcul the mask position with numpy : 0.006304502487182617 nb_pixel_total : 10367 time to create 1 rle with old method : 0.012176275253295898 time for calcul the mask position with numpy : 0.006218910217285156 nb_pixel_total : 7782 time to create 1 rle with old method : 0.00901937484741211 time for calcul the mask position with numpy : 0.007029294967651367 nb_pixel_total : 15418 time to create 1 rle with old method : 0.017941951751708984 create new chi : 0.26373910903930664 time to delete rle : 0.0003151893615722656 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2000 TO DO : save crop sub photo not yet done ! save time : 0.15939545631408691 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.21181750297546387 time for calcul the mask position with numpy : 0.3148193359375 nb_pixel_total : 1932310 time to create 1 rle with new method : 0.14554691314697266 time for calcul the mask position with numpy : 0.007552385330200195 nb_pixel_total : 122485 time to create 1 rle with old method : 0.14446139335632324 time for calcul the mask position with numpy : 0.01119685173034668 nb_pixel_total : 7962 time to create 1 rle with old method : 0.013066530227661133 time for calcul the mask position with numpy : 0.007315397262573242 nb_pixel_total : 3727 time to create 1 rle with old method : 0.004427909851074219 time for calcul the mask position with numpy : 0.006573915481567383 nb_pixel_total : 7116 time to create 1 rle with old method : 0.011220932006835938 create new chi : 0.6767086982727051 time to delete rle : 0.0004782676696777344 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2704 TO DO : save crop sub photo not yet done ! save time : 0.20920205116271973 No data in photo_id : 1374621889 map_output_result : {1374622081: (0.0, 'Should be the crop_list due to order', 0), 1374622070: (0.0, 'Should be the crop_list due to order', 0), 1374621966: (0.0, 'Should be the crop_list due to order', 0), 1374621964: (0.0, 'Should be the crop_list due to order', 0), 1374621957: (0.0, 'Should be the crop_list due to order', 0), 1374621954: (0.0, 'Should be the crop_list due to order', 0), 1374621950: (0.0, 'Should be the crop_list due to order', 0.0), 1374621932: (0.0, 'Should be the crop_list due to order', 0), 1374621928: (0.0, 'Should be the crop_list due to order', 0), 1374621926: (0.0, 'Should be the crop_list due to order', 0.0), 1374621924: (0.0, 'Should be the crop_list due to order', 0), 1374621921: (0.0, 'Should be the crop_list due to order', 0), 1374621889: (0.0, 'Should be the crop_list due to order', 0.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 [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] Looping around the photos to save general results len do output : 13 /1374622081.Didn't retrieve data . /1374622070.Didn't retrieve data . /1374621966.Didn't retrieve data . /1374621964.Didn't retrieve data . /1374621957.Didn't retrieve data . /1374621954.Didn't retrieve data . /1374621950.Didn't retrieve data . /1374621932.Didn't retrieve data . /1374621928.Didn't retrieve data . /1374621926.Didn't retrieve data . /1374621924.Didn't retrieve data . /1374621921.Didn't retrieve data . /1374621889.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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.0209352970123291 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.233177900314331 time spend to save output : 0.021474599838256836 total time spend for step 3 : 10.254652500152588 step4:ventilate_hashtags_in_portfolio Thu Jul 31 19:11:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 25555609 get user id for portfolio 25555609 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`=25555609 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','pet_clair','metal','flou','autre','environnement','pehd','papier','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`=25555609 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','pet_clair','metal','flou','autre','environnement','pehd','papier','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`=25555609 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','carton','pet_clair','metal','flou','autre','environnement','pehd','papier','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25555764,25555765,25555766,25555767,25555768,25555769,25555770,25555771,25555772,25555773,25555774?tags=mal_croppe,background,carton,pet_clair,metal,flou,autre,environnement,pehd,papier,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] Looping around the photos to save general results len do output : 1 /25555609. 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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014832496643066406 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.692734956741333 time spend to save output : 0.01517033576965332 total time spend for step 4 : 1.7079052925109863 step5:final Thu Jul 31 19:11:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1374622081: ('0.018800747863247858',), 1374622070: ('0.018800747863247858',), 1374621966: ('0.018800747863247858',), 1374621964: ('0.018800747863247858',), 1374621957: ('0.018800747863247858',), 1374621954: ('0.018800747863247858',), 1374621950: ('0.018800747863247858',), 1374621932: ('0.018800747863247858',), 1374621928: ('0.018800747863247858',), 1374621926: ('0.018800747863247858',), 1374621924: ('0.018800747863247858',), 1374621921: ('0.018800747863247858',), 1374621889: ('0.018800747863247858',)} new output for save of step final : {1374622081: ('0.018800747863247858',), 1374622070: ('0.018800747863247858',), 1374621966: ('0.018800747863247858',), 1374621964: ('0.018800747863247858',), 1374621957: ('0.018800747863247858',), 1374621954: ('0.018800747863247858',), 1374621950: ('0.018800747863247858',), 1374621932: ('0.018800747863247858',), 1374621928: ('0.018800747863247858',), 1374621926: ('0.018800747863247858',), 1374621924: ('0.018800747863247858',), 1374621921: ('0.018800747863247858',), 1374621889: ('0.018800747863247858',)} [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] Looping around the photos to save general results len do output : 13 /1374622081.Didn't retrieve data . /1374622070.Didn't retrieve data . /1374621966.Didn't retrieve data . /1374621964.Didn't retrieve data . /1374621957.Didn't retrieve data . /1374621954.Didn't retrieve data . /1374621950.Didn't retrieve data . /1374621932.Didn't retrieve data . /1374621928.Didn't retrieve data . /1374621926.Didn't retrieve data . /1374621924.Didn't retrieve data . /1374621921.Didn't retrieve data . /1374621889.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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.016368865966796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12081170082092285 time spend to save output : 0.01701951026916504 total time spend for step 5 : 0.1378312110900879 step6:blur_detection Thu Jul 31 19:11:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a.jpg resize: (1080, 1920) 1374622081 -3.9407958917129635 treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d.jpg resize: (1080, 1920) 1374622070 -0.8189606665880267 treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e.jpg resize: (1080, 1920) 1374621966 0.25275354924860477 treat image : temp/1753981826_3309820_1374621964_abed8775c027203d5c07ce6e5e3b0f5d.jpg resize: (1080, 1920) 1374621964 -4.250749047861238 treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc.jpg resize: (1080, 1920) 1374621957 -0.43258796030448216 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18.jpg resize: (1080, 1920) 1374621954 -3.0493600419207207 treat image : temp/1753981826_3309820_1374621950_fe6d5aeb4e5262d22cd92d464a54aa21.jpg resize: (1080, 1920) 1374621950 0.5106523466774425 treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b.jpg resize: (1080, 1920) 1374621932 1.4934384518004569 treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810.jpg resize: (1080, 1920) 1374621928 0.8226360847919979 treat image : temp/1753981826_3309820_1374621926_a61d222893ed6a3f219923cd901e1787.jpg resize: (1080, 1920) 1374621926 -0.4832101241294476 treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d.jpg resize: (1080, 1920) 1374621924 0.6706133519645838 treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8.jpg resize: (1080, 1920) 1374621921 -4.408812689659507 treat image : temp/1753981826_3309820_1374621889_ef9c4644888362652d1c2041fe3449f9.jpg resize: (1080, 1920) 1374621889 1.358351151193527 treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519951_0.png resize: (189, 95) 1374636701 -0.3671899891353084 treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519950_0.png resize: (98, 103) 1374636702 2.09156030876438 treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519957_0.png resize: (85, 84) 1374636703 1.4751247586680527 treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519958_0.png resize: (94, 106) 1374636704 -1.5338458693259789 treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519961_0.png resize: (145, 321) 1374636705 -0.6170180098193137 treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519959_0.png resize: (82, 165) 1374636706 1.8861510837047888 treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519960_0.png resize: (158, 111) 1374636707 -1.3919665502968102 treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519965_0.png resize: (185, 97) 1374636708 -0.5141257509160511 treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519963_0.png resize: (135, 110) 1374636709 -0.4020676930888441 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519968_0.png resize: (134, 319) 1374636710 -2.4059705652954397 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519970_0.png resize: (70, 104) 1374636711 -1.2474983076905892 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519969_0.png resize: (62, 70) 1374636712 1.0098273062887724 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519966_0.png resize: (55, 166) 1374636713 -2.4984022208241248 treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519971_0.png resize: (191, 121) 1374636714 -0.5375473244225514 treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519972_0.png resize: (111, 88) 1374636715 -0.21857020659961715 treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519977_0.png resize: (186, 86) 1374636716 -1.789688850460219 treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519974_0.png resize: (141, 164) 1374636717 4.307568223006606 treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519975_0.png resize: (189, 178) 1374636718 -0.3510361710140491 treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519976_0.png resize: (94, 157) 1374636719 -2.080691465629981 treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519979_0.png resize: (172, 96) 1374636720 -2.545291265316755 treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519980_0.png resize: (121, 131) 1374636721 -1.5111005184425468 treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519978_0.png resize: (153, 162) 1374636722 -1.385172698858911 treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519983_0.png resize: (74, 177) 1374636723 -3.238528645634698 treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519982_0.png resize: (44, 95) 1374636724 0.5758327479052641 treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519981_0.png resize: (88, 134) 1374636725 -3.1937747864620216 treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519952_0.png resize: (101, 50) 1374636733 -0.8059611328771568 treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519954_0.png resize: (109, 107) 1374636734 -1.923130098759595 treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519955_0.png resize: (127, 74) 1374636736 -1.0875367064754309 treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519956_0.png resize: (102, 119) 1374636737 -1.739393628093299 treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519953_0.png resize: (144, 140) 1374636752 -3.01333379530418 treat image : temp/1753981826_3309820_1374621964_abed8775c027203d5c07ce6e5e3b0f5d_rle_crop_3899519962_0.png resize: (127, 433) 1374636753 -3.006133361144408 treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519964_0.png resize: (75, 95) 1374636754 -0.9007271990431606 treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519967_0.png resize: (167, 87) 1374636755 -1.4610512100613764 treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519973_0.png resize: (119, 105) 1374636756 0.6913448984772794 treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519984_0.png resize: (537, 365) 1374636757 0.09258235206577688 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 : 48 time used for this insertion : 0.013926982879638672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 48 time used for this insertion : 0.013690710067749023 save missing photos in datou_result : time spend for datou_step_exec : 10.722106218338013 time spend to save output : 0.03261518478393555 total time spend for step 6 : 10.754721403121948 step7:brightness Thu Jul 31 19:11:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a.jpg treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d.jpg treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e.jpg treat image : temp/1753981826_3309820_1374621964_abed8775c027203d5c07ce6e5e3b0f5d.jpg treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc.jpg treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18.jpg treat image : temp/1753981826_3309820_1374621950_fe6d5aeb4e5262d22cd92d464a54aa21.jpg treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b.jpg treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810.jpg treat image : temp/1753981826_3309820_1374621926_a61d222893ed6a3f219923cd901e1787.jpg treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d.jpg treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8.jpg treat image : temp/1753981826_3309820_1374621889_ef9c4644888362652d1c2041fe3449f9.jpg treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519951_0.png treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519950_0.png treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519957_0.png treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519958_0.png treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519961_0.png treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519959_0.png treat image : temp/1753981826_3309820_1374621966_89e3545ea10903182b033005271fc21e_rle_crop_3899519960_0.png treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519965_0.png treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519963_0.png treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519968_0.png treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519970_0.png treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519969_0.png treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519966_0.png treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519971_0.png treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519972_0.png treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519977_0.png treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519974_0.png treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519975_0.png treat image : temp/1753981826_3309820_1374621928_af560c86d80c3885ede7fca5c65b6810_rle_crop_3899519976_0.png treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519979_0.png treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519980_0.png treat image : temp/1753981826_3309820_1374621924_54324d3ad94205fd26b6980dc104d70d_rle_crop_3899519978_0.png treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519983_0.png treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519982_0.png treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519981_0.png treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519952_0.png treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519954_0.png treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519955_0.png treat image : temp/1753981826_3309820_1374622070_07318f7f29e882abf8a04f78bbce1a7d_rle_crop_3899519956_0.png treat image : temp/1753981826_3309820_1374622081_b7d2e511d7f08c4e0f4f79b8fcc8032a_rle_crop_3899519953_0.png treat image : temp/1753981826_3309820_1374621964_abed8775c027203d5c07ce6e5e3b0f5d_rle_crop_3899519962_0.png treat image : temp/1753981826_3309820_1374621957_569d09f28b03ab6975161b780d9f94fc_rle_crop_3899519964_0.png treat image : temp/1753981826_3309820_1374621954_5f72c01dc07b13986a2832e59e5d1e18_rle_crop_3899519967_0.png treat image : temp/1753981826_3309820_1374621932_e61de697322ba1cca72d90b7a8a5ac7b_rle_crop_3899519973_0.png treat image : temp/1753981826_3309820_1374621921_911332864729785eafe14a337769d7a8_rle_crop_3899519984_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 : 48 time used for this insertion : 0.015299797058105469 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 48 time used for this insertion : 0.013964414596557617 save missing photos in datou_result : time spend for datou_step_exec : 3.056525468826294 time spend to save output : 0.03438544273376465 total time spend for step 7 : 3.0909109115600586 step8:velours_tree Thu Jul 31 19:11:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.13775849342346191 time spend to save output : 3.838539123535156e-05 total time spend for step 8 : 0.13779687881469727 step9:send_mail_cod Thu Jul 31 19:11:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P25555609_31-07-2025_19_11_35.pdf 25555764 imagette255557641753981895 25555765 imagette255557651753981895 25555766 change filename to text .change filename to text .change filename to text .change filename to text .imagette255557661753981895 25555767 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette255557671753981895 25555768 imagette255557681753981895 25555769 imagette255557691753981895 25555770 imagette255557701753981895 25555772 imagette255557721753981895 25555773 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette255557731753981895 25555774 imagette255557741753981896 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25555609 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25555764,25555765,25555766,25555767,25555768,25555769,25555770,25555771,25555772,25555773,25555774?tags=mal_croppe,background,carton,pet_clair,metal,flou,autre,environnement,pehd,papier,pet_fonce args[1374622081] : ((1374622081, -3.9407958917129635, 492609224), (1374622081, 0.5375041226737438, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374622070] : ((1374622070, -0.8189606665880267, 492688767), (1374622070, 0.4540679662469934, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621966] : ((1374621966, 0.25275354924860477, 492688767), (1374621966, 0.24090393039590474, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621964] : ((1374621964, -4.250749047861238, 492609224), (1374621964, 0.3608758593495807, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621957] : ((1374621957, -0.43258796030448216, 492688767), (1374621957, 0.4575857982820111, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621954] : ((1374621954, -3.0493600419207207, 492609224), (1374621954, 0.9149761210653795, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621950] : ((1374621950, 0.5106523466774425, 492688767), (1374621950, 1.4305741820245121, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621932] : ((1374621932, 1.4934384518004569, 492688767), (1374621932, 0.6882507884064103, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621928] : ((1374621928, 0.8226360847919979, 492688767), (1374621928, 0.8305267265542077, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621926] : ((1374621926, -0.4832101241294476, 492688767), (1374621926, 0.3732470668065511, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621924] : ((1374621924, 0.6706133519645838, 492688767), (1374621924, 0.6750402447020356, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621921] : ((1374621921, -4.408812689659507, 492609224), (1374621921, 0.412131254490658, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com args[1374621889] : ((1374621889, 1.358351151193527, 492688767), (1374621889, 0.34205809880742616, 2107752395), '0.018800747863247858') We are sending mail with results at report@fotonower.com refus_total : 0.018800747863247858 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=25555609 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_P25555609_31-07-2025_19_11_35.pdf results_Auto_P25555609_31-07-2025_19_11_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25555609_31-07-2025_19_11_35.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','25555609','results_Auto_P25555609_31-07-2025_19_11_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25555609_31-07-2025_19_11_35.pdf','pdf','','0.18','0.018800747863247858') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25555609

https://www.fotonower.com/image?json=false&list_photos_id=1374622081
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374622070
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621966
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621964
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621957
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621954
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621950
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621932
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4934384518004569)
https://www.fotonower.com/image?json=false&list_photos_id=1374621928
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621926
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621924
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621921
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374621889
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.358351151193527)

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

exemples de contaminants: carton: https://www.fotonower.com/view/25555766?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25555767?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25555773?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25555609_31-07-2025_19_11_35.pdf.

Lien vers velours :https://www.fotonower.com/velours/25555764,25555765,25555766,25555767,25555768,25555769,25555770,25555771,25555772,25555773,25555774?tags=mal_croppe,background,carton,pet_clair,metal,flou,autre,environnement,pehd,papier,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 31 Jul 2025 17:11:40 GMT Content-Length: 0 Connection: close X-Message-Id: -3ouFYRgRM-XFYTlM-1LGA 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 [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] 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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.015465497970581055 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.849806070327759 time spend to save output : 0.015687227249145508 total time spend for step 9 : 4.865493297576904 step10:split_time_score Thu Jul 31 19:11:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('17', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31072025 25555609 Nombre de photos uploadées : 13 / 23040 (0%) 31072025 25555609 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 31072025 25555609 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011773109436035156 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20525598526000977 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.1288892103909465 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25530216_31-07-2025_08_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25530216 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`=25530216 AND mptpi.`type`=3594 To do Qualite : 0.0400941679526749 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25532093_31-07-2025_09_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25532093 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`=25532093 AND mptpi.`type`=3594 To do Qualite : 0.017316454475308645 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25532109_31-07-2025_09_41_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25532109 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`=25532109 AND mptpi.`type`=3594 To do Qualite : 0.045261622299382735 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25532112_31-07-2025_09_31_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25532112 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`=25532112 AND mptpi.`type`=3594 To do Qualite : 0.10603395061728398 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25537191_31-07-2025_11_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25537191 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`=25537191 AND mptpi.`type`=3594 To do Qualite : 0.1775103777154558 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25543232_31-07-2025_14_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25543232 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`=25543232 AND mptpi.`type`=3594 To do Qualite : 0.2067458164544753 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25543235_31-07-2025_14_31_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25543235 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`=25543235 AND mptpi.`type`=3594 To do Qualite : 0.15670513974622782 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25543266_31-07-2025_14_21_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25543266 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`=25543266 AND mptpi.`type`=3594 To do Qualite : 0.11439766589506177 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25543287_31-07-2025_14_12_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25543287 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`=25543287 AND mptpi.`type`=3594 To do Qualite : 0.1538847155448718 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25550837_31-07-2025_17_33_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25550837 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`=25550837 AND mptpi.`type`=3594 To do Qualite : 0.19044441040305016 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25550842_31-07-2025_17_22_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25550842 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`=25550842 AND mptpi.`type`=3594 To do Qualite : 0.11378101258309595 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25550846_31-07-2025_17_11_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25550846 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`=25550846 AND mptpi.`type`=3594 To do Qualite : 0.15474861461840628 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25552249_31-07-2025_17_51_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25552249 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`=25552249 AND mptpi.`type`=3594 To do Qualite : 0.09546847080084471 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25552251_31-07-2025_18_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25552251 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`=25552251 AND mptpi.`type`=3594 To do Qualite : 0.12310812114197532 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25552256_31-07-2025_17_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25552256 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`=25552256 AND mptpi.`type`=3594 To do Qualite : 0.018800747863247858 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25555609_31-07-2025_19_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25555609 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`=25555609 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31072025': {'nb_upload': 13, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374622081, 1374622070, 1374621966, 1374621964, 1374621957, 1374621954, 1374621950, 1374621932, 1374621928, 1374621926, 1374621924, 1374621921, 1374621889] Looping around the photos to save general results len do output : 1 /25555609Didn'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, '3414818') ('3318', '25555609', '1374622081', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374622070', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621966', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621964', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621957', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621954', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621950', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621932', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621928', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621926', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621924', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621921', None, None, None, None, None, '3414818') ('3318', None, None, None, None, None, None, None, '3414818') ('3318', '25555609', '1374621889', None, None, None, None, None, '3414818') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.01569533348083496 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.267364740371704 time spend to save output : 0.01594233512878418 total time spend for step 10 : 1.2833070755004883 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 35.19user 25.65system 1:17.05elapsed 78%CPU (0avgtext+0avgdata 2800792maxresident)k 511368inputs+12320outputs (223major+1515518minor)pagefaults 0swaps