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 : 2746858 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 : ['3935155'] with mtr_portfolio_ids : ['27770948'] and first list_photo_ids : [] new path : /proc/2746858/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.509141445159912 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Oct 13 19:40:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-13 19:40:32.360544: 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-13 19:40:32.386417: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-13 19:40:32.388137: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0030000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-13 19:40:32.388189: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-13 19:40:32.390795: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-13 19:40:32.669700: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3f852690 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-13 19:40:32.669753: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-13 19:40:32.670645: 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-13 19:40:32.670943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 19:40:32.672989: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 19:40:32.680823: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 19:40:32.681157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 19:40:32.686653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 19:40:32.688279: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 19:40:32.697083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 19:40:32.698540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 19:40:32.698620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 19:40:32.699426: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 19:40:32.699442: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 19:40:32.699451: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 19:40:32.700768: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-13 19:40:33.086826: 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-13 19:40:33.086943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 19:40:33.086962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 19:40:33.086976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 19:40:33.086990: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 19:40:33.087003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 19:40:33.087016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 19:40:33.087029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 19:40:33.088208: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 19:40:33.089403: 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-13 19:40:33.089439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 19:40:33.089454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 19:40:33.089468: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 19:40:33.089483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 19:40:33.089497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 19:40:33.089510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 19:40:33.089524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 19:40:33.090703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 19:40:33.090738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 19:40:33.090746: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 19:40:33.090753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 19:40:33.091987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-13 19:40:40.183643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 19:40:40.351990: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 13.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 2747530 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5543 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 10196 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.00016808509826660156 nb_pixel_total : 2502 time to create 1 rle with old method : 0.0028765201568603516 length of segment : 64 time for calcul the mask position with numpy : 0.0002753734588623047 nb_pixel_total : 11486 time to create 1 rle with old method : 0.012689828872680664 length of segment : 206 time for calcul the mask position with numpy : 0.0019290447235107422 nb_pixel_total : 100538 time to create 1 rle with old method : 0.10522317886352539 length of segment : 604 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 5886 time to create 1 rle with old method : 0.006411552429199219 length of segment : 111 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 5198 time to create 1 rle with old method : 0.005632638931274414 length of segment : 86 time for calcul the mask position with numpy : 0.0005269050598144531 nb_pixel_total : 30154 time to create 1 rle with old method : 0.031830787658691406 length of segment : 219 time for calcul the mask position with numpy : 7.987022399902344e-05 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0028994083404541016 length of segment : 65 time for calcul the mask position with numpy : 0.0001766681671142578 nb_pixel_total : 8850 time to create 1 rle with old method : 0.00991678237915039 length of segment : 99 time for calcul the mask position with numpy : 0.0003821849822998047 nb_pixel_total : 31119 time to create 1 rle with old method : 0.036803483963012695 length of segment : 133 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 7872 time to create 1 rle with old method : 0.009521245956420898 length of segment : 119 time for calcul the mask position with numpy : 0.0001246929168701172 nb_pixel_total : 4518 time to create 1 rle with old method : 0.005406379699707031 length of segment : 86 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 2870 time to create 1 rle with old method : 0.003426074981689453 length of segment : 60 time for calcul the mask position with numpy : 0.033473968505859375 nb_pixel_total : 821785 time to create 1 rle with new method : 0.05298781394958496 length of segment : 1065 time for calcul the mask position with numpy : 0.00011181831359863281 nb_pixel_total : 4362 time to create 1 rle with old method : 0.005010366439819336 length of segment : 50 time for calcul the mask position with numpy : 0.000102996826171875 nb_pixel_total : 4464 time to create 1 rle with old method : 0.005227327346801758 length of segment : 70 time for calcul the mask position with numpy : 0.001519918441772461 nb_pixel_total : 109909 time to create 1 rle with old method : 0.11421704292297363 length of segment : 519 time for calcul the mask position with numpy : 6.747245788574219e-05 nb_pixel_total : 1686 time to create 1 rle with old method : 0.001970052719116211 length of segment : 41 time for calcul the mask position with numpy : 0.00012063980102539062 nb_pixel_total : 4840 time to create 1 rle with old method : 0.0053598880767822266 length of segment : 85 time for calcul the mask position with numpy : 0.0001316070556640625 nb_pixel_total : 4946 time to create 1 rle with old method : 0.005562782287597656 length of segment : 81 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 3845 time to create 1 rle with old method : 0.004419088363647461 length of segment : 92 time for calcul the mask position with numpy : 0.001699209213256836 nb_pixel_total : 120124 time to create 1 rle with old method : 0.12973785400390625 length of segment : 548 time for calcul the mask position with numpy : 0.00014066696166992188 nb_pixel_total : 6354 time to create 1 rle with old method : 0.006862640380859375 length of segment : 98 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 3004 time to create 1 rle with old method : 0.003404855728149414 length of segment : 51 time for calcul the mask position with numpy : 0.0005080699920654297 nb_pixel_total : 26128 time to create 1 rle with old method : 0.03224444389343262 length of segment : 296 time for calcul the mask position with numpy : 0.018534183502197266 nb_pixel_total : 803900 time to create 1 rle with new method : 0.03183937072753906 length of segment : 1127 time for calcul the mask position with numpy : 0.0006034374237060547 nb_pixel_total : 17843 time to create 1 rle with old method : 0.0202481746673584 length of segment : 184 time for calcul the mask position with numpy : 0.0005261898040771484 nb_pixel_total : 22097 time to create 1 rle with old method : 0.02417898178100586 length of segment : 128 time for calcul the mask position with numpy : 0.01399374008178711 nb_pixel_total : 737584 time to create 1 rle with new method : 0.024132490158081055 length of segment : 999 time for calcul the mask position with numpy : 0.0006587505340576172 nb_pixel_total : 21813 time to create 1 rle with old method : 0.023481130599975586 length of segment : 152 time spent for convertir_results : 2.2827115058898926 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 7438 save missing photos in datou_result : time spend for datou_step_exec : 22.19231343269348 time spend to save output : 0.929720401763916 total time spend for step 1 : 23.122033834457397 step2:crop_condition Mon Oct 13 19:40: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 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 : 10 ! batch 1 Loaded 29 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760377253_2746858 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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663656_0.png', 0, 95, 110, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663653_0.png', 0, 60, 64, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663654_0.png', 0, 97, 206, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663659_0.png', 0, 55, 65, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663667_0.png', 0, 142, 49, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663669_0.png', 0, 53, 41, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663666_0.png', 0, 126, 50, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663674_0.png', 0, 93, 98, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663672_0.png', 0, 76, 71, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663675_0.png', 0, 75, 51, 0, 1760377255,'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(1760377255), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663678_0.png', 0, 177, 182, 0, 1760377255,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.608386993408203 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 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760377257_2746858 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(1760377257), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663664_0.png', 0, 70, 60, 0, 1760377257,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6629114151000977 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760377269_2746858 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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663658_0.png', 0, 181, 212, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663655_0.png', 0, 327, 523, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663661_0.png', 0, 296, 132, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663660_0.png', 0, 138, 99, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663662_0.png', 0, 120, 112, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663665_0.png', 0, 1103, 1003, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663668_0.png', 0, 323, 518, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663673_0.png', 0, 366, 544, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663677_0.png', 0, 1093, 1003, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663676_0.png', 0, 220, 296, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663680_0.png', 0, 1001, 992, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663679_0.png', 0, 212, 128, 0, 1760377272,'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(1760377272), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389257999_5f065b6809cb2faf6ef93348781065db_rle_crop_3996663681_0.png', 0, 197, 151, 0, 1760377272,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.071782112121582 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1760377275_2746858 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(1760377275), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663657_0.png', 0, 84, 86, 0, 1760377275,'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(1760377275), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663663_0.png', 0, 73, 86, 0, 1760377275,'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(1760377275), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663671_0.png', 0, 100, 81, 0, 1760377275,'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(1760377275), 0.0, 0.0, 14, '', 0, 0, '1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663670_0.png', 0, 82, 82, 0, 1760377275,'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.490978717803955 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] Looping around the photos to save general results len do output : 29 /1389278081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278082Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389278238Didn'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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.0394291877746582 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.683645248413086 time spend to save output : 0.0407254695892334 total time spend for step 2 : 23.72437071800232 step3:rle_unique_nms_with_priority Mon Oct 13 19:41:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++++ No data in photo_id : 1389258491 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.15485858917236328 time for calcul the mask position with numpy : 0.1910254955291748 nb_pixel_total : 1917836 time to create 1 rle with new method : 0.32253193855285645 time for calcul the mask position with numpy : 0.0061566829681396484 nb_pixel_total : 30154 time to create 1 rle with old method : 0.03262639045715332 time for calcul the mask position with numpy : 0.006263017654418945 nb_pixel_total : 5198 time to create 1 rle with old method : 0.005786895751953125 time for calcul the mask position with numpy : 0.005776405334472656 nb_pixel_total : 5886 time to create 1 rle with old method : 0.0064983367919921875 time for calcul the mask position with numpy : 0.006478309631347656 nb_pixel_total : 100538 time to create 1 rle with old method : 0.1066431999206543 time for calcul the mask position with numpy : 0.00582432746887207 nb_pixel_total : 11486 time to create 1 rle with old method : 0.01244211196899414 time for calcul the mask position with numpy : 0.00619196891784668 nb_pixel_total : 2502 time to create 1 rle with old method : 0.0028467178344726562 create new chi : 0.7245678901672363 time to delete rle : 0.10343194007873535 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3660 TO DO : save crop sub photo not yet done ! save time : 0.5639083385467529 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07809782028198242 time for calcul the mask position with numpy : 0.06203961372375488 nb_pixel_total : 2023179 time to create 1 rle with new method : 0.07975268363952637 time for calcul the mask position with numpy : 0.006001949310302734 nb_pixel_total : 7872 time to create 1 rle with old method : 0.008730173110961914 time for calcul the mask position with numpy : 0.00689244270324707 nb_pixel_total : 31119 time to create 1 rle with old method : 0.03463912010192871 time for calcul the mask position with numpy : 0.005970954895019531 nb_pixel_total : 8850 time to create 1 rle with old method : 0.010128974914550781 time for calcul the mask position with numpy : 0.0060918331146240234 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0029282569885253906 create new chi : 0.22353649139404297 time to delete rle : 0.00029754638671875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1912 TO DO : save crop sub photo not yet done ! save time : 0.34731388092041016 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.05500960350036621 time for calcul the mask position with numpy : 0.01416325569152832 nb_pixel_total : 1244427 time to create 1 rle with new method : 0.38331103324890137 time for calcul the mask position with numpy : 0.011334419250488281 nb_pixel_total : 821785 time to create 1 rle with new method : 0.06382584571838379 time for calcul the mask position with numpy : 0.006001472473144531 nb_pixel_total : 2870 time to create 1 rle with old method : 0.003158092498779297 time for calcul the mask position with numpy : 0.005773782730102539 nb_pixel_total : 4518 time to create 1 rle with old method : 0.004999876022338867 create new chi : 0.49990034103393555 time to delete rle : 0.00046944618225097656 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3502 TO DO : save crop sub photo not yet done ! save time : 0.5684976577758789 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.58182692527771 time for calcul the mask position with numpy : 0.09710240364074707 nb_pixel_total : 1943393 time to create 1 rle with new method : 0.10235428810119629 time for calcul the mask position with numpy : 0.005913972854614258 nb_pixel_total : 4946 time to create 1 rle with old method : 0.0054781436920166016 time for calcul the mask position with numpy : 0.005767345428466797 nb_pixel_total : 4840 time to create 1 rle with old method : 0.005065441131591797 time for calcul the mask position with numpy : 0.005883693695068359 nb_pixel_total : 1686 time to create 1 rle with old method : 0.0017783641815185547 time for calcul the mask position with numpy : 0.006270408630371094 nb_pixel_total : 109909 time to create 1 rle with old method : 0.11837244033813477 time for calcul the mask position with numpy : 0.006034135818481445 nb_pixel_total : 4464 time to create 1 rle with old method : 0.005249500274658203 time for calcul the mask position with numpy : 0.005991458892822266 nb_pixel_total : 4362 time to create 1 rle with old method : 0.004973411560058594 create new chi : 0.3868570327758789 time to delete rle : 0.0004487037658691406 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2772 TO DO : save crop sub photo not yet done ! save time : 0.45828890800476074 No data in photo_id : 1389258049 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.046907901763916016 time for calcul the mask position with numpy : 0.01747441291809082 nb_pixel_total : 1943277 time to create 1 rle with new method : 0.0640561580657959 time for calcul the mask position with numpy : 0.005980730056762695 nb_pixel_total : 6354 time to create 1 rle with old method : 0.006870746612548828 time for calcul the mask position with numpy : 0.006700277328491211 nb_pixel_total : 120124 time to create 1 rle with old method : 0.1290876865386963 time for calcul the mask position with numpy : 0.0070343017578125 nb_pixel_total : 3845 time to create 1 rle with old method : 0.004338264465332031 create new chi : 0.24201512336730957 time to delete rle : 0.00045299530029296875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2556 TO DO : save crop sub photo not yet done ! save time : 0.43355488777160645 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07474088668823242 time for calcul the mask position with numpy : 0.06258559226989746 nb_pixel_total : 1240568 time to create 1 rle with new method : 0.08380460739135742 time for calcul the mask position with numpy : 0.011215448379516602 nb_pixel_total : 803900 time to create 1 rle with new method : 0.10563158988952637 time for calcul the mask position with numpy : 0.007441520690917969 nb_pixel_total : 26128 time to create 1 rle with old method : 0.028616666793823242 time for calcul the mask position with numpy : 0.005925893783569336 nb_pixel_total : 3004 time to create 1 rle with old method : 0.0031740665435791016 create new chi : 0.32350730895996094 time to delete rle : 0.0005040168762207031 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 4028 TO DO : save crop sub photo not yet done ! save time : 0.5792222023010254 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05200481414794922 time for calcul the mask position with numpy : 0.017200469970703125 nb_pixel_total : 1296076 time to create 1 rle with new method : 0.06876707077026367 time for calcul the mask position with numpy : 0.01056981086730957 nb_pixel_total : 737584 time to create 1 rle with new method : 0.044066667556762695 time for calcul the mask position with numpy : 0.006105899810791016 nb_pixel_total : 22097 time to create 1 rle with old method : 0.02378678321838379 time for calcul the mask position with numpy : 0.005942106246948242 nb_pixel_total : 17843 time to create 1 rle with old method : 0.019634008407592773 create new chi : 0.207017183303833 time to delete rle : 0.0005025863647460938 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3702 TO DO : save crop sub photo not yet done ! save time : 0.5403125286102295 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03310990333557129 time for calcul the mask position with numpy : 0.019839763641357422 nb_pixel_total : 2051787 time to create 1 rle with new method : 0.04320216178894043 time for calcul the mask position with numpy : 0.0061681270599365234 nb_pixel_total : 21813 time to create 1 rle with old method : 0.023819923400878906 create new chi : 0.09605646133422852 time to delete rle : 0.00023436546325683594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1384 TO DO : save crop sub photo not yet done ! save time : 0.2799971103668213 map_output_result : {1389258491: (0.0, 'Should be the crop_list due to order', 0.0), 1389258489: (0.0, 'Should be the crop_list due to order', 0), 1389258487: (0.0, 'Should be the crop_list due to order', 0), 1389258485: (0.0, 'Should be the crop_list due to order', 0), 1389258484: (0.0, 'Should be the crop_list due to order', 0), 1389258049: (0.0, 'Should be the crop_list due to order', 0.0), 1389258047: (0.0, 'Should be the crop_list due to order', 0), 1389258038: (0.0, 'Should be the crop_list due to order', 0), 1389258031: (0.0, 'Should be the crop_list due to order', 0), 1389257999: (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 [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] Looping around the photos to save general results len do output : 10 /1389258491.Didn't retrieve data . /1389258489.Didn't retrieve data . /1389258487.Didn't retrieve data . /1389258485.Didn't retrieve data . /1389258484.Didn't retrieve data . /1389258049.Didn't retrieve data . /1389258047.Didn't retrieve data . /1389258038.Didn't retrieve data . /1389258031.Didn't retrieve data . /1389257999.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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03626561164855957 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.068718433380127 time spend to save output : 0.03675103187561035 total time spend for step 3 : 8.105469465255737 step4:ventilate_hashtags_in_portfolio Mon Oct 13 19:41: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 ! 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 : 27770948 get user id for portfolio 27770948 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`=27770948 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','environnement','pet_fonce','mal_croppe','carton','flou','background','autre','papier','metal')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27770948 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','environnement','pet_fonce','mal_croppe','carton','flou','background','autre','papier','metal')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27770948 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','environnement','pet_fonce','mal_croppe','carton','flou','background','autre','papier','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27771131,27771132,27771133,27771134,27771135,27771136,27771137,27771138,27771139,27771140,27771141?tags=pehd,pet_clair,environnement,pet_fonce,mal_croppe,carton,flou,background,autre,papier,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] Looping around the photos to save general results len do output : 1 /27770948. 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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03811311721801758 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.617618799209595 time spend to save output : 0.03841257095336914 total time spend for step 4 : 5.656031370162964 step5:final Mon Oct 13 19:41: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 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 : {1389258491: ('0.1412160976080247',), 1389258489: ('0.1412160976080247',), 1389258487: ('0.1412160976080247',), 1389258485: ('0.1412160976080247',), 1389258484: ('0.1412160976080247',), 1389258049: ('0.1412160976080247',), 1389258047: ('0.1412160976080247',), 1389258038: ('0.1412160976080247',), 1389258031: ('0.1412160976080247',), 1389257999: ('0.1412160976080247',)} new output for save of step final : {1389258491: ('0.1412160976080247',), 1389258489: ('0.1412160976080247',), 1389258487: ('0.1412160976080247',), 1389258485: ('0.1412160976080247',), 1389258484: ('0.1412160976080247',), 1389258049: ('0.1412160976080247',), 1389258047: ('0.1412160976080247',), 1389258038: ('0.1412160976080247',), 1389258031: ('0.1412160976080247',), 1389257999: ('0.1412160976080247',)} [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] Looping around the photos to save general results len do output : 10 /1389258491.Didn't retrieve data . /1389258489.Didn't retrieve data . /1389258487.Didn't retrieve data . /1389258485.Didn't retrieve data . /1389258484.Didn't retrieve data . /1389258049.Didn't retrieve data . /1389258047.Didn't retrieve data . /1389258038.Didn't retrieve data . /1389258031.Didn't retrieve data . /1389257999.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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.037817955017089844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3881683349609375 time spend to save output : 0.0383603572845459 total time spend for step 5 : 0.4265286922454834 step6:blur_detection Mon Oct 13 19:41: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 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/1760377228_2746858_1389258491_239deaafff9e0496a0b6b7967abab5d6.jpg resize: (1080, 1920) 1389258491 -2.103260315078983 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e.jpg resize: (1080, 1920) 1389258489 -2.2790015692338366 treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1.jpg resize: (1080, 1920) 1389258487 -1.1973212145208474 treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b.jpg resize: (1080, 1920) 1389258485 -1.4304122667146788 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7.jpg resize: (1080, 1920) 1389258484 -4.153525729830237 treat image : temp/1760377228_2746858_1389258049_56337e73c13bd72de103ac31a5a96de8.jpg resize: (1080, 1920) 1389258049 -2.165915519811043 treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4.jpg resize: (1080, 1920) 1389258047 -2.7629174760685715 treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e.jpg resize: (1080, 1920) 1389258038 -1.9457340574837991 treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2.jpg resize: (1080, 1920) 1389258031 -2.007548927629663 treat image : temp/1760377228_2746858_1389257999_5f065b6809cb2faf6ef93348781065db.jpg resize: (1080, 1920) 1389257999 -2.327433531903566 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663656_0.png resize: (110, 95) 1389278081 0.03228404494596529 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663653_0.png resize: (64, 60) 1389278082 -3.365318865395963 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663654_0.png resize: (206, 97) 1389278083 -2.0296820600332586 treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663659_0.png resize: (65, 55) 1389278084 0.5799892230092747 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663667_0.png resize: (49, 142) 1389278085 -2.8040618350235857 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663669_0.png resize: (41, 53) 1389278086 -3.8229425271679793 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663666_0.png resize: (50, 126) 1389278087 -1.1501961568544083 treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663674_0.png resize: (98, 93) 1389278088 -1.8387850242087125 treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663672_0.png resize: (71, 76) 1389278089 -3.7053740902975743 treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663675_0.png resize: (51, 75) 1389278090 1.4958877576966634 treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663678_0.png resize: (182, 177) 1389278091 -2.288875164300319 treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663664_0.png resize: (60, 70) 1389278092 -2.516130370670395 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663658_0.png resize: (212, 181) 1389278217 -3.7970216145410327 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663655_0.png resize: (523, 327) 1389278218 -0.2953157022929131 treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663661_0.png resize: (132, 296) 1389278219 -2.955728875533411 treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663660_0.png resize: (99, 138) 1389278222 -3.822441427905162 treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663662_0.png resize: (112, 120) 1389278223 -3.687894978668797 treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663665_0.png resize: (1003, 1103) 1389278224 0.06161308564768069 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663668_0.png resize: (518, 323) 1389278225 0.24798488014253078 treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663673_0.png resize: (544, 366) 1389278226 -0.11503184047616295 treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663677_0.png resize: (1003, 1093) 1389278227 -0.7826977504006626 treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663676_0.png resize: (296, 220) 1389278228 -1.9238670812458727 treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663680_0.png resize: (992, 1001) 1389278229 0.00952061477871511 treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663679_0.png resize: (128, 212) 1389278230 -2.45265203069044 treat image : temp/1760377228_2746858_1389257999_5f065b6809cb2faf6ef93348781065db_rle_crop_3996663681_0.png resize: (151, 197) 1389278231 -3.259673661612534 treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663657_0.png resize: (86, 84) 1389278235 -0.7164430719885585 treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663663_0.png resize: (86, 73) 1389278236 -0.7327292562599432 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663671_0.png resize: (81, 100) 1389278237 -4.176603711445734 treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663670_0.png resize: (82, 82) 1389278238 -3.6815479002353952 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 : 39 time used for this insertion : 0.09793257713317871 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.08718347549438477 save missing photos in datou_result : time spend for datou_step_exec : 9.568965911865234 time spend to save output : 0.2037358283996582 total time spend for step 6 : 9.772701740264893 step7:brightness Mon Oct 13 19:41:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1760377228_2746858_1389258491_239deaafff9e0496a0b6b7967abab5d6.jpg treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e.jpg treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1.jpg treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b.jpg treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7.jpg treat image : temp/1760377228_2746858_1389258049_56337e73c13bd72de103ac31a5a96de8.jpg treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4.jpg treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e.jpg treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2.jpg treat image : temp/1760377228_2746858_1389257999_5f065b6809cb2faf6ef93348781065db.jpg treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663656_0.png treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663653_0.png treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663654_0.png treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663659_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663667_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663669_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663666_0.png treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663674_0.png treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663672_0.png treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663675_0.png treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663678_0.png treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663664_0.png treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663658_0.png treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663655_0.png treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663661_0.png treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663660_0.png treat image : temp/1760377228_2746858_1389258487_ace904965e7cd95a340ef300f3e50fc1_rle_crop_3996663662_0.png treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663665_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663668_0.png treat image : temp/1760377228_2746858_1389258047_6e2909fd22d8f8fde36144f7d97d8ec4_rle_crop_3996663673_0.png treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663677_0.png treat image : temp/1760377228_2746858_1389258038_5df0f16d1eadba42d664ef7bed2e371e_rle_crop_3996663676_0.png treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663680_0.png treat image : temp/1760377228_2746858_1389258031_04feb095bcdcab6aca1c3b7e371b88e2_rle_crop_3996663679_0.png treat image : temp/1760377228_2746858_1389257999_5f065b6809cb2faf6ef93348781065db_rle_crop_3996663681_0.png treat image : temp/1760377228_2746858_1389258489_c38adcae33eab310a52459afa0a3851e_rle_crop_3996663657_0.png treat image : temp/1760377228_2746858_1389258485_c5007d33835a3947db5adeb4eea4701b_rle_crop_3996663663_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663671_0.png treat image : temp/1760377228_2746858_1389258484_5698adb556da25c6cf5c56da6ce318c7_rle_crop_3996663670_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 : 39 time used for this insertion : 0.03969597816467285 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.03679513931274414 save missing photos in datou_result : time spend for datou_step_exec : 2.656324625015259 time spend to save output : 0.0946650505065918 total time spend for step 7 : 2.7509896755218506 step8:velours_tree Mon Oct 13 19:41:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.13862824440002441 time spend to save output : 3.409385681152344e-05 total time spend for step 8 : 0.13866233825683594 step9:send_mail_cod Mon Oct 13 19:41:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P27770948_13-10-2025_19_41_43.pdf 27771131 imagette277711311760377303 27771132 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 .imagette277711321760377303 27771134 imagette277711341760377304 27771135 imagette277711351760377304 27771136 imagette277711361760377304 27771137 imagette277711371760377304 27771138 imagette277711381760377304 27771139 change filename to text .change filename to text .change filename to text .change filename to text .imagette277711391760377304 27771140 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 .imagette277711401760377305 27771141 change filename to text .imagette277711411760377305 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27770948 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27771131,27771132,27771133,27771134,27771135,27771136,27771137,27771138,27771139,27771140,27771141?tags=pehd,pet_clair,environnement,pet_fonce,mal_croppe,carton,flou,background,autre,papier,metal args[1389258491] : ((1389258491, -2.103260315078983, 492609224), (1389258491, 0.38038575907371425, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258489] : ((1389258489, -2.2790015692338366, 492609224), (1389258489, 0.3433448065491716, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258487] : ((1389258487, -1.1973212145208474, 492688767), (1389258487, 0.2936162236918721, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258485] : ((1389258485, -1.4304122667146788, 492688767), (1389258485, 0.4305321185389381, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258484] : ((1389258484, -4.153525729830237, 492609224), (1389258484, 0.4132716284222728, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258049] : ((1389258049, -2.165915519811043, 492609224), (1389258049, 0.4313340686046388, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258047] : ((1389258047, -2.7629174760685715, 492609224), (1389258047, 0.378044616311586, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258038] : ((1389258038, -1.9457340574837991, 492688767), (1389258038, 0.41773275603576093, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389258031] : ((1389258031, -2.007548927629663, 492609224), (1389258031, 0.45654208253257494, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com args[1389257999] : ((1389257999, -2.327433531903566, 492609224), (1389257999, 0.4314457212921126, 2107752395), '0.1412160976080247') We are sending mail with results at report@fotonower.com refus_total : 0.1412160976080247 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=27770948 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_P27770948_13-10-2025_19_41_43.pdf results_Auto_P27770948_13-10-2025_19_41_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27770948_13-10-2025_19_41_43.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','27770948','results_Auto_P27770948_13-10-2025_19_41_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27770948_13-10-2025_19_41_43.pdf','pdf','','0.37','0.1412160976080247') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27770948

https://www.fotonower.com/image?json=false&list_photos_id=1389258491
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258489
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258487
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258485
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258484
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258049
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258047
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258038
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389258031
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389257999
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27771132?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27771139?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27771140?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27771141?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27770948_13-10-2025_19_41_43.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27771131,27771132,27771133,27771134,27771135,27771136,27771137,27771138,27771139,27771140,27771141?tags=pehd,pet_clair,environnement,pet_fonce,mal_croppe,carton,flou,background,autre,papier,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 13 Oct 2025 17:41:48 GMT Content-Length: 0 Connection: close X-Message-Id: M4LsOAcNSH-4P9J6rz9CQw 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 [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] 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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.04039621353149414 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.971278429031372 time spend to save output : 0.040667057037353516 total time spend for step 9 : 5.011945486068726 step10:split_time_score Mon Oct 13 19:41:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13102025 27770948 Nombre de photos uploadées : 10 / 23040 (0%) 13102025 27770948 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 13102025 27770948 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.000518798828125 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6347713470458984 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.0486033950617284 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749759_13-10-2025_10_31_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749759 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`=27749759 AND mptpi.`type`=3594 To do Qualite : 0.05129379734848485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749761 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`=27749761 AND mptpi.`type`=3594 To do Qualite : 0.044068443769290117 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756449_13-10-2025_14_32_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756449 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`=27756449 AND mptpi.`type`=3594 To do Qualite : 0.0960733989197531 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756454_13-10-2025_13_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756454 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`=27756454 AND mptpi.`type`=3594 To do Qualite : 0.08950602445394115 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756455_13-10-2025_14_01_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756455 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`=27756455 AND mptpi.`type`=3594 To do Qualite : 0.17526720839763377 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756456 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`=27756456 AND mptpi.`type`=3594 To do Qualite : 0.025438105008417505 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27766717_13-10-2025_18_31_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27766717 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`=27766717 AND mptpi.`type`=3594 To do Qualite : 0.14638470936213996 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27766721_13-10-2025_18_02_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27766721 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`=27766721 AND mptpi.`type`=3594 To do Qualite : 0.1412160976080247 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27770948_13-10-2025_19_41_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27770948 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`=27770948 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27770952 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27770953 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13102025': {'nb_upload': 10, '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 [1389258491, 1389258489, 1389258487, 1389258485, 1389258484, 1389258049, 1389258047, 1389258038, 1389258031, 1389257999] Looping around the photos to save general results len do output : 1 /27770948Didn'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, '3935155') ('3318', '27770948', '1389258491', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258489', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258487', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258485', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258484', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258049', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258047', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258038', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389258031', None, None, None, None, None, '3935155') ('3318', None, None, None, None, None, None, None, '3935155') ('3318', '27770948', '1389257999', None, None, None, None, None, '3935155') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.04024958610534668 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.371019124984741 time spend to save output : 0.04049181938171387 total time spend for step 10 : 4.411510944366455 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 42.39user 16.03system 1:27.66elapsed 66%CPU (0avgtext+0avgdata 2753588maxresident)k 303464inputs+25464outputs (400major+1279300minor)pagefaults 0swaps