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 : 1429105 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 : ['4059418'] with mtr_portfolio_ids : ['28616512'] and first list_photo_ids : [] new path : /proc/1429105/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 1.071624994277954 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Nov 17 17:50: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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-17 17:50:31.909700: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-17 17:50:31.918218: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-17 17:50:31.920052: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f99cc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-17 17:50:31.920112: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-17 17:50:31.923914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-17 17:50:32.154422: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x38444580 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-17 17:50:32.154469: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-17 17:50:32.155881: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-17 17:50:32.156282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-17 17:50:32.159491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-17 17:50:32.165616: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-17 17:50:32.166030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-17 17:50:32.169924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-17 17:50:32.171789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-17 17:50:32.182789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-17 17:50:32.184685: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-17 17:50:32.184786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-17 17:50:32.185790: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-17 17:50:32.185810: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-17 17:50:32.185822: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-17 17:50:32.187655: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-17 17:50:32.438095: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-17 17:50:32.438213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-17 17:50:32.438235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-17 17:50:32.438256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-17 17:50:32.438287: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-17 17:50:32.438310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-17 17:50:32.438329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-17 17:50:32.438349: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-17 17:50:32.440041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-17 17:50:32.441578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-17 17:50:32.441619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-17 17:50:32.441642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-17 17:50:32.441663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-17 17:50:32.441685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-17 17:50:32.441706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-17 17:50:32.441727: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-17 17:50:32.441748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-17 17:50:32.443423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-17 17:50:32.443457: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-17 17:50:32.443466: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-17 17:50:32.443473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-17 17:50:32.444666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-17 17:50:42.098498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-17 17:50:42.272860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 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 : 26 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 7.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 : 13 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 2.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 : 22 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 8.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 : 8 Detection mask done ! Trying to reset tf kernel 1429645 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0004928112030029297 nb_pixel_total : 13817 time to create 1 rle with old method : 0.015444278717041016 length of segment : 158 time for calcul the mask position with numpy : 0.0006852149963378906 nb_pixel_total : 21386 time to create 1 rle with old method : 0.02434396743774414 length of segment : 154 time for calcul the mask position with numpy : 0.012834787368774414 nb_pixel_total : 275695 time to create 1 rle with new method : 0.041065216064453125 length of segment : 633 time for calcul the mask position with numpy : 0.0004096031188964844 nb_pixel_total : 13728 time to create 1 rle with old method : 0.01466226577758789 length of segment : 151 time for calcul the mask position with numpy : 0.004663228988647461 nb_pixel_total : 283363 time to create 1 rle with new method : 0.02075958251953125 length of segment : 608 time for calcul the mask position with numpy : 0.5224835872650146 nb_pixel_total : 613595 time to create 1 rle with new method : 0.07210373878479004 length of segment : 1412 time for calcul the mask position with numpy : 0.0019512176513671875 nb_pixel_total : 92411 time to create 1 rle with old method : 0.09474945068359375 length of segment : 314 time for calcul the mask position with numpy : 0.0013885498046875 nb_pixel_total : 72850 time to create 1 rle with old method : 0.07449221611022949 length of segment : 469 time for calcul the mask position with numpy : 0.0014951229095458984 nb_pixel_total : 40643 time to create 1 rle with old method : 0.04272603988647461 length of segment : 424 time for calcul the mask position with numpy : 0.0009427070617675781 nb_pixel_total : 38605 time to create 1 rle with old method : 0.039525747299194336 length of segment : 325 time for calcul the mask position with numpy : 0.0006504058837890625 nb_pixel_total : 30030 time to create 1 rle with old method : 0.03174328804016113 length of segment : 451 time for calcul the mask position with numpy : 0.0009441375732421875 nb_pixel_total : 56380 time to create 1 rle with old method : 0.060595035552978516 length of segment : 239 time for calcul the mask position with numpy : 0.00045180320739746094 nb_pixel_total : 26445 time to create 1 rle with old method : 0.027832508087158203 length of segment : 177 time for calcul the mask position with numpy : 0.002310037612915039 nb_pixel_total : 111154 time to create 1 rle with old method : 0.1125333309173584 length of segment : 580 time for calcul the mask position with numpy : 0.0019099712371826172 nb_pixel_total : 136854 time to create 1 rle with old method : 0.14401769638061523 length of segment : 500 time for calcul the mask position with numpy : 0.0014903545379638672 nb_pixel_total : 114608 time to create 1 rle with old method : 0.1176154613494873 length of segment : 324 time for calcul the mask position with numpy : 0.0006051063537597656 nb_pixel_total : 29150 time to create 1 rle with old method : 0.030242204666137695 length of segment : 242 time for calcul the mask position with numpy : 0.0022420883178710938 nb_pixel_total : 149409 time to create 1 rle with old method : 0.15168476104736328 length of segment : 533 time for calcul the mask position with numpy : 0.0002658367156982422 nb_pixel_total : 15312 time to create 1 rle with old method : 0.01629638671875 length of segment : 73 time for calcul the mask position with numpy : 0.0031900405883789062 nb_pixel_total : 143755 time to create 1 rle with old method : 0.1479792594909668 length of segment : 410 time for calcul the mask position with numpy : 0.003760814666748047 nb_pixel_total : 185468 time to create 1 rle with new method : 0.007565498352050781 length of segment : 381 time for calcul the mask position with numpy : 0.0028581619262695312 nb_pixel_total : 108013 time to create 1 rle with old method : 0.11017513275146484 length of segment : 388 time for calcul the mask position with numpy : 0.0016236305236816406 nb_pixel_total : 74104 time to create 1 rle with old method : 0.07582521438598633 length of segment : 371 time for calcul the mask position with numpy : 0.0033822059631347656 nb_pixel_total : 131495 time to create 1 rle with old method : 0.13937163352966309 length of segment : 503 time for calcul the mask position with numpy : 0.0039136409759521484 nb_pixel_total : 175615 time to create 1 rle with new method : 0.00600433349609375 length of segment : 407 time for calcul the mask position with numpy : 0.0011620521545410156 nb_pixel_total : 67914 time to create 1 rle with old method : 0.06991052627563477 length of segment : 489 time for calcul the mask position with numpy : 0.002412080764770508 nb_pixel_total : 84769 time to create 1 rle with old method : 0.08904075622558594 length of segment : 342 time for calcul the mask position with numpy : 0.001338958740234375 nb_pixel_total : 45720 time to create 1 rle with old method : 0.049216508865356445 length of segment : 199 time for calcul the mask position with numpy : 0.0032126903533935547 nb_pixel_total : 108491 time to create 1 rle with old method : 0.11367917060852051 length of segment : 357 time for calcul the mask position with numpy : 0.005557060241699219 nb_pixel_total : 195391 time to create 1 rle with new method : 0.009378433227539062 length of segment : 649 time for calcul the mask position with numpy : 0.00262451171875 nb_pixel_total : 40078 time to create 1 rle with old method : 0.04570412635803223 length of segment : 454 time for calcul the mask position with numpy : 0.0004782676696777344 nb_pixel_total : 13261 time to create 1 rle with old method : 0.014311075210571289 length of segment : 169 time for calcul the mask position with numpy : 0.00040602684020996094 nb_pixel_total : 13274 time to create 1 rle with old method : 0.0147705078125 length of segment : 64 time for calcul the mask position with numpy : 0.0017924308776855469 nb_pixel_total : 44441 time to create 1 rle with old method : 0.04658174514770508 length of segment : 388 time for calcul the mask position with numpy : 0.004848003387451172 nb_pixel_total : 144598 time to create 1 rle with old method : 0.1678483486175537 length of segment : 656 time for calcul the mask position with numpy : 0.0022182464599609375 nb_pixel_total : 70900 time to create 1 rle with old method : 0.07841157913208008 length of segment : 331 time for calcul the mask position with numpy : 0.0015766620635986328 nb_pixel_total : 71533 time to create 1 rle with old method : 0.0759434700012207 length of segment : 295 time for calcul the mask position with numpy : 0.0025548934936523438 nb_pixel_total : 188124 time to create 1 rle with new method : 0.0035445690155029297 length of segment : 540 time for calcul the mask position with numpy : 0.0008637905120849609 nb_pixel_total : 49548 time to create 1 rle with old method : 0.052678823471069336 length of segment : 238 time spent for convertir_results : 5.428004741668701 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 39 chid ids of type : 3594 Number RLEs to save : 15398 save missing photos in datou_result : time spend for datou_step_exec : 38.114938735961914 time spend to save output : 0.9454324245452881 total time spend for step 1 : 39.0603711605072 step2:crop_condition Mon Nov 17 17:51:08 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 : 5 ! batch 1 Loaded 39 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 ! map_result returned by crop_photo_return_map_crop : length : 27 About to insert : list_path_to_insert length 27 new photo from crops ! About to upload 27 photos upload in portfolio : 3736932 init cache_photo without model_param we have 27 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763398280_1429105 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597490_0.png', 0, 235, 325, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597481_0.png', 0, 109, 158, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597489_0.png', 0, 233, 401, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597482_0.png', 0, 198, 154, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597487_0.png', 0, 418, 314, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597486_0.png', 0, 1031, 994, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597488_0.png', 0, 278, 469, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597491_0.png', 0, 103, 438, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597493_0.png', 0, 200, 177, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597498_0.png', 0, 396, 533, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597497_0.png', 0, 258, 242, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597492_0.png', 0, 376, 239, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597494_0.png', 0, 335, 576, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597507_0.png', 0, 522, 331, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597500_0.png', 0, 529, 400, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597503_0.png', 0, 314, 370, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597501_0.png', 0, 660, 381, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597505_0.png', 0, 560, 407, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597504_0.png', 0, 454, 493, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597506_0.png', 0, 200, 489, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597508_0.png', 0, 344, 198, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597513_0.png', 0, 288, 58, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597509_0.png', 0, 459, 357, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597517_0.png', 0, 356, 295, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597512_0.png', 0, 200, 169, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597514_0.png', 0, 264, 381, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398285), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597510_0.png', 0, 480, 649, 0, 1763398285,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 27 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.86557149887085 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763398291_1429105 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597484_0.png', 0, 143, 151, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597483_0.png', 0, 655, 632, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597499_0.png', 0, 259, 70, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597495_0.png', 0, 340, 499, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597502_0.png', 0, 431, 388, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597511_0.png', 0, 332, 272, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398292), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597515_0.png', 0, 448, 513, 0, 1763398292,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8914222717285156 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763398295_1429105 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398295), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597485_0.png', 0, 774, 524, 0, 1763398295,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398295), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597516_0.png', 0, 409, 295, 0, 1763398295,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7015726566314697 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763398298_1429105 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398298), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597496_0.png', 0, 430, 315, 0, 1763398298,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398298), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597518_0.png', 0, 416, 513, 0, 1763398298,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9732151031494141 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763398300_1429105 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763398300), 0.0, 0.0, 14, '', 0, 0, '1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597519_0.png', 0, 246, 238, 0, 1763398300,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6203606128692627 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] Looping around the photos to save general results len do output : 39 /1394903771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394903924Didn'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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 122 time used for this insertion : 0.02205514907836914 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.512763023376465 time spend to save output : 0.0235598087310791 total time spend for step 2 : 32.536322832107544 step3:rle_unique_nms_with_priority Mon Nov 17 17:51:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 3.9950637817382812 time for calcul the mask position with numpy : 0.3716137409210205 nb_pixel_total : 6798277 time to create 1 rle with new method : 0.9652633666992188 time for calcul the mask position with numpy : 0.024919509887695312 nb_pixel_total : 30030 time to create 1 rle with old method : 0.03148794174194336 time for calcul the mask position with numpy : 0.02456951141357422 nb_pixel_total : 38605 time to create 1 rle with old method : 0.04073381423950195 time for calcul the mask position with numpy : 0.024089336395263672 nb_pixel_total : 40643 time to create 1 rle with old method : 0.04322934150695801 time for calcul the mask position with numpy : 0.024921655654907227 nb_pixel_total : 72850 time to create 1 rle with old method : 0.07751631736755371 time for calcul the mask position with numpy : 0.028523683547973633 nb_pixel_total : 92411 time to create 1 rle with old method : 0.10410618782043457 time for calcul the mask position with numpy : 0.03410506248474121 nb_pixel_total : 613595 time to create 1 rle with new method : 0.7188494205474854 time for calcul the mask position with numpy : 0.024997949600219727 nb_pixel_total : 283363 time to create 1 rle with new method : 0.5577735900878906 time for calcul the mask position with numpy : 0.023952245712280273 nb_pixel_total : 13728 time to create 1 rle with old method : 0.014540910720825195 time for calcul the mask position with numpy : 0.02581024169921875 nb_pixel_total : 275695 time to create 1 rle with new method : 0.5814948081970215 time for calcul the mask position with numpy : 0.025326013565063477 nb_pixel_total : 21386 time to create 1 rle with old method : 0.023066282272338867 time for calcul the mask position with numpy : 0.023763656616210938 nb_pixel_total : 13817 time to create 1 rle with old method : 0.014316558837890625 create new chi : 3.938019037246704 time to delete rle : 0.02274012565612793 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 12358 TO DO : save crop sub photo not yet done ! save time : 0.7001643180847168 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 2.6646697521209717 time for calcul the mask position with numpy : 0.5898027420043945 nb_pixel_total : 7655088 time to create 1 rle with new method : 0.8151476383209229 time for calcul the mask position with numpy : 0.022804975509643555 nb_pixel_total : 15312 time to create 1 rle with old method : 0.015926361083984375 time for calcul the mask position with numpy : 0.024146318435668945 nb_pixel_total : 149409 time to create 1 rle with old method : 0.15010905265808105 time for calcul the mask position with numpy : 0.023284435272216797 nb_pixel_total : 29150 time to create 1 rle with old method : 0.030064821243286133 time for calcul the mask position with numpy : 0.024091243743896484 nb_pixel_total : 114608 time to create 1 rle with old method : 0.11938810348510742 time for calcul the mask position with numpy : 0.024450302124023438 nb_pixel_total : 136854 time to create 1 rle with old method : 0.140045166015625 time for calcul the mask position with numpy : 0.02385091781616211 nb_pixel_total : 111154 time to create 1 rle with old method : 0.11304116249084473 time for calcul the mask position with numpy : 0.02393198013305664 nb_pixel_total : 26445 time to create 1 rle with old method : 0.02727055549621582 time for calcul the mask position with numpy : 0.024196863174438477 nb_pixel_total : 56380 time to create 1 rle with old method : 0.05720925331115723 create new chi : 2.2882778644561768 time to delete rle : 0.0009138584136962891 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 7496 TO DO : save crop sub photo not yet done ! save time : 0.4880638122558594 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 2.4196414947509766 time for calcul the mask position with numpy : 0.5564374923706055 nb_pixel_total : 7324585 time to create 1 rle with new method : 0.7711491584777832 time for calcul the mask position with numpy : 0.02272772789001465 nb_pixel_total : 84769 time to create 1 rle with old method : 0.08579015731811523 time for calcul the mask position with numpy : 0.0226900577545166 nb_pixel_total : 66596 time to create 1 rle with old method : 0.06760621070861816 time for calcul the mask position with numpy : 0.023967266082763672 nb_pixel_total : 175615 time to create 1 rle with new method : 0.7352473735809326 time for calcul the mask position with numpy : 0.025013446807861328 nb_pixel_total : 131495 time to create 1 rle with old method : 0.13527417182922363 time for calcul the mask position with numpy : 0.02460193634033203 nb_pixel_total : 74104 time to create 1 rle with old method : 0.07672238349914551 time for calcul the mask position with numpy : 0.023843765258789062 nb_pixel_total : 108013 time to create 1 rle with old method : 0.1111140251159668 time for calcul the mask position with numpy : 0.025089740753173828 nb_pixel_total : 185468 time to create 1 rle with new method : 0.622342586517334 time for calcul the mask position with numpy : 0.025396347045898438 nb_pixel_total : 143755 time to create 1 rle with old method : 0.14995598793029785 create new chi : 3.592937469482422 time to delete rle : 0.001058340072631836 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 8669 TO DO : save crop sub photo not yet done ! save time : 0.5762054920196533 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 3.5540668964385986 time for calcul the mask position with numpy : 0.5871193408966064 nb_pixel_total : 7546713 time to create 1 rle with new method : 0.8693037033081055 time for calcul the mask position with numpy : 0.024353742599487305 nb_pixel_total : 71533 time to create 1 rle with old method : 0.0727391242980957 time for calcul the mask position with numpy : 0.023029088973999023 nb_pixel_total : 70900 time to create 1 rle with old method : 0.07255077362060547 time for calcul the mask position with numpy : 0.023684024810791016 nb_pixel_total : 144598 time to create 1 rle with old method : 0.16319918632507324 time for calcul the mask position with numpy : 0.02506732940673828 nb_pixel_total : 44441 time to create 1 rle with old method : 0.047269582748413086 time for calcul the mask position with numpy : 0.03192138671875 nb_pixel_total : 13274 time to create 1 rle with old method : 0.01377415657043457 time for calcul the mask position with numpy : 0.023561954498291016 nb_pixel_total : 13261 time to create 1 rle with old method : 0.016089200973510742 time for calcul the mask position with numpy : 0.026170969009399414 nb_pixel_total : 40078 time to create 1 rle with old method : 0.042584896087646484 time for calcul the mask position with numpy : 0.0250089168548584 nb_pixel_total : 195391 time to create 1 rle with new method : 0.6742525100708008 time for calcul the mask position with numpy : 0.025412559509277344 nb_pixel_total : 108491 time to create 1 rle with old method : 0.11238741874694824 time for calcul the mask position with numpy : 0.024073123931884766 nb_pixel_total : 45720 time to create 1 rle with old method : 0.04828643798828125 create new chi : 3.0369460582733154 time to delete rle : 0.0010585784912109375 batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++Number RLEs to save : 9284 TO DO : save crop sub photo not yet done ! save time : 0.6247653961181641 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 1.6550049781799316 time for calcul the mask position with numpy : 0.4567842483520508 nb_pixel_total : 8056728 time to create 1 rle with new method : 0.8667778968811035 time for calcul the mask position with numpy : 0.023666858673095703 nb_pixel_total : 49548 time to create 1 rle with old method : 0.05238032341003418 time for calcul the mask position with numpy : 0.024048328399658203 nb_pixel_total : 188124 time to create 1 rle with new method : 0.6698691844940186 create new chi : 2.1571342945098877 time to delete rle : 0.000606536865234375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3716 TO DO : save crop sub photo not yet done ! save time : 0.29172658920288086 map_output_result : {1394894397: (0.0, 'Should be the crop_list due to order', 0), 1394894395: (0.0, 'Should be the crop_list due to order', 0), 1394894393: (0.0, 'Should be the crop_list due to order', 0), 1394894391: (0.0, 'Should be the crop_list due to order', 0), 1394894389: (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 [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] Looping around the photos to save general results len do output : 5 /1394894397.Didn't retrieve data . /1394894395.Didn't retrieve data . /1394894393.Didn't retrieve data . /1394894391.Didn't retrieve data . /1394894389.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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013978004455566406 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.77418899536133 time spend to save output : 0.014291524887084961 total time spend for step 3 : 32.78848052024841 step4:ventilate_hashtags_in_portfolio Mon Nov 17 17:52: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 : 28616512 get user id for portfolio 28616512 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`=28616512 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','background','pet_clair','metal','carton','mal_croppe','papier','pet_fonce','environnement','flou','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28616512 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','background','pet_clair','metal','carton','mal_croppe','papier','pet_fonce','environnement','flou','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28616512 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','background','pet_clair','metal','carton','mal_croppe','papier','pet_fonce','environnement','flou','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28616978,28616979,28616980,28616981,28616982,28616983,28616984,28616985,28616986,28616987,28616988?tags=autre,background,pet_clair,metal,carton,mal_croppe,papier,pet_fonce,environnement,flou,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] Looping around the photos to save general results len do output : 1 /28616512. 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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015955209732055664 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.710834264755249 time spend to save output : 0.01616668701171875 total time spend for step 4 : 1.7270009517669678 step5:final Mon Nov 17 17:52: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 : {1394894397: ('0.09863544077932099',), 1394894395: ('0.09863544077932099',), 1394894393: ('0.09863544077932099',), 1394894391: ('0.09863544077932099',), 1394894389: ('0.09863544077932099',)} new output for save of step final : {1394894397: ('0.09863544077932099',), 1394894395: ('0.09863544077932099',), 1394894393: ('0.09863544077932099',), 1394894391: ('0.09863544077932099',), 1394894389: ('0.09863544077932099',)} [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] Looping around the photos to save general results len do output : 5 /1394894397.Didn't retrieve data . /1394894395.Didn't retrieve data . /1394894393.Didn't retrieve data . /1394894391.Didn't retrieve data . /1394894389.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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01653265953063965 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11992144584655762 time spend to save output : 0.016834497451782227 total time spend for step 5 : 0.13675594329833984 step6:blur_detection Mon Nov 17 17:52: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/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485.jpg resize: (2160, 3840) 1394894397 -6.696270148795805 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04.jpg resize: (2160, 3840) 1394894395 -5.3113934958007984 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9.jpg resize: (2160, 3840) 1394894393 -3.8772584659669542 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2.jpg resize: (2160, 3840) 1394894391 -4.2676810131310585 treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323.jpg resize: (2160, 3840) 1394894389 -3.426091896375645 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597490_0.png resize: (325, 235) 1394903771 -3.0722085542185846 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597481_0.png resize: (158, 109) 1394903772 -4.634404038146397 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597489_0.png resize: (401, 233) 1394903774 -3.89827532968304 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597482_0.png resize: (154, 198) 1394903775 -4.311608474032951 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597487_0.png resize: (314, 418) 1394903776 -4.819207512222054 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597486_0.png resize: (994, 1031) 1394903777 -4.551696752280465 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597488_0.png resize: (469, 278) 1394903778 -4.7245001027522555 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597491_0.png resize: (438, 103) 1394903779 -5.182785258756449 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597493_0.png resize: (177, 200) 1394903780 -4.047930028011708 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597498_0.png resize: (533, 396) 1394903781 -5.1756077963168 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597497_0.png resize: (242, 258) 1394903782 -3.0382869668083994 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597492_0.png resize: (239, 376) 1394903783 -4.396162553135911 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597494_0.png resize: (576, 335) 1394903784 -4.9848519845321055 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597507_0.png resize: (331, 522) 1394903785 -4.095569543939231 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597500_0.png resize: (400, 529) 1394903786 -4.546466331364632 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597503_0.png resize: (370, 314) 1394903787 -4.078404714787005 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597501_0.png resize: (381, 660) 1394903788 -4.300881044227587 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597505_0.png resize: (407, 560) 1394903789 -4.079617570832194 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597504_0.png resize: (493, 454) 1394903790 -3.0584948201931437 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597506_0.png resize: (489, 200) 1394903791 -4.214992956902053 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597508_0.png resize: (198, 344) 1394903792 -4.485573488064601 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597513_0.png resize: (58, 288) 1394903793 -3.709517534508761 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597509_0.png resize: (357, 459) 1394903794 -4.818918134500233 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597517_0.png resize: (295, 356) 1394903795 -3.9030795514923784 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597512_0.png resize: (169, 200) 1394903796 -3.632979698110178 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597514_0.png resize: (381, 264) 1394903797 -3.281641735910679 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597510_0.png resize: (649, 480) 1394903798 -4.8352684721452075 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597484_0.png resize: (151, 143) 1394903817 -2.6288744335285497 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597483_0.png resize: (632, 655) 1394903819 -5.250116814495891 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597499_0.png resize: (70, 259) 1394903820 -2.883413752973494 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597495_0.png resize: (499, 340) 1394903821 -5.334859793548319 treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597502_0.png resize: (388, 431) 1394903823 -4.587291099237189 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597511_0.png resize: (272, 332) 1394903824 -3.181621890327615 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597515_0.png resize: (513, 448) 1394903825 -4.540005418711189 treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597485_0.png resize: (524, 774) 1394903851 -4.328828412014717 treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597516_0.png resize: (295, 409) 1394903852 -3.9988581765553857 treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597496_0.png resize: (315, 430) 1394903897 -2.3139614201348664 treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597518_0.png resize: (513, 416) 1394903898 -2.418439984779081 treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597519_0.png resize: (238, 246) 1394903924 -2.7923523305099667 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 : 44 time used for this insertion : 0.014431238174438477 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.013252496719360352 save missing photos in datou_result : time spend for datou_step_exec : 21.275834560394287 time spend to save output : 0.032151222229003906 total time spend for step 6 : 21.30798578262329 step7:brightness Mon Nov 17 17:52:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485.jpg treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04.jpg treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9.jpg treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2.jpg treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323.jpg treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597490_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597481_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597489_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597482_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597487_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597486_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597488_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597491_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597493_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597498_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597497_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597492_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597494_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597507_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597500_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597503_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597501_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597505_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597504_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597506_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597508_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597513_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597509_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597517_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597512_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597514_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597510_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597484_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597483_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597499_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597495_0.png treat image : temp/1763398227_1429105_1394894393_01c5a7b68baa32f21f1fcc317893d9f9_rle_crop_4036597502_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597511_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597515_0.png treat image : temp/1763398227_1429105_1394894397_ae419ed19dff3b573fdca04d6a547485_rle_crop_4036597485_0.png treat image : temp/1763398227_1429105_1394894391_56c0a96d381b4e4f7240a9b999b068a2_rle_crop_4036597516_0.png treat image : temp/1763398227_1429105_1394894395_6c27bd1347fa42ed9abed99427552c04_rle_crop_4036597496_0.png treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597518_0.png treat image : temp/1763398227_1429105_1394894389_bafce9879e2fed556c9a30539f01f323_rle_crop_4036597519_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 : 44 time used for this insertion : 0.013225793838500977 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.013781547546386719 save missing photos in datou_result : time spend for datou_step_exec : 5.471692323684692 time spend to save output : 0.031882524490356445 total time spend for step 7 : 5.503574848175049 step8:velours_tree Mon Nov 17 17:52:42 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.12127017974853516 time spend to save output : 3.933906555175781e-05 total time spend for step 8 : 0.12130951881408691 step9:send_mail_cod Mon Nov 17 17:52:42 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_P28616512_17-11-2025_17_52_42.pdf 28616978 change filename to text .change filename to text .imagette286169781763398362 28616979 imagette286169791763398362 28616980 change filename to text .change filename to text .imagette286169801763398362 28616981 imagette286169811763398362 28616982 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 .imagette286169821763398362 28616983 imagette286169831763398363 28616984 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 .imagette286169841763398363 28616985 change filename to text .imagette286169851763398365 28616987 imagette286169871763398365 28616988 imagette286169881763398365 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28616512 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28616978,28616979,28616980,28616981,28616982,28616983,28616984,28616985,28616986,28616987,28616988?tags=autre,background,pet_clair,metal,carton,mal_croppe,papier,pet_fonce,environnement,flou,pehd args[1394894397] : ((1394894397, -6.696270148795805, 492609224), (1394894397, 0.3550433510527336, 2107752395), '0.09863544077932099') We are sending mail with results at report@fotonower.com args[1394894395] : ((1394894395, -5.3113934958007984, 492609224), (1394894395, -0.7700085062974891, 501862349), '0.09863544077932099') We are sending mail with results at report@fotonower.com args[1394894393] : ((1394894393, -3.8772584659669542, 492609224), (1394894393, -1.4551640648796877, 501862349), '0.09863544077932099') We are sending mail with results at report@fotonower.com args[1394894391] : ((1394894391, -4.2676810131310585, 492609224), (1394894391, -1.0341397022648409, 501862349), '0.09863544077932099') We are sending mail with results at report@fotonower.com args[1394894389] : ((1394894389, -3.426091896375645, 492609224), (1394894389, -1.8633738203936971, 501862349), '0.09863544077932099') We are sending mail with results at report@fotonower.com refus_total : 0.09863544077932099 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28616512 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_P28616512_17-11-2025_17_52_42.pdf results_Auto_P28616512_17-11-2025_17_52_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28616512_17-11-2025_17_52_42.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','28616512','results_Auto_P28616512_17-11-2025_17_52_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28616512_17-11-2025_17_52_42.pdf','pdf','','0.56','0.09863544077932099') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28616512

