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 : 311070 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 : ['4018071'] with mtr_portfolio_ids : ['28317465'] and first list_photo_ids : [] new path : /proc/311070/ 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.5574491024017334 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Nov 7 18:50:28 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 : 3701 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-07 18:50:31.243038: 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-07 18:50:31.270516: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-07 18:50:31.272214: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3a28000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:50:31.272268: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-07 18:50:31.274940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-07 18:50:31.535314: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3baeaeb0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:50:31.535352: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-07 18:50:31.536137: 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-07 18:50:31.536420: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:50:31.538917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:50:31.541061: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:50:31.541375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:50:31.543937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:50:31.545195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:50:31.549886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:50:31.551011: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:50:31.551094: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:50:31.551648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:50:31.551663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:50:31.551672: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:50:31.552579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3249 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-07 18:50:31.802669: 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-07 18:50:31.802754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:50:31.802773: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:50:31.802788: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:50:31.802803: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:50:31.802817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:50:31.802831: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:50:31.802846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:50:31.803732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:50:31.804677: 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-07 18:50:31.804708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:50:31.804725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:50:31.804739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:50:31.804753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:50:31.804768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:50:31.804782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:50:31.804797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:50:31.805658: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:50:31.805685: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:50:31.805693: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:50:31.805701: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:50:31.806651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3249 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-07 18:50:39.772069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:50:39.964185: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:50:41.269285: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:41.993486: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-11-07 18:50:42.057726: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.057807: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.058978: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.059012: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.066308: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.066356: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.072386: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.072405: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.072969: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.072983: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.119522: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.119559: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.120131: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.120146: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.120722: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.120737: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.121301: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.121316: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-11-07 18:50:42.129093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.129667: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.145640: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.146836: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.147651: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.148221: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.152282: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.152902: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.153518: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.154132: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.155141: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.155159: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-11-07 18:50:42.165253: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.165855: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.174784: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.175407: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.176006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.176619: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.177241: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-11-07 18:50:42.177819: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.67G (2871918592 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 6 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 23.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 Detection mask done ! Trying to reset tf kernel 311556 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2508 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 : 3701 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.00025177001953125 nb_pixel_total : 5900 time to create 1 rle with old method : 0.007921695709228516 length of segment : 78 time for calcul the mask position with numpy : 0.0006282329559326172 nb_pixel_total : 19600 time to create 1 rle with old method : 0.022846698760986328 length of segment : 355 time for calcul the mask position with numpy : 9.465217590332031e-05 nb_pixel_total : 3635 time to create 1 rle with old method : 0.00451207160949707 length of segment : 36 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 4842 time to create 1 rle with old method : 0.0058209896087646484 length of segment : 104 time for calcul the mask position with numpy : 0.26749634742736816 nb_pixel_total : 751043 time to create 1 rle with new method : 0.04383397102355957 length of segment : 935 time for calcul the mask position with numpy : 0.0017614364624023438 nb_pixel_total : 110213 time to create 1 rle with old method : 0.12333083152770996 length of segment : 552 time for calcul the mask position with numpy : 0.00021791458129882812 nb_pixel_total : 10719 time to create 1 rle with old method : 0.017728090286254883 length of segment : 113 time for calcul the mask position with numpy : 0.0017023086547851562 nb_pixel_total : 99891 time to create 1 rle with old method : 0.1160745620727539 length of segment : 516 time for calcul the mask position with numpy : 0.018808603286743164 nb_pixel_total : 988705 time to create 1 rle with new method : 0.1887836456298828 length of segment : 1030 time for calcul the mask position with numpy : 0.00034928321838378906 nb_pixel_total : 8957 time to create 1 rle with old method : 0.010492563247680664 length of segment : 92 time for calcul the mask position with numpy : 0.00021529197692871094 nb_pixel_total : 6819 time to create 1 rle with old method : 0.008040666580200195 length of segment : 91 time for calcul the mask position with numpy : 0.0005388259887695312 nb_pixel_total : 24259 time to create 1 rle with old method : 0.027752161026000977 length of segment : 134 time for calcul the mask position with numpy : 0.012862682342529297 nb_pixel_total : 702563 time to create 1 rle with new method : 0.04089212417602539 length of segment : 964 time for calcul the mask position with numpy : 0.0015411376953125 nb_pixel_total : 92077 time to create 1 rle with old method : 0.1019136905670166 length of segment : 513 time for calcul the mask position with numpy : 0.0013153553009033203 nb_pixel_total : 69054 time to create 1 rle with old method : 0.07666730880737305 length of segment : 265 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 17281 time to create 1 rle with old method : 0.01908421516418457 length of segment : 127 time for calcul the mask position with numpy : 0.0009210109710693359 nb_pixel_total : 43326 time to create 1 rle with old method : 0.047754526138305664 length of segment : 229 time for calcul the mask position with numpy : 0.00017595291137695312 nb_pixel_total : 2701 time to create 1 rle with old method : 0.003229379653930664 length of segment : 60 time for calcul the mask position with numpy : 0.0006399154663085938 nb_pixel_total : 18642 time to create 1 rle with old method : 0.020646333694458008 length of segment : 240 time spent for convertir_results : 2.476311206817627 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 19 chid ids of type : 3594 Number RLEs to save : 6434 save missing photos in datou_result : time spend for datou_step_exec : 25.379669666290283 time spend to save output : 0.4602491855621338 total time spend for step 1 : 25.839918851852417 step2:crop_condition Fri Nov 7 18:50:54 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 19 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537855_311070 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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487890_0.png', 0, 142, 35, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487889_0.png', 0, 189, 200, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487888_0.png', 0, 134, 76, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487891_0.png', 0, 89, 104, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487897_0.png', 0, 152, 92, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118222_e9de518d91dce28e918e7b08cc68a6bd_rle_crop_4025487905_0.png', 0, 71, 60, 0, 1762537856,'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(1762537856), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118177_a5fcf2dc14edb3e276119eadb9b27c5c_rle_crop_4025487906_0.png', 0, 114, 240, 0, 1762537856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9741709232330322 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 ! 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/1762537857_311070 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(1762537857), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487898_0.png', 0, 109, 91, 0, 1762537857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6556949615478516 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762537869_311070 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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487892_0.png', 0, 1074, 931, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487894_0.png', 0, 123, 112, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487893_0.png', 0, 329, 539, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487896_0.png', 0, 1174, 991, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487895_0.png', 0, 323, 512, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487899_0.png', 0, 309, 115, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487900_0.png', 0, 947, 959, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487901_0.png', 0, 314, 507, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487902_0.png', 0, 358, 252, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487904_0.png', 0, 278, 229, 0, 1762537871,'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(1762537871), 0.0, 0.0, 14, '', 0, 0, '1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487903_0.png', 0, 173, 126, 0, 1762537871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.1786515712738037 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] Looping around the photos to save general results len do output : 19 /1393194950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393194972Didn'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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.016940832138061523 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.512953996658325 time spend to save output : 0.01789569854736328 total time spend for step 2 : 17.53084969520569 step3:rle_unique_nms_with_priority Fri Nov 7 18:51: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 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 19 chid ids of type : 3594 ++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.741490364074707 time for calcul the mask position with numpy : 0.05626368522644043 nb_pixel_total : 2044465 time to create 1 rle with new method : 0.26746058464050293 time for calcul the mask position with numpy : 0.005989551544189453 nb_pixel_total : 3635 time to create 1 rle with old method : 0.00399470329284668 time for calcul the mask position with numpy : 0.0060272216796875 nb_pixel_total : 19600 time to create 1 rle with old method : 0.021961212158203125 time for calcul the mask position with numpy : 0.005852222442626953 nb_pixel_total : 5900 time to create 1 rle with old method : 0.0064351558685302734 create new chi : 0.3845534324645996 time to delete rle : 0.028276681900024414 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2018 TO DO : save crop sub photo not yet done ! save time : 0.18826007843017578 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.45498204231262207 time for calcul the mask position with numpy : 0.2277219295501709 nb_pixel_total : 1196843 time to create 1 rle with new method : 0.07538723945617676 time for calcul the mask position with numpy : 0.005849123001098633 nb_pixel_total : 10719 time to create 1 rle with old method : 0.011716127395629883 time for calcul the mask position with numpy : 0.006621122360229492 nb_pixel_total : 110153 time to create 1 rle with old method : 0.12042880058288574 time for calcul the mask position with numpy : 0.010746002197265625 nb_pixel_total : 751043 time to create 1 rle with new method : 0.40451574325561523 time for calcul the mask position with numpy : 0.006784915924072266 nb_pixel_total : 4842 time to create 1 rle with old method : 0.005526065826416016 create new chi : 0.8841140270233154 time to delete rle : 0.0005209445953369141 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4479 TO DO : save crop sub photo not yet done ! save time : 0.3054661750793457 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.09631490707397461 time for calcul the mask position with numpy : 0.015930891036987305 nb_pixel_total : 989176 time to create 1 rle with new method : 0.3118445873260498 time for calcul the mask position with numpy : 0.012542247772216797 nb_pixel_total : 984533 time to create 1 rle with new method : 0.02744269371032715 time for calcul the mask position with numpy : 0.006460666656494141 nb_pixel_total : 99891 time to create 1 rle with old method : 0.11142230033874512 create new chi : 0.48619937896728516 time to delete rle : 0.00048041343688964844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4009 TO DO : save crop sub photo not yet done ! save time : 0.3023355007171631 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.3342745304107666 time for calcul the mask position with numpy : 0.33661317825317383 nb_pixel_total : 2033565 time to create 1 rle with new method : 0.07396554946899414 time for calcul the mask position with numpy : 0.006116390228271484 nb_pixel_total : 24259 time to create 1 rle with old method : 0.026210546493530273 time for calcul the mask position with numpy : 0.0058536529541015625 nb_pixel_total : 6819 time to create 1 rle with old method : 0.007356405258178711 time for calcul the mask position with numpy : 0.005913972854614258 nb_pixel_total : 8957 time to create 1 rle with old method : 0.010007381439208984 create new chi : 0.4818572998046875 time to delete rle : 0.00027751922607421875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1714 TO DO : save crop sub photo not yet done ! save time : 0.14417505264282227 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04613232612609863 time for calcul the mask position with numpy : 0.014925241470336914 nb_pixel_total : 1278960 time to create 1 rle with new method : 0.32605814933776855 time for calcul the mask position with numpy : 0.006620645523071289 nb_pixel_total : 92077 time to create 1 rle with old method : 0.10741376876831055 time for calcul the mask position with numpy : 0.012650489807128906 nb_pixel_total : 702563 time to create 1 rle with new method : 0.04995012283325195 create new chi : 0.5250275135040283 time to delete rle : 0.0004649162292480469 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4034 TO DO : save crop sub photo not yet done ! save time : 0.29015135765075684 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.43083620071411133 time for calcul the mask position with numpy : 0.20883631706237793 nb_pixel_total : 1943939 time to create 1 rle with new method : 0.39769697189331055 time for calcul the mask position with numpy : 0.006457805633544922 nb_pixel_total : 43326 time to create 1 rle with old method : 0.04883217811584473 time for calcul the mask position with numpy : 0.005944728851318359 nb_pixel_total : 17281 time to create 1 rle with old method : 0.01938652992248535 time for calcul the mask position with numpy : 0.006485700607299805 nb_pixel_total : 69054 time to create 1 rle with old method : 0.07735610008239746 create new chi : 0.7816119194030762 time to delete rle : 0.00041556358337402344 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2322 TO DO : save crop sub photo not yet done ! save time : 0.18550658226013184 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03280925750732422 time for calcul the mask position with numpy : 0.020775794982910156 nb_pixel_total : 2070899 time to create 1 rle with new method : 0.2303621768951416 time for calcul the mask position with numpy : 0.005782365798950195 nb_pixel_total : 2701 time to create 1 rle with old method : 0.0029249191284179688 create new chi : 0.2666811943054199 time to delete rle : 0.0002002716064453125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1200 TO DO : save crop sub photo not yet done ! save time : 0.11105513572692871 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03329586982727051 time for calcul the mask position with numpy : 0.018891572952270508 nb_pixel_total : 2054958 time to create 1 rle with new method : 0.07914257049560547 time for calcul the mask position with numpy : 0.005847930908203125 nb_pixel_total : 18642 time to create 1 rle with old method : 0.020621538162231445 create new chi : 0.13480758666992188 time to delete rle : 0.00026226043701171875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1560 TO DO : save crop sub photo not yet done ! save time : 0.14558076858520508 No data in photo_id : 1393116993 map_output_result : {1393118725: (0.0, 'Should be the crop_list due to order', 0), 1393118687: (0.0, 'Should be the crop_list due to order', 0), 1393118677: (0.0, 'Should be the crop_list due to order', 0), 1393118669: (0.0, 'Should be the crop_list due to order', 0), 1393118286: (0.0, 'Should be the crop_list due to order', 0), 1393118253: (0.0, 'Should be the crop_list due to order', 0), 1393118222: (0.0, 'Should be the crop_list due to order', 0), 1393118177: (0.0, 'Should be the crop_list due to order', 0), 1393116993: (0.0, 'Should be the crop_list due to order', 0.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 [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] Looping around the photos to save general results len do output : 9 /1393118725.Didn't retrieve data . /1393118687.Didn't retrieve data . /1393118677.Didn't retrieve data . /1393118669.Didn't retrieve data . /1393118286.Didn't retrieve data . /1393118253.Didn't retrieve data . /1393118222.Didn't retrieve data . /1393118177.Didn't retrieve data . /1393116993.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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013254165649414062 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.112406969070435 time spend to save output : 0.013635873794555664 total time spend for step 3 : 8.12604284286499 step4:ventilate_hashtags_in_portfolio Fri Nov 7 18:51:19 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 : 28317465 get user id for portfolio 28317465 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`=28317465 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','background','pet_clair','pehd','metal','flou','autre','pet_fonce','mal_croppe','papier','carton')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317465 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','background','pet_clair','pehd','metal','flou','autre','pet_fonce','mal_croppe','papier','carton')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317465 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','background','pet_clair','pehd','metal','flou','autre','pet_fonce','mal_croppe','papier','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28321001,28321002,28321003,28321004,28321005,28321006,28321007,28321008,28321009,28321010,28321011?tags=environnement,background,pet_clair,pehd,metal,flou,autre,pet_fonce,mal_croppe,papier,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] Looping around the photos to save general results len do output : 1 /28317465. 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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01272726058959961 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6713662147521973 time spend to save output : 0.012963294982910156 total time spend for step 4 : 1.6843295097351074 step5:final Fri Nov 7 18:51:21 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 : {1393118725: ('0.1594647526577503',), 1393118687: ('0.1594647526577503',), 1393118677: ('0.1594647526577503',), 1393118669: ('0.1594647526577503',), 1393118286: ('0.1594647526577503',), 1393118253: ('0.1594647526577503',), 1393118222: ('0.1594647526577503',), 1393118177: ('0.1594647526577503',), 1393116993: ('0.1594647526577503',)} new output for save of step final : {1393118725: ('0.1594647526577503',), 1393118687: ('0.1594647526577503',), 1393118677: ('0.1594647526577503',), 1393118669: ('0.1594647526577503',), 1393118286: ('0.1594647526577503',), 1393118253: ('0.1594647526577503',), 1393118222: ('0.1594647526577503',), 1393118177: ('0.1594647526577503',), 1393116993: ('0.1594647526577503',)} [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] Looping around the photos to save general results len do output : 9 /1393118725.Didn't retrieve data . /1393118687.Didn't retrieve data . /1393118677.Didn't retrieve data . /1393118669.Didn't retrieve data . /1393118286.Didn't retrieve data . /1393118253.Didn't retrieve data . /1393118222.Didn't retrieve data . /1393118177.Didn't retrieve data . /1393116993.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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.012380838394165039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11822891235351562 time spend to save output : 0.012854337692260742 total time spend for step 5 : 0.13108325004577637 step6:blur_detection Fri Nov 7 18:51:21 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/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3.jpg resize: (1080, 1920) 1393118725 0.20677745875910294 treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5.jpg resize: (1080, 1920) 1393118687 -1.1325924288275204 treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152.jpg resize: (1080, 1920) 1393118677 -0.18196161981772607 treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1.jpg resize: (1080, 1920) 1393118669 0.3109207222986768 treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625.jpg resize: (1080, 1920) 1393118286 -1.7101679302903692 treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550.jpg resize: (1080, 1920) 1393118253 0.849234664976203 treat image : temp/1762537826_311070_1393118222_e9de518d91dce28e918e7b08cc68a6bd.jpg resize: (1080, 1920) 1393118222 0.48737830171500124 treat image : temp/1762537826_311070_1393118177_a5fcf2dc14edb3e276119eadb9b27c5c.jpg resize: (1080, 1920) 1393118177 0.5368927461343246 treat image : temp/1762537826_311070_1393116993_68b1530387ac47d430e12b291d6178fc.jpg resize: (1080, 1920) 1393116993 1.0936705034645935 treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487890_0.png resize: (35, 142) 1393194950 -1.4901503853761144 treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487889_0.png resize: (200, 189) 1393194951 -1.7339231629904246 treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487888_0.png resize: (76, 134) 1393194952 -3.500821544189483 treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487891_0.png resize: (104, 89) 1393194953 -2.014404193067877 treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487897_0.png resize: (92, 152) 1393194954 0.2597410529636266 treat image : temp/1762537826_311070_1393118222_e9de518d91dce28e918e7b08cc68a6bd_rle_crop_4025487905_0.png resize: (60, 71) 1393194955 -1.9443373500377452 treat image : temp/1762537826_311070_1393118177_a5fcf2dc14edb3e276119eadb9b27c5c_rle_crop_4025487906_0.png resize: (240, 114) 1393194956 -1.4656122326328695 treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487898_0.png resize: (91, 109) 1393194958 -1.461087391431585 treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487892_0.png resize: (931, 1074) 1393194962 -0.3826471284407626 treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487894_0.png resize: (112, 123) 1393194963 -1.6315178129109702 treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487893_0.png resize: (539, 329) 1393194964 0.037161928383422256 treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487896_0.png resize: (991, 1174) 1393194965 -0.8906828986647539 treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487895_0.png resize: (512, 323) 1393194966 0.033864326909739347 treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487899_0.png resize: (115, 309) 1393194967 -1.5505939227261318 treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487900_0.png resize: (959, 947) 1393194968 -0.35183272344260913 treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487901_0.png resize: (507, 314) 1393194969 -0.16490109953018708 treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487902_0.png resize: (252, 358) 1393194970 -0.19710481861287182 treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487904_0.png resize: (229, 278) 1393194971 -1.1507154188752426 treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487903_0.png resize: (126, 173) 1393194972 -0.537577806065733 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 : 28 time used for this insertion : 0.015151023864746094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.013230323791503906 save missing photos in datou_result : time spend for datou_step_exec : 9.22592568397522 time spend to save output : 0.03346896171569824 total time spend for step 6 : 9.259394645690918 step7:brightness Fri Nov 7 18:51:31 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/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3.jpg treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5.jpg treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152.jpg treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1.jpg treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625.jpg treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550.jpg treat image : temp/1762537826_311070_1393118222_e9de518d91dce28e918e7b08cc68a6bd.jpg treat image : temp/1762537826_311070_1393118177_a5fcf2dc14edb3e276119eadb9b27c5c.jpg treat image : temp/1762537826_311070_1393116993_68b1530387ac47d430e12b291d6178fc.jpg treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487890_0.png treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487889_0.png treat image : temp/1762537826_311070_1393118725_8f907c6b690a59380964d596c464f8a3_rle_crop_4025487888_0.png treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487891_0.png treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487897_0.png treat image : temp/1762537826_311070_1393118222_e9de518d91dce28e918e7b08cc68a6bd_rle_crop_4025487905_0.png treat image : temp/1762537826_311070_1393118177_a5fcf2dc14edb3e276119eadb9b27c5c_rle_crop_4025487906_0.png treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487898_0.png treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487892_0.png treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487894_0.png treat image : temp/1762537826_311070_1393118687_9be81dcd478fad5a38c1a2de2c6f8bc5_rle_crop_4025487893_0.png treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487896_0.png treat image : temp/1762537826_311070_1393118677_13b415cf630cf504d33224d662425152_rle_crop_4025487895_0.png treat image : temp/1762537826_311070_1393118669_ed81fa7af5467d73da4406b96b05efd1_rle_crop_4025487899_0.png treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487900_0.png treat image : temp/1762537826_311070_1393118286_51b11fba0f4ffd2accd9056e3fa74625_rle_crop_4025487901_0.png treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487902_0.png treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487904_0.png treat image : temp/1762537826_311070_1393118253_c691dbe4cc1dd555cc4b33e139944550_rle_crop_4025487903_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 : 28 time used for this insertion : 0.011493682861328125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.012354612350463867 save missing photos in datou_result : time spend for datou_step_exec : 2.381136894226074 time spend to save output : 0.027884483337402344 total time spend for step 7 : 2.4090213775634766 step8:velours_tree Fri Nov 7 18:51:33 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.1286470890045166 time spend to save output : 3.933906555175781e-05 total time spend for step 8 : 0.12868642807006836 step9:send_mail_cod Fri Nov 7 18:51:33 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_P28317465_07-11-2025_18_51_33.pdf 28321002 imagette283210021762537893 28321003 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 .imagette283210031762537893 28321004 imagette283210041762537894 28321005 imagette283210051762537894 28321006 imagette283210061762537894 28321007 imagette283210071762537894 28321008 imagette283210081762537894 28321009 imagette283210091762537894 28321010 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 .imagette283210101762537894 28321011 change filename to text .imagette283210111762537895 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28317465 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28321001,28321002,28321003,28321004,28321005,28321006,28321007,28321008,28321009,28321010,28321011?tags=environnement,background,pet_clair,pehd,metal,flou,autre,pet_fonce,mal_croppe,papier,carton args[1393118725] : ((1393118725, 0.20677745875910294, 492688767), (1393118725, 0.1879658257650026, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118687] : ((1393118687, -1.1325924288275204, 492688767), (1393118687, 0.21176861492389837, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118677] : ((1393118677, -0.18196161981772607, 492688767), (1393118677, 0.3560129747647897, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118669] : ((1393118669, 0.3109207222986768, 492688767), (1393118669, 0.28808253056836597, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118286] : ((1393118286, -1.7101679302903692, 492688767), (1393118286, 0.47765622444589784, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118253] : ((1393118253, 0.849234664976203, 492688767), (1393118253, 0.22733114470173632, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118222] : ((1393118222, 0.48737830171500124, 492688767), (1393118222, 0.37668017431014655, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393118177] : ((1393118177, 0.5368927461343246, 492688767), (1393118177, 0.43767634792017795, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com args[1393116993] : ((1393116993, 1.0936705034645935, 492688767), (1393116993, 0.2663631181655534, 2107752395), '0.1594647526577503') We are sending mail with results at report@fotonower.com refus_total : 0.1594647526577503 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=28317465 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_P28317465_07-11-2025_18_51_33.pdf results_Auto_P28317465_07-11-2025_18_51_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317465_07-11-2025_18_51_33.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','28317465','results_Auto_P28317465_07-11-2025_18_51_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317465_07-11-2025_18_51_33.pdf','pdf','','0.37','0.1594647526577503') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28317465

