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 : 4026104 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 : ['3474736'] with mtr_portfolio_ids : ['25777928'] and first list_photo_ids : [] new path : /proc/4026104/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.314918041229248 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 Thu Aug 7 14:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-07 14:10:32.203535: 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-08-07 14:10:32.227663: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-07 14:10:32.229758: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6f3c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-07 14:10:32.229819: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-07 14:10:32.233901: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-07 14:10:32.418675: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x14e36790 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-07 14:10:32.418728: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-07 14:10:32.419539: 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-08-07 14:10:32.419897: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 14:10:32.421898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 14:10:32.423998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 14:10:32.424316: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 14:10:32.426461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 14:10:32.427484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 14:10:32.431882: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 14:10:32.433857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 14:10:32.433951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 14:10:32.434715: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 14:10:32.434731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 14:10:32.434740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 14:10:32.436151: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10116 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-08-07 14:10:32.731908: 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-08-07 14:10:32.732024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 14:10:32.732049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 14:10:32.732072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 14:10:32.732093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 14:10:32.732114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 14:10:32.732134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 14:10:32.732155: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 14:10:32.733781: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 14:10:32.735125: 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-08-07 14:10:32.735166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 14:10:32.735188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 14:10:32.735206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 14:10:32.735224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 14:10:32.735242: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 14:10:32.735260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 14:10:32.735277: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 14:10:32.736897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 14:10:32.736926: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 14:10:32.736936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 14:10:32.736945: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 14:10:32.738621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10116 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-08-07 14:10:41.211469: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 14:10:41.411454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 14:10:42.919517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:42.920177: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:42.920806: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:42.921580: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.870937: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.871019: 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-08-07 14:10:43.934110: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.934167: 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-08-07 14:10:43.934942: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.934960: 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-08-07 14:10:43.943621: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.943646: 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-08-07 14:10:43.944387: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.944402: 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-08-07 14:10:43.950933: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.950953: 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-08-07 14:10:43.951689: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.951707: 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-08-07 14:10:43.983510: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.983558: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 14:10:43.983568: 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-08-07 14:10:43.984317: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.984333: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 14:10:43.985037: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.985052: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 14:10:43.992927: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.992952: 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-08-07 14:10:43.993663: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.994372: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:43.995112: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.004858: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.005599: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.022051: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.023027: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.023990: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.024921: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.029401: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.030194: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.030947: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.031713: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.032992: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.044741: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.045517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.056508: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.057471: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.058411: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.059360: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.060284: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 14:10:44.061028: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 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 : 11 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 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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: 61.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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.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 : 2 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 : 10 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 : 12 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 : 12 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 Detection mask done ! Trying to reset tf kernel 4026614 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5185 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 6378 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.0004334449768066406 nb_pixel_total : 17079 time to create 1 rle with old method : 0.020078420639038086 length of segment : 155 time for calcul the mask position with numpy : 0.0013551712036132812 nb_pixel_total : 76400 time to create 1 rle with old method : 0.0851278305053711 length of segment : 575 time for calcul the mask position with numpy : 0.00014829635620117188 nb_pixel_total : 7118 time to create 1 rle with old method : 0.007733583450317383 length of segment : 147 time for calcul the mask position with numpy : 9.179115295410156e-05 nb_pixel_total : 3062 time to create 1 rle with old method : 0.0035898685455322266 length of segment : 65 time for calcul the mask position with numpy : 0.0012295246124267578 nb_pixel_total : 84826 time to create 1 rle with old method : 0.09125590324401855 length of segment : 491 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 10476 time to create 1 rle with old method : 0.012187004089355469 length of segment : 110 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 2897 time to create 1 rle with old method : 0.0033254623413085938 length of segment : 55 time for calcul the mask position with numpy : 0.001050710678100586 nb_pixel_total : 70359 time to create 1 rle with old method : 0.07742524147033691 length of segment : 279 time for calcul the mask position with numpy : 0.00015497207641601562 nb_pixel_total : 8755 time to create 1 rle with old method : 0.009604692459106445 length of segment : 122 time for calcul the mask position with numpy : 0.0013790130615234375 nb_pixel_total : 106311 time to create 1 rle with old method : 0.1122283935546875 length of segment : 531 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 7496 time to create 1 rle with old method : 0.008564233779907227 length of segment : 114 time for calcul the mask position with numpy : 5.626678466796875e-05 nb_pixel_total : 1724 time to create 1 rle with old method : 0.0020847320556640625 length of segment : 40 time for calcul the mask position with numpy : 8.273124694824219e-05 nb_pixel_total : 3417 time to create 1 rle with old method : 0.003954410552978516 length of segment : 63 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 5084 time to create 1 rle with old method : 0.005896806716918945 length of segment : 56 time for calcul the mask position with numpy : 0.00029206275939941406 nb_pixel_total : 16433 time to create 1 rle with old method : 0.018093585968017578 length of segment : 183 time for calcul the mask position with numpy : 6.198883056640625e-05 nb_pixel_total : 1782 time to create 1 rle with old method : 0.002160787582397461 length of segment : 41 time for calcul the mask position with numpy : 0.0016527175903320312 nb_pixel_total : 111033 time to create 1 rle with old method : 0.11739516258239746 length of segment : 566 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 8967 time to create 1 rle with old method : 0.009931325912475586 length of segment : 118 time for calcul the mask position with numpy : 0.00013208389282226562 nb_pixel_total : 7673 time to create 1 rle with old method : 0.008408546447753906 length of segment : 85 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 6170 time to create 1 rle with old method : 0.0068666934967041016 length of segment : 110 time for calcul the mask position with numpy : 0.000339508056640625 nb_pixel_total : 20002 time to create 1 rle with old method : 0.022226572036743164 length of segment : 239 time for calcul the mask position with numpy : 0.0002536773681640625 nb_pixel_total : 15624 time to create 1 rle with old method : 0.019973278045654297 length of segment : 122 time for calcul the mask position with numpy : 0.00028252601623535156 nb_pixel_total : 6138 time to create 1 rle with old method : 0.0068738460540771484 length of segment : 91 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 2960 time to create 1 rle with old method : 0.0034596920013427734 length of segment : 61 time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 7876 time to create 1 rle with old method : 0.008867263793945312 length of segment : 87 time for calcul the mask position with numpy : 0.0002944469451904297 nb_pixel_total : 9906 time to create 1 rle with old method : 0.011053085327148438 length of segment : 107 time for calcul the mask position with numpy : 0.00023365020751953125 nb_pixel_total : 4244 time to create 1 rle with old method : 0.0047147274017333984 length of segment : 113 time for calcul the mask position with numpy : 0.0002574920654296875 nb_pixel_total : 10622 time to create 1 rle with old method : 0.011660575866699219 length of segment : 135 time for calcul the mask position with numpy : 0.00013375282287597656 nb_pixel_total : 5290 time to create 1 rle with old method : 0.006204128265380859 length of segment : 59 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 6363 time to create 1 rle with old method : 0.007100820541381836 length of segment : 108 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 3441 time to create 1 rle with old method : 0.0039670467376708984 length of segment : 74 time for calcul the mask position with numpy : 0.0025742053985595703 nb_pixel_total : 96562 time to create 1 rle with old method : 0.13140392303466797 length of segment : 523 time spent for convertir_results : 1.8691201210021973 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 5625 save missing photos in datou_result : time spend for datou_step_exec : 25.390952587127686 time spend to save output : 0.40069127082824707 total time spend for step 1 : 25.791643857955933 step2:crop_condition Thu Aug 7 14:10:55 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 : 11 ! batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754568656_4026104 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.164295673370361 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754568662_4026104 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1492416858673096 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754568665_4026104 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8141672611236572 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754568668_4026104 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4178721904754639 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] Looping around the photos to save general results len do output : 32 /1375667168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375667249Didn'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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 107 time used for this insertion : 0.021439313888549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.823032140731812 time spend to save output : 0.02286243438720703 total time spend for step 2 : 13.845894575119019 step3:rle_unique_nms_with_priority Thu Aug 7 14:11:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3874027729034424 time for calcul the mask position with numpy : 0.09244751930236816 nb_pixel_total : 1980121 time to create 1 rle with new method : 0.0930628776550293 time for calcul the mask position with numpy : 0.006983041763305664 nb_pixel_total : 76400 time to create 1 rle with old method : 0.08196020126342773 time for calcul the mask position with numpy : 0.006276369094848633 nb_pixel_total : 17079 time to create 1 rle with old method : 0.01995539665222168 create new chi : 0.31009817123413086 time to delete rle : 0.02658843994140625 batch 1 Loaded 5 chid ids of type : 3594 ++++++Number RLEs to save : 2540 TO DO : save crop sub photo not yet done ! save time : 0.20307636260986328 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.14198708534240723 time for calcul the mask position with numpy : 0.04813694953918457 nb_pixel_total : 2066482 time to create 1 rle with new method : 0.11354303359985352 time for calcul the mask position with numpy : 0.0064427852630615234 nb_pixel_total : 7118 time to create 1 rle with old method : 0.008110523223876953 create new chi : 0.1827554702758789 time to delete rle : 0.0002288818359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1374 TO DO : save crop sub photo not yet done ! save time : 0.12346315383911133 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05307149887084961 time for calcul the mask position with numpy : 0.08131575584411621 nb_pixel_total : 1985712 time to create 1 rle with new method : 0.11635017395019531 time for calcul the mask position with numpy : 0.011074066162109375 nb_pixel_total : 84826 time to create 1 rle with old method : 0.0926046371459961 time for calcul the mask position with numpy : 0.006086826324462891 nb_pixel_total : 3062 time to create 1 rle with old method : 0.0032765865325927734 create new chi : 0.32062339782714844 time to delete rle : 0.0003619194030761719 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2192 TO DO : save crop sub photo not yet done ! save time : 0.17084288597106934 No data in photo_id : 1375660061 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.36392927169799805 time for calcul the mask position with numpy : 0.0734853744506836 nb_pixel_total : 1866724 time to create 1 rle with new method : 0.1222984790802002 time for calcul the mask position with numpy : 0.006520748138427734 nb_pixel_total : 1724 time to create 1 rle with old method : 0.002025604248046875 time for calcul the mask position with numpy : 0.006364107131958008 nb_pixel_total : 7496 time to create 1 rle with old method : 0.008456945419311523 time for calcul the mask position with numpy : 0.007366180419921875 nb_pixel_total : 106311 time to create 1 rle with old method : 0.11739087104797363 time for calcul the mask position with numpy : 0.006257057189941406 nb_pixel_total : 8755 time to create 1 rle with old method : 0.00929570198059082 time for calcul the mask position with numpy : 0.006575584411621094 nb_pixel_total : 69217 time to create 1 rle with old method : 0.07370615005493164 time for calcul the mask position with numpy : 0.006201028823852539 nb_pixel_total : 2897 time to create 1 rle with old method : 0.004895448684692383 time for calcul the mask position with numpy : 0.006533622741699219 nb_pixel_total : 10476 time to create 1 rle with old method : 0.016904354095458984 create new chi : 0.4845001697540283 time to delete rle : 0.0006074905395507812 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 3538 TO DO : save crop sub photo not yet done ! save time : 0.24560809135437012 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.10158467292785645 time for calcul the mask position with numpy : 0.6586627960205078 nb_pixel_total : 1926898 time to create 1 rle with new method : 0.09254837036132812 time for calcul the mask position with numpy : 0.006089210510253906 nb_pixel_total : 8967 time to create 1 rle with old method : 0.00966787338256836 time for calcul the mask position with numpy : 0.006592750549316406 nb_pixel_total : 111033 time to create 1 rle with old method : 0.11714053153991699 time for calcul the mask position with numpy : 0.005724430084228516 nb_pixel_total : 1782 time to create 1 rle with old method : 0.001962423324584961 time for calcul the mask position with numpy : 0.005730628967285156 nb_pixel_total : 16419 time to create 1 rle with old method : 0.017330646514892578 time for calcul the mask position with numpy : 0.005710124969482422 nb_pixel_total : 5084 time to create 1 rle with old method : 0.005440235137939453 time for calcul the mask position with numpy : 0.005755901336669922 nb_pixel_total : 3417 time to create 1 rle with old method : 0.0038666725158691406 create new chi : 0.9527778625488281 time to delete rle : 0.0004284381866455078 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3116 TO DO : save crop sub photo not yet done ! save time : 0.23805665969848633 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.09873437881469727 time for calcul the mask position with numpy : 1.2110188007354736 nb_pixel_total : 2010657 time to create 1 rle with new method : 0.09846782684326172 time for calcul the mask position with numpy : 0.006712675094604492 nb_pixel_total : 7876 time to create 1 rle with old method : 0.008971691131591797 time for calcul the mask position with numpy : 0.008866071701049805 nb_pixel_total : 2960 time to create 1 rle with old method : 0.00336456298828125 time for calcul the mask position with numpy : 0.006415367126464844 nb_pixel_total : 6138 time to create 1 rle with old method : 0.006879329681396484 time for calcul the mask position with numpy : 0.006588459014892578 nb_pixel_total : 15624 time to create 1 rle with old method : 0.01762104034423828 time for calcul the mask position with numpy : 0.006656169891357422 nb_pixel_total : 16502 time to create 1 rle with old method : 0.0187833309173584 time for calcul the mask position with numpy : 0.0063898563385009766 nb_pixel_total : 6170 time to create 1 rle with old method : 0.007015228271484375 time for calcul the mask position with numpy : 0.006318569183349609 nb_pixel_total : 7673 time to create 1 rle with old method : 0.008744955062866211 create new chi : 1.4398846626281738 time to delete rle : 0.00044846534729003906 batch 1 Loaded 15 chid ids of type : 3594 +++++++++Number RLEs to save : 2576 TO DO : save crop sub photo not yet done ! save time : 0.21149897575378418 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.07483601570129395 time for calcul the mask position with numpy : 0.022070884704589844 nb_pixel_total : 2043538 time to create 1 rle with new method : 0.06491994857788086 time for calcul the mask position with numpy : 0.006215095520019531 nb_pixel_total : 5290 time to create 1 rle with old method : 0.006042957305908203 time for calcul the mask position with numpy : 0.0064275264739990234 nb_pixel_total : 10622 time to create 1 rle with old method : 0.011918067932128906 time for calcul the mask position with numpy : 0.0061473846435546875 nb_pixel_total : 4244 time to create 1 rle with old method : 0.0048029422760009766 time for calcul the mask position with numpy : 0.0062160491943359375 nb_pixel_total : 9906 time to create 1 rle with old method : 0.011471271514892578 create new chi : 0.1465897560119629 time to delete rle : 0.00036597251892089844 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1908 TO DO : save crop sub photo not yet done ! save time : 0.15992331504821777 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04913520812988281 time for calcul the mask position with numpy : 0.329387903213501 nb_pixel_total : 2067237 time to create 1 rle with new method : 0.12577462196350098 time for calcul the mask position with numpy : 0.006259918212890625 nb_pixel_total : 6363 time to create 1 rle with old method : 0.007227420806884766 create new chi : 0.48015451431274414 time to delete rle : 0.00022792816162109375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1296 TO DO : save crop sub photo not yet done ! save time : 0.135817289352417 No data in photo_id : 1375659573 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.18650341033935547 time for calcul the mask position with numpy : 0.2110884189605713 nb_pixel_total : 1973597 time to create 1 rle with new method : 0.10689425468444824 time for calcul the mask position with numpy : 0.00687718391418457 nb_pixel_total : 96562 time to create 1 rle with old method : 0.10950398445129395 time for calcul the mask position with numpy : 0.006632328033447266 nb_pixel_total : 3441 time to create 1 rle with old method : 0.003926515579223633 create new chi : 0.456052303314209 time to delete rle : 0.0003883838653564453 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2274 TO DO : save crop sub photo not yet done ! save time : 0.17879176139831543 map_output_result : {1375660523: (0.0, 'Should be the crop_list due to order', 0), 1375660112: (0.0, 'Should be the crop_list due to order', 0), 1375660087: (0.0, 'Should be the crop_list due to order', 0), 1375660061: (0.0, 'Should be the crop_list due to order', 0.0), 1375660034: (0.0, 'Should be the crop_list due to order', 0), 1375660009: (0.0, 'Should be the crop_list due to order', 0), 1375659984: (0.0, 'Should be the crop_list due to order', 0), 1375659630: (0.0, 'Should be the crop_list due to order', 0), 1375659596: (0.0, 'Should be the crop_list due to order', 0), 1375659573: (0.0, 'Should be the crop_list due to order', 0.0), 1375659475: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] Looping around the photos to save general results len do output : 11 /1375660523.Didn't retrieve data . /1375660112.Didn't retrieve data . /1375660087.Didn't retrieve data . /1375660061.Didn't retrieve data . /1375660034.Didn't retrieve data . /1375660009.Didn't retrieve data . /1375659984.Didn't retrieve data . /1375659630.Didn't retrieve data . /1375659596.Didn't retrieve data . /1375659573.Didn't retrieve data . /1375659475.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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.014317035675048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.248582601547241 time spend to save output : 0.014796972274780273 total time spend for step 3 : 8.263379573822021 step4:ventilate_hashtags_in_portfolio Thu Aug 7 14:11:17 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 : 25777928 get user id for portfolio 25777928 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`=25777928 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','autre','papier','metal','carton','environnement','flou','background','mal_croppe')) 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`=25777928 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','autre','papier','metal','carton','environnement','flou','background','mal_croppe')) 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`=25777928 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','autre','papier','metal','carton','environnement','flou','background','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25778129,25778130,25778131,25778132,25778133,25778134,25778135,25778136,25778137,25778138,25778139?tags=pet_clair,pehd,pet_fonce,autre,papier,metal,carton,environnement,flou,background,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] Looping around the photos to save general results len do output : 1 /25777928. 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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.016314029693603516 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6931736469268799 time spend to save output : 0.016590118408203125 total time spend for step 4 : 1.709763765335083 step5:final Thu Aug 7 14:11: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 ! 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 : {1375660523: ('0.0325053486251403',), 1375660112: ('0.0325053486251403',), 1375660087: ('0.0325053486251403',), 1375660061: ('0.0325053486251403',), 1375660034: ('0.0325053486251403',), 1375660009: ('0.0325053486251403',), 1375659984: ('0.0325053486251403',), 1375659630: ('0.0325053486251403',), 1375659596: ('0.0325053486251403',), 1375659573: ('0.0325053486251403',), 1375659475: ('0.0325053486251403',)} new output for save of step final : {1375660523: ('0.0325053486251403',), 1375660112: ('0.0325053486251403',), 1375660087: ('0.0325053486251403',), 1375660061: ('0.0325053486251403',), 1375660034: ('0.0325053486251403',), 1375660009: ('0.0325053486251403',), 1375659984: ('0.0325053486251403',), 1375659630: ('0.0325053486251403',), 1375659596: ('0.0325053486251403',), 1375659573: ('0.0325053486251403',), 1375659475: ('0.0325053486251403',)} [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] Looping around the photos to save general results len do output : 11 /1375660523.Didn't retrieve data . /1375660112.Didn't retrieve data . /1375660087.Didn't retrieve data . /1375660061.Didn't retrieve data . /1375660034.Didn't retrieve data . /1375660009.Didn't retrieve data . /1375659984.Didn't retrieve data . /1375659630.Didn't retrieve data . /1375659596.Didn't retrieve data . /1375659573.Didn't retrieve data . /1375659475.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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.01578044891357422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1197667121887207 time spend to save output : 0.016285419464111328 total time spend for step 5 : 0.13605213165283203 step6:blur_detection Thu Aug 7 14:11: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 inside step blur_detection methode: ratio et variance treat image : temp/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0.jpg resize: (1080, 1920) 1375660523 0.46584010227537764 treat image : temp/1754568628_4026104_1375660112_5c680a19fbb81a22160e8b669e79187d.jpg resize: (1080, 1920) 1375660112 0.838394679276214 treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66.jpg resize: (1080, 1920) 1375660087 0.8793154067961353 treat image : temp/1754568628_4026104_1375660061_9289ea6836ca8ce7ada5651a7ea33e5b.jpg resize: (1080, 1920) 1375660061 0.9393990675872155 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5.jpg resize: (1080, 1920) 1375660034 -3.768664858405536 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba.jpg resize: (1080, 1920) 1375660009 -0.4479775465825538 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b.jpg resize: (1080, 1920) 1375659984 0.044746065990845914 treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3.jpg resize: (1080, 1920) 1375659630 1.7236743840702868 treat image : temp/1754568628_4026104_1375659596_e4f584a8873119d450af27f8084fdd1b.jpg resize: (1080, 1920) 1375659596 1.480809140328967 treat image : temp/1754568628_4026104_1375659573_adbd930173e3780ea2794cce928c8902.jpg resize: (1080, 1920) 1375659573 -0.8403557687042787 treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9.jpg resize: (1080, 1920) 1375659475 1.1867422553140494 treat image : temp/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0_rle_crop_3905943456_0.png resize: (148, 262) 1375667168 -1.4543420480769367 treat image : temp/1754568628_4026104_1375660112_5c680a19fbb81a22160e8b669e79187d_rle_crop_3905943458_0.png resize: (125, 85) 1375667169 1.3928992556945485 treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66_rle_crop_3905943459_0.png resize: (65, 82) 1375667170 0.05498770155074332 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943462_0.png resize: (55, 71) 1375667171 -1.3325769640906786 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943463_0.png resize: (232, 510) 1375667173 -2.967705733465587 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943461_0.png resize: (91, 268) 1375667174 -3.731093242322976 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943466_0.png resize: (114, 110) 1375667175 -4.082550396772995 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943467_0.png resize: (40, 61) 1375667177 -1.47182981759095 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943469_0.png resize: (53, 125) 1375667178 1.7187494644506098 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943468_0.png resize: (63, 92) 1375667179 -0.5515821658963089 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943471_0.png resize: (41, 60) 1375667181 -0.5844283876959692 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943476_0.png resize: (155, 297) 1375667182 -2.25781468966507 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943474_0.png resize: (78, 133) 1375667183 -1.079025552981439 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943475_0.png resize: (91, 113) 1375667185 -0.5391505577247383 treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943484_0.png resize: (59, 144) 1375667186 -0.6285823762260493 treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943481_0.png resize: (107, 141) 1375667187 -0.08276147820192635 treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943482_0.png resize: (113, 60) 1375667189 -0.8976149786618356 treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943483_0.png resize: (135, 94) 1375667190 -0.9896141884585544 treat image : temp/1754568628_4026104_1375659596_e4f584a8873119d450af27f8084fdd1b_rle_crop_3905943485_0.png resize: (104, 78) 1375667191 0.8654818052792517 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943470_0.png resize: (181, 168) 1375667201 -1.745239942989627 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943478_0.png resize: (91, 120) 1375667202 -2.778001515935374 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943479_0.png resize: (61, 65) 1375667203 -0.6167017701643996 treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9_rle_crop_3905943486_0.png resize: (74, 64) 1375667204 -0.26748251454881505 treat image : temp/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0_rle_crop_3905943457_0.png resize: (479, 317) 1375667228 -1.808065956953448 treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66_rle_crop_3905943460_0.png resize: (479, 300) 1375667229 0.2680339183946056 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943464_0.png resize: (122, 100) 1375667230 -3.452213796127858 treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943465_0.png resize: (531, 334) 1375667232 0.23268491150142243 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943472_0.png resize: (560, 325) 1375667233 -0.36109300504382574 treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9_rle_crop_3905943487_0.png resize: (518, 335) 1375667234 -0.5728933909941114 treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943473_0.png resize: (118, 117) 1375667245 -3.1545629684273764 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943477_0.png resize: (99, 225) 1375667248 -2.8155698420487316 treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943480_0.png resize: (87, 112) 1375667249 4.057486129156549 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 : 43 time used for this insertion : 0.014029979705810547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.013961076736450195 save missing photos in datou_result : time spend for datou_step_exec : 9.446249723434448 time spend to save output : 0.03283214569091797 total time spend for step 6 : 9.479081869125366 step7:brightness Thu Aug 7 14:11: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 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/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0.jpg treat image : temp/1754568628_4026104_1375660112_5c680a19fbb81a22160e8b669e79187d.jpg treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66.jpg treat image : temp/1754568628_4026104_1375660061_9289ea6836ca8ce7ada5651a7ea33e5b.jpg treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5.jpg treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba.jpg treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b.jpg treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3.jpg treat image : temp/1754568628_4026104_1375659596_e4f584a8873119d450af27f8084fdd1b.jpg treat image : temp/1754568628_4026104_1375659573_adbd930173e3780ea2794cce928c8902.jpg treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9.jpg treat image : temp/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0_rle_crop_3905943456_0.png treat image : temp/1754568628_4026104_1375660112_5c680a19fbb81a22160e8b669e79187d_rle_crop_3905943458_0.png treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66_rle_crop_3905943459_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943462_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943463_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943461_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943466_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943467_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943469_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943468_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943471_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943476_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943474_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943475_0.png treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943484_0.png treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943481_0.png treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943482_0.png treat image : temp/1754568628_4026104_1375659630_4126224b2507d15fa3cb46538735c5d3_rle_crop_3905943483_0.png treat image : temp/1754568628_4026104_1375659596_e4f584a8873119d450af27f8084fdd1b_rle_crop_3905943485_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943470_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943478_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943479_0.png treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9_rle_crop_3905943486_0.png treat image : temp/1754568628_4026104_1375660523_62f2ebd20a73f11eb567d527e176c6d0_rle_crop_3905943457_0.png treat image : temp/1754568628_4026104_1375660087_23ae321384fc16ff01c2ec1435e3fa66_rle_crop_3905943460_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943464_0.png treat image : temp/1754568628_4026104_1375660034_c8ce549035a82bdb7a25a5632031bbb5_rle_crop_3905943465_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943472_0.png treat image : temp/1754568628_4026104_1375659475_efc18bf6f717c5a121b2aef35634f2a9_rle_crop_3905943487_0.png treat image : temp/1754568628_4026104_1375660009_01f812bc111bfd356d4eeda2ef7b78ba_rle_crop_3905943473_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943477_0.png treat image : temp/1754568628_4026104_1375659984_77f0f4bd9452b19ed44f6c1ec314ca4b_rle_crop_3905943480_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 : 43 time used for this insertion : 0.020388364791870117 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.015820980072021484 save missing photos in datou_result : time spend for datou_step_exec : 2.5594935417175293 time spend to save output : 0.04086804389953613 total time spend for step 7 : 2.6003615856170654 step8:velours_tree Thu Aug 7 14:11: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 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.13110566139221191 time spend to save output : 2.8133392333984375e-05 total time spend for step 8 : 0.1311337947845459 step9:send_mail_cod Thu Aug 7 14:11: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 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_P25777928_07-08-2025_14_11_31.pdf 25778129 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257781291754568691 25778130 imagette257781301754568691 25778131 imagette257781311754568691 25778132 change filename to text .change filename to text .change filename to text .imagette257781321754568691 25778133 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257781331754568692 25778134 imagette257781341754568693 25778135 change filename to text .change filename to text .change filename to text .change filename to text .imagette257781351754568693 25778137 imagette257781371754568693 25778138 imagette257781381754568693 25778139 imagette257781391754568693 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25777928 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25778129,25778130,25778131,25778132,25778133,25778134,25778135,25778136,25778137,25778138,25778139?tags=pet_clair,pehd,pet_fonce,autre,papier,metal,carton,environnement,flou,background,mal_croppe args[1375660523] : ((1375660523, 0.46584010227537764, 492688767), (1375660523, 0.235751556968565, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375660112] : ((1375660112, 0.838394679276214, 492688767), (1375660112, 0.8214106081361833, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375660087] : ((1375660087, 0.8793154067961353, 492688767), (1375660087, 1.042035882276186, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375660061] : ((1375660061, 0.9393990675872155, 492688767), (1375660061, 0.5658177669496969, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375660034] : ((1375660034, -3.768664858405536, 492609224), (1375660034, 0.42378883606430606, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375660009] : ((1375660009, -0.4479775465825538, 492688767), (1375660009, 0.2544681619104795, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375659984] : ((1375659984, 0.044746065990845914, 492688767), (1375659984, 0.2709048588205086, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375659630] : ((1375659630, 1.7236743840702868, 492688767), (1375659630, 0.6049171180008199, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375659596] : ((1375659596, 1.480809140328967, 492688767), (1375659596, 0.593926391469271, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375659573] : ((1375659573, -0.8403557687042787, 492688767), (1375659573, 0.652465396608533, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com args[1375659475] : ((1375659475, 1.1867422553140494, 492688767), (1375659475, 0.21222175120556686, 2107752395), '0.0325053486251403') We are sending mail with results at report@fotonower.com refus_total : 0.0325053486251403 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25777928 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_P25777928_07-08-2025_14_11_31.pdf results_Auto_P25777928_07-08-2025_14_11_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25777928_07-08-2025_14_11_31.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','25777928','results_Auto_P25777928_07-08-2025_14_11_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25777928_07-08-2025_14_11_31.pdf','pdf','','0.2','0.0325053486251403') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25777928

https://www.fotonower.com/image?json=false&list_photos_id=1375660523
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375660112
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375660087
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375660061
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375660034
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375660009
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375659984
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375659630
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7236743840702868)
https://www.fotonower.com/image?json=false&list_photos_id=1375659596
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.480809140328967)
https://www.fotonower.com/image?json=false&list_photos_id=1375659573
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375659475
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1867422553140494)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/25778129?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25778132?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25778133?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25778135?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25777928_07-08-2025_14_11_31.pdf.

Lien vers velours :https://www.fotonower.com/velours/25778129,25778130,25778131,25778132,25778133,25778134,25778135,25778136,25778137,25778138,25778139?tags=pet_clair,pehd,pet_fonce,autre,papier,metal,carton,environnement,flou,background,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 07 Aug 2025 12:11:35 GMT Content-Length: 0 Connection: close X-Message-Id: al9LgICwTGa_Rxpku2U_NQ 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 [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] 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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013690948486328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7710273265838623 time spend to save output : 0.013937950134277344 total time spend for step 9 : 3.7849652767181396 step10:split_time_score Thu Aug 7 14:11:35 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'}] (('13', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07082025 25777928 Nombre de photos uploadées : 11 / 23040 (0%) 07082025 25777928 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 07082025 25777928 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005781650543212891 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21951937675476074 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.21000337577160494 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764703_07-08-2025_08_21_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764703 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`=25764703 AND mptpi.`type`=3594 To do Qualite : 0.1496234918630752 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764707 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`=25764707 AND mptpi.`type`=3594 To do Qualite : 0.02979606722608024 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25771298_07-08-2025_10_12_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25771298 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`=25771298 AND mptpi.`type`=3594 To do Qualite : 0.21791642554012344 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25774546_07-08-2025_12_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774546 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`=25774546 AND mptpi.`type`=3594 To do Qualite : 0.08082445183899176 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25774548_07-08-2025_13_23_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774548 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`=25774548 AND mptpi.`type`=3594 To do Qualite : 0.09724563828875171 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25774550_07-08-2025_13_16_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774550 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`=25774550 AND mptpi.`type`=3594 To do Qualite : 0.07563007571373456 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776179_07-08-2025_13_11_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776179 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`=25776179 AND mptpi.`type`=3594 To do Qualite : 0.04059136284722222 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776185_07-08-2025_12_51_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776185 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`=25776185 AND mptpi.`type`=3594 To do Qualite : 0.1918781160968661 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776186_07-08-2025_12_42_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776186 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`=25776186 AND mptpi.`type`=3594 To do Qualite : 0.0325053486251403 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25777928_07-08-2025_14_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25777928 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`=25777928 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07082025': {'nb_upload': 11, '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 [1375660523, 1375660112, 1375660087, 1375660061, 1375660034, 1375660009, 1375659984, 1375659630, 1375659596, 1375659573, 1375659475] Looping around the photos to save general results len do output : 1 /25777928Didn'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, '3474736') ('3318', '25777928', '1375660523', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660112', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660087', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660061', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660034', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375660009', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659984', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659630', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659596', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659573', None, None, None, None, None, '3474736') ('3318', None, None, None, None, None, None, None, '3474736') ('3318', '25777928', '1375659475', None, None, None, None, None, '3474736') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.013293981552124023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9724776744842529 time spend to save output : 0.013477325439453125 total time spend for step 10 : 0.985954999923706 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 34.81user 20.71system 1:11.32elapsed 77%CPU (0avgtext+0avgdata 2608160maxresident)k 500568inputs+12696outputs (6major+1442178minor)pagefaults 0swaps