https://www.fotonower.com/image?json=false&list_photos_id=1394894397
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394894395
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394894393
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394894391
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394894389
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/28616978?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28616980?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28616982?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28616984?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/28616985?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28616512_17-11-2025_17_52_42.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28616978,28616979,28616980,28616981,28616982,28616983,28616984,28616985,28616986,28616987,28616988?tags=autre,background,pet_clair,metal,carton,mal_croppe,papier,pet_fonce,environnement,flou,pehd.


L'équipe Fotonower 202 b'' Date: Mon, 17 Nov 2025 16:52:48 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: rV8Rx9r6S4Oxp6fhkEuRtg 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 [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] 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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.01465916633605957 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.89396595954895 time spend to save output : 0.014867067337036133 total time spend for step 9 : 5.908833026885986 step10:split_time_score Mon Nov 17 17:52:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('16', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17112025 28616512 Nombre de photos uploadées : 5 / 23040 (0%) 17112025 28616512 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 17112025 28616512 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003249645233154297 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20694804191589355 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.024263243577165507 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28602005_17-11-2025_11_14_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28602005 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28602005 AND mptpi.`type`=3726 To do Qualite : 0.08495215647505143 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28598196_17-11-2025_09_43_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28598196 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`=28598196 AND mptpi.`type`=3594 To do Qualite : 0.016410011398527536 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28605874_17-11-2025_12_38_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28605874 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28605874 AND mptpi.`type`=3726 To do Qualite : 0.07625585401663237 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28608156_17-11-2025_14_14_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28608156 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`=28608156 AND mptpi.`type`=3594 To do Qualite : 0.06271269370498972 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28609449_17-11-2025_14_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28609449 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`=28609449 AND mptpi.`type`=3594 To do Qualite : 0.021974502567200408 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28616489_17-11-2025_17_44_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28616489 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28616489 AND mptpi.`type`=3726 To do Qualite : 0.09863544077932099 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28616512_17-11-2025_17_52_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28616512 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`=28616512 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17112025': {'nb_upload': 5, '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 [1394894397, 1394894395, 1394894393, 1394894391, 1394894389] Looping around the photos to save general results len do output : 1 /28616512Didn'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, '4059418') ('3318', '28616512', '1394894397', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894395', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894393', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894391', None, None, None, None, None, '4059418') ('3318', None, None, None, None, None, None, None, '4059418') ('3318', '28616512', '1394894389', None, None, None, None, None, '4059418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014811515808105469 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8210656642913818 time spend to save output : 0.014993429183959961 total time spend for step 10 : 0.8360590934753418 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 69.87user 54.05system 2:24.53elapsed 85%CPU (0avgtext+0avgdata 3585268maxresident)k 461904inputs+85608outputs (2306major+5785902minor)pagefaults 0swaps