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 : 1665553 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: [] Date 2026-02-27 20:30:27.941864 Current got : datou_id : 3318, datou_cur_ids : ['4353423'] with mtr_portfolio_ids : ['30536398'] and first list_photo_ids : [] new path : /proc/1665553/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.346623420715332 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Feb 27 20:30:29 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-02-27 20:30:33.636460: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-02-27 20:30:33.674770: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-02-27 20:30:33.677645: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4404000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-02-27 20:30:33.677726: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-02-27 20:30:33.683664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-02-27 20:30:33.945062: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19549110 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-02-27 20:30:33.945141: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-02-27 20:30:33.947202: 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 2026-02-27 20:30:33.949809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:30:33.989497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:30:34.015082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:30:34.020618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:30:34.057871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:30:34.063194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:30:34.130474: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:30:34.132876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:30:34.133407: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:30:34.135575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-27 20:30:34.135605: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-27 20:30:34.135620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-27 20:30:34.138322: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2026-02-27 20:30:34.610726: 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 2026-02-27 20:30:34.610859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:30:34.610884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:30:34.610906: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:30:34.610927: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:30:34.610947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:30:34.610967: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:30:34.610988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:30:34.612544: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:30:34.613910: 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 2026-02-27 20:30:34.613948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:30:34.613967: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:30:34.613984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:30:34.614001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:30:34.614018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:30:34.614035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:30:34.614052: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:30:34.615609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:30:34.615651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-27 20:30:34.615661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-27 20:30:34.615671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-27 20:30:34.617273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : [] file manque in s3 : ['mask_model.h5'] 2026-02-27 20:30:44.174896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:30:44.544074: 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 list_images length : 8 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 : 1 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 : 1 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: 18.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: 40.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: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 16 Detection mask done ! Trying to reset tf kernel 1665863 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5485 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 10774 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'] DEBUG bbox = [741, 573, 849, 702] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002262592315673828 nb_pixel_total : 8274 time to create 1 rle with old method : 0.009566068649291992 length of segment : 99 DEBUG bbox = [519, 1095, 639, 1221] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016736984252929688 nb_pixel_total : 7261 time to create 1 rle with old method : 0.008176326751708984 length of segment : 94 DEBUG bbox = [960, 1212, 1056, 1311] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 4007 time to create 1 rle with old method : 0.004629373550415039 length of segment : 103 DEBUG bbox = [804, 930, 924, 1038] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016641616821289062 nb_pixel_total : 8458 time to create 1 rle with old method : 0.009846210479736328 length of segment : 112 DEBUG bbox = [816, 360, 1044, 582] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000469207763671875 nb_pixel_total : 25840 time to create 1 rle with old method : 0.029646635055541992 length of segment : 222 DEBUG bbox = [522, 1425, 597, 1542] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 5898 time to create 1 rle with old method : 0.006890058517456055 length of segment : 69 DEBUG bbox = [942, 924, 1065, 1116] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001914501190185547 nb_pixel_total : 12625 time to create 1 rle with old method : 0.014678239822387695 length of segment : 116 DEBUG bbox = [714, 1170, 888, 1473] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00037550926208496094 nb_pixel_total : 20790 time to create 1 rle with old method : 0.02437448501586914 length of segment : 179 DEBUG bbox = [447, 1170, 555, 1257] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011348724365234375 nb_pixel_total : 3730 time to create 1 rle with old method : 0.004456758499145508 length of segment : 101 DEBUG bbox = [552, 1281, 639, 1356] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.584426879882812e-05 nb_pixel_total : 4386 time to create 1 rle with old method : 0.005084514617919922 length of segment : 84 DEBUG bbox = [888, 942, 1071, 1020] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 6594 time to create 1 rle with old method : 0.007691383361816406 length of segment : 175 DEBUG bbox = [609, 801, 678, 876] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.748603820800781e-05 nb_pixel_total : 2890 time to create 1 rle with old method : 0.0034215450286865234 length of segment : 66 time spent for convertir_results : 0.6986372470855713 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 30 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 1420 save missing photos in datou_result : time spend for datou_step_exec : 26.398536920547485 time spend to save output : 0.16806721687316895 total time spend for step 1 : 26.566604137420654 step2:crop_condition Fri Feb 27 20:30:55 2026 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 : 8 ! batch 1 Loaded 30 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 ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772220656_1665553 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png', 0, 123, 99, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_bib_crop_3998582701_0.jpg', 0, 122, 98, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png', 0, 107, 112, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582707_0.jpg', 0, 106, 111, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png', 0, 76, 93, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582708_0.jpg', 0, 75, 92, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png', 0, 106, 69, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582705_0.jpg', 0, 105, 68, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png', 0, 180, 116, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582711_0.jpg', 0, 179, 115, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png', 0, 64, 169, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582720_0.jpg', 0, 63, 168, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png', 0, 68, 101, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582722_0.jpg', 0, 67, 100, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png', 0, 69, 84, 0, 1772220659,'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(1772220659), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582721_0.jpg', 0, 68, 83, 0, 1772220659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.00396466255188 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1772220661_1665553 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(1772220662), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png', 0, 106, 92, 0, 1772220662,'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(1772220662), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_bib_crop_3998582703_0.jpg', 0, 105, 91, 0, 1772220662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772220662), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png', 0, 277, 146, 0, 1772220662,'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(1772220662), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582710_0.jpg', 0, 276, 145, 0, 1772220662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6054456233978271 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772220663_1665553 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(1772220663), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png', 0, 52, 66, 0, 1772220663,'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(1772220663), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582719_0.jpg', 0, 51, 65, 0, 1772220663,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8409931659698486 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772220664_1665553 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(1772220664), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_4142633779_0.png', 0, 210, 197, 0, 1772220664,'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(1772220664), 0.0, 0.0, 14, '', 0, 0, '1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582706_0.jpg', 0, 206, 194, 0, 1772220664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8974490165710449 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] Looping around the photos to save general results len do output : 24 /1409809189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409809336Didn'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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 80 time used for this insertion : 0.01850581169128418 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.744191646575928 time spend to save output : 0.01968097686767578 total time spend for step 2 : 8.763872623443604 step3:rle_unique_nms_with_priority Fri Feb 27 20:31:04 2026 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 30 chid ids of type : 3594 +++++++++++++++ No data in photo_id : 1389553130 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.42233967781066895 time for calcul the mask position with numpy : 0.08445334434509277 nb_pixel_total : 2065326 time to create 1 rle with new method : 0.1990799903869629 time for calcul the mask position with numpy : 0.007151603698730469 nb_pixel_total : 8274 time to create 1 rle with old method : 0.009620189666748047 create new chi : 0.3091135025024414 time to delete rle : 0.02713942527770996 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1278 TO DO : save crop sub photo not yet done ! save time : 0.10467052459716797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.21755504608154297 time for calcul the mask position with numpy : 0.08321285247802734 nb_pixel_total : 2066339 time to create 1 rle with new method : 0.26994943618774414 time for calcul the mask position with numpy : 0.006459474563598633 nb_pixel_total : 7261 time to create 1 rle with old method : 0.008165836334228516 create new chi : 0.3761024475097656 time to delete rle : 0.0001697540283203125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1268 TO DO : save crop sub photo not yet done ! save time : 0.09748053550720215 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.3360633850097656 time for calcul the mask position with numpy : 0.27596187591552734 nb_pixel_total : 2028897 time to create 1 rle with new method : 0.24795913696289062 time for calcul the mask position with numpy : 0.010248899459838867 nb_pixel_total : 5898 time to create 1 rle with old method : 0.006789445877075195 time for calcul the mask position with numpy : 0.009999752044677734 nb_pixel_total : 500 time to create 1 rle with old method : 0.0007565021514892578 time for calcul the mask position with numpy : 0.006530046463012695 nb_pixel_total : 25840 time to create 1 rle with old method : 0.029121875762939453 time for calcul the mask position with numpy : 0.006237506866455078 nb_pixel_total : 8458 time to create 1 rle with old method : 0.00964045524597168 time for calcul the mask position with numpy : 0.006537199020385742 nb_pixel_total : 4007 time to create 1 rle with old method : 0.004664421081542969 create new chi : 0.622697114944458 time to delete rle : 0.0003437995910644531 batch 1 Loaded 12 chid ids of type : 3594 ++++++Number RLEs to save : 2284 TO DO : save crop sub photo not yet done ! save time : 0.17401432991027832 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.09600281715393066 time for calcul the mask position with numpy : 0.2819948196411133 nb_pixel_total : 2040185 time to create 1 rle with new method : 0.09536194801330566 time for calcul the mask position with numpy : 0.006381511688232422 nb_pixel_total : 20790 time to create 1 rle with old method : 0.023781776428222656 time for calcul the mask position with numpy : 0.006348133087158203 nb_pixel_total : 12625 time to create 1 rle with old method : 0.01432037353515625 create new chi : 0.4368147850036621 time to delete rle : 0.00021409988403320312 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1670 TO DO : save crop sub photo not yet done ! save time : 0.12756896018981934 No data in photo_id : 1389553065 No data in photo_id : 1389553063 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.18143510818481445 time for calcul the mask position with numpy : 0.0905916690826416 nb_pixel_total : 2056000 time to create 1 rle with new method : 0.1653587818145752 time for calcul the mask position with numpy : 0.007171154022216797 nb_pixel_total : 2890 time to create 1 rle with old method : 0.003319263458251953 time for calcul the mask position with numpy : 0.006310939788818359 nb_pixel_total : 6594 time to create 1 rle with old method : 0.007569551467895508 time for calcul the mask position with numpy : 0.010244607925415039 nb_pixel_total : 4386 time to create 1 rle with old method : 0.005028724670410156 time for calcul the mask position with numpy : 0.01004338264465332 nb_pixel_total : 3730 time to create 1 rle with old method : 0.0043163299560546875 create new chi : 0.31940174102783203 time to delete rle : 0.0002574920654296875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1932 TO DO : save crop sub photo not yet done ! save time : 0.1338338851928711 map_output_result : {1389553130: (0.0, 'Should be the crop_list due to order', 0.0), 1389553129: (0.0, 'Should be the crop_list due to order', 0), 1389553128: (0.0, 'Should be the crop_list due to order', 0), 1389553127: (0.0, 'Should be the crop_list due to order', 0), 1389553126: (0.0, 'Should be the crop_list due to order', 0), 1389553065: (0.0, 'Should be the crop_list due to order', 0.0), 1389553063: (0.0, 'Should be the crop_list due to order', 0.0), 1389553057: (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 [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] Looping around the photos to save general results len do output : 8 /1389553130.Didn't retrieve data . /1389553129.Didn't retrieve data . /1389553128.Didn't retrieve data . /1389553127.Didn't retrieve data . /1389553126.Didn't retrieve data . /1389553065.Didn't retrieve data . /1389553063.Didn't retrieve data . /1389553057.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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013907432556152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.212350606918335 time spend to save output : 0.014422893524169922 total time spend for step 3 : 4.226773500442505 step4:ventilate_hashtags_in_portfolio Fri Feb 27 20:31:08 2026 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 : 30536398 get user id for portfolio 30536398 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`=30536398 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','mal_croppe','pehd','flou','environnement','carton','background','metal','pet_fonce','papier','autre')) 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`=30536398 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','mal_croppe','pehd','flou','environnement','carton','background','metal','pet_fonce','papier','autre')) 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`=30536398 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','mal_croppe','pehd','flou','environnement','carton','background','metal','pet_fonce','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30548514,30548515,30548516,30548517,30548518,30548519,30548520,30548521,30548522,30548523,30548524?tags=pet_clair,mal_croppe,pehd,flou,environnement,carton,background,metal,pet_fonce,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] Looping around the photos to save general results len do output : 1 /30536398. 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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.012708425521850586 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6587724685668945 time spend to save output : 0.012959480285644531 total time spend for step 4 : 1.671731948852539 step5:final Fri Feb 27 20:31:10 2026 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 : {1389553130: ('0.006706512827932099',), 1389553129: ('0.006706512827932099',), 1389553128: ('0.006706512827932099',), 1389553127: ('0.006706512827932099',), 1389553126: ('0.006706512827932099',), 1389553065: ('0.006706512827932099',), 1389553063: ('0.006706512827932099',), 1389553057: ('0.006706512827932099',)} new output for save of step final : {1389553130: ('0.006706512827932099',), 1389553129: ('0.006706512827932099',), 1389553128: ('0.006706512827932099',), 1389553127: ('0.006706512827932099',), 1389553126: ('0.006706512827932099',), 1389553065: ('0.006706512827932099',), 1389553063: ('0.006706512827932099',), 1389553057: ('0.006706512827932099',)} [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] Looping around the photos to save general results len do output : 8 /1389553130.Didn't retrieve data . /1389553129.Didn't retrieve data . /1389553128.Didn't retrieve data . /1389553127.Didn't retrieve data . /1389553126.Didn't retrieve data . /1389553065.Didn't retrieve data . /1389553063.Didn't retrieve data . /1389553057.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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.012707710266113281 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11525321006774902 time spend to save output : 0.01308441162109375 total time spend for step 5 : 0.12833762168884277 step6:blur_detection Fri Feb 27 20:31:10 2026 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/1772220628_1665553_1389553130_a2d2a7073814c4a5c5284b1292540470.jpg resize: (1080, 1920) 1389553130 1.315442642569824 treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b.jpg resize: (1080, 1920) 1389553129 -0.4230937760376534 treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07.jpg resize: (1080, 1920) 1389553128 0.8933791344100054 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570.jpg resize: (1080, 1920) 1389553127 -4.061139097733994 treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6.jpg resize: (1080, 1920) 1389553126 0.6048351900333757 treat image : temp/1772220628_1665553_1389553065_251484f0644c8567f29193fffd6eab19.jpg resize: (1080, 1920) 1389553065 14.967094848219316 treat image : temp/1772220628_1665553_1389553063_9679e5060dbcfe9b52cc48e49984feae.jpg resize: (1080, 1920) 1389553063 14.224321834852896 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429.jpg resize: (1080, 1920) 1389553057 -0.4778194645895562 treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png resize: (99, 123) 1409809189 -2.199707154901598 treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_bib_crop_3998582701_0.jpg resize: (98, 122) 1409809190 -1.0591802578120881 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png resize: (112, 107) 1409809192 -2.257090224876279 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582707_0.jpg resize: (111, 106) 1409809196 -2.842364247454632 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png resize: (93, 76) 1409809197 -3.4022164801914534 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582708_0.jpg resize: (92, 75) 1409809199 -2.2919081244111004 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png resize: (69, 106) 1409809201 0.9496304417441996 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582705_0.jpg resize: (68, 105) 1409809204 20.0 treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png resize: (116, 180) 1409809206 -0.7443578468974242 treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582711_0.jpg resize: (115, 179) 1409809208 0.36087810159453776 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png resize: (169, 64) 1409809211 0.6739671202610384 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582720_0.jpg resize: (168, 63) 1409809213 -0.13324975821731394 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png resize: (101, 68) 1409809214 -1.5742611100346644 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582722_0.jpg resize: (100, 67) 1409809216 20.0 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png resize: (84, 69) 1409809218 0.5908260509045572 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582721_0.jpg resize: (83, 68) 1409809220 6.186770357914483 treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png resize: (92, 106) 1409809266 -0.8089797257686003 treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_bib_crop_3998582703_0.jpg resize: (91, 105) 1409809267 20.0 treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png resize: (146, 277) 1409809268 -1.7630751641803264 treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582710_0.jpg resize: (145, 276) 1409809270 20.0 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png resize: (66, 52) 1409809302 0.7605008030050748 treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582719_0.jpg resize: (65, 51) 1409809303 1.2263946450614829 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_4142633779_0.png resize: (197, 210) 1409809335 -3.3859171859430073 treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582706_0.jpg resize: (194, 206) 1409809336 -2.8473138654740064 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 : 32 time used for this insertion : 0.01226806640625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.018999576568603516 save missing photos in datou_result : time spend for datou_step_exec : 6.395760774612427 time spend to save output : 0.0363004207611084 total time spend for step 6 : 6.432061195373535 step7:brightness Fri Feb 27 20:31:17 2026 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/1772220628_1665553_1389553130_a2d2a7073814c4a5c5284b1292540470.jpg treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b.jpg treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07.jpg treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570.jpg treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6.jpg treat image : temp/1772220628_1665553_1389553065_251484f0644c8567f29193fffd6eab19.jpg treat image : temp/1772220628_1665553_1389553063_9679e5060dbcfe9b52cc48e49984feae.jpg treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429.jpg treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png treat image : temp/1772220628_1665553_1389553129_ed4d14d535c2338055d68368ea1d737b_bib_crop_3998582701_0.jpg treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582707_0.jpg treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582708_0.jpg treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582705_0.jpg treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582711_0.jpg treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582720_0.jpg treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582722_0.jpg treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582721_0.jpg treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png treat image : temp/1772220628_1665553_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_bib_crop_3998582703_0.jpg treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png treat image : temp/1772220628_1665553_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_bib_crop_3998582710_0.jpg treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png treat image : temp/1772220628_1665553_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_bib_crop_3998582719_0.jpg treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_4142633779_0.png treat image : temp/1772220628_1665553_1389553127_cd482a04ff9457c9be8d654ed783f570_bib_crop_3998582706_0.jpg 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 : 32 time used for this insertion : 0.013452768325805664 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.011950254440307617 save missing photos in datou_result : time spend for datou_step_exec : 1.7737505435943604 time spend to save output : 0.029817819595336914 total time spend for step 7 : 1.8035683631896973 step8:velours_tree Fri Feb 27 20:31:18 2026 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.24649667739868164 time spend to save output : 3.886222839355469e-05 total time spend for step 8 : 0.2465355396270752 step9:send_mail_cod Fri Feb 27 20:31:19 2026 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_P30536398_27-02-2026_20_31_19.pdf 30548514 change filename to text .change filename to text .change filename to text .imagette305485141772220679 30548515 imagette305485151772220679 30548516 imagette305485161772220679 30548517 imagette305485171772220679 30548519 change filename to text .change filename to text .change filename to text .change filename to text .imagette305485191772220679 30548520 imagette305485201772220679 30548521 change filename to text .change filename to text .imagette305485211772220679 30548522 imagette305485221772220680 30548523 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette305485231772220680 30548524 imagette305485241772220680 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30536398 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30548514,30548515,30548516,30548517,30548518,30548519,30548520,30548521,30548522,30548523,30548524?tags=pet_clair,mal_croppe,pehd,flou,environnement,carton,background,metal,pet_fonce,papier,autre your option no_mail is active, we will not send the real mail to your client args[1389553130] : ((1389553130, 1.315442642569824, 492688767), (1389553130, 0.3175971010961415, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553129] : ((1389553129, -0.4230937760376534, 492688767), (1389553129, 0.25615983685089844, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553128] : ((1389553128, 0.8933791344100054, 492688767), (1389553128, 0.4023033148633927, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553127] : ((1389553127, -4.061139097733994, 492609224), (1389553127, 0.22447290834459566, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553126] : ((1389553126, 0.6048351900333757, 492688767), (1389553126, 0.7873046307969849, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553065] : ((1389553065, 14.967094848219316, 492688767), (1389553065, 0.42168411233114517, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553063] : ((1389553063, 14.224321834852896, 492688767), (1389553063, 0.3996443254128558, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com args[1389553057] : ((1389553057, -0.4778194645895562, 492688767), (1389553057, 0.6184673940774886, 2107752395), '0.006706512827932099') We are sending mail with results at report@fotonower.com refus_total : 0.006706512827932099 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=30536398 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_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536398_27-02-2026_20_31_19.pdf results_Auto_P30536398_27-02-2026_20_31_19.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536398_27-02-2026_20_31_19.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','30536398','results_Auto_P30536398_27-02-2026_20_31_19.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536398_27-02-2026_20_31_19.pdf','pdf','','0.11','0.006706512827932099') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] 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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.013702630996704102 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.213625907897949 time spend to save output : 0.01390981674194336 total time spend for step 9 : 3.2275357246398926 step10:split_time_score Fri Feb 27 20:31:22 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 30536398 Nombre de photos uploadées : 8 / 23040 (0%) 15102025 30536398 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 15102025 30536398 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0006291866302490234 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19659781455993652 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536383 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536385 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536387 order by id desc limit 1 Qualite : 0.27386424575617285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827188 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`=27827188 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536390 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536393 order by id desc limit 1 Qualite : 0.16775835613075196 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830128_15-10-2025_12_51_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27830128 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`=27830128 AND mptpi.`type`=3594 To do Qualite : 0.006706512827932099 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536398_27-02-2026_20_31_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536398 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`=30536398 AND mptpi.`type`=3594 To do Qualite : 0.09047373328189301 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536400_27-02-2026_20_21_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536400 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`=30536400 AND mptpi.`type`=3594 To do Qualite : 0.1377709297839506 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536403_27-02-2026_20_01_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536403 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`=30536403 AND mptpi.`type`=3594 To do Qualite : 0.07449534893689988 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836509_15-10-2025_18_22_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836509 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`=27836509 AND mptpi.`type`=3594 To do Qualite : 0.018675411522633745 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536405_27-02-2026_19_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536405 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`=30536405 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'nb_upload': 8, '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 [1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553065, 1389553063, 1389553057] Looping around the photos to save general results len do output : 1 /30536398Didn'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, '4353423') ('3318', '30536398', '1389553130', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553129', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553128', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553127', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553126', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553065', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553063', None, None, None, None, None, '4353423') ('3318', None, None, None, None, None, None, None, '4353423') ('3318', '30536398', '1389553057', None, None, None, None, None, '4353423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015002727508544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.63696813583374 time spend to save output : 0.015183448791503906 total time spend for step 10 : 7.652151584625244 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 25.26user 18.02system 1:04.42elapsed 67%CPU (0avgtext+0avgdata 2728824maxresident)k 2296568inputs+6152outputs (8357major+1234778minor)pagefaults 0swaps