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 : 295384 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 : ['4018072'] with mtr_portfolio_ids : ['28317467'] and first list_photo_ids : [] new path : /proc/295384/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 2.21893310546875 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 Fri Nov 7 18:40:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3701 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-07 18:40:35.774226: 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-11-07 18:40:35.798611: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-07 18:40:35.800621: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb484000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:40:35.800649: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-07 18:40:35.804755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-07 18:40:36.086323: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x82d3b20 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:40:36.086374: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-07 18:40:36.087598: 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-11-07 18:40:36.087984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:40:36.091053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:40:36.093904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:40:36.094448: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:40:36.099020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:40:36.100835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:40:36.107396: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:40:36.108645: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:40:36.108730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:40:36.109411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:40:36.109429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:40:36.109441: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:40:36.110659: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3249 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-11-07 18:40:36.364643: 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-11-07 18:40:36.364733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:40:36.364756: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:40:36.364777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:40:36.364797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:40:36.364817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:40:36.364836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:40:36.364856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:40:36.365917: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:40:36.367014: 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-11-07 18:40:36.367056: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:40:36.367075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:40:36.367091: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:40:36.367115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:40:36.367131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:40:36.367148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:40:36.367165: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:40:36.368218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:40:36.368249: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:40:36.368259: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:40:36.368268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:40:36.369372: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3249 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-11-07 18:40:43.672326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:40:43.877538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:40:45.381950: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:45.382637: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.41G (2584726784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.161863: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-11-07 18:40:46.221143: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.221232: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.222322: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.222351: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.230554: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.230596: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.237708: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.237728: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.238297: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.238329: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.287819: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.287871: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.288490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.288506: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.289127: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.289143: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.289742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.289756: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:40:46.298797: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.299419: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.314846: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.315629: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.316397: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.317155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.321722: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.322513: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.323276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.323957: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.324995: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.325025: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-11-07 18:40:46.335139: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.335763: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.344744: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.345335: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.345916: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.346509: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.347093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:40:46.347666: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.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: 33.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: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 13.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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 296034 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2083 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 3276 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.00026488304138183594 nb_pixel_total : 10951 time to create 1 rle with old method : 0.012499570846557617 length of segment : 152 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 2713 time to create 1 rle with old method : 0.003070354461669922 length of segment : 60 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 7128 time to create 1 rle with old method : 0.007895946502685547 length of segment : 141 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 6812 time to create 1 rle with old method : 0.007436275482177734 length of segment : 126 time for calcul the mask position with numpy : 0.00021123886108398438 nb_pixel_total : 14842 time to create 1 rle with old method : 0.015788555145263672 length of segment : 120 time for calcul the mask position with numpy : 9.846687316894531e-05 nb_pixel_total : 6255 time to create 1 rle with old method : 0.0068206787109375 length of segment : 60 time for calcul the mask position with numpy : 0.00014972686767578125 nb_pixel_total : 8634 time to create 1 rle with old method : 0.011998176574707031 length of segment : 81 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 10200 time to create 1 rle with old method : 0.011535406112670898 length of segment : 179 time for calcul the mask position with numpy : 0.00018715858459472656 nb_pixel_total : 3849 time to create 1 rle with old method : 0.00698089599609375 length of segment : 61 time for calcul the mask position with numpy : 0.19318270683288574 nb_pixel_total : 1445534 time to create 1 rle with new method : 0.06502771377563477 length of segment : 1248 time for calcul the mask position with numpy : 0.0001773834228515625 nb_pixel_total : 7795 time to create 1 rle with old method : 0.008727550506591797 length of segment : 119 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 24040 time to create 1 rle with old method : 0.02624797821044922 length of segment : 103 time for calcul the mask position with numpy : 0.00012683868408203125 nb_pixel_total : 6689 time to create 1 rle with old method : 0.0073320865631103516 length of segment : 108 time for calcul the mask position with numpy : 0.00013375282287597656 nb_pixel_total : 6588 time to create 1 rle with old method : 0.0075261592864990234 length of segment : 100 time for calcul the mask position with numpy : 6.771087646484375e-05 nb_pixel_total : 2397 time to create 1 rle with old method : 0.0028705596923828125 length of segment : 50 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 5367 time to create 1 rle with old method : 0.005945920944213867 length of segment : 184 time for calcul the mask position with numpy : 0.00012946128845214844 nb_pixel_total : 6731 time to create 1 rle with old method : 0.00743556022644043 length of segment : 100 time for calcul the mask position with numpy : 0.00011658668518066406 nb_pixel_total : 6401 time to create 1 rle with old method : 0.006899595260620117 length of segment : 110 time for calcul the mask position with numpy : 0.0016543865203857422 nb_pixel_total : 117159 time to create 1 rle with old method : 0.14023065567016602 length of segment : 543 time for calcul the mask position with numpy : 0.0005536079406738281 nb_pixel_total : 18696 time to create 1 rle with old method : 0.021345853805541992 length of segment : 142 time for calcul the mask position with numpy : 0.0002942085266113281 nb_pixel_total : 7377 time to create 1 rle with old method : 0.0084686279296875 length of segment : 107 time for calcul the mask position with numpy : 0.00030493736267089844 nb_pixel_total : 6042 time to create 1 rle with old method : 0.006984233856201172 length of segment : 108 time for calcul the mask position with numpy : 0.01710987091064453 nb_pixel_total : 725734 time to create 1 rle with new method : 0.03004312515258789 length of segment : 906 time for calcul the mask position with numpy : 0.00031566619873046875 nb_pixel_total : 6658 time to create 1 rle with old method : 0.008069992065429688 length of segment : 195 time for calcul the mask position with numpy : 0.002277851104736328 nb_pixel_total : 103189 time to create 1 rle with old method : 0.11389827728271484 length of segment : 538 time for calcul the mask position with numpy : 0.0011053085327148438 nb_pixel_total : 82045 time to create 1 rle with old method : 0.0876317024230957 length of segment : 234 time for calcul the mask position with numpy : 0.0003409385681152344 nb_pixel_total : 8893 time to create 1 rle with old method : 0.010447025299072266 length of segment : 63 time for calcul the mask position with numpy : 0.0023963451385498047 nb_pixel_total : 112375 time to create 1 rle with old method : 0.11570024490356445 length of segment : 553 time for calcul the mask position with numpy : 0.001123189926147461 nb_pixel_total : 28294 time to create 1 rle with old method : 0.030153512954711914 length of segment : 422 time for calcul the mask position with numpy : 0.00031304359436035156 nb_pixel_total : 8350 time to create 1 rle with old method : 0.009319067001342773 length of segment : 102 time for calcul the mask position with numpy : 0.0005826950073242188 nb_pixel_total : 23203 time to create 1 rle with old method : 0.029042482376098633 length of segment : 105 time for calcul the mask position with numpy : 0.00021648406982421875 nb_pixel_total : 5430 time to create 1 rle with old method : 0.006170511245727539 length of segment : 55 time for calcul the mask position with numpy : 0.002702951431274414 nb_pixel_total : 117872 time to create 1 rle with old method : 0.13181614875793457 length of segment : 559 time for calcul the mask position with numpy : 0.0003495216369628906 nb_pixel_total : 7188 time to create 1 rle with old method : 0.007971525192260742 length of segment : 147 time for calcul the mask position with numpy : 0.0004942417144775391 nb_pixel_total : 25421 time to create 1 rle with old method : 0.02870011329650879 length of segment : 215 time spent for convertir_results : 2.543105363845825 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 : 8096 save missing photos in datou_result : time spend for datou_step_exec : 23.944239377975464 time spend to save output : 0.5501551628112793 total time spend for step 1 : 24.494394540786743 step2:crop_condition Fri Nov 7 18:40:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537258_295384 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462612_0.png', 0, 61, 60, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462614_0.png', 0, 83, 126, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462624_0.png', 0, 141, 76, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462623_0.png', 0, 90, 108, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121390_b1eeeba659a7235099046708199326c9_rle_crop_4025462625_0.png', 0, 88, 50, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462626_0.png', 0, 93, 184, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462634_0.png', 0, 109, 109, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462640_0.png', 0, 134, 96, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537259), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462644_0.png', 0, 76, 147, 0, 1762537259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.188910961151123 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537261_295384 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121802_d59e7b67efd3cda94f5433b3067f1914_rle_crop_4025462611_0.png', 0, 108, 152, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462613_0.png', 0, 113, 130, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462618_0.png', 0, 93, 165, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462621_0.png', 0, 113, 118, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462619_0.png', 0, 99, 60, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462628_0.png', 0, 88, 108, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462627_0.png', 0, 100, 100, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462632_0.png', 0, 83, 108, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462631_0.png', 0, 109, 107, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537263), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462642_0.png', 0, 144, 55, 0, 1762537263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.87383770942688 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537275_295384 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462616_0.png', 0, 128, 60, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462615_0.png', 0, 173, 109, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462620_0.png', 0, 1527, 1009, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462617_0.png', 0, 188, 80, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462622_0.png', 0, 322, 101, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462630_0.png', 0, 212, 142, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462629_0.png', 0, 360, 539, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462633_0.png', 0, 1045, 904, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462636_0.png', 0, 550, 199, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462635_0.png', 0, 326, 538, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462637_0.png', 0, 259, 54, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462638_0.png', 0, 317, 553, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462641_0.png', 0, 330, 103, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462645_0.png', 0, 173, 212, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537279), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462643_0.png', 0, 344, 558, 0, 1762537279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.470345973968506 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537280_295384 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762537280), 0.0, 0.0, 14, '', 0, 0, '1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462639_0.png', 0, 151, 319, 0, 1762537280,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.4949915409088135 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] Looping around the photos to save general results len do output : 35 /1393190732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393190996Didn'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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 time used for this insertion : 0.019326210021972656 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.3646821975708 time spend to save output : 0.021035432815551758 total time spend for step 2 : 23.385717630386353 step3:rle_unique_nms_with_priority Fri Nov 7 18:41:20 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 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 : 1 nb_hashtags : 1 time to prepare the origin masks : 0.16224336624145508 time for calcul the mask position with numpy : 0.35996580123901367 nb_pixel_total : 2062649 time to create 1 rle with new method : 0.07935357093811035 time for calcul the mask position with numpy : 0.006138801574707031 nb_pixel_total : 10951 time to create 1 rle with old method : 0.011649131774902344 create new chi : 0.46768951416015625 time to delete rle : 0.025581836700439453 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1384 TO DO : save crop sub photo not yet done ! save time : 0.13037824630737305 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.7028167247772217 time for calcul the mask position with numpy : 0.06867718696594238 nb_pixel_total : 2063759 time to create 1 rle with new method : 0.35944104194641113 time for calcul the mask position with numpy : 0.010806083679199219 nb_pixel_total : 7128 time to create 1 rle with old method : 0.008038520812988281 time for calcul the mask position with numpy : 0.0065670013427734375 nb_pixel_total : 2713 time to create 1 rle with old method : 0.0029306411743164062 create new chi : 0.47074222564697266 time to delete rle : 0.0002770423889160156 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1482 TO DO : save crop sub photo not yet done ! save time : 0.13665175437927246 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.14081883430480957 time for calcul the mask position with numpy : 0.38379883766174316 nb_pixel_total : 2045691 time to create 1 rle with new method : 0.14774847030639648 time for calcul the mask position with numpy : 0.006815433502197266 nb_pixel_total : 6255 time to create 1 rle with old method : 0.007024526596069336 time for calcul the mask position with numpy : 0.006663799285888672 nb_pixel_total : 14842 time to create 1 rle with old method : 0.016607999801635742 time for calcul the mask position with numpy : 0.007348299026489258 nb_pixel_total : 6812 time to create 1 rle with old method : 0.0076634883880615234 create new chi : 0.5950615406036377 time to delete rle : 0.00029277801513671875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1692 TO DO : save crop sub photo not yet done ! save time : 0.16226458549499512 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.11052465438842773 time for calcul the mask position with numpy : 0.010737180709838867 nb_pixel_total : 616712 time to create 1 rle with new method : 0.08069729804992676 time for calcul the mask position with numpy : 0.05342221260070801 nb_pixel_total : 1434205 time to create 1 rle with new method : 0.08194923400878906 time for calcul the mask position with numpy : 0.006850242614746094 nb_pixel_total : 3849 time to create 1 rle with old method : 0.004202604293823242 time for calcul the mask position with numpy : 0.0059757232666015625 nb_pixel_total : 10200 time to create 1 rle with old method : 0.011174678802490234 time for calcul the mask position with numpy : 0.005925416946411133 nb_pixel_total : 8634 time to create 1 rle with old method : 0.009350061416625977 create new chi : 0.2852931022644043 time to delete rle : 0.0005025863647460938 batch 1 Loaded 10 chid ids of type : 3594 ++++++Number RLEs to save : 4206 TO DO : save crop sub photo not yet done ! save time : 0.33641695976257324 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04939985275268555 time for calcul the mask position with numpy : 0.05758810043334961 nb_pixel_total : 2036283 time to create 1 rle with new method : 0.4144411087036133 time for calcul the mask position with numpy : 0.0073549747467041016 nb_pixel_total : 6588 time to create 1 rle with old method : 0.010750293731689453 time for calcul the mask position with numpy : 0.006638288497924805 nb_pixel_total : 6689 time to create 1 rle with old method : 0.007566690444946289 time for calcul the mask position with numpy : 0.006742954254150391 nb_pixel_total : 24040 time to create 1 rle with old method : 0.027682065963745117 create new chi : 0.5503356456756592 time to delete rle : 0.0003116130828857422 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1702 TO DO : save crop sub photo not yet done ! save time : 0.16291069984436035 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.044629812240600586 time for calcul the mask position with numpy : 0.022268056869506836 nb_pixel_total : 2071203 time to create 1 rle with new method : 0.36066508293151855 time for calcul the mask position with numpy : 0.006532192230224609 nb_pixel_total : 2397 time to create 1 rle with old method : 0.00272369384765625 create new chi : 0.39951109886169434 time to delete rle : 0.00023293495178222656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1180 TO DO : save crop sub photo not yet done ! save time : 0.12726283073425293 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.39693760871887207 time for calcul the mask position with numpy : 0.05670595169067383 nb_pixel_total : 1919246 time to create 1 rle with new method : 0.25946688652038574 time for calcul the mask position with numpy : 0.005866050720214844 nb_pixel_total : 18696 time to create 1 rle with old method : 0.022436857223510742 time for calcul the mask position with numpy : 0.010426044464111328 nb_pixel_total : 117159 time to create 1 rle with old method : 0.12048697471618652 time for calcul the mask position with numpy : 0.00978708267211914 nb_pixel_total : 6401 time to create 1 rle with old method : 0.0066144466400146484 time for calcul the mask position with numpy : 0.009546041488647461 nb_pixel_total : 6731 time to create 1 rle with old method : 0.006944894790649414 time for calcul the mask position with numpy : 0.009526252746582031 nb_pixel_total : 5367 time to create 1 rle with old method : 0.0055942535400390625 create new chi : 0.533653974533081 time to delete rle : 0.0005414485931396484 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3238 TO DO : save crop sub photo not yet done ! save time : 0.2602095603942871 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.09453725814819336 time for calcul the mask position with numpy : 0.06547975540161133 nb_pixel_total : 1327789 time to create 1 rle with new method : 0.18141460418701172 time for calcul the mask position with numpy : 0.006526470184326172 nb_pixel_total : 6658 time to create 1 rle with old method : 0.0075681209564208984 time for calcul the mask position with numpy : 0.01264333724975586 nb_pixel_total : 725734 time to create 1 rle with new method : 0.41986656188964844 time for calcul the mask position with numpy : 0.006293058395385742 nb_pixel_total : 6042 time to create 1 rle with old method : 0.006776094436645508 time for calcul the mask position with numpy : 0.006603717803955078 nb_pixel_total : 7377 time to create 1 rle with old method : 0.009902715682983398 create new chi : 0.7316980361938477 time to delete rle : 0.0007617473602294922 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3712 TO DO : save crop sub photo not yet done ! save time : 0.27814769744873047 No data in photo_id : 1393121306 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05970001220703125 time for calcul the mask position with numpy : 0.02234506607055664 nb_pixel_total : 1888366 time to create 1 rle with new method : 0.08385396003723145 time for calcul the mask position with numpy : 0.006460666656494141 nb_pixel_total : 82045 time to create 1 rle with old method : 0.0908961296081543 time for calcul the mask position with numpy : 0.0065991878509521484 nb_pixel_total : 103189 time to create 1 rle with old method : 0.11259984970092773 create new chi : 0.3303060531616211 time to delete rle : 0.0003807544708251953 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2624 TO DO : save crop sub photo not yet done ! save time : 0.21491789817810059 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.10914182662963867 time for calcul the mask position with numpy : 0.24213242530822754 nb_pixel_total : 1924038 time to create 1 rle with new method : 0.3516695499420166 time for calcul the mask position with numpy : 0.006258964538574219 nb_pixel_total : 28294 time to create 1 rle with old method : 0.031308650970458984 time for calcul the mask position with numpy : 0.00754094123840332 nb_pixel_total : 112375 time to create 1 rle with old method : 0.12143635749816895 time for calcul the mask position with numpy : 0.00599360466003418 nb_pixel_total : 8893 time to create 1 rle with old method : 0.009695768356323242 create new chi : 0.786637544631958 time to delete rle : 0.0005133152008056641 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3156 TO DO : save crop sub photo not yet done ! save time : 0.2687845230102539 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.3548147678375244 time for calcul the mask position with numpy : 0.05324244499206543 nb_pixel_total : 1886136 time to create 1 rle with new method : 0.2744927406311035 time for calcul the mask position with numpy : 0.010612964630126953 nb_pixel_total : 25421 time to create 1 rle with old method : 0.02791619300842285 time for calcul the mask position with numpy : 0.006031513214111328 nb_pixel_total : 7188 time to create 1 rle with old method : 0.007884025573730469 time for calcul the mask position with numpy : 0.006795167922973633 nb_pixel_total : 117872 time to create 1 rle with old method : 0.12521910667419434 time for calcul the mask position with numpy : 0.009805440902709961 nb_pixel_total : 5430 time to create 1 rle with old method : 0.00559687614440918 time for calcul the mask position with numpy : 0.005861043930053711 nb_pixel_total : 23203 time to create 1 rle with old method : 0.02482128143310547 time for calcul the mask position with numpy : 0.005910158157348633 nb_pixel_total : 8350 time to create 1 rle with old method : 0.008807182312011719 create new chi : 0.5841660499572754 time to delete rle : 0.0005221366882324219 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3446 TO DO : save crop sub photo not yet done ! save time : 0.23728656768798828 map_output_result : {1393121802: (0.0, 'Should be the crop_list due to order', 0), 1393121799: (0.0, 'Should be the crop_list due to order', 0), 1393121764: (0.0, 'Should be the crop_list due to order', 0), 1393121730: (0.0, 'Should be the crop_list due to order', 0), 1393121392: (0.0, 'Should be the crop_list due to order', 0), 1393121390: (0.0, 'Should be the crop_list due to order', 0), 1393121381: (0.0, 'Should be the crop_list due to order', 0), 1393121348: (0.0, 'Should be the crop_list due to order', 0), 1393121306: (0.0, 'Should be the crop_list due to order', 0.0), 1393121273: (0.0, 'Should be the crop_list due to order', 0), 1393120703: (0.0, 'Should be the crop_list due to order', 0), 1393120642: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] Looping around the photos to save general results len do output : 12 /1393121802.Didn't retrieve data . /1393121799.Didn't retrieve data . /1393121764.Didn't retrieve data . /1393121730.Didn't retrieve data . /1393121392.Didn't retrieve data . /1393121390.Didn't retrieve data . /1393121381.Didn't retrieve data . /1393121348.Didn't retrieve data . /1393121306.Didn't retrieve data . /1393121273.Didn't retrieve data . /1393120703.Didn't retrieve data . /1393120642.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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.015164852142333984 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.727085590362549 time spend to save output : 0.015665531158447266 total time spend for step 3 : 10.742751121520996 step4:ventilate_hashtags_in_portfolio Fri Nov 7 18:41:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28317467 get user id for portfolio 28317467 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`=28317467 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','papier','environnement','pet_clair','flou','mal_croppe','background','carton','metal','autre','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317467 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','papier','environnement','pet_clair','flou','mal_croppe','background','carton','metal','autre','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317467 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','papier','environnement','pet_clair','flou','mal_croppe','background','carton','metal','autre','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28320440,28320441,28320442,28320443,28320444,28320445,28320446,28320447,28320448,28320449,28320450?tags=pet_fonce,papier,environnement,pet_clair,flou,mal_croppe,background,carton,metal,autre,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] Looping around the photos to save general results len do output : 1 /28317467. 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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.014724016189575195 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.755295753479004 time spend to save output : 0.015017271041870117 total time spend for step 4 : 1.770313024520874 step5:final Fri Nov 7 18:41:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1393121802: ('0.11926633230452677',), 1393121799: ('0.11926633230452677',), 1393121764: ('0.11926633230452677',), 1393121730: ('0.11926633230452677',), 1393121392: ('0.11926633230452677',), 1393121390: ('0.11926633230452677',), 1393121381: ('0.11926633230452677',), 1393121348: ('0.11926633230452677',), 1393121306: ('0.11926633230452677',), 1393121273: ('0.11926633230452677',), 1393120703: ('0.11926633230452677',), 1393120642: ('0.11926633230452677',)} new output for save of step final : {1393121802: ('0.11926633230452677',), 1393121799: ('0.11926633230452677',), 1393121764: ('0.11926633230452677',), 1393121730: ('0.11926633230452677',), 1393121392: ('0.11926633230452677',), 1393121390: ('0.11926633230452677',), 1393121381: ('0.11926633230452677',), 1393121348: ('0.11926633230452677',), 1393121306: ('0.11926633230452677',), 1393121273: ('0.11926633230452677',), 1393120703: ('0.11926633230452677',), 1393120642: ('0.11926633230452677',)} [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] Looping around the photos to save general results len do output : 12 /1393121802.Didn't retrieve data . /1393121799.Didn't retrieve data . /1393121764.Didn't retrieve data . /1393121730.Didn't retrieve data . /1393121392.Didn't retrieve data . /1393121390.Didn't retrieve data . /1393121381.Didn't retrieve data . /1393121348.Didn't retrieve data . /1393121306.Didn't retrieve data . /1393121273.Didn't retrieve data . /1393120703.Didn't retrieve data . /1393120642.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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01560211181640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11388444900512695 time spend to save output : 0.016193628311157227 total time spend for step 5 : 0.13007807731628418 step6:blur_detection Fri Nov 7 18:41:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1762537230_295384_1393121802_d59e7b67efd3cda94f5433b3067f1914.jpg resize: (1080, 1920) 1393121802 -1.0230382040778456 treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94.jpg resize: (1080, 1920) 1393121799 -3.675267442486306 treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d.jpg resize: (1080, 1920) 1393121764 -0.12520575538725578 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9.jpg resize: (1080, 1920) 1393121730 0.2681424703183559 treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689.jpg resize: (1080, 1920) 1393121392 -2.0114602752731567 treat image : temp/1762537230_295384_1393121390_b1eeeba659a7235099046708199326c9.jpg resize: (1080, 1920) 1393121390 0.16621174787392917 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089.jpg resize: (1080, 1920) 1393121381 -3.2849334551138245 treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714.jpg resize: (1080, 1920) 1393121348 2.3821381190174877 treat image : temp/1762537230_295384_1393121306_80dfda176bc91cca23cbbd586a70b1fa.jpg resize: (1080, 1920) 1393121306 0.8179966797704616 treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359.jpg resize: (1080, 1920) 1393121273 -3.579832276836314 treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f.jpg resize: (1080, 1920) 1393120703 -4.329404553142413 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822.jpg resize: (1080, 1920) 1393120642 -2.8336467270470207 treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462612_0.png resize: (60, 61) 1393190732 -2.697812028750657 treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462614_0.png resize: (126, 83) 1393190733 -1.5893669196337241 treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462624_0.png resize: (76, 141) 1393190735 -0.791536176032478 treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462623_0.png resize: (108, 90) 1393190736 -1.0403871187284832 treat image : temp/1762537230_295384_1393121390_b1eeeba659a7235099046708199326c9_rle_crop_4025462625_0.png resize: (50, 88) 1393190737 -2.313238944973255 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462626_0.png resize: (184, 93) 1393190739 -2.2920097859724966 treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462634_0.png resize: (109, 109) 1393190740 -0.514348650079587 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462640_0.png resize: (96, 134) 1393190741 -3.6573805330161626 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462644_0.png resize: (147, 76) 1393190743 -1.095395892507585 treat image : temp/1762537230_295384_1393121802_d59e7b67efd3cda94f5433b3067f1914_rle_crop_4025462611_0.png resize: (152, 108) 1393190787 -1.2646144490677456 treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462613_0.png resize: (130, 113) 1393190788 -2.7204123183841746 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462618_0.png resize: (165, 93) 1393190790 -1.848030516761633 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462621_0.png resize: (118, 113) 1393190792 -1.9185538334436993 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462619_0.png resize: (60, 99) 1393190793 -1.7509718582593865 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462628_0.png resize: (108, 88) 1393190795 -1.3614881681368072 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462627_0.png resize: (100, 100) 1393190797 -1.5589172740396622 treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462632_0.png resize: (108, 83) 1393190798 -1.4884371220750767 treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462631_0.png resize: (107, 109) 1393190800 -1.8590176866137413 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462642_0.png resize: (55, 144) 1393190802 -1.5599303567630134 treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462616_0.png resize: (60, 128) 1393190968 -2.048341755869939 treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462615_0.png resize: (109, 173) 1393190970 -2.6018248368969092 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462620_0.png resize: (1009, 1527) 1393190971 -1.0348004827751465 treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462617_0.png resize: (80, 188) 1393190972 -2.306866481917603 treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462622_0.png resize: (101, 322) 1393190974 -1.087438857366076 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462630_0.png resize: (142, 212) 1393190975 -2.425252453660495 treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462629_0.png resize: (539, 360) 1393190977 -0.35995313841218435 treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462633_0.png resize: (904, 1045) 1393190978 1.1996836030324765 treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462636_0.png resize: (199, 550) 1393190980 -3.3900345149541082 treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462635_0.png resize: (538, 326) 1393190981 0.2982963503104367 treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462637_0.png resize: (54, 259) 1393190982 -3.2301947863903058 treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462638_0.png resize: (553, 317) 1393190984 0.18753334327666035 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462641_0.png resize: (103, 330) 1393190985 -2.7478971282347544 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462645_0.png resize: (212, 173) 1393190986 -3.0325782279528113 treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462643_0.png resize: (558, 344) 1393190988 0.3592242298948095 treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462639_0.png resize: (319, 151) 1393190996 -1.9491140173027013 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 : 47 time used for this insertion : 0.02231764793395996 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.016916990280151367 save missing photos in datou_result : time spend for datou_step_exec : 10.554146766662598 time spend to save output : 0.0434420108795166 total time spend for step 6 : 10.597588777542114 step7:brightness Fri Nov 7 18:41:44 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/1762537230_295384_1393121802_d59e7b67efd3cda94f5433b3067f1914.jpg treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94.jpg treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d.jpg treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9.jpg treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689.jpg treat image : temp/1762537230_295384_1393121390_b1eeeba659a7235099046708199326c9.jpg treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089.jpg treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714.jpg treat image : temp/1762537230_295384_1393121306_80dfda176bc91cca23cbbd586a70b1fa.jpg treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359.jpg treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f.jpg treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822.jpg treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462612_0.png treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462614_0.png treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462624_0.png treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462623_0.png treat image : temp/1762537230_295384_1393121390_b1eeeba659a7235099046708199326c9_rle_crop_4025462625_0.png treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462626_0.png treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462634_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462640_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462644_0.png treat image : temp/1762537230_295384_1393121802_d59e7b67efd3cda94f5433b3067f1914_rle_crop_4025462611_0.png treat image : temp/1762537230_295384_1393121799_f147c2e56699f63c06b9e5a7688b2c94_rle_crop_4025462613_0.png treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462618_0.png treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462621_0.png treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462619_0.png treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462628_0.png treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462627_0.png treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462632_0.png treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462631_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462642_0.png treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462616_0.png treat image : temp/1762537230_295384_1393121764_081407c5b49ced59a7a05e8f01a02a2d_rle_crop_4025462615_0.png treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462620_0.png treat image : temp/1762537230_295384_1393121730_72d5e38ff9ee8abfc42afd6b167201c9_rle_crop_4025462617_0.png treat image : temp/1762537230_295384_1393121392_0cc28c7b92ce0f3fd393fd6fae624689_rle_crop_4025462622_0.png treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462630_0.png treat image : temp/1762537230_295384_1393121381_718d3750771ac4f1075a4b5b03f60089_rle_crop_4025462629_0.png treat image : temp/1762537230_295384_1393121348_80feb21b5257610d62b752d96c1cc714_rle_crop_4025462633_0.png treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462636_0.png treat image : temp/1762537230_295384_1393121273_cfda81d962dc2e6c0564047a6b46a359_rle_crop_4025462635_0.png treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462637_0.png treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462638_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462641_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462645_0.png treat image : temp/1762537230_295384_1393120642_c8e66234faae7d87989cef6b3a3c6822_rle_crop_4025462643_0.png treat image : temp/1762537230_295384_1393120703_bb34b4988076e5531f34f88bde3aca7f_rle_crop_4025462639_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 : 47 time used for this insertion : 0.019837617874145508 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.016898393630981445 save missing photos in datou_result : time spend for datou_step_exec : 2.954319477081299 time spend to save output : 0.041365623474121094 total time spend for step 7 : 2.99568510055542 step8:velours_tree Fri Nov 7 18:41:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.15025115013122559 time spend to save output : 3.647804260253906e-05 total time spend for step 8 : 0.15028762817382812 step9:send_mail_cod Fri Nov 7 18:41:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P28317467_07-11-2025_18_41_47.pdf 28320440 imagette283204401762537307 28320441 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 .imagette283204411762537307 28320443 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 .imagette283204431762537307 28320444 imagette283204441762537308 28320445 imagette283204451762537309 28320446 imagette283204461762537309 28320447 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 .imagette283204471762537309 28320448 imagette283204481762537309 28320449 change filename to text .imagette283204491762537309 28320450 imagette283204501762537309 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28317467 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28320440,28320441,28320442,28320443,28320444,28320445,28320446,28320447,28320448,28320449,28320450?tags=pet_fonce,papier,environnement,pet_clair,flou,mal_croppe,background,carton,metal,autre,pehd args[1393121802] : ((1393121802, -1.0230382040778456, 492688767), (1393121802, 0.5275025271862034, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121799] : ((1393121799, -3.675267442486306, 492609224), (1393121799, 0.23553524164055806, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121764] : ((1393121764, -0.12520575538725578, 492688767), (1393121764, 0.6047856658282609, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121730] : ((1393121730, 0.2681424703183559, 492688767), (1393121730, 0.23006339229541967, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121392] : ((1393121392, -2.0114602752731567, 492609224), (1393121392, 0.2389068379683822, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121390] : ((1393121390, 0.16621174787392917, 492688767), (1393121390, 0.44325600688976446, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121381] : ((1393121381, -3.2849334551138245, 492609224), (1393121381, 0.37866228055815676, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121348] : ((1393121348, 2.3821381190174877, 492688767), (1393121348, 0.16921245626808826, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121306] : ((1393121306, 0.8179966797704616, 492688767), (1393121306, 0.826419656961856, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393121273] : ((1393121273, -3.579832276836314, 492609224), (1393121273, 0.47117919154713644, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393120703] : ((1393120703, -4.329404553142413, 492609224), (1393120703, 0.5705278532741883, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com args[1393120642] : ((1393120642, -2.8336467270470207, 492609224), (1393120642, 0.5794731952119745, 2107752395), '0.11926633230452677') We are sending mail with results at report@fotonower.com refus_total : 0.11926633230452677 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28317467 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_P28317467_07-11-2025_18_41_47.pdf results_Auto_P28317467_07-11-2025_18_41_47.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317467_07-11-2025_18_41_47.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','28317467','results_Auto_P28317467_07-11-2025_18_41_47.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317467_07-11-2025_18_41_47.pdf','pdf','','0.42','0.11926633230452677') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28317467

https://www.fotonower.com/image?json=false&list_photos_id=1393121802
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121799
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121764
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121730
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121392
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121390
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121381
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121348
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.3821381190174877)
https://www.fotonower.com/image?json=false&list_photos_id=1393121306
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393121273
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393120703
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393120642
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28320441?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28320443?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28320447?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28320449?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317467_07-11-2025_18_41_47.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28320440,28320441,28320442,28320443,28320444,28320445,28320446,28320447,28320448,28320449,28320450?tags=pet_fonce,papier,environnement,pet_clair,flou,mal_croppe,background,carton,metal,autre,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 07 Nov 2025 17:41:51 GMT Content-Length: 0 Connection: close X-Message-Id: IpToPmsmTiSxJJHijKapbw 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 [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] 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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.013921499252319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.299853801727295 time spend to save output : 0.014160394668579102 total time spend for step 9 : 4.314014196395874 step10:split_time_score Fri Nov 7 18:41:51 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'}] (('15', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07112025 28317467 Nombre de photos uploadées : 12 / 23040 (0%) 07112025 28317467 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 07112025 28317467 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005915164947509766 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20879149436950684 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.004566883144718793 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298577_07-11-2025_09_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298577 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`=28298577 AND mptpi.`type`=3594 To do Qualite : 0.01407957175925926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298579_07-11-2025_09_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298579 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`=28298579 AND mptpi.`type`=3594 To do Qualite : 0.03971610363618827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298580_07-11-2025_09_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298580 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`=28298580 AND mptpi.`type`=3594 To do Qualite : 0.03227211686847103 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304078_07-11-2025_12_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28304078 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`=28304078 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317462 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317465 order by id desc limit 1 Qualite : 0.11926633230452677 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317467_07-11-2025_18_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317467 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`=28317467 AND mptpi.`type`=3594 To do Qualite : 0.24889986014660495 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317509_07-11-2025_18_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317509 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`=28317509 AND mptpi.`type`=3594 To do Qualite : 0.07542040412808643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317536 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`=28317536 AND mptpi.`type`=3594 To do Qualite : 0.10745382426697532 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317550_07-11-2025_17_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317550 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`=28317550 AND mptpi.`type`=3594 To do Qualite : 0.17492326817558299 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318849_07-11-2025_18_22_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28318849 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`=28318849 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28318855 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07112025': {'nb_upload': 12, '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 [1393121802, 1393121799, 1393121764, 1393121730, 1393121392, 1393121390, 1393121381, 1393121348, 1393121306, 1393121273, 1393120703, 1393120642] Looping around the photos to save general results len do output : 1 /28317467Didn'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, '4018072') ('3318', '28317467', '1393121802', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121799', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121764', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121730', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121392', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121390', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121381', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121348', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121306', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393121273', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120703', None, None, None, None, None, '4018072') ('3318', None, None, None, None, None, None, None, '4018072') ('3318', '28317467', '1393120642', None, None, None, None, None, '4018072') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016733169555664062 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.690483093261719 time spend to save output : 0.016988277435302734 total time spend for step 10 : 4.7074713706970215 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 45.40user 22.49system 1:30.59elapsed 74%CPU (0avgtext+0avgdata 2717692maxresident)k 492952inputs+28448outputs (1001major+1820209minor)pagefaults 0swaps