https://www.fotonower.com/image?json=false&list_photos_id=1393118725
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118687
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118677
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118669
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118286
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118253
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118222
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393118177
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393116993
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0936705034645935)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28321003?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28321010?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28321011?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317465_07-11-2025_18_51_33.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28321001,28321002,28321003,28321004,28321005,28321006,28321007,28321008,28321009,28321010,28321011?tags=environnement,background,pet_clair,pehd,metal,flou,autre,pet_fonce,mal_croppe,papier,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 07 Nov 2025 17:51:36 GMT Content-Length: 0 Connection: close X-Message-Id: GJccG4TLSo-Omo3iIyzS4A 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 [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] 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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.013812065124511719 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4266152381896973 time spend to save output : 0.014129638671875 total time spend for step 9 : 3.4407448768615723 step10:split_time_score Fri Nov 7 18:51:37 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'}] (('15', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07112025 28317465 Nombre de photos uploadées : 9 / 23040 (0%) 07112025 28317465 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 07112025 28317465 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005037784576416016 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2002243995666504 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.004566883144718793 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298577_07-11-2025_09_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298577 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`=28298577 AND mptpi.`type`=3594 To do Qualite : 0.01407957175925926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298579_07-11-2025_09_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298579 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`=28298579 AND mptpi.`type`=3594 To do Qualite : 0.03971610363618827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298580_07-11-2025_09_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298580 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`=28298580 AND mptpi.`type`=3594 To do Qualite : 0.03227211686847103 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304078_07-11-2025_12_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28304078 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`=28304078 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317462 order by id desc limit 1 Qualite : 0.1594647526577503 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317465_07-11-2025_18_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317465 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`=28317465 AND mptpi.`type`=3594 To do Qualite : 0.11926633230452677 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317467_07-11-2025_18_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317467 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`=28317467 AND mptpi.`type`=3594 To do Qualite : 0.24889986014660495 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317509_07-11-2025_18_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317509 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`=28317509 AND mptpi.`type`=3594 To do Qualite : 0.07542040412808643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317536 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`=28317536 AND mptpi.`type`=3594 To do Qualite : 0.10745382426697532 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317550_07-11-2025_17_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317550 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`=28317550 AND mptpi.`type`=3594 To do Qualite : 0.17492326817558299 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318849_07-11-2025_18_22_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28318849 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`=28318849 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28318855 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07112025': {'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 [1393118725, 1393118687, 1393118677, 1393118669, 1393118286, 1393118253, 1393118222, 1393118177, 1393116993] Looping around the photos to save general results len do output : 1 /28317465Didn'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, '4018071') ('3318', '28317465', '1393118725', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118687', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118677', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118669', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118286', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118253', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118222', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393118177', None, None, None, None, None, '4018071') ('3318', None, None, None, None, None, None, None, '4018071') ('3318', '28317465', '1393116993', None, None, None, None, None, '4018071') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012972593307495117 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.373737096786499 time spend to save output : 0.013265371322631836 total time spend for step 10 : 3.387002468109131 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 40.06user 22.12system 1:15.82elapsed 82%CPU (0avgtext+0avgdata 2566612maxresident)k 17528inputs+25272outputs (98major+1354926minor)pagefaults 0swaps