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 : 801961 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 : ['3953300'] with mtr_portfolio_ids : ['27874712'] and first list_photo_ids : [] new path : /proc/801961/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 2.0737369060516357 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Oct 17 11:00:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 6997 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-17 11:00:58.293629: 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-10-17 11:00:58.322498: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-17 11:00:58.324482: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4850000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-17 11:00:58.324529: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-17 11:00:58.328110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-17 11:00:58.534497: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x245af7d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-17 11:00:58.534545: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-17 11:00:58.535788: 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-10-17 11:00:58.555243: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-17 11:00:58.559982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-17 11:00:58.562776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-17 11:00:58.563841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-17 11:00:58.566610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-17 11:00:58.567828: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-17 11:00:58.572207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-17 11:00:58.573331: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-17 11:00:58.573385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-17 11:00:58.573995: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-17 11:00:58.574010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-17 11:00:58.574019: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-17 11:00:58.575179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6435 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-10-17 11:00:58.959884: 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-10-17 11:00:58.959976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-17 11:00:58.960003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-17 11:00:58.960028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-17 11:00:58.960053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-17 11:00:58.960077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-17 11:00:58.960101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-17 11:00:58.960125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-17 11:00:58.961819: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-17 11:00:58.963079: 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-10-17 11:00:58.963113: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-17 11:00:58.963128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-17 11:00:58.963142: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-17 11:00:58.963156: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-17 11:00:58.963169: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-17 11:00:58.963183: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-17 11:00:58.963197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-17 11:00:58.964239: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-17 11:00:58.964265: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-17 11:00:58.964272: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-17 11:00:58.964279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-17 11:00:58.965281: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6435 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-10-17 11:01:06.222774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-17 11:01:06.473057: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 802680 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 362 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 5297 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.00041961669921875 nb_pixel_total : 13747 time to create 1 rle with old method : 0.018152952194213867 length of segment : 139 time for calcul the mask position with numpy : 8.225440979003906e-05 nb_pixel_total : 3154 time to create 1 rle with old method : 0.0036940574645996094 length of segment : 67 time for calcul the mask position with numpy : 8.678436279296875e-05 nb_pixel_total : 3877 time to create 1 rle with old method : 0.004612922668457031 length of segment : 67 time for calcul the mask position with numpy : 0.009191751480102539 nb_pixel_total : 269127 time to create 1 rle with new method : 0.047885894775390625 length of segment : 1418 time for calcul the mask position with numpy : 0.00028443336486816406 nb_pixel_total : 14372 time to create 1 rle with old method : 0.014995098114013672 length of segment : 143 time for calcul the mask position with numpy : 8.058547973632812e-05 nb_pixel_total : 3130 time to create 1 rle with old method : 0.0036749839782714844 length of segment : 70 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 3851 time to create 1 rle with old method : 0.004155158996582031 length of segment : 65 time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 7134 time to create 1 rle with old method : 0.0077266693115234375 length of segment : 153 time for calcul the mask position with numpy : 0.00013017654418945312 nb_pixel_total : 6763 time to create 1 rle with old method : 0.007201433181762695 length of segment : 142 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 4692 time to create 1 rle with old method : 0.005293607711791992 length of segment : 96 time for calcul the mask position with numpy : 6.4849853515625e-05 nb_pixel_total : 2263 time to create 1 rle with old method : 0.002638578414916992 length of segment : 50 time for calcul the mask position with numpy : 0.0004394054412841797 nb_pixel_total : 13864 time to create 1 rle with old method : 0.0154571533203125 length of segment : 226 time for calcul the mask position with numpy : 0.00023794174194335938 nb_pixel_total : 8664 time to create 1 rle with old method : 0.009543657302856445 length of segment : 154 time for calcul the mask position with numpy : 0.00013780593872070312 nb_pixel_total : 5564 time to create 1 rle with old method : 0.006277561187744141 length of segment : 122 time for calcul the mask position with numpy : 0.0016131401062011719 nb_pixel_total : 110602 time to create 1 rle with old method : 0.11687278747558594 length of segment : 544 time for calcul the mask position with numpy : 0.00016641616821289062 nb_pixel_total : 8917 time to create 1 rle with old method : 0.009366750717163086 length of segment : 204 time for calcul the mask position with numpy : 8.058547973632812e-05 nb_pixel_total : 2998 time to create 1 rle with old method : 0.003267049789428711 length of segment : 69 time for calcul the mask position with numpy : 0.00034618377685546875 nb_pixel_total : 8571 time to create 1 rle with old method : 0.009444952011108398 length of segment : 162 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 7147 time to create 1 rle with old method : 0.007866144180297852 length of segment : 86 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 15745 time to create 1 rle with old method : 0.017091751098632812 length of segment : 147 time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 3906 time to create 1 rle with old method : 0.00420832633972168 length of segment : 131 time for calcul the mask position with numpy : 0.0002124309539794922 nb_pixel_total : 11011 time to create 1 rle with old method : 0.011774063110351562 length of segment : 144 time for calcul the mask position with numpy : 0.0002503395080566406 nb_pixel_total : 16223 time to create 1 rle with old method : 0.0173647403717041 length of segment : 146 time for calcul the mask position with numpy : 0.0036814212799072266 nb_pixel_total : 174707 time to create 1 rle with new method : 0.0122528076171875 length of segment : 717 time for calcul the mask position with numpy : 0.00019693374633789062 nb_pixel_total : 7229 time to create 1 rle with old method : 0.008122682571411133 length of segment : 145 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 10168 time to create 1 rle with old method : 0.011759757995605469 length of segment : 126 time for calcul the mask position with numpy : 0.0002739429473876953 nb_pixel_total : 15245 time to create 1 rle with old method : 0.0172119140625 length of segment : 190 time for calcul the mask position with numpy : 0.010610342025756836 nb_pixel_total : 657440 time to create 1 rle with new method : 0.020431995391845703 length of segment : 990 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 4044 time to create 1 rle with old method : 0.004529237747192383 length of segment : 75 time for calcul the mask position with numpy : 0.00012803077697753906 nb_pixel_total : 5800 time to create 1 rle with old method : 0.006306171417236328 length of segment : 97 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 4894 time to create 1 rle with old method : 0.005703926086425781 length of segment : 91 time for calcul the mask position with numpy : 0.0016329288482666016 nb_pixel_total : 116653 time to create 1 rle with old method : 0.1233682632446289 length of segment : 526 time spent for convertir_results : 2.3072402477264404 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 7502 save missing photos in datou_result : time spend for datou_step_exec : 25.16925859451294 time spend to save output : 38.46492600440979 total time spend for step 1 : 63.63418459892273 step2:crop_condition Fri Oct 17 11:01:59 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 : 14 ! batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760691722_801961 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202037_0.png', 0, 1362, 713, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202034_0.png', 0, 142, 138, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202035_0.png', 0, 51, 67, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202036_0.png', 0, 75, 65, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202038_0.png', 0, 143, 141, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202039_0.png', 0, 49, 70, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202040_0.png', 0, 77, 63, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202042_0.png', 0, 71, 125, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202046_0.png', 0, 82, 151, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202047_0.png', 0, 94, 97, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202044_0.png', 0, 62, 50, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202045_0.png', 0, 278, 217, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202051_0.png', 0, 152, 163, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202052_0.png', 0, 126, 86, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202057_0.png', 0, 1052, 450, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202056_0.png', 0, 154, 145, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202059_0.png', 0, 116, 120, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765440_475c7ad6e47662c29c5e3b82ed7a5632_rle_crop_4000202063_0.png', 0, 104, 97, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760691726), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202064_0.png', 0, 95, 91, 0, 1760691726,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 389.1237852573395 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760692121_801961 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692123), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202041_0.png', 0, 71, 150, 0, 1760692123,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692123), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202050_0.png', 0, 62, 63, 0, 1760692123,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692123), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202053_0.png', 0, 153, 147, 0, 1760692123,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692123), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202061_0.png', 0, 914, 990, 0, 1760692123,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 65.68073201179504 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760692192_801961 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202048_0.png', 0, 333, 542, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765470_f73704f6dd00138aaf72ceb2590c6a5d_rle_crop_4000202049_0.png', 0, 52, 204, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202055_0.png', 0, 120, 142, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202060_0.png', 0, 131, 183, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202058_0.png', 0, 76, 145, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765441_3af4d0f54aface117222455ada9e5861_rle_crop_4000202062_0.png', 0, 81, 73, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692193), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202065_0.png', 0, 351, 525, 0, 1760692193,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 124.47883462905884 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760692320_801961 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692320), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202043_0.png', 0, 66, 96, 0, 1760692320,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760692320), 0.0, 0.0, 14, '', 0, 0, '1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202054_0.png', 0, 43, 131, 0, 1760692320,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 26.896710872650146 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] Looping around the photos to save general results len do output : 32 /1389783569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389783974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389784006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389784021Didn'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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 110 time used for this insertion : 19.232794523239136 save_final save missing photos in datou_result : time spend for datou_step_exec : 635.6060702800751 time spend to save output : 19.234465837478638 total time spend for step 2 : 654.8405361175537 step3:rle_unique_nms_with_priority Fri Oct 17 11:12:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.4947946071624756 time for calcul the mask position with numpy : 0.2041025161743164 nb_pixel_total : 1783695 time to create 1 rle with new method : 0.27939629554748535 time for calcul the mask position with numpy : 0.00810551643371582 nb_pixel_total : 269127 time to create 1 rle with new method : 0.12537312507629395 time for calcul the mask position with numpy : 0.00623011589050293 nb_pixel_total : 3877 time to create 1 rle with old method : 0.004273414611816406 time for calcul the mask position with numpy : 0.006272792816162109 nb_pixel_total : 3154 time to create 1 rle with old method : 0.003510713577270508 time for calcul the mask position with numpy : 0.0062465667724609375 nb_pixel_total : 13747 time to create 1 rle with old method : 0.014946460723876953 create new chi : 0.6754236221313477 time to delete rle : 0.09975099563598633 batch 1 Loaded 9 chid ids of type : 3594 +++++++++Number RLEs to save : 4462 TO DO : save crop sub photo not yet done ! save time : 48.88118624687195 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.1522839069366455 time for calcul the mask position with numpy : 0.060434818267822266 nb_pixel_total : 2045113 time to create 1 rle with new method : 0.10050320625305176 time for calcul the mask position with numpy : 0.005959033966064453 nb_pixel_total : 7134 time to create 1 rle with old method : 0.007707834243774414 time for calcul the mask position with numpy : 0.005778312683105469 nb_pixel_total : 3851 time to create 1 rle with old method : 0.004382610321044922 time for calcul the mask position with numpy : 0.005997896194458008 nb_pixel_total : 3130 time to create 1 rle with old method : 0.0034797191619873047 time for calcul the mask position with numpy : 0.0058441162109375 nb_pixel_total : 14372 time to create 1 rle with old method : 0.016109228134155273 create new chi : 0.2249448299407959 time to delete rle : 0.0002951622009277344 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1942 TO DO : save crop sub photo not yet done ! save time : 26.516228675842285 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06298828125 time for calcul the mask position with numpy : 0.02441692352294922 nb_pixel_total : 2062145 time to create 1 rle with new method : 0.4388279914855957 time for calcul the mask position with numpy : 0.006186723709106445 nb_pixel_total : 4692 time to create 1 rle with old method : 0.005108833312988281 time for calcul the mask position with numpy : 0.006041288375854492 nb_pixel_total : 6763 time to create 1 rle with old method : 0.007424831390380859 create new chi : 0.49483203887939453 time to delete rle : 0.0002579689025878906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1556 TO DO : save crop sub photo not yet done ! save time : 33.63637042045593 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.4665660858154297 time for calcul the mask position with numpy : 0.05002307891845703 nb_pixel_total : 1932643 time to create 1 rle with new method : 0.12315750122070312 time for calcul the mask position with numpy : 0.0064013004302978516 nb_pixel_total : 110602 time to create 1 rle with old method : 0.11529755592346191 time for calcul the mask position with numpy : 0.005719661712646484 nb_pixel_total : 5564 time to create 1 rle with old method : 0.005923032760620117 time for calcul the mask position with numpy : 0.005647182464599609 nb_pixel_total : 8664 time to create 1 rle with old method : 0.009261131286621094 time for calcul the mask position with numpy : 0.005900144577026367 nb_pixel_total : 13864 time to create 1 rle with old method : 0.014705419540405273 time for calcul the mask position with numpy : 0.006037235260009766 nb_pixel_total : 2263 time to create 1 rle with old method : 0.002340555191040039 create new chi : 0.36017489433288574 time to delete rle : 0.00047278404235839844 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 3272 TO DO : save crop sub photo not yet done ! save time : 39.92922639846802 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03775215148925781 time for calcul the mask position with numpy : 0.02122950553894043 nb_pixel_total : 2064683 time to create 1 rle with new method : 0.05025434494018555 time for calcul the mask position with numpy : 0.006555318832397461 nb_pixel_total : 8917 time to create 1 rle with old method : 0.010085821151733398 create new chi : 0.08839821815490723 time to delete rle : 0.0002627372741699219 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1488 TO DO : save crop sub photo not yet done ! save time : 19.779088020324707 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.101165771484375 time for calcul the mask position with numpy : 0.27457380294799805 nb_pixel_total : 2062031 time to create 1 rle with new method : 0.21392202377319336 time for calcul the mask position with numpy : 0.006665229797363281 nb_pixel_total : 8571 time to create 1 rle with old method : 0.013768911361694336 time for calcul the mask position with numpy : 0.0065767765045166016 nb_pixel_total : 2998 time to create 1 rle with old method : 0.004811286926269531 create new chi : 0.5336618423461914 time to delete rle : 0.00034618377685546875 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1542 TO DO : save crop sub photo not yet done ! save time : 58.51740884780884 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 1.3217108249664307 time for calcul the mask position with numpy : 0.1013021469116211 nb_pixel_total : 2035791 time to create 1 rle with new method : 0.4721829891204834 time for calcul the mask position with numpy : 0.0125579833984375 nb_pixel_total : 11011 time to create 1 rle with old method : 0.013486146926879883 time for calcul the mask position with numpy : 0.012325763702392578 nb_pixel_total : 3906 time to create 1 rle with old method : 0.004797935485839844 time for calcul the mask position with numpy : 0.014270544052124023 nb_pixel_total : 15745 time to create 1 rle with old method : 0.01815056800842285 time for calcul the mask position with numpy : 0.006703853607177734 nb_pixel_total : 7147 time to create 1 rle with old method : 0.008249282836914062 create new chi : 0.6753206253051758 time to delete rle : 0.00046896934509277344 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2096 TO DO : save crop sub photo not yet done ! save time : 41.57606768608093 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.1572103500366211 time for calcul the mask position with numpy : 0.04211592674255371 nb_pixel_total : 1882670 time to create 1 rle with new method : 0.049079179763793945 time for calcul the mask position with numpy : 0.009691238403320312 nb_pixel_total : 174707 time to create 1 rle with new method : 0.03817415237426758 time for calcul the mask position with numpy : 0.007173061370849609 nb_pixel_total : 16223 time to create 1 rle with old method : 0.021366357803344727 create new chi : 0.16813111305236816 time to delete rle : 0.000484466552734375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2806 TO DO : save crop sub photo not yet done ! save time : 63.582010984420776 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.2286057472229004 time for calcul the mask position with numpy : 0.44343996047973633 nb_pixel_total : 1383518 time to create 1 rle with new method : 0.08197712898254395 time for calcul the mask position with numpy : 0.010585546493530273 nb_pixel_total : 657440 time to create 1 rle with new method : 0.16691064834594727 time for calcul the mask position with numpy : 0.006249904632568359 nb_pixel_total : 15245 time to create 1 rle with old method : 0.01754021644592285 time for calcul the mask position with numpy : 0.006220102310180664 nb_pixel_total : 10168 time to create 1 rle with old method : 0.011327028274536133 time for calcul the mask position with numpy : 0.00597071647644043 nb_pixel_total : 7229 time to create 1 rle with old method : 0.007939338684082031 create new chi : 0.7676641941070557 time to delete rle : 0.0005526542663574219 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3982 TO DO : save crop sub photo not yet done ! save time : 55.7312593460083 No data in photo_id : 1389765447 No data in photo_id : 1389765444 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.050844430923461914 time for calcul the mask position with numpy : 0.02462291717529297 nb_pixel_total : 2069556 time to create 1 rle with new method : 0.05064678192138672 time for calcul the mask position with numpy : 0.01144099235534668 nb_pixel_total : 4044 time to create 1 rle with old method : 0.0058481693267822266 create new chi : 0.10006928443908691 time to delete rle : 0.000278472900390625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1230 TO DO : save crop sub photo not yet done ! save time : 23.006380319595337 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04640364646911621 time for calcul the mask position with numpy : 0.02096104621887207 nb_pixel_total : 2067800 time to create 1 rle with new method : 0.3078439235687256 time for calcul the mask position with numpy : 0.007473945617675781 nb_pixel_total : 5800 time to create 1 rle with old method : 0.009699821472167969 create new chi : 0.35759520530700684 time to delete rle : 0.0003268718719482422 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1274 TO DO : save crop sub photo not yet done ! save time : 16.856409788131714 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03941917419433594 time for calcul the mask position with numpy : 0.15415024757385254 nb_pixel_total : 1952053 time to create 1 rle with new method : 0.18861651420593262 time for calcul the mask position with numpy : 0.00656890869140625 nb_pixel_total : 116653 time to create 1 rle with old method : 0.12185239791870117 time for calcul the mask position with numpy : 0.005973339080810547 nb_pixel_total : 4894 time to create 1 rle with old method : 0.00521087646484375 create new chi : 0.4922454357147217 time to delete rle : 0.00039458274841308594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2314 TO DO : save crop sub photo not yet done ! save time : 23.608388423919678 map_output_result : {1389765494: (0.0, 'Should be the crop_list due to order', 0), 1389765493: (0.0, 'Should be the crop_list due to order', 0), 1389765475: (0.0, 'Should be the crop_list due to order', 0), 1389765473: (0.0, 'Should be the crop_list due to order', 0), 1389765470: (0.0, 'Should be the crop_list due to order', 0), 1389765469: (0.0, 'Should be the crop_list due to order', 0), 1389765466: (0.0, 'Should be the crop_list due to order', 0), 1389765464: (0.0, 'Should be the crop_list due to order', 0), 1389765452: (0.0, 'Should be the crop_list due to order', 0), 1389765447: (0.0, 'Should be the crop_list due to order', 0.0), 1389765444: (0.0, 'Should be the crop_list due to order', 0.0), 1389765441: (0.0, 'Should be the crop_list due to order', 0), 1389765440: (0.0, 'Should be the crop_list due to order', 0), 1389765438: (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 [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] Looping around the photos to save general results len do output : 14 /1389765494.Didn't retrieve data . /1389765493.Didn't retrieve data . /1389765475.Didn't retrieve data . /1389765473.Didn't retrieve data . /1389765470.Didn't retrieve data . /1389765469.Didn't retrieve data . /1389765466.Didn't retrieve data . /1389765464.Didn't retrieve data . /1389765452.Didn't retrieve data . /1389765447.Didn't retrieve data . /1389765444.Didn't retrieve data . /1389765441.Didn't retrieve data . /1389765440.Didn't retrieve data . /1389765438.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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 2.307504653930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 462.9761788845062 time spend to save output : 2.3181357383728027 total time spend for step 3 : 465.294314622879 step4:ventilate_hashtags_in_portfolio Fri Oct 17 11:20:39 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 : 27874712 get user id for portfolio 27874712 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`=27874712 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','background','environnement','pet_fonce','autre','papier','pet_clair','pehd','flou','carton')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27874712 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','background','environnement','pet_fonce','autre','papier','pet_clair','pehd','flou','carton')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! (1205, 'Lock wait timeout exceeded; try restarting transaction') Connect or reconnect ! 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`=27874712 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','background','environnement','pet_fonce','autre','papier','pet_clair','pehd','flou','carton')) AND mptpi.`min_score`=0.5 To do Catched exception ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') Connect or reconnect ! Catched exception ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') Connect or reconnect ! Catched exception ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') Connect or reconnect ! lien utilise dans velours : https://marlene.fotonower.com/velours/27876250,27876251,27876252,27876253,27876254,27876255,27876256,27876257,27876258,27876259,27876260?tags=metal,mal_croppe,background,environnement,pet_fonce,autre,papier,pet_clair,pehd,flou,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] Looping around the photos to save general results len do output : 1 /27874712. 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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 3.871900796890259 save_final save missing photos in datou_result : time spend for datou_step_exec : 168.1183786392212 time spend to save output : 3.9248595237731934 total time spend for step 4 : 172.04323816299438 step5:final Fri Oct 17 11:23:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1389765494: ('0.05309957837301587',), 1389765493: ('0.05309957837301587',), 1389765475: ('0.05309957837301587',), 1389765473: ('0.05309957837301587',), 1389765470: ('0.05309957837301587',), 1389765469: ('0.05309957837301587',), 1389765466: ('0.05309957837301587',), 1389765464: ('0.05309957837301587',), 1389765452: ('0.05309957837301587',), 1389765447: ('0.05309957837301587',), 1389765444: ('0.05309957837301587',), 1389765441: ('0.05309957837301587',), 1389765440: ('0.05309957837301587',), 1389765438: ('0.05309957837301587',)} new output for save of step final : {1389765494: ('0.05309957837301587',), 1389765493: ('0.05309957837301587',), 1389765475: ('0.05309957837301587',), 1389765473: ('0.05309957837301587',), 1389765470: ('0.05309957837301587',), 1389765469: ('0.05309957837301587',), 1389765466: ('0.05309957837301587',), 1389765464: ('0.05309957837301587',), 1389765452: ('0.05309957837301587',), 1389765447: ('0.05309957837301587',), 1389765444: ('0.05309957837301587',), 1389765441: ('0.05309957837301587',), 1389765440: ('0.05309957837301587',), 1389765438: ('0.05309957837301587',)} [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] Looping around the photos to save general results len do output : 14 /1389765494.Didn't retrieve data . /1389765493.Didn't retrieve data . /1389765475.Didn't retrieve data . /1389765473.Didn't retrieve data . /1389765470.Didn't retrieve data . /1389765469.Didn't retrieve data . /1389765466.Didn't retrieve data . /1389765464.Didn't retrieve data . /1389765452.Didn't retrieve data . /1389765447.Didn't retrieve data . /1389765444.Didn't retrieve data . /1389765441.Didn't retrieve data . /1389765440.Didn't retrieve data . /1389765438.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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 2.7995123863220215 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.427940368652344 time spend to save output : 2.803677797317505 total time spend for step 5 : 7.231618165969849 step6:blur_detection Fri Oct 17 11:23:38 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/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3.jpg resize: (1080, 1920) 1389765494 1.5414967936513577 treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57.jpg resize: (1080, 1920) 1389765493 1.0376124586225937 treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5.jpg resize: (1080, 1920) 1389765475 -0.16781535816904508 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0.jpg resize: (1080, 1920) 1389765473 -3.0762176843009508 treat image : temp/1760691653_801961_1389765470_f73704f6dd00138aaf72ceb2590c6a5d.jpg resize: (1080, 1920) 1389765470 -0.5547785163893484 treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1.jpg resize: (1080, 1920) 1389765469 -0.36684002119568215 treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1.jpg resize: (1080, 1920) 1389765466 0.0141601702484993 treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc.jpg resize: (1080, 1920) 1389765464 8.056644392739226 treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70.jpg resize: (1080, 1920) 1389765452 -0.6531262582178142 treat image : temp/1760691653_801961_1389765447_65a1afbc3d6c2b3aa6378d3610f19ec7.jpg resize: (1080, 1920) 1389765447 0.39383403321164595 treat image : temp/1760691653_801961_1389765444_1a58d0fc38f7bcefd0ab99c920733d9e.jpg resize: (1080, 1920) 1389765444 0.6392695731478285 treat image : temp/1760691653_801961_1389765441_3af4d0f54aface117222455ada9e5861.jpg resize: (1080, 1920) 1389765441 -0.9374199371203485 treat image : temp/1760691653_801961_1389765440_475c7ad6e47662c29c5e3b82ed7a5632.jpg resize: (1080, 1920) 1389765440 -0.644016987197882 treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79.jpg resize: (1080, 1920) 1389765438 -4.307826314261668 treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202037_0.png resize: (713, 1362) 1389783569 -0.7006376408222431 treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202034_0.png resize: (138, 142) 1389783580 -1.147945288945704 treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202035_0.png resize: (67, 51) 1389783594 20.0 treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202036_0.png resize: (65, 75) 1389783609 0.9682422030092742 treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202038_0.png resize: (141, 143) 1389783619 -1.0653089944951775 treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202039_0.png resize: (70, 49) 1389783631 20.0 treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202040_0.png resize: (63, 77) 1389783646 0.9409177983641377 treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202042_0.png resize: (125, 71) 1389783657 -1.071492437369759 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202046_0.png resize: (151, 82) 1389783668 -2.328119335956808 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202047_0.png resize: (97, 94) 1389783681 -1.5503278420207598 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202044_0.png resize: (50, 62) 1389783693 1.3789087518658507 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202045_0.png resize: (217, 278) 1389783704 -1.319025992207247 treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202051_0.png resize: (163, 152) 1389783715 -1.724514450075568 treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202052_0.png resize: (86, 126) 1389783722 0.017364505467209856 treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202057_0.png resize: (450, 1052) 1389783736 -1.0338520927630532 treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202056_0.png resize: (145, 154) 1389783746 -1.0756714976447523 treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202059_0.png resize: (120, 116) 1389783752 -1.4386838915119098 treat image : temp/1760691653_801961_1389765440_475c7ad6e47662c29c5e3b82ed7a5632_rle_crop_4000202063_0.png resize: (97, 104) 1389783771 -1.6708568426883355 treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202064_0.png resize: (91, 95) 1389783780 -3.8403639702420986 treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202041_0.png resize: (150, 71) 1389783814 -1.6240671751066837 treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202050_0.png resize: (63, 62) 1389783826 0.5045358416746999 treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202053_0.png resize: (147, 153) 1389783841 -1.290442174191684 treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202061_0.png resize: (990, 914) 1389783851 0.044377908464631285 treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202048_0.png resize: (542, 333) 1389783895 0.24042360758458656 treat image : temp/1760691653_801961_1389765470_f73704f6dd00138aaf72ceb2590c6a5d_rle_crop_4000202049_0.png resize: (204, 52) 1389783910 0.3467770002701065 treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202055_0.png resize: (142, 120) 1389783923 -3.0200682075626175 treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202060_0.png resize: (183, 131) 1389783937 -1.5454897904722076 treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202058_0.png resize: (145, 76) 1389783950 -2.055495809057002 treat image : temp/1760691653_801961_1389765441_3af4d0f54aface117222455ada9e5861_rle_crop_4000202062_0.png resize: (73, 81) 1389783962 -1.8452864706722598 treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202065_0.png resize: (525, 351) 1389783974 0.22970373610218936 treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202043_0.png resize: (96, 66) 1389784006 -0.31841724770176116 treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202054_0.png resize: (131, 43) 1389784021 -1.868366341024037 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 : 46 time used for this insertion : 15.0888032913208 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 2.776015043258667 save missing photos in datou_result : time spend for datou_step_exec : 11.70328664779663 time spend to save output : 17.886839628219604 total time spend for step 6 : 29.590126276016235 step7:brightness Fri Oct 17 11:24:08 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/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3.jpg treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57.jpg treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5.jpg treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0.jpg treat image : temp/1760691653_801961_1389765470_f73704f6dd00138aaf72ceb2590c6a5d.jpg treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1.jpg treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1.jpg treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc.jpg treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70.jpg treat image : temp/1760691653_801961_1389765447_65a1afbc3d6c2b3aa6378d3610f19ec7.jpg treat image : temp/1760691653_801961_1389765444_1a58d0fc38f7bcefd0ab99c920733d9e.jpg treat image : temp/1760691653_801961_1389765441_3af4d0f54aface117222455ada9e5861.jpg treat image : temp/1760691653_801961_1389765440_475c7ad6e47662c29c5e3b82ed7a5632.jpg treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79.jpg treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202037_0.png treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202034_0.png treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202035_0.png treat image : temp/1760691653_801961_1389765494_6202099910cc22cd3825957c1f5e7ec3_rle_crop_4000202036_0.png treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202038_0.png treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202039_0.png treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202040_0.png treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202042_0.png treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202046_0.png treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202047_0.png treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202044_0.png treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202045_0.png treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202051_0.png treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202052_0.png treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202057_0.png treat image : temp/1760691653_801961_1389765464_2e4ad0e9c8201c28dd8ea3541876d3fc_rle_crop_4000202056_0.png treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202059_0.png treat image : temp/1760691653_801961_1389765440_475c7ad6e47662c29c5e3b82ed7a5632_rle_crop_4000202063_0.png treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202064_0.png treat image : temp/1760691653_801961_1389765493_73cc8796f97f5a6868e9aa620b63ac57_rle_crop_4000202041_0.png treat image : temp/1760691653_801961_1389765469_9715543d33a0f0d4a60734d7fc89c0c1_rle_crop_4000202050_0.png treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202053_0.png treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202061_0.png treat image : temp/1760691653_801961_1389765473_716ed8c91dea22a22cf89e80e8dcf7e0_rle_crop_4000202048_0.png treat image : temp/1760691653_801961_1389765470_f73704f6dd00138aaf72ceb2590c6a5d_rle_crop_4000202049_0.png treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202055_0.png treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202060_0.png treat image : temp/1760691653_801961_1389765452_fdde745aa97ea312b543b9de7c255a70_rle_crop_4000202058_0.png treat image : temp/1760691653_801961_1389765441_3af4d0f54aface117222455ada9e5861_rle_crop_4000202062_0.png treat image : temp/1760691653_801961_1389765438_f757b492ebb46d4d6634fa5ae2fe3d79_rle_crop_4000202065_0.png treat image : temp/1760691653_801961_1389765475_bd7f0eacf30c3355e77a89fcb16733f5_rle_crop_4000202043_0.png treat image : temp/1760691653_801961_1389765466_0dd137450951a8d9ec8e3d101f9f9af1_rle_crop_4000202054_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 : 46 time used for this insertion : 5.319529056549072 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 3.4480140209198 save missing photos in datou_result : time spend for datou_step_exec : 3.3310437202453613 time spend to save output : 8.785430908203125 total time spend for step 7 : 12.116474628448486 step8:velours_tree Fri Oct 17 11:24:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 1.064976453781128 time spend to save output : 3.910064697265625e-05 total time spend for step 8 : 1.0650155544281006 step9:send_mail_cod Fri Oct 17 11:24:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P27874712_17-10-2025_11_24_21.pdf 27876250 imagette278762501760693061 27876251 imagette278762511760693061 27876252 imagette278762521760693061 27876254 imagette278762541760693061 27876255 change filename to text .change filename to text .imagette278762551760693061 27876256 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 .imagette278762561760693061 27876257 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 .imagette278762571760693063 27876258 imagette278762581760693063 27876259 imagette278762591760693063 27876260 change filename to text .change filename to text .change filename to text .change filename to text .imagette278762601760693063 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27874712 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27876250,27876251,27876252,27876253,27876254,27876255,27876256,27876257,27876258,27876259,27876260?tags=metal,mal_croppe,background,environnement,pet_fonce,autre,papier,pet_clair,pehd,flou,carton args[1389765494] : ((1389765494, 1.5414967936513577, 492688767), (1389765494, 0.22310759741868685, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765493] : ((1389765493, 1.0376124586225937, 492688767), (1389765493, 0.2941825795548996, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765475] : ((1389765475, -0.16781535816904508, 492688767), (1389765475, 0.7344029368015482, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765473] : ((1389765473, -3.0762176843009508, 492609224), (1389765473, 0.3616427083706262, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765470] : ((1389765470, -0.5547785163893484, 492688767), (1389765470, 0.8870252632976019, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765469] : ((1389765469, -0.36684002119568215, 492688767), (1389765469, 0.3034681069376008, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765466] : ((1389765466, 0.0141601702484993, 492688767), (1389765466, 0.15245140601171112, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765464] : ((1389765464, 8.056644392739226, 492688767), (1389765464, 0.26544530181843723, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765452] : ((1389765452, -0.6531262582178142, 492688767), (1389765452, 0.609011219591192, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765447] : ((1389765447, 0.39383403321164595, 492688767), (1389765447, 0.9378497452032177, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765444] : ((1389765444, 0.6392695731478285, 492688767), (1389765444, 0.4387126822338205, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765441] : ((1389765441, -0.9374199371203485, 492688767), (1389765441, 0.6695677827839708, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765440] : ((1389765440, -0.644016987197882, 492688767), (1389765440, 0.7579731864980889, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com args[1389765438] : ((1389765438, -4.307826314261668, 492609224), (1389765438, 0.37957399228558814, 2107752395), '0.05309957837301587') We are sending mail with results at report@fotonower.com refus_total : 0.05309957837301587 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27874712 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_P27874712_17-10-2025_11_24_21.pdf results_Auto_P27874712_17-10-2025_11_24_21.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874712_17-10-2025_11_24_21.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','27874712','results_Auto_P27874712_17-10-2025_11_24_21.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874712_17-10-2025_11_24_21.pdf','pdf','','0.27','0.05309957837301587') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27874712

https://www.fotonower.com/image?json=false&list_photos_id=1389765494
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5414967936513577)
https://www.fotonower.com/image?json=false&list_photos_id=1389765493
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0376124586225937)
https://www.fotonower.com/image?json=false&list_photos_id=1389765475
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765473
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765470
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765469
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765466
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765464
La photo est trop floue, merci de reprendre une photo.(avec le score = 8.056644392739226)
https://www.fotonower.com/image?json=false&list_photos_id=1389765452
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765447
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765444
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765441
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765440
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389765438
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/27876255?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27876256?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27876257?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27876260?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874712_17-10-2025_11_24_21.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27876250,27876251,27876252,27876253,27876254,27876255,27876256,27876257,27876258,27876259,27876260?tags=metal,mal_croppe,background,environnement,pet_fonce,autre,papier,pet_clair,pehd,flou,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 17 Oct 2025 09:24:34 GMT Content-Length: 0 Connection: close X-Message-Id: c-t2M10hSoa5DJ57DL4SUA 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 [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] 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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 4.5354163646698 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.916175842285156 time spend to save output : 4.535688877105713 total time spend for step 9 : 17.45186471939087 step10:split_time_score Fri Oct 17 11:24:38 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'}] (('07', 7), ('08', 7)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27874712 Nombre de photos uploadées : 14 / 23040 (0%) 17102025 27874712 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 17102025 27874712 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.58306884765625e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007867813110351562 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 6.1438446044921875 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874709 order by id desc limit 1 Qualite : 0.05309957837301587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874712_17-10-2025_11_24_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874712 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`=27874712 AND mptpi.`type`=3594 To do Qualite : 0.11311177248677245 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874751_17-10-2025_11_02_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874751 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`=27874751 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 14, '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 [1389765494, 1389765493, 1389765475, 1389765473, 1389765470, 1389765469, 1389765466, 1389765464, 1389765452, 1389765447, 1389765444, 1389765441, 1389765440, 1389765438] Looping around the photos to save general results len do output : 1 /27874712Didn'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, '3953300') ('3318', '27874712', '1389765494', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765493', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765475', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765473', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765470', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765469', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765466', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765464', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765452', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765447', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765444', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765441', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765440', None, None, None, None, None, '3953300') ('3318', None, None, None, None, None, None, None, '3953300') ('3318', '27874712', '1389765438', None, None, None, None, None, '3953300') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 3.2601306438446045 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.868844747543335 time spend to save output : 3.260500907897949 total time spend for step 10 : 22.129345655441284 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 42.79user 22.94system 24:31.35elapsed 4%CPU (0avgtext+0avgdata 2834064maxresident)k 251384inputs+17664outputs (10546major+1670105minor)pagefaults 0swaps