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 : 680101 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 : ['3663502'] with mtr_portfolio_ids : ['26524842'] and first list_photo_ids : [] new path : /proc/680101/ 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 , BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.5178275108337402 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 Sep 4 08:50: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 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 : 6600 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-04 08:50:34.836435: 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-09-04 08:50:34.864606: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-04 08:50:34.866946: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f580c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-04 08:50:34.867021: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-04 08:50:34.871487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-04 08:50:35.009833: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2d5fdd50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-04 08:50:35.009909: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-04 08:50:35.011537: 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-09-04 08:50:35.012479: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 08:50:35.017677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 08:50:35.021327: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 08:50:35.022538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 08:50:35.026888: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 08:50:35.028881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 08:50:35.037906: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 08:50:35.039850: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 08:50:35.040066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 08:50:35.042082: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 08:50:35.042109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 08:50:35.042123: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 08:50:35.043674: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6411 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-09-04 08:50:35.447003: 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-09-04 08:50:35.447118: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 08:50:35.447140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 08:50:35.447159: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 08:50:35.447176: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 08:50:35.447194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 08:50:35.447211: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 08:50:35.447229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 08:50:35.448968: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 08:50:35.450784: 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-09-04 08:50:35.450885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 08:50:35.450903: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 08:50:35.450918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 08:50:35.450932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 08:50:35.450948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 08:50:35.450962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 08:50:35.450978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 08:50:35.452313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 08:50:35.452389: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 08:50:35.452409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 08:50:35.452423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 08:50:35.453851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6411 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-09-04 08:50:47.144302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 08:50:47.348429: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 39 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 30 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 16 Detection mask done ! Trying to reset tf kernel 680740 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 118 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 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 : 6600 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.00040340423583984375 nb_pixel_total : 6463 time to create 1 rle with old method : 0.007335662841796875 length of segment : 107 time for calcul the mask position with numpy : 0.0042989253997802734 nb_pixel_total : 117009 time to create 1 rle with old method : 0.1274583339691162 length of segment : 382 time for calcul the mask position with numpy : 0.0005824565887451172 nb_pixel_total : 15302 time to create 1 rle with old method : 0.02064967155456543 length of segment : 170 time for calcul the mask position with numpy : 0.0005474090576171875 nb_pixel_total : 19768 time to create 1 rle with old method : 0.02593827247619629 length of segment : 198 time for calcul the mask position with numpy : 0.0005669593811035156 nb_pixel_total : 17827 time to create 1 rle with old method : 0.023117780685424805 length of segment : 167 time for calcul the mask position with numpy : 0.0010485649108886719 nb_pixel_total : 45158 time to create 1 rle with old method : 0.05961275100708008 length of segment : 254 time for calcul the mask position with numpy : 0.0005950927734375 nb_pixel_total : 21467 time to create 1 rle with old method : 0.028435230255126953 length of segment : 165 time for calcul the mask position with numpy : 0.0005724430084228516 nb_pixel_total : 20839 time to create 1 rle with old method : 0.027104616165161133 length of segment : 160 time for calcul the mask position with numpy : 0.0006563663482666016 nb_pixel_total : 17565 time to create 1 rle with old method : 0.023257970809936523 length of segment : 202 time for calcul the mask position with numpy : 0.0005617141723632812 nb_pixel_total : 14930 time to create 1 rle with old method : 0.020689010620117188 length of segment : 155 time for calcul the mask position with numpy : 0.0009374618530273438 nb_pixel_total : 28385 time to create 1 rle with old method : 0.03754758834838867 length of segment : 235 time for calcul the mask position with numpy : 0.0008041858673095703 nb_pixel_total : 22352 time to create 1 rle with old method : 0.029912710189819336 length of segment : 173 time for calcul the mask position with numpy : 0.00036907196044921875 nb_pixel_total : 9610 time to create 1 rle with old method : 0.012787103652954102 length of segment : 123 time for calcul the mask position with numpy : 0.00029540061950683594 nb_pixel_total : 9821 time to create 1 rle with old method : 0.013275861740112305 length of segment : 111 time for calcul the mask position with numpy : 0.0007548332214355469 nb_pixel_total : 33516 time to create 1 rle with old method : 0.04420304298400879 length of segment : 205 time for calcul the mask position with numpy : 0.0007414817810058594 nb_pixel_total : 21788 time to create 1 rle with old method : 0.023472070693969727 length of segment : 414 time for calcul the mask position with numpy : 0.0018417835235595703 nb_pixel_total : 17895 time to create 1 rle with old method : 0.020604372024536133 length of segment : 305 time for calcul the mask position with numpy : 0.0006792545318603516 nb_pixel_total : 20244 time to create 1 rle with old method : 0.02356743812561035 length of segment : 222 time for calcul the mask position with numpy : 0.002508878707885742 nb_pixel_total : 105915 time to create 1 rle with old method : 0.1213984489440918 length of segment : 376 time for calcul the mask position with numpy : 0.0017175674438476562 nb_pixel_total : 65684 time to create 1 rle with old method : 0.07420587539672852 length of segment : 378 time for calcul the mask position with numpy : 0.00026798248291015625 nb_pixel_total : 11518 time to create 1 rle with old method : 0.013067245483398438 length of segment : 111 time for calcul the mask position with numpy : 0.0008916854858398438 nb_pixel_total : 46929 time to create 1 rle with old method : 0.05481410026550293 length of segment : 188 time for calcul the mask position with numpy : 0.0005006790161132812 nb_pixel_total : 23608 time to create 1 rle with old method : 0.02607107162475586 length of segment : 328 time for calcul the mask position with numpy : 0.0005066394805908203 nb_pixel_total : 27110 time to create 1 rle with old method : 0.02986598014831543 length of segment : 165 time for calcul the mask position with numpy : 0.00044989585876464844 nb_pixel_total : 29009 time to create 1 rle with old method : 0.032061100006103516 length of segment : 199 time for calcul the mask position with numpy : 0.0006453990936279297 nb_pixel_total : 39219 time to create 1 rle with old method : 0.043390750885009766 length of segment : 288 time for calcul the mask position with numpy : 0.0006539821624755859 nb_pixel_total : 35591 time to create 1 rle with old method : 0.04034018516540527 length of segment : 202 time for calcul the mask position with numpy : 0.0002961158752441406 nb_pixel_total : 16768 time to create 1 rle with old method : 0.019313812255859375 length of segment : 145 time for calcul the mask position with numpy : 0.0009868144989013672 nb_pixel_total : 45110 time to create 1 rle with old method : 0.054911136627197266 length of segment : 437 time for calcul the mask position with numpy : 0.0007319450378417969 nb_pixel_total : 41086 time to create 1 rle with old method : 0.04477739334106445 length of segment : 191 time for calcul the mask position with numpy : 0.0007429122924804688 nb_pixel_total : 41345 time to create 1 rle with old method : 0.05383801460266113 length of segment : 229 time for calcul the mask position with numpy : 0.0026252269744873047 nb_pixel_total : 102699 time to create 1 rle with old method : 0.11617732048034668 length of segment : 438 time for calcul the mask position with numpy : 0.0008933544158935547 nb_pixel_total : 28070 time to create 1 rle with old method : 0.030438661575317383 length of segment : 281 time for calcul the mask position with numpy : 0.0018422603607177734 nb_pixel_total : 67731 time to create 1 rle with old method : 0.08215641975402832 length of segment : 415 time for calcul the mask position with numpy : 0.0009100437164306641 nb_pixel_total : 16453 time to create 1 rle with old method : 0.019547700881958008 length of segment : 205 time for calcul the mask position with numpy : 0.004528999328613281 nb_pixel_total : 129443 time to create 1 rle with old method : 0.1482558250427246 length of segment : 590 time for calcul the mask position with numpy : 0.0014476776123046875 nb_pixel_total : 57167 time to create 1 rle with old method : 0.06933426856994629 length of segment : 331 time for calcul the mask position with numpy : 0.0007522106170654297 nb_pixel_total : 29488 time to create 1 rle with old method : 0.03423428535461426 length of segment : 455 time for calcul the mask position with numpy : 0.0012466907501220703 nb_pixel_total : 37413 time to create 1 rle with old method : 0.0491480827331543 length of segment : 233 time for calcul the mask position with numpy : 0.00048422813415527344 nb_pixel_total : 13819 time to create 1 rle with old method : 0.021019935607910156 length of segment : 130 time for calcul the mask position with numpy : 0.0003612041473388672 nb_pixel_total : 17928 time to create 1 rle with old method : 0.025580883026123047 length of segment : 168 time for calcul the mask position with numpy : 0.0013012886047363281 nb_pixel_total : 48811 time to create 1 rle with old method : 0.056519508361816406 length of segment : 290 time for calcul the mask position with numpy : 0.0017385482788085938 nb_pixel_total : 72710 time to create 1 rle with old method : 0.15022659301757812 length of segment : 564 time for calcul the mask position with numpy : 0.00077056884765625 nb_pixel_total : 19531 time to create 1 rle with old method : 0.025896549224853516 length of segment : 192 time for calcul the mask position with numpy : 0.0007777214050292969 nb_pixel_total : 26322 time to create 1 rle with old method : 0.030561447143554688 length of segment : 186 time for calcul the mask position with numpy : 0.0004315376281738281 nb_pixel_total : 9249 time to create 1 rle with old method : 0.011126995086669922 length of segment : 141 time for calcul the mask position with numpy : 0.0009415149688720703 nb_pixel_total : 30810 time to create 1 rle with old method : 0.03623652458190918 length of segment : 206 time for calcul the mask position with numpy : 0.0011556148529052734 nb_pixel_total : 36989 time to create 1 rle with old method : 0.047654151916503906 length of segment : 324 time for calcul the mask position with numpy : 0.0010700225830078125 nb_pixel_total : 36738 time to create 1 rle with old method : 0.0425410270690918 length of segment : 222 time for calcul the mask position with numpy : 0.0012226104736328125 nb_pixel_total : 28063 time to create 1 rle with old method : 0.03347349166870117 length of segment : 331 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 13103 time to create 1 rle with old method : 0.015536785125732422 length of segment : 163 time for calcul the mask position with numpy : 0.0008089542388916016 nb_pixel_total : 24346 time to create 1 rle with old method : 0.028591156005859375 length of segment : 222 time for calcul the mask position with numpy : 0.002570629119873047 nb_pixel_total : 82365 time to create 1 rle with old method : 0.13280773162841797 length of segment : 307 time for calcul the mask position with numpy : 0.0010476112365722656 nb_pixel_total : 24499 time to create 1 rle with old method : 0.02944207191467285 length of segment : 196 time spent for convertir_results : 5.19685959815979 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 54 chid ids of type : 3594 Number RLEs to save : 13575 save missing photos in datou_result : time spend for datou_step_exec : 54.23043370246887 time spend to save output : 0.895850658416748 total time spend for step 1 : 55.12628436088562 step2:crop_condition Thu Sep 4 08:51:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 7 ! batch 1 Loaded 54 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 34 About to insert : list_path_to_insert length 34 new photo from crops ! About to upload 34 photos upload in portfolio : 3736932 init cache_photo without model_param we have 34 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756968695_680101 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 ! 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 34 photos in the portfolio 3736932 time of upload the photos Elapsed time : 8.614159345626831 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 ! 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 : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756968706_680101 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 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.3647353649139404 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756968709_680101 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5629534721374512 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1756968713_680101 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.8940680027008057 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756968717_680101 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.3206706047058105 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] Looping around the photos to save general results len do output : 54 /1381402805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381402883Didn'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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 169 time used for this insertion : 0.03047347068786621 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.32023596763611 time spend to save output : 0.03268575668334961 total time spend for step 2 : 31.352921724319458 step3:rle_unique_nms_with_priority Thu Sep 4 08:51:58 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 54 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 19 nb_hashtags : 3 time to prepare the origin masks : 8.426212549209595 time for calcul the mask position with numpy : 1.5990018844604492 nb_pixel_total : 7749041 time to create 1 rle with new method : 0.9880056381225586 time for calcul the mask position with numpy : 0.025143861770629883 nb_pixel_total : 105915 time to create 1 rle with old method : 0.11948537826538086 time for calcul the mask position with numpy : 0.02428126335144043 nb_pixel_total : 20244 time to create 1 rle with old method : 0.022771835327148438 time for calcul the mask position with numpy : 0.024752140045166016 nb_pixel_total : 17895 time to create 1 rle with old method : 0.02046966552734375 time for calcul the mask position with numpy : 0.02583622932434082 nb_pixel_total : 21788 time to create 1 rle with old method : 0.024864673614501953 time for calcul the mask position with numpy : 0.02592182159423828 nb_pixel_total : 33516 time to create 1 rle with old method : 0.037909746170043945 time for calcul the mask position with numpy : 0.025952577590942383 nb_pixel_total : 9821 time to create 1 rle with old method : 0.011204004287719727 time for calcul the mask position with numpy : 0.024807214736938477 nb_pixel_total : 9610 time to create 1 rle with old method : 0.010952234268188477 time for calcul the mask position with numpy : 0.025487661361694336 nb_pixel_total : 1857 time to create 1 rle with old method : 0.0023093223571777344 time for calcul the mask position with numpy : 0.02466106414794922 nb_pixel_total : 28385 time to create 1 rle with old method : 0.03226137161254883 time for calcul the mask position with numpy : 0.025472402572631836 nb_pixel_total : 14930 time to create 1 rle with old method : 0.017031431198120117 time for calcul the mask position with numpy : 0.025938034057617188 nb_pixel_total : 17565 time to create 1 rle with old method : 0.020060062408447266 time for calcul the mask position with numpy : 0.02577495574951172 nb_pixel_total : 20839 time to create 1 rle with old method : 0.023551225662231445 time for calcul the mask position with numpy : 0.025476932525634766 nb_pixel_total : 21467 time to create 1 rle with old method : 0.024369239807128906 time for calcul the mask position with numpy : 0.025326251983642578 nb_pixel_total : 45158 time to create 1 rle with old method : 0.05115365982055664 time for calcul the mask position with numpy : 0.024285078048706055 nb_pixel_total : 17827 time to create 1 rle with old method : 0.020270586013793945 time for calcul the mask position with numpy : 0.02519392967224121 nb_pixel_total : 19768 time to create 1 rle with old method : 0.02250075340270996 time for calcul the mask position with numpy : 0.025280475616455078 nb_pixel_total : 15302 time to create 1 rle with old method : 0.017490148544311523 time for calcul the mask position with numpy : 0.0253450870513916 nb_pixel_total : 117009 time to create 1 rle with old method : 0.13260531425476074 time for calcul the mask position with numpy : 0.025687456130981445 nb_pixel_total : 6463 time to create 1 rle with old method : 0.007371187210083008 create new chi : 3.7234580516815186 time to delete rle : 0.02574777603149414 batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++Number RLEs to save : 10231 TO DO : save crop sub photo not yet done ! save time : 0.8446371555328369 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.8400003910064697 time for calcul the mask position with numpy : 0.767737627029419 nb_pixel_total : 8090542 time to create 1 rle with new method : 1.0393857955932617 time for calcul the mask position with numpy : 0.024538278579711914 nb_pixel_total : 29009 time to create 1 rle with old method : 0.0329737663269043 time for calcul the mask position with numpy : 0.02529120445251465 nb_pixel_total : 27110 time to create 1 rle with old method : 0.030611753463745117 time for calcul the mask position with numpy : 0.024895191192626953 nb_pixel_total : 23608 time to create 1 rle with old method : 0.027024269104003906 time for calcul the mask position with numpy : 0.02497720718383789 nb_pixel_total : 46929 time to create 1 rle with old method : 0.05341982841491699 time for calcul the mask position with numpy : 0.024654150009155273 nb_pixel_total : 11518 time to create 1 rle with old method : 0.01298069953918457 time for calcul the mask position with numpy : 0.025360584259033203 nb_pixel_total : 65684 time to create 1 rle with old method : 0.07393622398376465 create new chi : 2.228903293609619 time to delete rle : 0.0006434917449951172 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4898 TO DO : save crop sub photo not yet done ! save time : 0.3117549419403076 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 2.290848731994629 time for calcul the mask position with numpy : 0.8336682319641113 nb_pixel_total : 8157712 time to create 1 rle with new method : 1.036170482635498 time for calcul the mask position with numpy : 0.02459716796875 nb_pixel_total : 45110 time to create 1 rle with old method : 0.051049232482910156 time for calcul the mask position with numpy : 0.024914026260375977 nb_pixel_total : 16768 time to create 1 rle with old method : 0.018911361694335938 time for calcul the mask position with numpy : 0.02517867088317871 nb_pixel_total : 35591 time to create 1 rle with old method : 0.040067195892333984 time for calcul the mask position with numpy : 0.02577972412109375 nb_pixel_total : 39219 time to create 1 rle with old method : 0.04399466514587402 create new chi : 2.1696696281433105 time to delete rle : 0.0005991458892822266 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4304 TO DO : save crop sub photo not yet done ! save time : 0.28285884857177734 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 7.175476789474487 time for calcul the mask position with numpy : 0.48632359504699707 nb_pixel_total : 7734138 time to create 1 rle with new method : 0.6261732578277588 time for calcul the mask position with numpy : 0.02504754066467285 nb_pixel_total : 13819 time to create 1 rle with old method : 0.015969514846801758 time for calcul the mask position with numpy : 0.025682449340820312 nb_pixel_total : 37413 time to create 1 rle with old method : 0.042059898376464844 time for calcul the mask position with numpy : 0.02530670166015625 nb_pixel_total : 25036 time to create 1 rle with old method : 0.028276443481445312 time for calcul the mask position with numpy : 0.02545475959777832 nb_pixel_total : 57167 time to create 1 rle with old method : 0.06396055221557617 time for calcul the mask position with numpy : 0.02542901039123535 nb_pixel_total : 129443 time to create 1 rle with old method : 0.14949393272399902 time for calcul the mask position with numpy : 0.02529430389404297 nb_pixel_total : 16453 time to create 1 rle with old method : 0.020814895629882812 time for calcul the mask position with numpy : 0.02760910987854004 nb_pixel_total : 67731 time to create 1 rle with old method : 0.07618141174316406 time for calcul the mask position with numpy : 0.02641439437866211 nb_pixel_total : 28070 time to create 1 rle with old method : 0.035292625427246094 time for calcul the mask position with numpy : 0.030901432037353516 nb_pixel_total : 102699 time to create 1 rle with old method : 0.11887335777282715 time for calcul the mask position with numpy : 0.02667236328125 nb_pixel_total : 41345 time to create 1 rle with old method : 0.047286033630371094 time for calcul the mask position with numpy : 0.026298046112060547 nb_pixel_total : 41086 time to create 1 rle with old method : 0.04678010940551758 create new chi : 2.095860719680786 time to delete rle : 0.0010895729064941406 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 8888 TO DO : save crop sub photo not yet done ! save time : 0.540095329284668 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 1.9028806686401367 time for calcul the mask position with numpy : 0.7476608753204346 nb_pixel_total : 8154951 time to create 1 rle with new method : 0.9904677867889404 time for calcul the mask position with numpy : 0.041426658630371094 nb_pixel_total : 72710 time to create 1 rle with old method : 0.08250737190246582 time for calcul the mask position with numpy : 0.025177478790283203 nb_pixel_total : 48811 time to create 1 rle with old method : 0.05495190620422363 time for calcul the mask position with numpy : 0.02498316764831543 nb_pixel_total : 17928 time to create 1 rle with old method : 0.02034306526184082 create new chi : 2.0313291549682617 time to delete rle : 0.0006880760192871094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4204 TO DO : save crop sub photo not yet done ! save time : 0.270068883895874 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 3.439119577407837 time for calcul the mask position with numpy : 0.7775509357452393 nb_pixel_total : 8171499 time to create 1 rle with new method : 0.871814489364624 time for calcul the mask position with numpy : 0.04105186462402344 nb_pixel_total : 36989 time to create 1 rle with old method : 0.04504537582397461 time for calcul the mask position with numpy : 0.05287790298461914 nb_pixel_total : 30810 time to create 1 rle with old method : 0.04057192802429199 time for calcul the mask position with numpy : 0.025457382202148438 nb_pixel_total : 9249 time to create 1 rle with old method : 0.010724782943725586 time for calcul the mask position with numpy : 0.027365446090698242 nb_pixel_total : 26322 time to create 1 rle with old method : 0.03082752227783203 time for calcul the mask position with numpy : 0.02587413787841797 nb_pixel_total : 19531 time to create 1 rle with old method : 0.022103548049926758 create new chi : 2.017566680908203 time to delete rle : 0.00075531005859375 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 4258 TO DO : save crop sub photo not yet done ! save time : 0.29775500297546387 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.7715704441070557 time for calcul the mask position with numpy : 1.3727478981018066 nb_pixel_total : 8085286 time to create 1 rle with new method : 1.1419074535369873 time for calcul the mask position with numpy : 0.026659250259399414 nb_pixel_total : 24499 time to create 1 rle with old method : 0.027846097946166992 time for calcul the mask position with numpy : 0.026175975799560547 nb_pixel_total : 82365 time to create 1 rle with old method : 0.09292006492614746 time for calcul the mask position with numpy : 0.024791479110717773 nb_pixel_total : 24346 time to create 1 rle with old method : 0.027635812759399414 time for calcul the mask position with numpy : 0.025060415267944336 nb_pixel_total : 13103 time to create 1 rle with old method : 0.014909982681274414 time for calcul the mask position with numpy : 0.025373458862304688 nb_pixel_total : 28063 time to create 1 rle with old method : 0.03170943260192871 time for calcul the mask position with numpy : 0.02508997917175293 nb_pixel_total : 36738 time to create 1 rle with old method : 0.041213035583496094 create new chi : 2.9484806060791016 time to delete rle : 0.0008130073547363281 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 5042 TO DO : save crop sub photo not yet done ! save time : 0.3386995792388916 map_output_result : {1381387195: (0.0, 'Should be the crop_list due to order', 0), 1381387191: (0.0, 'Should be the crop_list due to order', 0), 1381387132: (0.0, 'Should be the crop_list due to order', 0), 1381387130: (0.0, 'Should be the crop_list due to order', 0), 1381387128: (0.0, 'Should be the crop_list due to order', 0), 1381387126: (0.0, 'Should be the crop_list due to order', 0), 1381387118: (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 [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] Looping around the photos to save general results len do output : 7 /1381387195.Didn't retrieve data . /1381387191.Didn't retrieve data . /1381387132.Didn't retrieve data . /1381387130.Didn't retrieve data . /1381387128.Didn't retrieve data . /1381387126.Didn't retrieve data . /1381387118.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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.013728857040405273 save_final save missing photos in datou_result : time spend for datou_step_exec : 52.08436131477356 time spend to save output : 0.014193058013916016 total time spend for step 3 : 52.098554372787476 step4:ventilate_hashtags_in_portfolio Thu Sep 4 08:52:50 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 : 26524842 get user id for portfolio 26524842 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`=26524842 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','metal','mal_croppe','flou','autre','pehd','pet_fonce','environnement','papier','carton','background')) 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`=26524842 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','metal','mal_croppe','flou','autre','pehd','pet_fonce','environnement','papier','carton','background')) 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`=26524842 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','metal','mal_croppe','flou','autre','pehd','pet_fonce','environnement','papier','carton','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26528369,26528370,26528371,26528372,26528373,26528374,26528375,26528376,26528377,26528378,26528379?tags=pet_clair,metal,mal_croppe,flou,autre,pehd,pet_fonce,environnement,papier,carton,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] Looping around the photos to save general results len do output : 1 /26524842. 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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01651477813720703 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6598150730133057 time spend to save output : 0.016754627227783203 total time spend for step 4 : 1.6765697002410889 step5:final Thu Sep 4 08:52:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1381387195: ('0.03302798101300705',), 1381387191: ('0.03302798101300705',), 1381387132: ('0.03302798101300705',), 1381387130: ('0.03302798101300705',), 1381387128: ('0.03302798101300705',), 1381387126: ('0.03302798101300705',), 1381387118: ('0.03302798101300705',)} new output for save of step final : {1381387195: ('0.03302798101300705',), 1381387191: ('0.03302798101300705',), 1381387132: ('0.03302798101300705',), 1381387130: ('0.03302798101300705',), 1381387128: ('0.03302798101300705',), 1381387126: ('0.03302798101300705',), 1381387118: ('0.03302798101300705',)} [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] Looping around the photos to save general results len do output : 7 /1381387195.Didn't retrieve data . /1381387191.Didn't retrieve data . /1381387132.Didn't retrieve data . /1381387130.Didn't retrieve data . /1381387128.Didn't retrieve data . /1381387126.Didn't retrieve data . /1381387118.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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.014301538467407227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12119460105895996 time spend to save output : 0.014739990234375 total time spend for step 5 : 0.13593459129333496 step6:blur_detection Thu Sep 4 08:52:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63.jpg resize: (2160, 3840) 1381387195 -7.078750489677926 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0.jpg resize: (2160, 3840) 1381387191 -7.116623046590357 treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c.jpg resize: (2160, 3840) 1381387132 -7.1150509349283935 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0.jpg resize: (2160, 3840) 1381387130 -7.074470716667636 treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47.jpg resize: (2160, 3840) 1381387128 -7.079613485906099 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f.jpg resize: (2160, 3840) 1381387126 -7.00936687835459 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b.jpg resize: (2160, 3840) 1381387118 -7.073137103410012 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993792_0.png resize: (382, 452) 1381402805 -4.883378343431999 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993793_0.png resize: (170, 175) 1381402806 -3.9054901133579785 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993796_0.png resize: (245, 276) 1381402807 -3.877696312294491 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993797_0.png resize: (137, 202) 1381402808 -4.516446465812069 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993799_0.png resize: (200, 119) 1381402809 -4.222602581850585 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993800_0.png resize: (147, 154) 1381402810 -2.241632409913605 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993801_0.png resize: (235, 222) 1381402811 -5.106778871670222 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993802_0.png resize: (173, 206) 1381402812 -4.144209397066692 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993804_0.png resize: (110, 113) 1381402813 -4.0883814785489 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993806_0.png resize: (397, 103) 1381402814 -4.328038832447823 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993807_0.png resize: (435, 290) 1381402815 -2.056539344648586 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993808_0.png resize: (222, 160) 1381402816 -3.6061276069872954 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993809_0.png resize: (348, 414) 1381402817 -5.354379318373622 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993810_0.png resize: (312, 330) 1381402818 -5.112754791905869 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993811_0.png resize: (111, 131) 1381402819 -3.203870479324923 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993812_0.png resize: (173, 328) 1381402820 -2.799014637035542 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993815_0.png resize: (199, 160) 1381402821 -3.0825223928092984 treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993816_0.png resize: (268, 202) 1381402822 -4.473707577642817 treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993817_0.png resize: (201, 269) 1381402823 -3.226610659920682 treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993819_0.png resize: (300, 296) 1381402824 -4.114117004303285 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993822_0.png resize: (335, 512) 1381402825 -5.004783975316299 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993823_0.png resize: (281, 187) 1381402826 -4.868673844054128 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993824_0.png resize: (353, 405) 1381402827 -3.5411968201602035 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993828_0.png resize: (291, 227) 1381402828 -3.795962628335026 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993829_0.png resize: (198, 259) 1381402829 -4.448484542456838 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993830_0.png resize: (130, 126) 1381402830 -4.281835342649082 treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993831_0.png resize: (168, 126) 1381402831 -4.2157738419323225 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993834_0.png resize: (191, 129) 1381402832 -4.533603789066724 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993835_0.png resize: (185, 207) 1381402833 -3.6243699100200577 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993836_0.png resize: (88, 168) 1381402834 -4.3472530012467345 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993840_0.png resize: (331, 129) 1381402835 -3.32331508037332 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993841_0.png resize: (144, 122) 1381402836 -4.412408303699142 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993842_0.png resize: (222, 141) 1381402837 -4.090829150549756 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993844_0.png resize: (196, 181) 1381402838 -3.564503913215508 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993791_0.png resize: (107, 91) 1381402844 -2.2195394849017465 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993794_0.png resize: (155, 181) 1381402845 -3.0098464837165735 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993795_0.png resize: (160, 149) 1381402846 -3.557092465896201 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993798_0.png resize: (160, 184) 1381402847 -4.064743829053385 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993803_0.png resize: (121, 109) 1381402848 -1.751264376464632 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993821_0.png resize: (223, 219) 1381402849 -4.556584611869575 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993825_0.png resize: (185, 123) 1381402850 -3.0862021498821592 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993837_0.png resize: (205, 196) 1381402851 -3.976894141715196 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993839_0.png resize: (222, 238) 1381402852 -4.10985848294678 treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993805_0.png resize: (204, 218) 1381402859 -5.0313085581102275 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993813_0.png resize: (328, 89) 1381402869 -4.708290787714198 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993826_0.png resize: (590, 332) 1381402870 -4.381043680361333 treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993832_0.png resize: (283, 214) 1381402871 -4.271839826102822 treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993833_0.png resize: (514, 229) 1381402872 -4.749413248203899 treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993838_0.png resize: (324, 153) 1381402873 -4.735424356289208 treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993843_0.png resize: (288, 378) 1381402874 -5.646360400607345 treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993814_0.png resize: (162, 194) 1381402879 -2.944260406076022 treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993818_0.png resize: (145, 139) 1381402880 -4.038197998959054 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993820_0.png resize: (188, 265) 1381402882 -3.778165969955875 treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993827_0.png resize: (331, 238) 1381402883 -2.960657649245268 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 : 61 time used for this insertion : 0.018193483352661133 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 61 time used for this insertion : 0.015114307403564453 save missing photos in datou_result : time spend for datou_step_exec : 31.389265775680542 time spend to save output : 0.0380856990814209 total time spend for step 6 : 31.427351474761963 step7:brightness Thu Sep 4 08:53:23 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/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63.jpg treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0.jpg treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c.jpg treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0.jpg treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47.jpg treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f.jpg treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b.jpg treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993792_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993793_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993796_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993797_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993799_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993800_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993801_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993802_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993804_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993806_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993807_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993808_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993809_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993810_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993811_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993812_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993815_0.png treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993816_0.png treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993817_0.png treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993819_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993822_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993823_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993824_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993828_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993829_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993830_0.png treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993831_0.png treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993834_0.png treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993835_0.png treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993836_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993840_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993841_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993842_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993844_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993791_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993794_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993795_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993798_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993803_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993821_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993825_0.png treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993837_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993839_0.png treat image : temp/1756968630_680101_1381387195_190a343d79be31a0558e22f6924cef63_rle_crop_3943993805_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993813_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993826_0.png treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993832_0.png treat image : temp/1756968630_680101_1381387128_a0fb97311902be1a105d2f52e2876f47_rle_crop_3943993833_0.png treat image : temp/1756968630_680101_1381387126_cb8f619feafa5e3793dfd604eb90e70f_rle_crop_3943993838_0.png treat image : temp/1756968630_680101_1381387118_eade4a341ea507b6323bb47e6b422d1b_rle_crop_3943993843_0.png treat image : temp/1756968630_680101_1381387191_00455fe182e187fc1ac39e590b0b30b0_rle_crop_3943993814_0.png treat image : temp/1756968630_680101_1381387132_22c03ba06e0b40b203be2757681b3d0c_rle_crop_3943993818_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993820_0.png treat image : temp/1756968630_680101_1381387130_d83d19cbf18a2f2cd693f359a3f3c9a0_rle_crop_3943993827_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 : 61 time used for this insertion : 0.01834416389465332 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 61 time used for this insertion : 0.02062392234802246 save missing photos in datou_result : time spend for datou_step_exec : 8.033550262451172 time spend to save output : 0.04350924491882324 total time spend for step 7 : 8.077059507369995 step8:velours_tree Thu Sep 4 08:53: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.16800785064697266 time spend to save output : 4.5299530029296875e-05 total time spend for step 8 : 0.16805315017700195 step9:send_mail_cod Thu Sep 4 08:53: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_P26524842_04-09-2025_08_53_31.pdf 26528369 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265283691756968811 26528370 change filename to text .imagette265283701756968812 26528371 imagette265283711756968812 26528372 imagette265283721756968812 26528373 change filename to text .change filename to text .change filename to text .change filename to text .imagette265283731756968812 26528374 imagette265283741756968812 26528375 imagette265283751756968812 26528377 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265283771756968812 26528378 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 .imagette265283781756968814 26528379 imagette265283791756968815 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26524842 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26528369,26528370,26528371,26528372,26528373,26528374,26528375,26528376,26528377,26528378,26528379?tags=pet_clair,metal,mal_croppe,flou,autre,pehd,pet_fonce,environnement,papier,carton,background args[1381387195] : ((1381387195, -7.078750489677926, 492609224), (1381387195, 0.11335853917815333, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387191] : ((1381387191, -7.116623046590357, 492609224), (1381387191, 0.1658888941905652, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387132] : ((1381387132, -7.1150509349283935, 492609224), (1381387132, 0.21506660587445603, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387130] : ((1381387130, -7.074470716667636, 492609224), (1381387130, 0.1961385627877333, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387128] : ((1381387128, -7.079613485906099, 492609224), (1381387128, 0.14799454045912103, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387126] : ((1381387126, -7.00936687835459, 492609224), (1381387126, 0.08601271163486789, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com args[1381387118] : ((1381387118, -7.073137103410012, 492609224), (1381387118, 0.09413260499431339, 2107752395), '0.03302798101300705') We are sending mail with results at report@fotonower.com refus_total : 0.03302798101300705 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=26524842 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_P26524842_04-09-2025_08_53_31.pdf results_Auto_P26524842_04-09-2025_08_53_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524842_04-09-2025_08_53_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','26524842','results_Auto_P26524842_04-09-2025_08_53_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524842_04-09-2025_08_53_31.pdf','pdf','','0.44','0.03302798101300705') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26524842

https://www.fotonower.com/image?json=false&list_photos_id=1381387195
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387191
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387132
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387130
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387128
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387126
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381387118
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26528369?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26528370?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26528373?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26528377?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26528378?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524842_04-09-2025_08_53_31.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26528369,26528370,26528371,26528372,26528373,26528374,26528375,26528376,26528377,26528378,26528379?tags=pet_clair,metal,mal_croppe,flou,autre,pehd,pet_fonce,environnement,papier,carton,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 04 Sep 2025 06:53:37 GMT Content-Length: 0 Connection: close X-Message-Id: ZlQCUxXFTyuw7c9Ytu3Ugg 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 [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] 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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.01829981803894043 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.681508779525757 time spend to save output : 0.018520116806030273 total time spend for step 9 : 5.700028896331787 step10:split_time_score Thu Sep 4 08:53:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('06', 7),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26524842 Nombre de photos uploadées : 7 / 23040 (0%) 04092025 26524842 Nombre de photos taguées (types de déchets): 0 / 7 (0%) 04092025 26524842 Nombre de photos taguées (volume) : 0 / 7 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0728836059570312e-05 ??????? elapsed_time : fill_and_build_computed_from_old_data 0.0005381107330322266 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19578289985656738 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.03563684985991997 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523735_04-09-2025_07_36_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523735 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26523735 AND mptpi.`type`=3726 To do Qualite : 0.03001166673095704 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523739_04-09-2025_07_23_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523739 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26523739 AND mptpi.`type`=3726 To do Qualite : 0.03302798101300705 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524842_04-09-2025_08_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524842 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`=26524842 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'nb_upload': 7, '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 [1381387195, 1381387191, 1381387132, 1381387130, 1381387128, 1381387126, 1381387118] Looping around the photos to save general results len do output : 1 /26524842Didn'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, '3663502') ('3318', '26524842', '1381387195', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387191', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387132', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387130', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387128', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387126', None, None, None, None, None, '3663502') ('3318', None, None, None, None, None, None, None, '3663502') ('3318', '26524842', '1381387118', None, None, None, None, None, '3663502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.017020463943481445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5539278984069824 time spend to save output : 0.01718616485595703 total time spend for step 10 : 0.5711140632629395 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 78.82user 87.99system 3:13.37elapsed 86%CPU (0avgtext+0avgdata 3714180maxresident)k 929800inputs+57376outputs (17226major+7908273minor)pagefaults 0swaps