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 : 2303955 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['4023015'] with mtr_portfolio_ids : ['28355212'] and first list_photo_ids : [] new path : /proc/2303955/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.2466886043548584 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 Sat Nov 8 15:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-08 15:40:32.732185: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-08 15:40:32.762451: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-08 15:40:32.765236: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efee4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-08 15:40:32.765304: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-08 15:40:32.769166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-08 15:40:33.096822: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1c2e4840 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-08 15:40:33.096886: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-08 15:40:33.098667: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-08 15:40:33.099386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-08 15:40:33.102993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-08 15:40:33.106226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-08 15:40:33.106867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-08 15:40:33.109418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-08 15:40:33.110495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-08 15:40:33.115514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-08 15:40:33.117025: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-08 15:40:33.117104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-08 15:40:33.117861: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-08 15:40:33.117876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-08 15:40:33.117885: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-08 15:40:33.119292: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-08 15:40:33.388170: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-08 15:40:33.388302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-08 15:40:33.388322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-08 15:40:33.388340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-08 15:40:33.388357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-08 15:40:33.388374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-08 15:40:33.388391: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-08 15:40:33.388408: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-08 15:40:33.389707: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-08 15:40:33.391111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-08 15:40:33.391172: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-08 15:40:33.391190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-08 15:40:33.391204: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-08 15:40:33.391219: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-08 15:40:33.391232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-08 15:40:33.391246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-08 15:40:33.391260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-08 15:40:33.392575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-08 15:40:33.392613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-08 15:40:33.392623: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-08 15:40:33.392631: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-08 15:40:33.394021: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-08 15:40:40.730755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-08 15:40:40.914063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 9.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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.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: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 2304556 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5163 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10196 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 13849 time to create 1 rle with old method : 0.016043901443481445 length of segment : 149 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 3638 time to create 1 rle with old method : 0.0042650699615478516 length of segment : 61 time for calcul the mask position with numpy : 0.0003631114959716797 nb_pixel_total : 19987 time to create 1 rle with old method : 0.02324533462524414 length of segment : 194 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 6996 time to create 1 rle with old method : 0.008242607116699219 length of segment : 82 time for calcul the mask position with numpy : 0.00013113021850585938 nb_pixel_total : 4341 time to create 1 rle with old method : 0.005289316177368164 length of segment : 81 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 7395 time to create 1 rle with old method : 0.008828163146972656 length of segment : 89 time for calcul the mask position with numpy : 0.00020575523376464844 nb_pixel_total : 10369 time to create 1 rle with old method : 0.012140512466430664 length of segment : 133 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 2563 time to create 1 rle with old method : 0.0031037330627441406 length of segment : 73 time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 9667 time to create 1 rle with old method : 0.011240005493164062 length of segment : 180 time for calcul the mask position with numpy : 0.0001308917999267578 nb_pixel_total : 3858 time to create 1 rle with old method : 0.004633426666259766 length of segment : 62 time for calcul the mask position with numpy : 0.00015878677368164062 nb_pixel_total : 6886 time to create 1 rle with old method : 0.008234977722167969 length of segment : 97 time for calcul the mask position with numpy : 0.0005259513854980469 nb_pixel_total : 23829 time to create 1 rle with old method : 0.03101181983947754 length of segment : 218 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 5653 time to create 1 rle with old method : 0.006491184234619141 length of segment : 85 time for calcul the mask position with numpy : 0.0002655982971191406 nb_pixel_total : 16265 time to create 1 rle with old method : 0.01847052574157715 length of segment : 224 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 1481 time to create 1 rle with old method : 0.001800537109375 length of segment : 67 time for calcul the mask position with numpy : 0.00013494491577148438 nb_pixel_total : 6824 time to create 1 rle with old method : 0.007948875427246094 length of segment : 93 time for calcul the mask position with numpy : 0.0017626285552978516 nb_pixel_total : 97795 time to create 1 rle with old method : 0.1122739315032959 length of segment : 575 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 4242 time to create 1 rle with old method : 0.005034446716308594 length of segment : 77 time for calcul the mask position with numpy : 8.273124694824219e-05 nb_pixel_total : 1934 time to create 1 rle with old method : 0.0023436546325683594 length of segment : 79 time for calcul the mask position with numpy : 0.0011644363403320312 nb_pixel_total : 59907 time to create 1 rle with old method : 0.06846737861633301 length of segment : 209 time for calcul the mask position with numpy : 0.00020122528076171875 nb_pixel_total : 7444 time to create 1 rle with old method : 0.00870060920715332 length of segment : 168 time for calcul the mask position with numpy : 0.00016999244689941406 nb_pixel_total : 5152 time to create 1 rle with old method : 0.005941152572631836 length of segment : 96 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 5006 time to create 1 rle with old method : 0.006124258041381836 length of segment : 81 time for calcul the mask position with numpy : 8.082389831542969e-05 nb_pixel_total : 2771 time to create 1 rle with old method : 0.003431081771850586 length of segment : 47 time for calcul the mask position with numpy : 0.001986265182495117 nb_pixel_total : 120552 time to create 1 rle with old method : 0.13384032249450684 length of segment : 557 time for calcul the mask position with numpy : 0.0018818378448486328 nb_pixel_total : 82365 time to create 1 rle with old method : 0.08988094329833984 length of segment : 533 time for calcul the mask position with numpy : 0.00035762786865234375 nb_pixel_total : 7395 time to create 1 rle with old method : 0.008570671081542969 length of segment : 111 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 11671 time to create 1 rle with old method : 0.013337135314941406 length of segment : 131 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 4112 time to create 1 rle with old method : 0.004540205001831055 length of segment : 59 time spent for convertir_results : 1.549476146697998 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 4611 save missing photos in datou_result : time spend for datou_step_exec : 21.928060293197632 time spend to save output : 0.34233784675598145 total time spend for step 1 : 22.270398139953613 step2:crop_condition Sat Nov 8 15:40:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 9 ! batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762612854_2303955 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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297167_0.png', 0, 180, 172, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297171_0.png', 0, 102, 131, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297169_0.png', 0, 95, 77, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297168_0.png', 0, 134, 76, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297170_0.png', 0, 102, 89, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297166_0.png', 0, 80, 61, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297165_0.png', 0, 183, 142, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297173_0.png', 0, 100, 180, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297178_0.png', 0, 95, 219, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297176_0.png', 0, 200, 178, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297179_0.png', 0, 37, 61, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297177_0.png', 0, 98, 85, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297175_0.png', 0, 114, 97, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297180_0.png', 0, 110, 93, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297182_0.png', 0, 80, 76, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297185_0.png', 0, 78, 168, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297184_0.png', 0, 438, 206, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297188_0.png', 0, 75, 47, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297187_0.png', 0, 87, 81, 0, 1762612857,'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(1762612857), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297191_0.png', 0, 88, 111, 0, 1762612857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.9511497020721436 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762612860_2303955 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(1762612861), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297181_0.png', 0, 326, 520, 0, 1762612861,'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(1762612861), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297190_0.png', 0, 582, 393, 0, 1762612861,'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(1762612861), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297186_0.png', 0, 75, 96, 0, 1762612861,'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(1762612861), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297189_0.png', 0, 363, 555, 0, 1762612861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9773728847503662 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1762612862_2303955 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(1762612863), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297174_0.png', 0, 87, 61, 0, 1762612863,'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(1762612863), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297172_0.png', 0, 61, 73, 0, 1762612863,'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(1762612863), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401020_cdccd2ca343b2d831e87f73a241093ed_rle_crop_4027297192_0.png', 0, 131, 124, 0, 1762612863,'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(1762612863), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401017_34d80a539d79d2360f7cc942c1344832_rle_crop_4027297193_0.png', 0, 89, 58, 0, 1762612863,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5888965129852295 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762612864_2303955 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(1762612865), 0.0, 0.0, 14, '', 0, 0, '1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297183_0.png', 0, 39, 99, 0, 1762612865,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0361125469207764 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] Looping around the photos to save general results len do output : 29 /1393418664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393418694Didn'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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 96 time used for this insertion : 0.020072460174560547 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.89845085144043 time spend to save output : 0.021468162536621094 total time spend for step 2 : 12.91991901397705 step3:rle_unique_nms_with_priority Sat Nov 8 15:41:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 7 nb_hashtags : 1 time to prepare the origin masks : 1.1605985164642334 time for calcul the mask position with numpy : 0.0799860954284668 nb_pixel_total : 2007025 time to create 1 rle with new method : 0.08201479911804199 time for calcul the mask position with numpy : 0.006479024887084961 nb_pixel_total : 10369 time to create 1 rle with old method : 0.011681079864501953 time for calcul the mask position with numpy : 0.006308794021606445 nb_pixel_total : 7395 time to create 1 rle with old method : 0.008236408233642578 time for calcul the mask position with numpy : 0.006495237350463867 nb_pixel_total : 4341 time to create 1 rle with old method : 0.004898548126220703 time for calcul the mask position with numpy : 0.006514549255371094 nb_pixel_total : 6996 time to create 1 rle with old method : 0.007904291152954102 time for calcul the mask position with numpy : 0.006470441818237305 nb_pixel_total : 19987 time to create 1 rle with old method : 0.02236652374267578 time for calcul the mask position with numpy : 0.006490945816040039 nb_pixel_total : 3638 time to create 1 rle with old method : 0.004115581512451172 time for calcul the mask position with numpy : 0.006666898727416992 nb_pixel_total : 13849 time to create 1 rle with old method : 0.015522956848144531 create new chi : 0.2922251224517822 time to delete rle : 0.027918577194213867 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 2658 TO DO : save crop sub photo not yet done ! save time : 0.2021045684814453 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.25277209281921387 time for calcul the mask position with numpy : 0.020679712295532227 nb_pixel_total : 2057512 time to create 1 rle with new method : 0.17049312591552734 time for calcul the mask position with numpy : 0.00587153434753418 nb_pixel_total : 3858 time to create 1 rle with old method : 0.005362033843994141 time for calcul the mask position with numpy : 0.0065152645111083984 nb_pixel_total : 9667 time to create 1 rle with old method : 0.015967607498168945 time for calcul the mask position with numpy : 0.006548404693603516 nb_pixel_total : 2563 time to create 1 rle with old method : 0.004260063171386719 create new chi : 0.23601555824279785 time to delete rle : 0.0003380775451660156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1710 TO DO : save crop sub photo not yet done ! save time : 0.14504051208496094 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.09363579750061035 time for calcul the mask position with numpy : 0.08108925819396973 nb_pixel_total : 2019486 time to create 1 rle with new method : 0.08440971374511719 time for calcul the mask position with numpy : 0.006178379058837891 nb_pixel_total : 1481 time to create 1 rle with old method : 0.0016562938690185547 time for calcul the mask position with numpy : 0.00627899169921875 nb_pixel_total : 16265 time to create 1 rle with old method : 0.018237829208374023 time for calcul the mask position with numpy : 0.006216287612915039 nb_pixel_total : 5653 time to create 1 rle with old method : 0.00637364387512207 time for calcul the mask position with numpy : 0.006300449371337891 nb_pixel_total : 23829 time to create 1 rle with old method : 0.026296138763427734 time for calcul the mask position with numpy : 0.006383657455444336 nb_pixel_total : 6886 time to create 1 rle with old method : 0.007677793502807617 create new chi : 0.2673969268798828 time to delete rle : 0.00036525726318359375 batch 1 Loaded 11 chid ids of type : 3594 +++++++++Number RLEs to save : 2462 TO DO : save crop sub photo not yet done ! save time : 0.19044828414916992 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.08401632308959961 time for calcul the mask position with numpy : 0.12370872497558594 nb_pixel_total : 1962805 time to create 1 rle with new method : 0.10292935371398926 time for calcul the mask position with numpy : 0.006246089935302734 nb_pixel_total : 1934 time to create 1 rle with old method : 0.0023005008697509766 time for calcul the mask position with numpy : 0.0063877105712890625 nb_pixel_total : 4242 time to create 1 rle with old method : 0.0047206878662109375 time for calcul the mask position with numpy : 0.006739377975463867 nb_pixel_total : 97795 time to create 1 rle with old method : 0.1041262149810791 time for calcul the mask position with numpy : 0.006023883819580078 nb_pixel_total : 6824 time to create 1 rle with old method : 0.007511138916015625 create new chi : 0.3811976909637451 time to delete rle : 0.0002665519714355469 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2728 TO DO : save crop sub photo not yet done ! save time : 0.23942112922668457 No data in photo_id : 1393401084 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0469052791595459 time for calcul the mask position with numpy : 0.019460439682006836 nb_pixel_total : 2006270 time to create 1 rle with new method : 0.16526031494140625 time for calcul the mask position with numpy : 0.006189823150634766 nb_pixel_total : 7423 time to create 1 rle with old method : 0.008120059967041016 time for calcul the mask position with numpy : 0.0061910152435302734 nb_pixel_total : 59907 time to create 1 rle with old method : 0.06395745277404785 create new chi : 0.26946473121643066 time to delete rle : 0.0002722740173339844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1821 TO DO : save crop sub photo not yet done ! save time : 0.17530155181884766 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.17434024810791016 time for calcul the mask position with numpy : 0.05734992027282715 nb_pixel_total : 1853746 time to create 1 rle with new method : 0.11914491653442383 time for calcul the mask position with numpy : 0.0063359737396240234 nb_pixel_total : 7395 time to create 1 rle with old method : 0.009681463241577148 time for calcul the mask position with numpy : 0.006291866302490234 nb_pixel_total : 78978 time to create 1 rle with old method : 0.08445239067077637 time for calcul the mask position with numpy : 0.006607532501220703 nb_pixel_total : 120552 time to create 1 rle with old method : 0.1377885341644287 time for calcul the mask position with numpy : 0.010334491729736328 nb_pixel_total : 2771 time to create 1 rle with old method : 0.0029964447021484375 time for calcul the mask position with numpy : 0.006325483322143555 nb_pixel_total : 5006 time to create 1 rle with old method : 0.005308866500854492 time for calcul the mask position with numpy : 0.006092548370361328 nb_pixel_total : 5152 time to create 1 rle with old method : 0.005261659622192383 create new chi : 0.47392845153808594 time to delete rle : 0.00047588348388671875 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3884 TO DO : save crop sub photo not yet done ! save time : 0.284592866897583 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07679200172424316 time for calcul the mask position with numpy : 0.023011445999145508 nb_pixel_total : 2061929 time to create 1 rle with new method : 0.027950286865234375 time for calcul the mask position with numpy : 0.005980730056762695 nb_pixel_total : 11671 time to create 1 rle with old method : 0.014575958251953125 create new chi : 0.07173418998718262 time to delete rle : 0.00020551681518554688 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1342 TO DO : save crop sub photo not yet done ! save time : 0.11992287635803223 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04914069175720215 time for calcul the mask position with numpy : 0.0624849796295166 nb_pixel_total : 2069488 time to create 1 rle with new method : 0.1293191909790039 time for calcul the mask position with numpy : 0.006757259368896484 nb_pixel_total : 4112 time to create 1 rle with old method : 0.004662275314331055 create new chi : 0.21492362022399902 time to delete rle : 0.000232696533203125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1198 TO DO : save crop sub photo not yet done ! save time : 0.12703275680541992 map_output_result : {1393401793: (0.0, 'Should be the crop_list due to order', 0), 1393401752: (0.0, 'Should be the crop_list due to order', 0), 1393401692: (0.0, 'Should be the crop_list due to order', 0), 1393401631: (0.0, 'Should be the crop_list due to order', 0), 1393401084: (0.0, 'Should be the crop_list due to order', 0.0), 1393401057: (0.0, 'Should be the crop_list due to order', 0), 1393401027: (0.0, 'Should be the crop_list due to order', 0), 1393401020: (0.0, 'Should be the crop_list due to order', 0), 1393401017: (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 [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] Looping around the photos to save general results len do output : 9 /1393401793.Didn't retrieve data . /1393401752.Didn't retrieve data . /1393401692.Didn't retrieve data . /1393401631.Didn't retrieve data . /1393401084.Didn't retrieve data . /1393401057.Didn't retrieve data . /1393401027.Didn't retrieve data . /1393401020.Didn't retrieve data . /1393401017.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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013248205184936523 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.968372583389282 time spend to save output : 0.013598442077636719 total time spend for step 3 : 5.981971025466919 step4:ventilate_hashtags_in_portfolio Sat Nov 8 15:41:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28355212 get user id for portfolio 28355212 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`=28355212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','mal_croppe','pet_clair','environnement','background','papier','autre','carton','metal','flou')) 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`=28355212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','mal_croppe','pet_clair','environnement','background','papier','autre','carton','metal','flou')) 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`=28355212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','mal_croppe','pet_clair','environnement','background','papier','autre','carton','metal','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28355238,28355239,28355240,28355241,28355242,28355243,28355244,28355245,28355246,28355247,28355248?tags=pehd,pet_fonce,mal_croppe,pet_clair,environnement,background,papier,autre,carton,metal,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] Looping around the photos to save general results len do output : 1 /28355212. 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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01832866668701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6985676288604736 time spend to save output : 0.01865077018737793 total time spend for step 4 : 1.7172183990478516 step5:final Sat Nov 8 15:41:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1393401793: ('0.029499903549382724',), 1393401752: ('0.029499903549382724',), 1393401692: ('0.029499903549382724',), 1393401631: ('0.029499903549382724',), 1393401084: ('0.029499903549382724',), 1393401057: ('0.029499903549382724',), 1393401027: ('0.029499903549382724',), 1393401020: ('0.029499903549382724',), 1393401017: ('0.029499903549382724',)} new output for save of step final : {1393401793: ('0.029499903549382724',), 1393401752: ('0.029499903549382724',), 1393401692: ('0.029499903549382724',), 1393401631: ('0.029499903549382724',), 1393401084: ('0.029499903549382724',), 1393401057: ('0.029499903549382724',), 1393401027: ('0.029499903549382724',), 1393401020: ('0.029499903549382724',), 1393401017: ('0.029499903549382724',)} [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] Looping around the photos to save general results len do output : 9 /1393401793.Didn't retrieve data . /1393401752.Didn't retrieve data . /1393401692.Didn't retrieve data . /1393401631.Didn't retrieve data . /1393401084.Didn't retrieve data . /1393401057.Didn't retrieve data . /1393401027.Didn't retrieve data . /1393401020.Didn't retrieve data . /1393401017.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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01633477210998535 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1330857276916504 time spend to save output : 0.016785383224487305 total time spend for step 5 : 0.1498711109161377 step6:blur_detection Sat Nov 8 15:41:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e.jpg resize: (1080, 1920) 1393401793 -0.7045151754167714 treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987.jpg resize: (1080, 1920) 1393401752 -1.2203907142834325 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1.jpg resize: (1080, 1920) 1393401692 -0.6955818550456726 treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1.jpg resize: (1080, 1920) 1393401631 1.438291555797176 treat image : temp/1762612828_2303955_1393401084_91d2404d0347bc17625c9af780011d2f.jpg resize: (1080, 1920) 1393401084 -0.6502241761902626 treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05.jpg resize: (1080, 1920) 1393401057 -0.21241630727371896 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331.jpg resize: (1080, 1920) 1393401027 -4.4579863477306585 treat image : temp/1762612828_2303955_1393401020_cdccd2ca343b2d831e87f73a241093ed.jpg resize: (1080, 1920) 1393401020 2.1781977283376595 treat image : temp/1762612828_2303955_1393401017_34d80a539d79d2360f7cc942c1344832.jpg resize: (1080, 1920) 1393401017 1.2887338508675743 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297167_0.png resize: (172, 180) 1393418664 -2.731387181028204 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297171_0.png resize: (131, 102) 1393418665 -0.600301357273209 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297169_0.png resize: (77, 95) 1393418666 -2.3435687083705496 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297168_0.png resize: (76, 134) 1393418667 -1.0522334746014959 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297170_0.png resize: (89, 102) 1393418668 1.1305012307090205 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297166_0.png resize: (61, 80) 1393418669 1.276523434289795 treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297165_0.png resize: (142, 183) 1393418670 -1.9941760555358952 treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297173_0.png resize: (180, 100) 1393418671 -1.879424691211254 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297178_0.png resize: (219, 95) 1393418672 -0.5747752949786836 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297176_0.png resize: (178, 200) 1393418673 -2.048524221928654 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297179_0.png resize: (61, 37) 1393418674 -2.740206355359139 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297177_0.png resize: (85, 98) 1393418676 -1.3387584069980694 treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297175_0.png resize: (97, 114) 1393418677 -2.057516181392072 treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297180_0.png resize: (93, 110) 1393418678 -1.5606303837333464 treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297182_0.png resize: (76, 80) 1393418679 -0.961779874896083 treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297185_0.png resize: (168, 78) 1393418680 -1.3084755075929413 treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297184_0.png resize: (206, 438) 1393418681 -1.3323733752236138 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297188_0.png resize: (47, 75) 1393418682 -4.578689015283597 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297187_0.png resize: (81, 87) 1393418683 -3.6878046127493826 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297191_0.png resize: (111, 88) 1393418684 -0.45359147779339887 treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297181_0.png resize: (520, 326) 1393418685 -0.6086600271781144 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297190_0.png resize: (393, 582) 1393418686 -4.072147399899767 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297186_0.png resize: (96, 75) 1393418687 -0.9851703045240567 treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297189_0.png resize: (555, 363) 1393418688 -0.20077232792880442 treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297174_0.png resize: (61, 87) 1393418690 -0.7680729267740605 treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297172_0.png resize: (73, 61) 1393418691 -2.8446922192519875 treat image : temp/1762612828_2303955_1393401020_cdccd2ca343b2d831e87f73a241093ed_rle_crop_4027297192_0.png resize: (124, 131) 1393418692 0.21306695154698937 treat image : temp/1762612828_2303955_1393401017_34d80a539d79d2360f7cc942c1344832_rle_crop_4027297193_0.png resize: (58, 89) 1393418693 2.3202935254314565 treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297183_0.png resize: (99, 39) 1393418694 -2.486012120522477 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 : 38 time used for this insertion : 0.01659846305847168 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.014156579971313477 save missing photos in datou_result : time spend for datou_step_exec : 7.290727615356445 time spend to save output : 0.036366939544677734 total time spend for step 6 : 7.327094554901123 step7:brightness Sat Nov 8 15:41:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e.jpg treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987.jpg treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1.jpg treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1.jpg treat image : temp/1762612828_2303955_1393401084_91d2404d0347bc17625c9af780011d2f.jpg treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05.jpg treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331.jpg treat image : temp/1762612828_2303955_1393401020_cdccd2ca343b2d831e87f73a241093ed.jpg treat image : temp/1762612828_2303955_1393401017_34d80a539d79d2360f7cc942c1344832.jpg treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297167_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297171_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297169_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297168_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297170_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297166_0.png treat image : temp/1762612828_2303955_1393401793_8f1b864f56421ec37018380a64b4509e_rle_crop_4027297165_0.png treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297173_0.png treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297178_0.png treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297176_0.png treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297179_0.png treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297177_0.png treat image : temp/1762612828_2303955_1393401692_bc325519aaf777bd46e77610f7ed99c1_rle_crop_4027297175_0.png treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297180_0.png treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297182_0.png treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297185_0.png treat image : temp/1762612828_2303955_1393401057_c77b62a51909f801a64189203b0e2f05_rle_crop_4027297184_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297188_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297187_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297191_0.png treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297181_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297190_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297186_0.png treat image : temp/1762612828_2303955_1393401027_b27fff0452cd5eaf1781a17a0a894331_rle_crop_4027297189_0.png treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297174_0.png treat image : temp/1762612828_2303955_1393401752_99ba3839226901dde6242eaff395c987_rle_crop_4027297172_0.png treat image : temp/1762612828_2303955_1393401020_cdccd2ca343b2d831e87f73a241093ed_rle_crop_4027297192_0.png treat image : temp/1762612828_2303955_1393401017_34d80a539d79d2360f7cc942c1344832_rle_crop_4027297193_0.png treat image : temp/1762612828_2303955_1393401631_74ee6052c3e632e9505e36afddfb0fb1_rle_crop_4027297183_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.016180992126464844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.01639389991760254 save missing photos in datou_result : time spend for datou_step_exec : 2.0318398475646973 time spend to save output : 0.037795066833496094 total time spend for step 7 : 2.0696349143981934 step8:velours_tree Sat Nov 8 15:41:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.14485430717468262 time spend to save output : 3.409385681152344e-05 total time spend for step 8 : 0.14488840103149414 step9:send_mail_cod Sat Nov 8 15:41:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P28355212_08-11-2025_15_41_22.pdf 28355238 imagette283552381762612882 28355239 imagette283552391762612882 28355240 imagette283552401762612882 28355241 change filename to text .change filename to text .change filename to text .change filename to text .imagette283552411762612882 28355243 imagette283552431762612882 28355244 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette283552441762612882 28355245 change filename to text .imagette283552451762612884 28355246 change filename to text .change filename to text .change filename to text .change filename to text .imagette283552461762612884 28355247 imagette283552471762612884 28355248 imagette283552481762612884 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28355212 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28355238,28355239,28355240,28355241,28355242,28355243,28355244,28355245,28355246,28355247,28355248?tags=pehd,pet_fonce,mal_croppe,pet_clair,environnement,background,papier,autre,carton,metal,flou args[1393401793] : ((1393401793, -0.7045151754167714, 492688767), (1393401793, 0.2579212615086799, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401752] : ((1393401752, -1.2203907142834325, 492688767), (1393401752, 0.6627481531588483, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401692] : ((1393401692, -0.6955818550456726, 492688767), (1393401692, 0.1377136837994388, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401631] : ((1393401631, 1.438291555797176, 492688767), (1393401631, 0.2896129642193706, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401084] : ((1393401084, -0.6502241761902626, 492688767), (1393401084, 0.6344068261881165, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401057] : ((1393401057, -0.21241630727371896, 492688767), (1393401057, 0.39146866759753274, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401027] : ((1393401027, -4.4579863477306585, 492609224), (1393401027, 0.369819466084888, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401020] : ((1393401020, 2.1781977283376595, 492688767), (1393401020, 0.7249639478420938, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com args[1393401017] : ((1393401017, 1.2887338508675743, 492688767), (1393401017, 0.7727419914689975, 2107752395), '0.029499903549382724') We are sending mail with results at report@fotonower.com refus_total : 0.029499903549382724 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=28355212 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28355212_08-11-2025_15_41_22.pdf results_Auto_P28355212_08-11-2025_15_41_22.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28355212_08-11-2025_15_41_22.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','28355212','results_Auto_P28355212_08-11-2025_15_41_22.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28355212_08-11-2025_15_41_22.pdf','pdf','','0.17','0.029499903549382724') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28355212

https://www.fotonower.com/image?json=false&list_photos_id=1393401793
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401752
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401692
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401631
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.438291555797176)
https://www.fotonower.com/image?json=false&list_photos_id=1393401084
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401057
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401027
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393401020
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.1781977283376595)
https://www.fotonower.com/image?json=false&list_photos_id=1393401017
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2887338508675743)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28355241?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28355244?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28355245?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28355246?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28355212_08-11-2025_15_41_22.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28355238,28355239,28355240,28355241,28355242,28355243,28355244,28355245,28355246,28355247,28355248?tags=pehd,pet_fonce,mal_croppe,pet_clair,environnement,background,papier,autre,carton,metal,flou.


