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 : 1405989 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 : ['3972309'] with mtr_portfolio_ids : ['28011434'] and first list_photo_ids : [] new path : /proc/1405989/ 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.3686296939849854 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Oct 31 12:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 4694 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-31 12:50:34.326963: 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-10-31 12:50:34.358491: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-31 12:50:34.360661: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3380000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-31 12:50:34.360734: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-31 12:50:34.364657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-31 12:50:34.629126: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b3fdc60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-31 12:50:34.629228: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-31 12:50:34.630859: 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-10-31 12:50:34.631927: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 12:50:34.637524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 12:50:34.649000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 12:50:34.651160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 12:50:34.665170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 12:50:34.667798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 12:50:34.688971: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 12:50:34.690264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 12:50:34.690566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 12:50:34.691202: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 12:50:34.691218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 12:50:34.691227: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 12:50:34.692506: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4242 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-10-31 12:50:35.088724: 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-10-31 12:50:35.088821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 12:50:35.088850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 12:50:35.088875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 12:50:35.088900: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 12:50:35.088924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 12:50:35.088948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 12:50:35.088972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 12:50:35.090573: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 12:50:35.091915: 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-10-31 12:50:35.091943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 12:50:35.091959: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 12:50:35.091973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 12:50:35.091986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 12:50:35.092000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 12:50:35.092013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 12:50:35.092027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 12:50:35.092991: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 12:50:35.093020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 12:50:35.093029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 12:50:35.093036: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 12:50:35.094040: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4242 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-10-31 12:50:48.169952: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 12:50:48.490224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 12:50:50.560105: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:50.561114: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.28G (3521839104 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:50.561994: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.95G (3169655040 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:50.562941: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.66G (2852689408 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.385147: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-10-31 12:50:51.449708: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.449803: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.450799: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.450858: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.460799: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.460872: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.461775: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.461830: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.469177: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.469238: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.470024: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.470062: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.525619: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.525679: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.525691: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-10-31 12:50:51.526446: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.526466: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.527264: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.527288: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.534534: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.534570: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-31 12:50:51.535366: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.536082: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.536770: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.544898: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.545625: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.569631: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.570466: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.571195: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.571885: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.576280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.576958: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.577614: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.578238: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.579983: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.589644: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.590365: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.599655: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.600341: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.601075: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.601757: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.602492: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-31 12:50:51.603225: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3913154560 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 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 : 20 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 : 25 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 : 16 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 20 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 Detection mask done ! Trying to reset tf kernel 1406468 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2089 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 : 3282 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.002672910690307617 nb_pixel_total : 94758 time to create 1 rle with old method : 0.10055112838745117 length of segment : 335 time for calcul the mask position with numpy : 0.0009801387786865234 nb_pixel_total : 62875 time to create 1 rle with old method : 0.06748390197753906 length of segment : 368 time for calcul the mask position with numpy : 0.0010287761688232422 nb_pixel_total : 36504 time to create 1 rle with old method : 0.04040932655334473 length of segment : 441 time for calcul the mask position with numpy : 0.0006601810455322266 nb_pixel_total : 32270 time to create 1 rle with old method : 0.034963369369506836 length of segment : 225 time for calcul the mask position with numpy : 0.0009210109710693359 nb_pixel_total : 38310 time to create 1 rle with old method : 0.04179215431213379 length of segment : 393 time for calcul the mask position with numpy : 0.0003123283386230469 nb_pixel_total : 15894 time to create 1 rle with old method : 0.01770496368408203 length of segment : 163 time for calcul the mask position with numpy : 0.00070953369140625 nb_pixel_total : 32791 time to create 1 rle with old method : 0.03813481330871582 length of segment : 286 time for calcul the mask position with numpy : 0.0005207061767578125 nb_pixel_total : 23873 time to create 1 rle with old method : 0.040276288986206055 length of segment : 186 time for calcul the mask position with numpy : 0.0062122344970703125 nb_pixel_total : 212236 time to create 1 rle with new method : 0.016695022583007812 length of segment : 624 time for calcul the mask position with numpy : 0.0014023780822753906 nb_pixel_total : 71745 time to create 1 rle with old method : 0.07943558692932129 length of segment : 315 time for calcul the mask position with numpy : 0.0007884502410888672 nb_pixel_total : 25129 time to create 1 rle with old method : 0.027948379516601562 length of segment : 272 time for calcul the mask position with numpy : 0.0006601810455322266 nb_pixel_total : 40468 time to create 1 rle with old method : 0.044713735580444336 length of segment : 341 time for calcul the mask position with numpy : 0.0015003681182861328 nb_pixel_total : 88751 time to create 1 rle with old method : 0.09546923637390137 length of segment : 252 time for calcul the mask position with numpy : 0.0005893707275390625 nb_pixel_total : 22931 time to create 1 rle with old method : 0.02455425262451172 length of segment : 264 time for calcul the mask position with numpy : 0.002950429916381836 nb_pixel_total : 126325 time to create 1 rle with old method : 0.13363265991210938 length of segment : 543 time for calcul the mask position with numpy : 0.0012438297271728516 nb_pixel_total : 68071 time to create 1 rle with old method : 0.07455062866210938 length of segment : 381 time for calcul the mask position with numpy : 0.0007238388061523438 nb_pixel_total : 39477 time to create 1 rle with old method : 0.04261374473571777 length of segment : 287 time for calcul the mask position with numpy : 0.0007457733154296875 nb_pixel_total : 44550 time to create 1 rle with old method : 0.0532379150390625 length of segment : 341 time for calcul the mask position with numpy : 0.0022268295288085938 nb_pixel_total : 120096 time to create 1 rle with old method : 0.12803268432617188 length of segment : 545 time for calcul the mask position with numpy : 0.0003247261047363281 nb_pixel_total : 13871 time to create 1 rle with old method : 0.015688180923461914 length of segment : 148 time for calcul the mask position with numpy : 0.005938291549682617 nb_pixel_total : 291484 time to create 1 rle with new method : 0.01679396629333496 length of segment : 753 time for calcul the mask position with numpy : 0.0016222000122070312 nb_pixel_total : 126377 time to create 1 rle with old method : 0.1340312957763672 length of segment : 433 time for calcul the mask position with numpy : 0.0021164417266845703 nb_pixel_total : 161504 time to create 1 rle with new method : 0.006737232208251953 length of segment : 421 time for calcul the mask position with numpy : 0.0010919570922851562 nb_pixel_total : 60448 time to create 1 rle with old method : 0.0644383430480957 length of segment : 359 time for calcul the mask position with numpy : 0.0006906986236572266 nb_pixel_total : 48847 time to create 1 rle with old method : 0.052857398986816406 length of segment : 250 time for calcul the mask position with numpy : 0.0005934238433837891 nb_pixel_total : 31388 time to create 1 rle with old method : 0.03380155563354492 length of segment : 255 time for calcul the mask position with numpy : 0.0013275146484375 nb_pixel_total : 72418 time to create 1 rle with old method : 0.07612228393554688 length of segment : 539 time for calcul the mask position with numpy : 0.00020503997802734375 nb_pixel_total : 9888 time to create 1 rle with old method : 0.010967493057250977 length of segment : 115 time for calcul the mask position with numpy : 0.0007467269897460938 nb_pixel_total : 43219 time to create 1 rle with old method : 0.048876047134399414 length of segment : 219 time for calcul the mask position with numpy : 0.0004608631134033203 nb_pixel_total : 18322 time to create 1 rle with old method : 0.021208763122558594 length of segment : 162 time for calcul the mask position with numpy : 0.00039124488830566406 nb_pixel_total : 13189 time to create 1 rle with old method : 0.02242755889892578 length of segment : 139 time for calcul the mask position with numpy : 0.0010693073272705078 nb_pixel_total : 49513 time to create 1 rle with old method : 0.06357645988464355 length of segment : 235 time for calcul the mask position with numpy : 0.001026153564453125 nb_pixel_total : 55713 time to create 1 rle with old method : 0.061086177825927734 length of segment : 263 time for calcul the mask position with numpy : 0.0008883476257324219 nb_pixel_total : 45532 time to create 1 rle with old method : 0.05333209037780762 length of segment : 173 time for calcul the mask position with numpy : 0.0015015602111816406 nb_pixel_total : 54211 time to create 1 rle with old method : 0.06295537948608398 length of segment : 513 time for calcul the mask position with numpy : 0.0006005764007568359 nb_pixel_total : 32936 time to create 1 rle with old method : 0.03809356689453125 length of segment : 273 time for calcul the mask position with numpy : 0.001325368881225586 nb_pixel_total : 35486 time to create 1 rle with old method : 0.04641151428222656 length of segment : 139 time for calcul the mask position with numpy : 0.0011568069458007812 nb_pixel_total : 41428 time to create 1 rle with old method : 0.0483701229095459 length of segment : 210 time for calcul the mask position with numpy : 0.0035500526428222656 nb_pixel_total : 143821 time to create 1 rle with old method : 0.16119003295898438 length of segment : 477 time for calcul the mask position with numpy : 0.0009489059448242188 nb_pixel_total : 15928 time to create 1 rle with old method : 0.018143892288208008 length of segment : 122 time for calcul the mask position with numpy : 0.00461578369140625 nb_pixel_total : 125876 time to create 1 rle with old method : 0.1388072967529297 length of segment : 438 time for calcul the mask position with numpy : 0.0003867149353027344 nb_pixel_total : 8069 time to create 1 rle with old method : 0.009409427642822266 length of segment : 77 time for calcul the mask position with numpy : 0.0026237964630126953 nb_pixel_total : 89329 time to create 1 rle with old method : 0.10208964347839355 length of segment : 327 time spent for convertir_results : 4.6636786460876465 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 43 chid ids of type : 3594 Number RLEs to save : 13602 save missing photos in datou_result : time spend for datou_step_exec : 52.46016550064087 time spend to save output : 0.7128019332885742 total time spend for step 1 : 53.17296743392944 step2:crop_condition Fri Oct 31 12:51:23 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 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 24 About to insert : list_path_to_insert length 24 new photo from crops ! About to upload 24 photos upload in portfolio : 3736932 init cache_photo without model_param we have 24 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761911490_1405989 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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712328_0.png', 0, 159, 441, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712332_0.png', 0, 193, 275, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712333_0.png', 0, 164, 186, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712326_0.png', 0, 478, 335, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712329_0.png', 0, 242, 225, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712339_0.png', 0, 107, 264, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712336_0.png', 0, 158, 251, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712344_0.png', 0, 374, 434, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712341_0.png', 0, 282, 381, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712342_0.png', 0, 189, 286, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712337_0.png', 0, 215, 233, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712347_0.png', 0, 339, 430, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712345_0.png', 0, 143, 148, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712351_0.png', 0, 212, 255, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712359_0.png', 0, 409, 163, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712354_0.png', 0, 337, 219, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712353_0.png', 0, 111, 115, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712361_0.png', 0, 204, 247, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712357_0.png', 0, 269, 225, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712356_0.png', 0, 131, 139, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712355_0.png', 0, 158, 161, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712367_0.png', 0, 141, 74, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712363_0.png', 0, 274, 205, 0, 1761911494,'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(1761911494), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712362_0.png', 0, 419, 135, 0, 1761911494,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 24 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.46528434753418 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761911498_1405989 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(1761911499), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712331_0.png', 0, 129, 157, 0, 1761911499,'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(1761911499), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712327_0.png', 0, 231, 360, 0, 1761911499,'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(1761911499), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712340_0.png', 0, 373, 465, 0, 1761911499,'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(1761911499), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712365_0.png', 0, 197, 117, 0, 1761911499,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.7803125381469727 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761911509_1405989 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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712330_0.png', 0, 160, 379, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712343_0.png', 0, 179, 340, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712334_0.png', 0, 580, 586, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712335_0.png', 0, 484, 233, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712338_0.png', 0, 448, 250, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712349_0.png', 0, 228, 355, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712348_0.png', 0, 503, 421, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712350_0.png', 0, 229, 249, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712346_0.png', 0, 718, 613, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712352_0.png', 0, 253, 432, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712358_0.png', 0, 275, 258, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712360_0.png', 0, 302, 350, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712364_0.png', 0, 432, 462, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712368_0.png', 0, 353, 326, 0, 1761911512,'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(1761911512), 0.0, 0.0, 14, '', 0, 0, '1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712366_0.png', 0, 382, 438, 0, 1761911512,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.9677894115448 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] Looping around the photos to save general results len do output : 43 /1391170670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391170778Didn'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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 134 time used for this insertion : 0.01789069175720215 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.11735987663269 time spend to save output : 0.019573688507080078 total time spend for step 2 : 29.13693356513977 step3:rle_unique_nms_with_priority Fri Oct 31 12:51:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 5.340282201766968 time for calcul the mask position with numpy : 0.6429576873779297 nb_pixel_total : 7957125 time to create 1 rle with new method : 0.8279025554656982 time for calcul the mask position with numpy : 0.030116796493530273 nb_pixel_total : 23873 time to create 1 rle with old method : 0.027602434158325195 time for calcul the mask position with numpy : 0.027831077575683594 nb_pixel_total : 32791 time to create 1 rle with old method : 0.03676438331604004 time for calcul the mask position with numpy : 0.029617786407470703 nb_pixel_total : 15894 time to create 1 rle with old method : 0.01872420310974121 time for calcul the mask position with numpy : 0.029212236404418945 nb_pixel_total : 38310 time to create 1 rle with old method : 0.044938087463378906 time for calcul the mask position with numpy : 0.027491092681884766 nb_pixel_total : 32270 time to create 1 rle with old method : 0.036397457122802734 time for calcul the mask position with numpy : 0.027052640914916992 nb_pixel_total : 36504 time to create 1 rle with old method : 0.0413820743560791 time for calcul the mask position with numpy : 0.02578282356262207 nb_pixel_total : 62875 time to create 1 rle with old method : 0.07018685340881348 time for calcul the mask position with numpy : 0.026962995529174805 nb_pixel_total : 94758 time to create 1 rle with old method : 0.11339545249938965 create new chi : 2.1260833740234375 time to delete rle : 0.030619144439697266 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 6954 TO DO : save crop sub photo not yet done ! save time : 0.3919661045074463 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 7.63870096206665 time for calcul the mask position with numpy : 0.25535130500793457 nb_pixel_total : 7554010 time to create 1 rle with new method : 1.405336856842041 time for calcul the mask position with numpy : 0.024554014205932617 nb_pixel_total : 707 time to create 1 rle with old method : 0.001161813735961914 time for calcul the mask position with numpy : 0.02485036849975586 nb_pixel_total : 44550 time to create 1 rle with old method : 0.050478219985961914 time for calcul the mask position with numpy : 0.026717424392700195 nb_pixel_total : 39477 time to create 1 rle with old method : 0.04454207420349121 time for calcul the mask position with numpy : 0.026996850967407227 nb_pixel_total : 68071 time to create 1 rle with old method : 0.07707524299621582 time for calcul the mask position with numpy : 0.027755260467529297 nb_pixel_total : 126325 time to create 1 rle with old method : 0.17043495178222656 time for calcul the mask position with numpy : 0.02978038787841797 nb_pixel_total : 22931 time to create 1 rle with old method : 0.026523590087890625 time for calcul the mask position with numpy : 0.0413668155670166 nb_pixel_total : 88751 time to create 1 rle with old method : 0.10196161270141602 time for calcul the mask position with numpy : 0.04147028923034668 nb_pixel_total : 40468 time to create 1 rle with old method : 0.04582715034484863 time for calcul the mask position with numpy : 0.028809309005737305 nb_pixel_total : 25129 time to create 1 rle with old method : 0.02815699577331543 time for calcul the mask position with numpy : 0.03232431411743164 nb_pixel_total : 71745 time to create 1 rle with old method : 0.13628530502319336 time for calcul the mask position with numpy : 0.02838873863220215 nb_pixel_total : 212236 time to create 1 rle with new method : 0.5562105178833008 create new chi : 3.3065922260284424 time to delete rle : 0.0011973381042480469 batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 9635 TO DO : save crop sub photo not yet done ! save time : 0.5246753692626953 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 5.478869915008545 time for calcul the mask position with numpy : 0.679948091506958 nb_pixel_total : 7495697 time to create 1 rle with new method : 1.8043837547302246 time for calcul the mask position with numpy : 0.025310277938842773 nb_pixel_total : 64784 time to create 1 rle with old method : 0.07238483428955078 time for calcul the mask position with numpy : 0.02641129493713379 nb_pixel_total : 31388 time to create 1 rle with old method : 0.035056352615356445 time for calcul the mask position with numpy : 0.025785446166992188 nb_pixel_total : 48847 time to create 1 rle with old method : 0.08526229858398438 time for calcul the mask position with numpy : 0.03304767608642578 nb_pixel_total : 60448 time to create 1 rle with old method : 0.06682658195495605 time for calcul the mask position with numpy : 0.030478715896606445 nb_pixel_total : 161504 time to create 1 rle with new method : 0.6693649291992188 time for calcul the mask position with numpy : 0.027924776077270508 nb_pixel_total : 126377 time to create 1 rle with old method : 0.1428208351135254 time for calcul the mask position with numpy : 0.03032827377319336 nb_pixel_total : 291484 time to create 1 rle with new method : 0.4746384620666504 time for calcul the mask position with numpy : 0.027208328247070312 nb_pixel_total : 13871 time to create 1 rle with old method : 0.015682458877563477 create new chi : 4.3754212856292725 time to delete rle : 0.0011470317840576172 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++Number RLEs to save : 8097 TO DO : save crop sub photo not yet done ! save time : 0.4593980312347412 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 6.274595022201538 time for calcul the mask position with numpy : 2.8923866748809814 nb_pixel_total : 7971877 time to create 1 rle with new method : 1.467076063156128 time for calcul the mask position with numpy : 0.036423683166503906 nb_pixel_total : 32936 time to create 1 rle with old method : 0.03803730010986328 time for calcul the mask position with numpy : 0.02951192855834961 nb_pixel_total : 54211 time to create 1 rle with old method : 0.06046414375305176 time for calcul the mask position with numpy : 0.028018951416015625 nb_pixel_total : 45532 time to create 1 rle with old method : 0.05384516716003418 time for calcul the mask position with numpy : 0.028137922286987305 nb_pixel_total : 55713 time to create 1 rle with old method : 0.06290054321289062 time for calcul the mask position with numpy : 0.03199958801269531 nb_pixel_total : 49513 time to create 1 rle with old method : 0.057903289794921875 time for calcul the mask position with numpy : 0.028915882110595703 nb_pixel_total : 13189 time to create 1 rle with old method : 0.01605701446533203 time for calcul the mask position with numpy : 0.04317188262939453 nb_pixel_total : 18322 time to create 1 rle with old method : 0.020788192749023438 time for calcul the mask position with numpy : 0.04245781898498535 nb_pixel_total : 43219 time to create 1 rle with old method : 0.048681020736694336 time for calcul the mask position with numpy : 0.042092084884643555 nb_pixel_total : 9888 time to create 1 rle with old method : 0.011173486709594727 create new chi : 5.090394020080566 time to delete rle : 0.0010058879852294922 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++Number RLEs to save : 6344 TO DO : save crop sub photo not yet done ! save time : 0.35749340057373047 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 6.940173864364624 time for calcul the mask position with numpy : 1.272392988204956 nb_pixel_total : 7834463 time to create 1 rle with new method : 1.2822022438049316 time for calcul the mask position with numpy : 0.031075239181518555 nb_pixel_total : 89329 time to create 1 rle with old method : 0.0971982479095459 time for calcul the mask position with numpy : 0.025209426879882812 nb_pixel_total : 8069 time to create 1 rle with old method : 0.009145736694335938 time for calcul the mask position with numpy : 0.026569128036499023 nb_pixel_total : 125876 time to create 1 rle with old method : 0.13625097274780273 time for calcul the mask position with numpy : 0.024251699447631836 nb_pixel_total : 15928 time to create 1 rle with old method : 0.01759505271911621 time for calcul the mask position with numpy : 0.026340961456298828 nb_pixel_total : 143821 time to create 1 rle with old method : 0.15613603591918945 time for calcul the mask position with numpy : 0.024307727813720703 nb_pixel_total : 41428 time to create 1 rle with old method : 0.045440673828125 time for calcul the mask position with numpy : 0.024558544158935547 nb_pixel_total : 35486 time to create 1 rle with old method : 0.03962254524230957 create new chi : 3.2837862968444824 time to delete rle : 0.0008487701416015625 batch 1 Loaded 15 chid ids of type : 3594 ++++++++Number RLEs to save : 5740 TO DO : save crop sub photo not yet done ! save time : 0.32474422454833984 map_output_result : {1390374791: (0.0, 'Should be the crop_list due to order', 0), 1390374788: (0.0, 'Should be the crop_list due to order', 0), 1390374753: (0.0, 'Should be the crop_list due to order', 0), 1390374748: (0.0, 'Should be the crop_list due to order', 0), 1390374747: (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 [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] Looping around the photos to save general results len do output : 5 /1390374791.Didn't retrieve data . /1390374788.Didn't retrieve data . /1390374753.Didn't retrieve data . /1390374748.Didn't retrieve data . /1390374747.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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.010869503021240234 save_final save missing photos in datou_result : time spend for datou_step_exec : 52.88290476799011 time spend to save output : 0.011230707168579102 total time spend for step 3 : 52.89413547515869 step4:ventilate_hashtags_in_portfolio Fri Oct 31 12:52:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28011434 get user id for portfolio 28011434 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`=28011434 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','background','autre','pehd','pet_fonce','flou','pet_clair','mal_croppe','environnement','carton')) 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`=28011434 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','background','autre','pehd','pet_fonce','flou','pet_clair','mal_croppe','environnement','carton')) 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`=28011434 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','background','autre','pehd','pet_fonce','flou','pet_clair','mal_croppe','environnement','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28022763,28022764,28022765,28022766,28022767,28022768,28022769,28022770,28022771,28022772,28022773?tags=metal,papier,background,autre,pehd,pet_fonce,flou,pet_clair,mal_croppe,environnement,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] Looping around the photos to save general results len do output : 1 /28011434. 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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01172184944152832 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.636460304260254 time spend to save output : 0.012113809585571289 total time spend for step 4 : 1.6485741138458252 step5:final Fri Oct 31 12:52:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1390374791: ('0.06411140046296296',), 1390374788: ('0.06411140046296296',), 1390374753: ('0.06411140046296296',), 1390374748: ('0.06411140046296296',), 1390374747: ('0.06411140046296296',)} new output for save of step final : {1390374791: ('0.06411140046296296',), 1390374788: ('0.06411140046296296',), 1390374753: ('0.06411140046296296',), 1390374748: ('0.06411140046296296',), 1390374747: ('0.06411140046296296',)} [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] Looping around the photos to save general results len do output : 5 /1390374791.Didn't retrieve data . /1390374788.Didn't retrieve data . /1390374753.Didn't retrieve data . /1390374748.Didn't retrieve data . /1390374747.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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.010062694549560547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12449121475219727 time spend to save output : 0.010448694229125977 total time spend for step 5 : 0.13493990898132324 step6:blur_detection Fri Oct 31 12:52:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454.jpg resize: (2160, 3840) 1390374791 -6.9060135433564245 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778.jpg resize: (2160, 3840) 1390374788 -6.897826549218456 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266.jpg resize: (2160, 3840) 1390374753 -5.785388196948139 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433.jpg resize: (2160, 3840) 1390374748 -6.734087828846506 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142.jpg resize: (2160, 3840) 1390374747 -6.843013190550722 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712328_0.png resize: (441, 159) 1391170670 1.8248227228499354 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712332_0.png resize: (275, 193) 1391170671 -3.78604826822214 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712333_0.png resize: (186, 164) 1391170673 -2.6486309145163487 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712326_0.png resize: (335, 478) 1391170674 0.22564545850799345 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712329_0.png resize: (225, 242) 1391170675 -2.8265728716723753 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712339_0.png resize: (264, 107) 1391170676 -3.3850533240461784 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712336_0.png resize: (251, 158) 1391170678 -4.7790328073635 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712344_0.png resize: (434, 374) 1391170679 -4.482138565592312 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712341_0.png resize: (381, 282) 1391170680 0.7415248348382938 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712342_0.png resize: (286, 189) 1391170682 -4.44641107701089 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712337_0.png resize: (233, 215) 1391170684 -3.014146487086615 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712347_0.png resize: (430, 339) 1391170685 -4.884806470110152 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712345_0.png resize: (148, 143) 1391170686 -0.491973938047182 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712351_0.png resize: (255, 212) 1391170687 -1.3252451626928679 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712359_0.png resize: (163, 409) 1391170688 -1.1596344071777982 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712354_0.png resize: (219, 337) 1391170690 -5.000175479246345 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712353_0.png resize: (115, 111) 1391170691 -2.919910912197538 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712361_0.png resize: (247, 204) 1391170692 -3.4690467975973744 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712357_0.png resize: (225, 269) 1391170693 -4.796031467987287 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712356_0.png resize: (139, 131) 1391170695 -3.7643987728971964 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712355_0.png resize: (161, 158) 1391170696 -0.8441448050014126 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712367_0.png resize: (74, 141) 1391170697 -0.8861516627295732 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712363_0.png resize: (205, 274) 1391170698 -4.099856745029657 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712362_0.png resize: (135, 419) 1391170699 -1.7243043417656367 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712331_0.png resize: (157, 129) 1391170715 -3.4311403427625735 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712327_0.png resize: (360, 231) 1391170716 -4.743759932681404 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712340_0.png resize: (465, 373) 1391170717 -4.499038116369653 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712365_0.png resize: (117, 197) 1391170718 -2.6894007619000613 treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712330_0.png resize: (379, 160) 1391170760 -3.733085579585075 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712343_0.png resize: (340, 179) 1391170761 -3.845068554427104 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712334_0.png resize: (586, 580) 1391170762 -4.765246945120298 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712335_0.png resize: (233, 484) 1391170763 -4.941400892167066 treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712338_0.png resize: (250, 448) 1391170765 -4.368418741583446 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712349_0.png resize: (355, 228) 1391170766 -5.04620252065125 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712348_0.png resize: (421, 503) 1391170767 -4.92954271786089 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712350_0.png resize: (249, 229) 1391170768 -4.738124691381807 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712346_0.png resize: (613, 718) 1391170769 -5.331875574269 treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712352_0.png resize: (432, 253) 1391170771 -4.540187629254303 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712358_0.png resize: (258, 275) 1391170772 -5.108643461577291 treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712360_0.png resize: (350, 302) 1391170773 -3.5319988909724316 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712364_0.png resize: (462, 432) 1391170774 -5.126361099513554 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712368_0.png resize: (326, 353) 1391170776 -4.516634005283928 treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712366_0.png resize: (438, 382) 1391170778 -4.452424144096882 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 48 time used for this insertion : 0.011107921600341797 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 48 time used for this insertion : 0.012269973754882812 save missing photos in datou_result : time spend for datou_step_exec : 24.770925760269165 time spend to save output : 0.02854180335998535 total time spend for step 6 : 24.79946756362915 step7:brightness Fri Oct 31 12:53:12 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/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454.jpg treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778.jpg treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266.jpg treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433.jpg treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142.jpg treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712328_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712332_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712333_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712326_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712329_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712339_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712336_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712344_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712341_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712342_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712337_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712347_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712345_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712351_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712359_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712354_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712353_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712361_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712357_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712356_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712355_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712367_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712363_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712362_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712331_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712327_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712340_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712365_0.png treat image : temp/1761911429_1405989_1390374791_0943b8cc258d7a8570445bf0644fbd94_46041454_rle_crop_4009712330_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712343_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712334_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712335_0.png treat image : temp/1761911429_1405989_1390374788_b750da27f9ac9677b15525516996fe04_54011778_rle_crop_4009712338_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712349_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712348_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712350_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712346_0.png treat image : temp/1761911429_1405989_1390374753_2d0dcc70ddc175f6cc82480224de8a77_58882266_rle_crop_4009712352_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712358_0.png treat image : temp/1761911429_1405989_1390374748_64df22f3e7052e960c833c01f436c33b_82073433_rle_crop_4009712360_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712364_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712368_0.png treat image : temp/1761911429_1405989_1390374747_e577119bf4be99013f39c10eb93953ee_46800142_rle_crop_4009712366_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 48 time used for this insertion : 0.011113166809082031 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 48 time used for this insertion : 0.011444330215454102 save missing photos in datou_result : time spend for datou_step_exec : 5.9240546226501465 time spend to save output : 0.027873516082763672 total time spend for step 7 : 5.95192813873291 step8:velours_tree Fri Oct 31 12:53:18 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.14085102081298828 time spend to save output : 3.9577484130859375e-05 total time spend for step 8 : 0.14089059829711914 step9:send_mail_cod Fri Oct 31 12:53:18 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_P28011434_31-10-2025_12_53_18.pdf 28022763 imagette280227631761911598 28022764 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 .imagette280227641761911598 28022765 imagette280227651761911600 28022766 imagette280227661761911600 28022767 imagette280227671761911600 28022768 imagette280227681761911600 28022769 imagette280227691761911600 28022770 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 .imagette280227701761911600 28022771 imagette280227711761911602 28022773 change filename to text .change filename to text .change filename to text .change filename to text .imagette280227731761911602 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28011434 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28022763,28022764,28022765,28022766,28022767,28022768,28022769,28022770,28022771,28022772,28022773?tags=metal,papier,background,autre,pehd,pet_fonce,flou,pet_clair,mal_croppe,environnement,carton args[1390374791] : ((1390374791, -6.9060135433564245, 492609224), (1390374791, 1.502637293700463, 2107752395), '0.06411140046296296') We are sending mail with results at report@fotonower.com args[1390374788] : ((1390374788, -6.897826549218456, 492609224), (1390374788, 1.4106543137035592, 2107752395), '0.06411140046296296') We are sending mail with results at report@fotonower.com args[1390374753] : ((1390374753, -5.785388196948139, 492609224), (1390374753, 0.38403083806989746, 2107752395), '0.06411140046296296') We are sending mail with results at report@fotonower.com args[1390374748] : ((1390374748, -6.734087828846506, 492609224), (1390374748, 0.7512138150615127, 2107752395), '0.06411140046296296') We are sending mail with results at report@fotonower.com args[1390374747] : ((1390374747, -6.843013190550722, 492609224), (1390374747, 1.4383289091213467, 2107752395), '0.06411140046296296') We are sending mail with results at report@fotonower.com refus_total : 0.06411140046296296 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=28011434 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_P28011434_31-10-2025_12_53_18.pdf results_Auto_P28011434_31-10-2025_12_53_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011434_31-10-2025_12_53_18.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','28011434','results_Auto_P28011434_31-10-2025_12_53_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011434_31-10-2025_12_53_18.pdf','pdf','','0.5','0.06411140046296296') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28011434

https://www.fotonower.com/image?json=false&list_photos_id=1390374791
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390374788
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390374753
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390374748
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390374747
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28022764?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28022770?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28022773?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011434_31-10-2025_12_53_18.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28022763,28022764,28022765,28022766,28022767,28022768,28022769,28022770,28022771,28022772,28022773?tags=metal,papier,background,autre,pehd,pet_fonce,flou,pet_clair,mal_croppe,environnement,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 31 Oct 2025 11:53:24 GMT Content-Length: 0 Connection: close X-Message-Id: p1Wsx_ucQ36fsrJ8NZw6Kw 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 [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] 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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.010171175003051758 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.3903727531433105 time spend to save output : 0.010382413864135742 total time spend for step 9 : 6.400755167007446 step10:split_time_score Fri Oct 31 12:53:24 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'}] (('11', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20102025 28011434 Nombre de photos uploadées : 5 / 23040 (0%) 20102025 28011434 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 20102025 28011434 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ????? elapsed_time : fill_and_build_computed_from_old_data 0.00043010711669921875 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20531439781188965 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.023352484979542745 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011311_31-10-2025_12_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011311 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`=28011311 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011425 order by id desc limit 1 Qualite : 0.014258799156018805 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011427_31-10-2025_12_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011427 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`=28011427 AND mptpi.`type`=3726 To do Qualite : 0.06411140046296296 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011434_31-10-2025_12_53_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011434 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`=28011434 AND mptpi.`type`=3594 To do Qualite : 0.02940841557649391 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011523_31-10-2025_12_22_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011523 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`=28011523 AND mptpi.`type`=3726 To do Qualite : 0.08849115735382376 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011645_31-10-2025_12_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011645 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`=28011645 AND mptpi.`type`=3594 To do Qualite : 0.013431677083724412 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011719_31-10-2025_10_48_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011719 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`=28011719 AND mptpi.`type`=3726 To do Qualite : 0.02064653862869566 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011743_31-10-2025_10_36_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011743 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`=28011743 AND mptpi.`type`=3726 To do Qualite : 0.05911277488425925 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011793_31-10-2025_12_23_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011793 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`=28011793 AND mptpi.`type`=3594 To do Qualite : 0.02073274526551839 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011799_31-10-2025_09_57_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011799 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`=28011799 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20102025': {'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 [1390374791, 1390374788, 1390374753, 1390374748, 1390374747] Looping around the photos to save general results len do output : 1 /28011434Didn'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, '3972309') ('3318', '28011434', '1390374791', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374788', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374753', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374748', None, None, None, None, None, '3972309') ('3318', None, None, None, None, None, None, None, '3972309') ('3318', '28011434', '1390374747', None, None, None, None, None, '3972309') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.010416746139526367 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1966469287872314 time spend to save output : 0.010640144348144531 total time spend for step 10 : 2.207287073135376 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 67.11user 91.10system 3:01.27elapsed 87%CPU (0avgtext+0avgdata 3505820maxresident)k 1322416inputs+69016outputs (7265major+6072813minor)pagefaults 0swaps