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 : 4152381 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 : ['2853004'] with mtr_portfolio_ids : ['22976916'] and first list_photo_ids : [] new path : /proc/4152381/ 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 , BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.1422817707061768 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed May 14 19:40:29 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 : 9621 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-14 19:40:33.739670: 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-05-14 19:40:33.771151: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-14 19:40:33.773657: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f311c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-14 19:40:33.773689: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-14 19:40:33.783440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-14 19:40:33.940814: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xcbe5ea0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-14 19:40:33.940875: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-14 19:40:33.942361: 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-05-14 19:40:33.942760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 19:40:33.945082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 19:40:33.964779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-14 19:40:33.965427: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-14 19:40:33.997896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-14 19:40:34.003448: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-14 19:40:34.060783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 19:40:34.063245: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-14 19:40:34.063954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 19:40:34.065214: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-14 19:40:34.065240: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-14 19:40:34.065255: I tensorflow/core/common_runtimeUsing 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-05-14 19:40:47.931589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 19:40:48.196359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 19:40:50.321163: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 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 : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.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: 3840.00000 nb d'objets trouves : 37 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 54 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 36 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 32 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 36 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.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: 3840.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 20 Detection mask done ! Trying to reset tf kernel 4154192 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3326 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory lInside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 90 chid ids of type : 3594 Number RLEs to save : 27003 save missing photos in datou_result : time spend for datou_step_exec : 72.10036897659302 time spend to save output : 1.7368628978729248 total time spend for step 1 : 73.83723187446594 step2:crop_condition Wed May 14 19:41:43 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 : 7 ! batch 1 Loaded 90 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 48 About to insert : list_path_to_insert length 48 new photo from crops ! About to upload 48 photos upload in portfolio : 3736932 init cache_photo without model_param we have 48 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244515_4152381 we have uploaded 48 photos in the portfolio 3736932 time of upload the photos Elapsed time : 11.405290365219116 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 ! 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 : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244531_4152381 we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.455259323120117 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244536_4152381 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.985480785369873 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244547_4152381 we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.946728229522705 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244554_4152381 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9663009643554688 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 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 : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747244557_4152381 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.53560471534729 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] Looping around the photos to save general results len do output : 90 /1358302187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358302440Didn'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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 277 time used for this insertion : 0.024426937103271484 save_final save missing photos in datou_result : time spend for datou_step_exec : 55.20616698265076 time spend to save output : 0.028017520904541016 total time spend for step 2 : 55.2341845035553 step3:rle_unique_nms_with_priority Wed May 14 19:42:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 90 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 14 nb_hashtags : 3 time to prepare the origin masks : 6.9157280921936035 time for calcul the mask position with numpy : 0.8215775489807129 nb_pixel_total : 7663842 time to create 1 rle with new method : 1.138573408126831 time for calcul the mask position with numpy : 0.04509305953979492 nb_pixel_total : 51188 time to create 1 rle with old method : 0.0629734992980957 time for calcul the mask position with numpy : 0.04466128349304199 nb_pixel_total : 21815 time to create 1 rle with old method : 0.02568817138671875 time for calcul the mask position with numpy : 0.03723502159118652 nb_pixel_total : 119898 time to create 1 rle with old method : 0.1452958583831787 time for calcul the mask position with numpy : 0.026653051376342773 nb_pixel_total : 120756 time to create 1 rle with old method : 0.146559476852417 time for calcul the mask position with numpy : 0.027153730392456055 nb_pixel_total : 1730 time to create 1 rle with old method : 0.0022733211517333984 time for calcul the mask position with numpy : 0.026555538177490234 nb_pixel_total : 19693 time to create 1 rle with old method : 0.023627519607543945 time for calcul the mask position with numpy : 0.028847455978393555 nb_pixel_total : 19667 time to create 1 rle with old method : 0.027410030364990234 time for calcul the mask position with numpy : 0.03209567070007324 nb_pixel_total : 27754 time to create 1 rle with old method : 0.03281116485595703 time for calcul the mask position with numpy : 0.03017401695251465 nb_pixel_total : 10869 time to create 1 rle with old method : 0.014664888381958008 time for calcul the mask position with numpy : 0.030349254608154297 nb_pixel_total : 65746 time to create 1 rle with old method : 0.07768607139587402 time for calcul the mask position with numpy : 0.03380942344665527 nb_pixel_total : 12461 time to create 1 rle with old method : 0.015050649642944336 time for calcul the mask position with numpy : 0.029639005661010742 nb_pixel_total : 11120 time to create 1 rle with old method : 0.013478755950927734 time for calcul the mask position with numpy : 0.027160167694091797 nb_pixel_total : 94684 time to create 1 rle with old method : 0.11151599884033203 time for calcul the mask position with numpy : 0.026398658752441406 nb_pixel_total : 53177 time to create 1 rle with old method : 0.06174731254577637 create new chi : 3.2146682739257812 time to delete rle : 0.01998615264892578 batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++++++++Number RLEs to save : 10443 TO DO : save crop sub photo not yet done ! save time : 0.683448314666748 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 8.03957748413086 time for calcul the mask position with numpy : 1.038553237915039 nb_pixel_total : 7590600 time to create 1 rle with new method : 0.911365270614624 time for calcul the mask position with numpy : 0.03094315528869629 nb_pixel_total : 11544 time to create 1 rle with old method : 0.013689756393432617 time for calcul the mask position with numpy : 0.041495561599731445 nb_pixel_total : 104717 time to create 1 rle with old method : 0.12950754165649414 time for calcul the mask position with numpy : 0.04305720329284668 nb_pixel_total : 12105 time to create 1 rle with old method : 0.018077611923217773 time for calcul the mask position with numpy : 0.047539472579956055 nb_pixel_total : 35154 time to create 1 rle with old method : 0.05148005485534668 time for calcul the mask position with numpy : 0.04294705390930176 nb_pixel_total : 205571 time to create 1 rle with new method : 1.1826653480529785 time for calcul the mask position with numpy : 0.04572558403015137 nb_pixel_total : 17595 time to create 1 rle with old method : 0.029870271682739258 time for calcul the mask position with numpy : 0.051288604736328125 nb_pixel_total : 62575 time to create 1 rle with old method : 0.0786128044128418 time for calcul the mask position with numpy : 0.039530038833618164 nb_pixel_total : 14569 time to create 1 rle with old method : 0.020087242126464844 time for calcul the mask position with numpy : 0.03382277488708496 nb_pixel_total : 64911 time to create 1 rle with old method : 0.07590436935424805 time for calcul the mask position with numpy : 0.024737834930419922 nb_pixel_total : 26133 time to create 1 rle with old method : 0.030408143997192383 time for calcul the mask position with numpy : 0.02689075469970703 nb_pixel_total : 17488 time to create 1 rle with old method : 0.02056264877319336 time for calcul the mask position with numpy : 0.02527022361755371 nb_pixel_total : 20962 time to create 1 rle with old method : 0.02447962760925293 time for calcul the mask position with numpy : 0.02758336067199707 nb_pixel_total : 42251 time to create 1 rle with old method : 0.049218177795410156 time for calcul the mask position with numpy : 0.032395362854003906 nb_pixel_total : 68225 time to create 1 rle with old method : 0.07917380332946777 create new chi : 4.344929218292236 time to delete rle : 0.0022373199462890625 batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 9256 TO DO : save crop sub photo not yet done ! save time : 0.6693809032440186 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 11.515630960464478 time for calcul the mask position with numpy : 1.1137893199920654 nb_pixel_total : 7604997 time to create 1 rle with new method : 0.6124696731567383 time for calcul the mask position with numpy : 0.04027676582336426 nb_pixel_total : 10991 time to create 1 rle with old method : 0.012256622314453125 time for calcul the mask position with numpy : 0.04210209846496582 nb_pixel_total : 61022 time to create 1 rle with old method : 0.06889605522155762 time for calcul the mask position with numpy : 0.0401759147644043 nb_pixel_total : 34356 time to create 1 rle with old method : 0.03895902633666992 time for calcul the mask position with numpy : 0.04095196723937988 nb_pixel_total : 88638 time to create 1 rle with old method : 0.10025930404663086 time for calcul the mask position with numpy : 0.03976178169250488 nb_pixel_total : 21843 time to create 1 rle with old method : 0.027681589126586914 time for calcul the mask position with numpy : 0.040952444076538086 nb_pixel_total : 29616 time to create 1 rle with old method : 0.0338587760925293 time for calcul the mask position with numpy : 0.040628671646118164 nb_pixel_total : 28379 time to create 1 rle with old method : 0.03222918510437012 time for calcul the mask position with numpy : 0.03866147994995117 nb_pixel_total : 89595 time to create 1 rle with old method : 0.10165119171142578 time for calcul the mask position with numpy : 0.04009819030761719 nb_pixel_total : 51465 time to create 1 rle with old method : 0.05953645706176758 time for calcul the mask position with numpy : 0.04015207290649414 nb_pixel_total : 29205 time to create 1 rle with old method : 0.03429818153381348 time for calcul the mask position with numpy : 0.04371166229248047 nb_pixel_total : 55016 time to create 1 rle with old method : 0.08571863174438477 time for calcul the mask position with numpy : 0.04340052604675293 nb_pixel_total : 86248 time to create 1 rle with old method : 0.09779238700866699 time for calcul the mask position with numpy : 0.040856361389160156 nb_pixel_total : 27031 time to create 1 rle with old method : 0.03179311752319336 time for calcul the mask position with numpy : 0.0409398078918457 nb_pixel_total : 29660 time to create 1 rle with old method : 0.035588979721069336 time for calcul the mask position with numpy : 0.04498124122619629 nb_pixel_total : 20146 time to create 1 rle with old method : 0.023497581481933594 time for calcul the mask position with numpy : 0.040344953536987305 nb_pixel_total : 26192 time to create 1 rle with old method : 0.029802560806274414 create new chi : 3.2495179176330566 time to delete rle : 0.001516580581665039 batch 1 Loaded 33 chid ids of type : 3594 +++++++++++++++++++++Number RLEs to save : 11162 TO DO : save crop sub photo not yet done ! save time : 0.729116678237915 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 10.66473650932312 time for calcul the mask position with numpy : 0.9909989833831787 nb_pixel_total : 7558762 time to create 1 rle with new method : 1.0020575523376465 time for calcul the mask position with numpy : 0.024209260940551758 nb_pixel_total : 72250 time to create 1 rle with old method : 0.08330106735229492 time for calcul the mask position with numpy : 0.02667069435119629 nb_pixel_total : 174385 time to create 1 rle with new method : 0.8137128353118896 time for calcul the mask position with numpy : 0.028580665588378906 nb_pixel_total : 4857 time to create 1 rle with old method : 0.005645751953125 time for calcul the mask position with numpy : 0.025427818298339844 nb_pixel_total : 13939 time to create 1 rle with old method : 0.016390323638916016 time for calcul the mask position with numpy : 0.029698848724365234 nb_pixel_total : 22782 time to create 1 rle with old method : 0.026107311248779297 time for calcul the mask position with numpy : 0.033582210540771484 nb_pixel_total : 49410 time to create 1 rle with old method : 0.07328581809997559 time for calcul the mask position with numpy : 0.044159889221191406 nb_pixel_total : 84088 time to create 1 rle with old method : 0.09655070304870605 time for calcul the mask position with numpy : 0.044928789138793945 nb_pixel_total : 53116 time to create 1 rle with old method : 0.060794830322265625 time for calcul the mask position with numpy : 0.04025435447692871 nb_pixel_total : 17779 time to create 1 rle with old method : 0.020365476608276367 time for calcul the mask position with numpy : 0.03471875190734863 nb_pixel_total : 116492 time to create 1 rle with old method : 0.13672590255737305 time for calcul the mask position with numpy : 0.026295900344848633 nb_pixel_total : 23808 time to create 1 rle with old method : 0.027541160583496094 time for calcul the mask position with numpy : 0.02593231201171875 nb_pixel_total : 14398 time to create 1 rle with old method : 0.023714780807495117 time for calcul the mask position with numpy : 0.0295407772064209 nb_pixel_total : 10360 time to create 1 rle with old method : 0.01694178581237793 time for calcul the mask position with numpy : 0.034073829650878906 nb_pixel_total : 41765 time to create 1 rle with old method : 0.05480337142944336 time for calcul the mask position with numpy : 0.028656721115112305 nb_pixel_total : 36209 time to create 1 rle with old method : 0.0415806770324707 create new chi : 4.041069269180298 time to delete rle : 0.0015101432800292969 batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 10998 TO DO : save crop sub photo not yet done ! save time : 0.7005829811096191 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 6.694943428039551 time for calcul the mask position with numpy : 1.3750181198120117 nb_pixel_total : 7714643 time to create 1 rle with new method : 0.9767248630523682 time for calcul the mask position with numpy : 0.030124902725219727 nb_pixel_total : 31632 time to create 1 rle with old method : 0.05245494842529297 time for calcul the mask position with numpy : 0.027238845825195312 nb_pixel_total : 50081 time to create 1 rle with old method : 0.0625603199005127 time for calcul the mask position with numpy : 0.02635502815246582 nb_pixel_total : 49525 time to create 1 rle with old method : 0.058071136474609375 time for calcul the mask position with numpy : 0.02641582489013672 nb_pixel_total : 32546 time to create 1 rle with old method : 0.037811994552612305 time for calcul the mask position with numpy : 0.025959491729736328 nb_pixel_total : 19683 time to create 1 rle with old method : 0.0231473445892334 time for calcul the mask position with numpy : 0.027720928192138672 nb_pixel_total : 19000 time to create 1 rle with old method : 0.022366046905517578 time for calcul the mask position with numpy : 0.026528358459472656 nb_pixel_total : 55810 time to create 1 rle with old method : 0.06876659393310547 time for calcul the mask position with numpy : 0.031185626983642578 nb_pixel_total : 259020 time to create 1 rle with new method : 0.8028092384338379 time for calcul the mask position with numpy : 0.027408838272094727 nb_pixel_total : 36814 time to create 1 rle with old method : 0.04303717613220215 time for calcul the mask position with numpy : 0.027276039123535156 nb_pixel_total : 25646 time to create 1 rle with old method : 0.03151679039001465 create new chi : 3.9132163524627686 time to delete rle : 0.001329183578491211 batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 7838 TO DO : save crop sub photo not yet done ! save time : 0.617088794708252 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 11.772572040557861 time for calcul the mask position with numpy : 0.8513703346252441 nb_pixel_total : 7278561 time to create 1 rle with new method : 1.0217313766479492 time for calcul the mask position with numpy : 0.04313778877258301 nb_pixel_total : 36153 time to create 1 rle with old method : 0.04233956336975098 time for calcul the mask position with numpy : 0.0441591739654541 nb_pixel_total : 41613 time to create 1 rle with old method : 0.05288243293762207 time for calcul the mask position with numpy : 0.0626981258392334 nb_pixel_total : 28147 time to create 1 rle with old method : 0.047544002532958984 time for calcul the mask position with numpy : 0.05078315734863281 nb_pixel_total : 263685 time to create 1 rle with new method : 0.9258615970611572 time for calcul the mask position with numpy : 0.041358232498168945 nb_pixel_total : 22385 time to create 1 rle with old method : 0.02640557289123535 time for calcul the mask position with numpy : 0.04123115539550781 nb_pixel_total : 19962 time to create 1 rle with old method : 0.02412581443786621 time for calcul the mask position with numpy : 0.04426717758178711 nb_pixel_total : 96436 time to create 1 rle with old method : 0.1161799430847168 time for calcul the mask position with numpy : 0.042023420333862305 nb_pixel_total : 132873 time to create 1 rle with old method : 0.1557328701019287 time for calcul the mask position with numpy : 0.0449674129486084 nb_pixel_total : 56644 time to create 1 rle with old method : 0.06597280502319336 time for calcul the mask position with numpy : 0.04280495643615723 nb_pixel_total : 33931 time to create 1 rle with old method : 0.04674410820007324 time for calcul the mask position with numpy : 0.04566144943237305 nb_pixel_total : 6461 time to create 1 rle with old method : 0.008093118667602539 time for calcul the mask position with numpy : 0.04127025604248047 nb_pixel_total : 35689 time to create 1 rle with old method : 0.04127097129821777 time for calcul the mask position with numpy : 0.04223370552062988 nb_pixel_total : 22590 time to create 1 rle with old method : 0.027058839797973633 time for calcul the mask position with numpy : 0.04408431053161621 nb_pixel_total : 46277 time to create 1 rle with old method : 0.08958935737609863 time for calcul the mask position with numpy : 0.059438228607177734 nb_pixel_total : 33043 time to create 1 rle with old method : 0.05829477310180664 time for calcul the mask position with numpy : 0.05077481269836426 nb_pixel_total : 139950 time to create 1 rle with old method : 0.17442941665649414 create new chi : 4.631511211395264 time to delete rle : 0.0030295848846435547 batch 1 Loaded 33 chid ids of type : 3594 +++++++++++++++++++++Number RLEs to save : 12990 TO DO : save crop sub photo not yet done ! save time : 0.9207220077514648 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 6.309708595275879 time for calcul the mask position with numpy : 1.07706880569458 nb_pixel_total : 8100341 time to create 1 rle with new method : 1.6445252895355225 time for calcul the mask position with numpy : 0.04402494430541992 nb_pixel_total : 9512 time to create 1 rle with old method : 0.01146554946899414 time for calcul the mask position with numpy : 0.04743170738220215 nb_pixel_total : 85947 time to create 1 rle with old method : 0.10657143592834473 time for calcul the mask position with numpy : 0.02991342544555664 nb_pixel_total : 19450 time to create 1 rle with old method : 0.03284931182861328 time for calcul the mask position with numpy : 0.02999734878540039 nb_pixel_total : 12684 time to create 1 rle with old method : 0.018767118453979492 time for calcul the mask position with numpy : 0.029584884643554688 nb_pixel_total : 66466 time to create 1 rle with old method : 0.07757782936096191 create new chi : 3.207213878631592 time to delete rle : 0.0009369850158691406 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4676 TO DO : save crop sub photo not yet done ! save time : 0.40708303451538086 map_output_result : {1358290369: (0.0, 'Should be the crop_list due to order', 0), 1358290327: (0.0, 'Should be the crop_list due to order', 0), 1358290320: (0.0, 'Should be the crop_list due to order', 0), 1358290282: (0.0, 'Should be the crop_list due to order', 0), 1358289603: (0.0, 'Should be the crop_list due to order', 0), 1358289553: (0.0, 'Should be the crop_list due to order', 0), 1358289502: (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 [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] Looping around the photos to save general results len do output : 7 /1358290369.Didn't retrieve data . /1358290327.Didn't retrieve data . /1358290320.Didn't retrieve data . /1358290282.Didn't retrieve data . /1358289603.Didn't retrieve data . /1358289553.Didn't retrieve data . /1358289502.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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.017433643341064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 94.45724177360535 time spend to save output : 0.052167415618896484 total time spend for step 3 : 94.50940918922424 step4:ventilate_hashtags_in_portfolio Wed May 14 19:44:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 22976916 get user id for portfolio 22976916 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`=22976916 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','pehd','pet_fonce','background','autre','papier','flou','carton','mal_croppe','metal')) 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`=22976916 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','pehd','pet_fonce','background','autre','papier','flou','carton','mal_croppe','metal')) 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`=22976916 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','pehd','pet_fonce','background','autre','papier','flou','carton','mal_croppe','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/22977381,22977382,22977383,22977384,22977385,22977386,22977387,22977388,22977389,22977390,22977391?tags=environnement,pet_clair,pehd,pet_fonce,background,autre,papier,flou,carton,mal_croppe,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] Looping around the photos to save general results len do output : 1 /22976916. 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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01322174072265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6677181720733643 time spend to save output : 0.013408184051513672 total time spend for step 4 : 1.681126356124878 step5:final Wed May 14 19:44:15 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 : {1358290369: ('0.07834983327821868',), 1358290327: ('0.07834983327821868',), 1358290320: ('0.07834983327821868',), 1358290282: ('0.07834983327821868',), 1358289603: ('0.07834983327821868',), 1358289553: ('0.07834983327821868',), 1358289502: ('0.07834983327821868',)} new output for save of step final : {1358290369: ('0.07834983327821868',), 1358290327: ('0.07834983327821868',), 1358290320: ('0.07834983327821868',), 1358290282: ('0.07834983327821868',), 1358289603: ('0.07834983327821868',), 1358289553: ('0.07834983327821868',), 1358289502: ('0.07834983327821868',)} [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] Looping around the photos to save general results len do output : 7 /1358290369.Didn't retrieve data . /1358290327.Didn't retrieve data . /1358290320.Didn't retrieve data . /1358290282.Didn't retrieve data . /1358289603.Didn't retrieve data . /1358289553.Didn't retrieve data . /1358289502.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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.016788005828857422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13210606575012207 time spend to save output : 0.017215490341186523 total time spend for step 5 : 0.1493215560913086 step6:blur_detection Wed May 14 19:44:15 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/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b.jpg resize: (2160, 3840) 1358290369 -5.9917955248769434 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50.jpg resize: (2160, 3840) 1358290327 -6.387186049456683 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd.jpg resize: (2160, 3840) 1358290320 -6.583387361449876 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83.jpg resize: (2160, 3840) 1358290282 -6.334304143158721 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0.jpg resize: (2160, 3840) 1358289603 -5.830780404602326 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9.jpg resize: (2160, 3840) 1358289553 -5.582181030546709 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3.jpg resize: (2160, 3840) 1358289502 -3.5262955179393645 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740612_0.png resize: (534, 191) 1358302187 -2.851122990470723 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740617_0.png resize: (111, 172) 1358302189 -0.9253343358601381 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740613_0.png resize: (200, 202) 1358302190 0.5916253062510222 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740621_0.png resize: (568, 202) 1358302191 -1.312013296020235 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740614_0.png resize: (208, 170) 1358302193 -1.3981548907512886 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740610_0.png resize: (145, 128) 1358302194 -0.5208871353997018 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740616_0.png resize: (168, 190) 1358302195 -3.55448364926683 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740611_0.png resize: (163, 133) 1358302197 -2.7026206335845786 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740615_0.png resize: (274, 98) 1358302198 -2.6706767137332195 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740633_0.png resize: (127, 119) 1358302199 -2.3905989549443656 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740623_0.png resize: (307, 254) 1358302201 -2.9684960975921264 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740628_0.png resize: (196, 120) 1358302202 -3.468377860195208 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740626_0.png resize: (203, 235) 1358302203 -3.505109819311534 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740625_0.png resize: (191, 147) 1358302205 -2.195271360067029 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740624_0.png resize: (183, 173) 1358302206 1.2138310695793542 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740649_0.png resize: (232, 181) 1358302207 -3.757078509638143 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740641_0.png resize: (285, 238) 1358302208 7.279750245542025 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740640_0.png resize: (269, 482) 1358302210 -3.3218204197532533 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740650_0.png resize: (261, 347) 1358302211 -3.9139234963452845 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740638_0.png resize: (276, 177) 1358302212 -2.196315554055211 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740636_0.png resize: (188, 203) 1358302214 -1.5605096217230803 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740646_0.png resize: (208, 355) 1358302215 -3.5869628572057186 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740642_0.png resize: (364, 185) 1358302216 -3.802384612061113 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740652_0.png resize: (350, 134) 1358302218 -2.2674513715569966 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740662_0.png resize: (227, 207) 1358302219 -2.8215995575969903 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740657_0.png resize: (309, 511) 1358302220 -3.039433215850143 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740664_0.png resize: (73, 84) 1358302222 -1.255264445964282 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740653_0.png resize: (439, 168) 1358302223 -3.5371068058317725 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740658_0.png resize: (179, 160) 1358302224 -3.358337511406266 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740655_0.png resize: (135, 127) 1358302226 -1.592781247868674 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740660_0.png resize: (455, 357) 1358302227 -2.633198198876159 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740661_0.png resize: (378, 173) 1358302228 -4.145856618644458 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740665_0.png resize: (535, 512) 1358302230 -4.470674111012861 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740654_0.png resize: (118, 134) 1358302231 -4.059373559636596 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740667_0.png resize: (174, 197) 1358302232 -3.7640561233910206 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740676_0.png resize: (238, 212) 1358302234 -3.9192708282898847 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740671_0.png resize: (149, 209) 1358302235 -2.8152994214707423 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740668_0.png resize: (322, 287) 1358302236 -3.7204634038494553 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740677_0.png resize: (508, 494) 1358302238 -3.760079753940424 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740685_0.png resize: (443, 445) 1358302239 -4.588407824720438 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740686_0.png resize: (306, 423) 1358302240 -4.373826857142828 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740688_0.png resize: (177, 171) 1358302241 -4.407815596897741 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740684_0.png resize: (529, 269) 1358302243 -4.451249613301377 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740681_0.png resize: (209, 229) 1358302245 -4.884269527643984 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740692_0.png resize: (328, 163) 1358302246 -4.684349328455921 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740680_0.png resize: (226, 145) 1358302248 -2.665697067981067 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740696_0.png resize: (551, 220) 1358302249 -2.6860509567177444 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740695_0.png resize: (212, 164) 1358302250 -3.8230571896197545 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740620_0.png resize: (258, 135) 1358302297 -4.147770117026897 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740629_0.png resize: (243, 330) 1358302298 -2.537363195387426 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740622_0.png resize: (319, 298) 1358302300 -4.1819316172827365 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740627_0.png resize: (351, 414) 1358302301 -4.067908156568395 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740643_0.png resize: (385, 260) 1358302302 -4.460759517467862 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740637_0.png resize: (206, 156) 1358302304 -3.4005065051662746 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740648_0.png resize: (320, 351) 1358302305 -3.8970945184996064 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740639_0.png resize: (209, 154) 1358302306 -2.1239449795906733 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740645_0.png resize: (241, 162) 1358302308 -3.744574133257118 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740673_0.png resize: (167, 237) 1358302309 -3.6456329932688956 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740672_0.png resize: (184, 163) 1358302310 -2.0392425597909414 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740683_0.png resize: (201, 239) 1358302312 -4.449333085901594 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740694_0.png resize: (63, 296) 1358302313 -4.694561293439597 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740697_0.png resize: (82, 145) 1358302314 -3.7325649090380932 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740647_0.png resize: (196, 155) 1358302338 -3.5343079435462985 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740663_0.png resize: (161, 111) 1358302339 -4.096901126484474 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740678_0.png resize: (257, 178) 1358302340 -4.314765572363812 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740619_0.png resize: (374, 475) 1358302379 -4.816772935807583 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740608_0.png resize: (147, 565) 1358302380 -4.2463564929761715 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740609_0.png resize: (325, 401) 1358302381 -3.4586638577549613 treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740618_0.png resize: (552, 257) 1358302382 -4.094522308412298 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740631_0.png resize: (454, 701) 1358302383 -2.477844823295165 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740630_0.png resize: (130, 166) 1358302384 -3.874543097837512 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740634_0.png resize: (431, 313) 1358302385 -4.881085840845772 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740644_0.png resize: (443, 303) 1358302386 -5.302071569601863 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740656_0.png resize: (151, 222) 1358302387 -4.336952758413535 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740669_0.png resize: (531, 795) 1358302388 -2.8658853166226677 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740675_0.png resize: (425, 279) 1358302389 -3.009757146721406 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740670_0.png resize: (234, 282) 1358302390 -3.7776325926231613 treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740674_0.png resize: (304, 284) 1358302391 -3.7723242009551274 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740689_0.png resize: (754, 662) 1358302392 -3.018810716017962 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740682_0.png resize: (552, 651) 1358302393 -3.8872715656227586 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740679_0.png resize: (267, 278) 1358302394 -4.945723351457743 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740691_0.png resize: (326, 255) 1358302395 -4.361080468085578 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740687_0.png resize: (161, 152) 1358302396 -4.225265967776287 treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740690_0.png resize: (261, 134) 1358302397 -3.1149948581502827 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740635_0.png resize: (116, 126) 1358302410 -3.7418978072250995 treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740651_0.png resize: (142, 86) 1358302411 -2.982851660849822 treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740693_0.png resize: (254, 351) 1358302413 -3.339063788594944 treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740632_0.png resize: (226, 262) 1358302437 -4.9041742362465195 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740659_0.png resize: (293, 257) 1358302439 -3.8334709536879363 treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740666_0.png resize: (288, 285) 1358302440 -4.848842994028995 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 : 97 time used for this insertion : 0.01571798324584961 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 97 time used for this insertion : 0.015219926834106445 save missing photos in datou_result : time spend for datou_step_exec : 34.335423707962036 time spend to save output : 0.03848457336425781 total time spend for step 6 : 34.373908281326294 step7:brightness Wed May 14 19:44:49 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/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b.jpg treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50.jpg treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd.jpg treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83.jpg treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0.jpg treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9.jpg treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3.jpg treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740612_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740617_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740613_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740621_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740614_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740610_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740616_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740611_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740615_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740633_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740623_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740628_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740626_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740625_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740624_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740649_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740641_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740640_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740650_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740638_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740636_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740646_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740642_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740652_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740662_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740657_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740664_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740653_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740658_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740655_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740660_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740661_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740665_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740654_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740667_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740676_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740671_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740668_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740677_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740685_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740686_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740688_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740684_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740681_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740692_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740680_0.png treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740696_0.png treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740695_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740620_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740629_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740622_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740627_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740643_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740637_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740648_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740639_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740645_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740673_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740672_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740683_0.png treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740694_0.png treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740697_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740647_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740663_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740678_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740619_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740608_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740609_0.png treat image : temp/1747244428_4152381_1358290369_ac0177951af784e6624c3557996b2f1b_rle_crop_3797740618_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740631_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740630_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740634_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740644_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740656_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740669_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740675_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740670_0.png treat image : temp/1747244428_4152381_1358289603_61bdd5f783dee9fab4546a8e6bc641b0_rle_crop_3797740674_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740689_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740682_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740679_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740691_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740687_0.png treat image : temp/1747244428_4152381_1358289553_cc567a2216fbc255aa9f050373e09ea9_rle_crop_3797740690_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740635_0.png treat image : temp/1747244428_4152381_1358290320_f22ec57e6e6b763db1c107ae12f561fd_rle_crop_3797740651_0.png treat image : temp/1747244428_4152381_1358289502_eb448f0dc928205998c130ce537bdef3_rle_crop_3797740693_0.png treat image : temp/1747244428_4152381_1358290327_2224e99abf24247c507f45e7b0478d50_rle_crop_3797740632_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740659_0.png treat image : temp/1747244428_4152381_1358290282_fe8174147dd09cbbb69be2e96423ec83_rle_crop_3797740666_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 : 97 time used for this insertion : 0.014501333236694336 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 97 time used for this insertion : 0.016916513442993164 save missing photos in datou_result : time spend for datou_step_exec : 8.5357506275177 time spend to save output : 0.037253379821777344 total time spend for step 7 : 8.573004007339478 step8:velours_tree Wed May 14 19:44:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.2890768051147461 time spend to save output : 4.363059997558594e-05 total time spend for step 8 : 0.2891204357147217 step9:send_mail_cod Wed May 14 19:44:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P22976916_14-05-2025_19_44_58.pdf 22977382 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette229773821747244698 22977383 imagette229773831747244699 22977384 change filename to text .change filename to text .change filename to text .imagette229773841747244699 22977385 imagette229773851747244700 22977386 change filename to text .change filename to text .change filename to text .imagette229773861747244700 22977387 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette229773871747244700 22977388 imagette229773881747244701 22977389 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 .imagette229773891747244701 22977390 imagette229773901747244702 22977391 change filename to text .change filename to text .change filename to text .imagette229773911747244702 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22976916 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22977381,22977382,22977383,22977384,22977385,22977386,22977387,22977388,22977389,22977390,22977391?tags=environnement,pet_clair,pehd,pet_fonce,background,autre,papier,flou,carton,mal_croppe,metal args[1358290369] : ((1358290369, -5.9917955248769434, 492609224), (1358290369, 0.4415348029330443, 2107752395), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358290327] : ((1358290327, -6.387186049456683, 492609224), (1358290327, 0.4323019451255852, 2107752395), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358290320] : ((1358290320, -6.583387361449876, 492609224), (1358290320, 0.5389618182165795, 2107752395), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358290282] : ((1358290282, -6.334304143158721, 492609224), (1358290282, 0.45744125038850403, 2107752395), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358289603] : ((1358289603, -5.830780404602326, 492609224), (1358289603, 0.11217543316030872, 2107752395), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358289553] : ((1358289553, -5.582181030546709, 492609224), (1358289553, -0.24814521059148226, 496442774), '0.07834983327821868') We are sending mail with results at report@fotonower.com args[1358289502] : ((1358289502, -3.5262955179393645, 492609224), (1358289502, -0.9366307159205703, 501862349), '0.07834983327821868') We are sending mail with results at report@fotonower.com refus_total : 0.07834983327821868 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22976916 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_P22976916_14-05-2025_19_44_58.pdf results_Auto_P22976916_14-05-2025_19_44_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976916_14-05-2025_19_44_58.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','22976916','results_Auto_P22976916_14-05-2025_19_44_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976916_14-05-2025_19_44_58.pdf','pdf','','0.74','0.07834983327821868') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/22976916

https://www.fotonower.com/image?json=false&list_photos_id=1358290369
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358290327
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358290320
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358290282
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358289603
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358289553
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358289502
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/22977382?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/22977384?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/22977386?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/22977387?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/22977389?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/22977391?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976916_14-05-2025_19_44_58.pdf.

Lien vers velours :https://www.fotonower.com/velours/22977381,22977382,22977383,22977384,22977385,22977386,22977387,22977388,22977389,22977390,22977391?tags=environnement,pet_clair,pehd,pet_fonce,background,autre,papier,flou,carton,mal_croppe,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 14 May 2025 17:45:05 GMT Content-Length: 0 Connection: close X-Message-Id: Y0_N-XVeSvKOkjDku4tHLg 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 [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] 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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.013720035552978516 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.258620977401733 time spend to save output : 0.014085054397583008 total time spend for step 9 : 7.272706031799316 step10:split_time_score Wed May 14 19:45:05 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'}] (('18', 7),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14052025 22976916 Nombre de photos uploadées : 7 / 23040 (0%) 14052025 22976916 Nombre de photos taguées (types de déchets): 0 / 7 (0%) 14052025 22976916 Nombre de photos taguées (volume) : 0 / 7 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ??????? elapsed_time : fill_and_build_computed_from_old_data 0.0004134178161621094 elapsed_time : insert_dashboard_record_day_entry 0.026900529861450195 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.15093270158179015 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948162_14-05-2025_07_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948162 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`=22948162 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948165 order by id desc limit 1 Qualite : 0.09967562451774692 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949538_14-05-2025_08_24_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949538 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`=22949538 AND mptpi.`type`=3594 To do Qualite : 0.19506076388888893 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953035_14-05-2025_10_24_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22953035 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`=22953035 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22955733 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22958945 order by id desc limit 1 Qualite : 0.16447810169110086 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22960477_14-05-2025_13_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22960477 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`=22960477 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22967472 order by id desc limit 1 Qualite : 0.12331786104681071 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967479_14-05-2025_15_57_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22967479 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`=22967479 AND mptpi.`type`=3594 To do Qualite : 0.20919277722663138 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967499_14-05-2025_15_46_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22967499 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`=22967499 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22974921 order by id desc limit 1 Qualite : 0.15173109266493065 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974925_14-05-2025_19_13_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22974925 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`=22974925 AND mptpi.`type`=3594 To do Qualite : 0.1544977334104938 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974926_14-05-2025_18_54_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22974926 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`=22974926 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976914 order by id desc limit 1 Qualite : 0.07834983327821868 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976916_14-05-2025_19_44_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976916 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`=22976916 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14052025': {'nb_upload': 7, '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 [1358290369, 1358290327, 1358290320, 1358290282, 1358289603, 1358289553, 1358289502] Looping around the photos to save general results len do output : 1 /22976916Didn'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, '2853004') ('3318', '22976916', '1358290369', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290327', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290320', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358290282', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289603', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289553', None, None, None, None, None, '2853004') ('3318', None, None, None, None, None, None, None, '2853004') ('3318', '22976916', '1358289502', None, None, None, None, None, '2853004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01354217529296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.506948471069336 time spend to save output : 0.013809442520141602 total time spend for step 10 : 6.5207579135894775 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 113.21user 126.69system 4:47.87elapsed 83%CPU (0avgtext+0avgdata 5248800maxresident)k 2308320inputs+102024outputs (18115major+11850941minor)pagefaults 0swaps