L'équipe Fotonower 202 b'' Date: Sat, 08 Nov 2025 14:41:26 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: DlLkboKfSm6ierhnyyie6g Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] 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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014528512954711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.753056049346924 time spend to save output : 0.014800310134887695 total time spend for step 9 : 3.7678563594818115 step10:split_time_score Sat Nov 8 15:41:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('12', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08112025 28355212 Nombre de photos uploadées : 9 / 23040 (0%) 08112025 28355212 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 08112025 28355212 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.000522613525390625 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2053356170654297 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.09208728780864198 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28348936_08-11-2025_11_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28348936 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`=28348936 AND mptpi.`type`=3594 To do Qualite : 0.014007296205519245 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28352790_08-11-2025_12_21_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28352790 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`=28352790 AND mptpi.`type`=3594 To do Qualite : 0.036939662101337443 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28352791_08-11-2025_13_22_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28352791 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`=28352791 AND mptpi.`type`=3594 To do Qualite : 0.05141876929012345 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28352794_08-11-2025_13_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28352794 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`=28352794 AND mptpi.`type`=3594 To do Qualite : 0.05583881896219136 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28352797_08-11-2025_11_51_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28352797 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`=28352797 AND mptpi.`type`=3594 To do Qualite : 0.10897292148919753 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28353418_08-11-2025_12_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28353418 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`=28353418 AND mptpi.`type`=3594 To do Qualite : 0.2131274112654321 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28353420_08-11-2025_12_42_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28353420 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`=28353420 AND mptpi.`type`=3594 To do Qualite : 0.029499903549382724 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28355212_08-11-2025_15_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28355212 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`=28355212 AND mptpi.`type`=3594 To do Qualite : 0.030128198945473268 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28354585_08-11-2025_14_41_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28354585 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`=28354585 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08112025': {'nb_upload': 9, '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 [1393401793, 1393401752, 1393401692, 1393401631, 1393401084, 1393401057, 1393401027, 1393401020, 1393401017] Looping around the photos to save general results len do output : 1 /28355212Didn'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, '4023015') ('3318', '28355212', '1393401793', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401752', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401692', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401631', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401084', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401057', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401027', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401020', None, None, None, None, None, '4023015') ('3318', None, None, None, None, None, None, None, '4023015') ('3318', '28355212', '1393401017', None, None, None, None, None, '4023015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.016360044479370117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9254519939422607 time spend to save output : 0.01665782928466797 total time spend for step 10 : 0.9421098232269287 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 29.70user 14.95system 1:01.26elapsed 72%CPU (0avgtext+0avgdata 2724276maxresident)k 487440inputs+11256outputs (110major+1405310minor)pagefaults 0swaps