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 : 3623989 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 : ['3962758'] with mtr_portfolio_ids : ['27928880'] and first list_photo_ids : [] new path : /proc/3623989/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.373098373413086 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Oct 30 00:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 4026 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-30 00:10:34.090394: 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-30 00:10:34.118511: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-30 00:10:34.119961: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7faab0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-30 00:10:34.120011: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-30 00:10:34.123360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-30 00:10:34.469310: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5d65dd0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-30 00:10:34.469355: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-30 00:10:34.470517: 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-30 00:10:34.470830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:10:34.472689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:10:34.474639: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:10:34.474962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:10:34.477072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:10:34.478057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:10:34.482182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:10:34.483313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:10:34.483387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:10:34.483975: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-30 00:10:34.483990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-30 00:10:34.483998: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-30 00:10:34.485532: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3421 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-30 00:10:34.824126: 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-30 00:10:34.824200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:10:34.824216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:10:34.824230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:10:34.824244: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:10:34.824257: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:10:34.824270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:10:34.824283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:10:34.825143: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:10:34.826166: 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-30 00:10:34.826198: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:10:34.826213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:10:34.826227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:10:34.826241: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:10:34.826255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:10:34.826268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:10:34.826296: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:10:34.827179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:10:34.827210: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-30 00:10:34.827219: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-30 00:10:34.827227: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-30 00:10:34.828116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3421 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-30 00:10:47.007392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:10:47.209748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:10:47.286126: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-10-30 00:10:47.289300: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-10-30 00:10:50.919296: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.656497: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-10-30 00:10:51.721622: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.721709: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.722854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.722887: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.730073: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.730112: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.736091: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.736110: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.736724: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.736754: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.763617: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.763684: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.763701: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-10-30 00:10:51.764872: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.764901: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.766064: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.766093: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.772896: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.772915: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:10:51.773535: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.774169: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.774795: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.782577: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.783163: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.803324: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.803990: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.804581: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.805158: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.809181: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.809777: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.810379: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.811048: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.813425: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.822237: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.822906: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.831915: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.832519: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.833116: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.833704: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.834310: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:10:51.834946: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.84G (3052273664 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1761779428_3623989_1390200691_6c17a22ccf13d524ffc03b63bc3ff18e.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/GatherV2_3/_92]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 19 Detection mask done ! Trying to reset tf kernel 3624509 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2827 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4026 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.0030922889709472656 nb_pixel_total : 93740 time to create 1 rle with old method : 0.11067938804626465 length of segment : 445 time for calcul the mask position with numpy : 0.005342960357666016 nb_pixel_total : 278072 time to create 1 rle with new method : 0.015378952026367188 length of segment : 578 time for calcul the mask position with numpy : 0.0007679462432861328 nb_pixel_total : 27225 time to create 1 rle with old method : 0.03038930892944336 length of segment : 320 time for calcul the mask position with numpy : 0.0009286403656005859 nb_pixel_total : 50091 time to create 1 rle with old method : 0.0569150447845459 length of segment : 308 time for calcul the mask position with numpy : 0.001074075698852539 nb_pixel_total : 65617 time to create 1 rle with old method : 0.07345080375671387 length of segment : 365 time for calcul the mask position with numpy : 0.0006299018859863281 nb_pixel_total : 39406 time to create 1 rle with old method : 0.044339656829833984 length of segment : 193 time for calcul the mask position with numpy : 0.0006880760192871094 nb_pixel_total : 37656 time to create 1 rle with old method : 0.04352736473083496 length of segment : 214 time for calcul the mask position with numpy : 0.00027561187744140625 nb_pixel_total : 10521 time to create 1 rle with old method : 0.017127275466918945 length of segment : 141 time for calcul the mask position with numpy : 0.0002524852752685547 nb_pixel_total : 11496 time to create 1 rle with old method : 0.013590335845947266 length of segment : 99 time for calcul the mask position with numpy : 0.0004897117614746094 nb_pixel_total : 25184 time to create 1 rle with old method : 0.02817082405090332 length of segment : 213 time for calcul the mask position with numpy : 0.0008387565612792969 nb_pixel_total : 46801 time to create 1 rle with old method : 0.05278205871582031 length of segment : 201 time for calcul the mask position with numpy : 0.0030357837677001953 nb_pixel_total : 157791 time to create 1 rle with new method : 0.01093435287475586 length of segment : 538 time for calcul the mask position with numpy : 0.000457763671875 nb_pixel_total : 21867 time to create 1 rle with old method : 0.025481224060058594 length of segment : 126 time for calcul the mask position with numpy : 0.0014882087707519531 nb_pixel_total : 78414 time to create 1 rle with old method : 0.09040617942810059 length of segment : 525 time for calcul the mask position with numpy : 0.0012106895446777344 nb_pixel_total : 87534 time to create 1 rle with old method : 0.09645891189575195 length of segment : 296 time for calcul the mask position with numpy : 0.0002467632293701172 nb_pixel_total : 12250 time to create 1 rle with old method : 0.014027595520019531 length of segment : 122 time for calcul the mask position with numpy : 0.0023055076599121094 nb_pixel_total : 133365 time to create 1 rle with old method : 0.1419210433959961 length of segment : 467 time for calcul the mask position with numpy : 0.0010275840759277344 nb_pixel_total : 56187 time to create 1 rle with old method : 0.06090903282165527 length of segment : 317 time for calcul the mask position with numpy : 0.0008804798126220703 nb_pixel_total : 48457 time to create 1 rle with old method : 0.0533602237701416 length of segment : 209 time for calcul the mask position with numpy : 0.0007219314575195312 nb_pixel_total : 40864 time to create 1 rle with old method : 0.04653596878051758 length of segment : 228 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 5393 time to create 1 rle with old method : 0.006495237350463867 length of segment : 78 time for calcul the mask position with numpy : 0.0007052421569824219 nb_pixel_total : 45242 time to create 1 rle with old method : 0.04978346824645996 length of segment : 215 time for calcul the mask position with numpy : 0.0017185211181640625 nb_pixel_total : 69815 time to create 1 rle with old method : 0.07432818412780762 length of segment : 465 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 12538 time to create 1 rle with old method : 0.01400613784790039 length of segment : 115 time for calcul the mask position with numpy : 0.001641988754272461 nb_pixel_total : 95771 time to create 1 rle with old method : 0.10552763938903809 length of segment : 323 time for calcul the mask position with numpy : 0.0007157325744628906 nb_pixel_total : 37964 time to create 1 rle with old method : 0.03975820541381836 length of segment : 290 time for calcul the mask position with numpy : 0.0003085136413574219 nb_pixel_total : 15398 time to create 1 rle with old method : 0.017327308654785156 length of segment : 149 time for calcul the mask position with numpy : 0.00020194053649902344 nb_pixel_total : 7965 time to create 1 rle with old method : 0.008855342864990234 length of segment : 101 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 18697 time to create 1 rle with old method : 0.020512819290161133 length of segment : 180 time for calcul the mask position with numpy : 0.0009205341339111328 nb_pixel_total : 66334 time to create 1 rle with old method : 0.0734250545501709 length of segment : 343 time for calcul the mask position with numpy : 0.0017063617706298828 nb_pixel_total : 130022 time to create 1 rle with old method : 0.14044785499572754 length of segment : 323 time for calcul the mask position with numpy : 0.0002663135528564453 nb_pixel_total : 13504 time to create 1 rle with old method : 0.01493215560913086 length of segment : 154 time for calcul the mask position with numpy : 0.0006263256072998047 nb_pixel_total : 32164 time to create 1 rle with old method : 0.03628897666931152 length of segment : 434 time for calcul the mask position with numpy : 0.00038552284240722656 nb_pixel_total : 27973 time to create 1 rle with old method : 0.0325922966003418 length of segment : 185 time for calcul the mask position with numpy : 0.0005645751953125 nb_pixel_total : 37385 time to create 1 rle with old method : 0.041803836822509766 length of segment : 268 time for calcul the mask position with numpy : 0.001279592514038086 nb_pixel_total : 37301 time to create 1 rle with old method : 0.04907798767089844 length of segment : 242 time for calcul the mask position with numpy : 0.0023093223571777344 nb_pixel_total : 75524 time to create 1 rle with old method : 0.08569836616516113 length of segment : 229 time for calcul the mask position with numpy : 0.0016453266143798828 nb_pixel_total : 47109 time to create 1 rle with old method : 0.05281949043273926 length of segment : 217 time for calcul the mask position with numpy : 0.00033211708068847656 nb_pixel_total : 5440 time to create 1 rle with old method : 0.006577491760253906 length of segment : 100 time for calcul the mask position with numpy : 0.00121307373046875 nb_pixel_total : 31774 time to create 1 rle with old method : 0.03745675086975098 length of segment : 166 time for calcul the mask position with numpy : 0.0010120868682861328 nb_pixel_total : 32278 time to create 1 rle with old method : 0.036557912826538086 length of segment : 157 time for calcul the mask position with numpy : 0.0017240047454833984 nb_pixel_total : 36957 time to create 1 rle with old method : 0.04205584526062012 length of segment : 566 time for calcul the mask position with numpy : 0.0017898082733154297 nb_pixel_total : 51162 time to create 1 rle with old method : 0.056188344955444336 length of segment : 304 time for calcul the mask position with numpy : 0.0013282299041748047 nb_pixel_total : 20976 time to create 1 rle with old method : 0.023215532302856445 length of segment : 338 time for calcul the mask position with numpy : 0.0013954639434814453 nb_pixel_total : 43888 time to create 1 rle with old method : 0.04645943641662598 length of segment : 201 time for calcul the mask position with numpy : 0.0027437210083007812 nb_pixel_total : 47537 time to create 1 rle with old method : 0.05093550682067871 length of segment : 456 time for calcul the mask position with numpy : 0.0037736892700195312 nb_pixel_total : 74514 time to create 1 rle with old method : 0.0802609920501709 length of segment : 392 time for calcul the mask position with numpy : 0.0014977455139160156 nb_pixel_total : 23527 time to create 1 rle with old method : 0.025261402130126953 length of segment : 330 time for calcul the mask position with numpy : 0.000396728515625 nb_pixel_total : 9783 time to create 1 rle with old method : 0.010577201843261719 length of segment : 96 time for calcul the mask position with numpy : 0.0003628730773925781 nb_pixel_total : 11589 time to create 1 rle with old method : 0.012943506240844727 length of segment : 125 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 18317 time to create 1 rle with old method : 0.020203828811645508 length of segment : 138 time for calcul the mask position with numpy : 0.0010273456573486328 nb_pixel_total : 29629 time to create 1 rle with old method : 0.03777456283569336 length of segment : 203 time spent for convertir_results : 4.947575569152832 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 52 chid ids of type : 3594 Number RLEs to save : 13788 save missing photos in datou_result : time spend for datou_step_exec : 49.18708872795105 time spend to save output : 0.7937390804290771 total time spend for step 1 : 49.98082780838013 step2:crop_condition Thu Oct 30 00:11:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 10 ! batch 1 Loaded 52 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761779487_3623989 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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542214_0.png', 0, 326, 423, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542216_0.png', 0, 231, 320, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542220_0.png', 0, 286, 212, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542221_0.png', 0, 163, 140, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542222_0.png', 0, 156, 99, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542223_0.png', 0, 176, 211, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542224_0.png', 0, 313, 201, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542227_0.png', 0, 557, 295, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542228_0.png', 0, 393, 288, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542230_0.png', 0, 470, 450, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542231_0.png', 0, 288, 300, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542233_0.png', 0, 247, 211, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542235_0.png', 0, 276, 212, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542237_0.png', 0, 138, 115, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542238_0.png', 0, 443, 323, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542239_0.png', 0, 208, 286, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542246_0.png', 0, 271, 273, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542247_0.png', 0, 167, 185, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542251_0.png', 0, 375, 195, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542253_0.png', 0, 332, 136, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542255_0.png', 0, 226, 341, 0, 1761779491,'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(1761779491), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542261_0.png', 0, 189, 330, 0, 1761779491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.966161012649536 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761779496_3623989 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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542215_0.png', 0, 721, 508, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542236_0.png', 0, 261, 460, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542242_0.png', 0, 132, 180, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542244_0.png', 0, 570, 294, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542249_0.png', 0, 219, 240, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542252_0.png', 0, 68, 100, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542254_0.png', 0, 263, 154, 0, 1761779498,'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(1761779498), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542257_0.png', 0, 123, 318, 0, 1761779498,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8923354148864746 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761779499_3623989 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(1761779500), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542219_0.png', 0, 266, 192, 0, 1761779500,'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(1761779500), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542229_0.png', 0, 122, 122, 0, 1761779500,'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(1761779500), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542234_0.png', 0, 84, 76, 0, 1761779500,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.951209306716919 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761779504_3623989 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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542217_0.png', 0, 261, 307, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542226_0.png', 0, 238, 126, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542232_0.png', 0, 394, 188, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542241_0.png', 0, 117, 100, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542243_0.png', 0, 319, 311, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542248_0.png', 0, 177, 253, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542250_0.png', 0, 457, 225, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542258_0.png', 0, 293, 201, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542259_0.png', 0, 295, 456, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542260_0.png', 0, 463, 307, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542262_0.png', 0, 131, 96, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542263_0.png', 0, 172, 125, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542264_0.png', 0, 168, 135, 0, 1761779507,'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(1761779507), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542265_0.png', 0, 187, 203, 0, 1761779507,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.574570655822754 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/1761779509_3623989 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(1761779510), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542240_0.png', 0, 133, 149, 0, 1761779510,'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(1761779510), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542245_0.png', 0, 116, 153, 0, 1761779510,'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 : 1.1945338249206543 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 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761779512_3623989 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(1761779516), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542218_0.png', 0, 239, 348, 0, 1761779516,'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(1761779516), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542225_0.png', 0, 397, 538, 0, 1761779516,'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(1761779516), 0.0, 0.0, 14, '', 0, 0, '1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542256_0.png', 0, 283, 293, 0, 1761779516,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.155350685119629 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] Looping around the photos to save general results len do output : 52 /1390202763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390202928Didn'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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 166 time used for this insertion : 0.02662372589111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.013548374176025 time spend to save output : 0.028734207153320312 total time spend for step 2 : 36.042282581329346 step3:rle_unique_nms_with_priority Thu Oct 30 00:11:56 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 52 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1390200691 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 3.5223495960235596 time for calcul the mask position with numpy : 0.6014704704284668 nb_pixel_total : 7692072 time to create 1 rle with new method : 0.6788549423217773 time for calcul the mask position with numpy : 0.02397942543029785 nb_pixel_total : 10521 time to create 1 rle with old method : 0.011504650115966797 time for calcul the mask position with numpy : 0.02369213104248047 nb_pixel_total : 37656 time to create 1 rle with old method : 0.039669036865234375 time for calcul the mask position with numpy : 0.03141045570373535 nb_pixel_total : 39406 time to create 1 rle with old method : 0.04252791404724121 time for calcul the mask position with numpy : 0.02330923080444336 nb_pixel_total : 65617 time to create 1 rle with old method : 0.0698392391204834 time for calcul the mask position with numpy : 0.025955915451049805 nb_pixel_total : 50091 time to create 1 rle with old method : 0.09346365928649902 time for calcul the mask position with numpy : 0.04100823402404785 nb_pixel_total : 27225 time to create 1 rle with old method : 0.04778027534484863 time for calcul the mask position with numpy : 0.045067548751831055 nb_pixel_total : 278072 time to create 1 rle with new method : 1.1757721900939941 time for calcul the mask position with numpy : 0.025971174240112305 nb_pixel_total : 93740 time to create 1 rle with old method : 0.1020042896270752 create new chi : 3.162620782852173 time to delete rle : 0.018723249435424805 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 7288 TO DO : save crop sub photo not yet done ! save time : 0.40458178520202637 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 3.1605491638183594 time for calcul the mask position with numpy : 0.8643276691436768 nb_pixel_total : 7719698 time to create 1 rle with new method : 0.8155536651611328 time for calcul the mask position with numpy : 0.029941558837890625 nb_pixel_total : 133365 time to create 1 rle with old method : 0.14557933807373047 time for calcul the mask position with numpy : 0.02525806427001953 nb_pixel_total : 12250 time to create 1 rle with old method : 0.013567924499511719 time for calcul the mask position with numpy : 0.024927616119384766 nb_pixel_total : 87534 time to create 1 rle with old method : 0.10756230354309082 time for calcul the mask position with numpy : 0.028427600860595703 nb_pixel_total : 78414 time to create 1 rle with old method : 0.08994936943054199 time for calcul the mask position with numpy : 0.023581504821777344 nb_pixel_total : 21867 time to create 1 rle with old method : 0.022892475128173828 time for calcul the mask position with numpy : 0.025236129760742188 nb_pixel_total : 157791 time to create 1 rle with new method : 0.7191441059112549 time for calcul the mask position with numpy : 0.02431797981262207 nb_pixel_total : 46801 time to create 1 rle with old method : 0.052205562591552734 time for calcul the mask position with numpy : 0.025216102600097656 nb_pixel_total : 25184 time to create 1 rle with old method : 0.027975797653198242 time for calcul the mask position with numpy : 0.026354312896728516 nb_pixel_total : 11496 time to create 1 rle with old method : 0.012903451919555664 create new chi : 3.176600694656372 time to delete rle : 0.0009088516235351562 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++Number RLEs to save : 7334 TO DO : save crop sub photo not yet done ! save time : 0.3775155544281006 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 5.40972900390625 time for calcul the mask position with numpy : 0.5941162109375 nb_pixel_total : 7863886 time to create 1 rle with new method : 1.1525452136993408 time for calcul the mask position with numpy : 0.02523493766784668 nb_pixel_total : 7965 time to create 1 rle with old method : 0.009816408157348633 time for calcul the mask position with numpy : 0.025480031967163086 nb_pixel_total : 15398 time to create 1 rle with old method : 0.01936650276184082 time for calcul the mask position with numpy : 0.0262143611907959 nb_pixel_total : 37964 time to create 1 rle with old method : 0.042487382888793945 time for calcul the mask position with numpy : 0.026818037033081055 nb_pixel_total : 95771 time to create 1 rle with old method : 0.11387872695922852 time for calcul the mask position with numpy : 0.03353404998779297 nb_pixel_total : 12538 time to create 1 rle with old method : 0.019968271255493164 time for calcul the mask position with numpy : 0.02763080596923828 nb_pixel_total : 69815 time to create 1 rle with old method : 0.07857656478881836 time for calcul the mask position with numpy : 0.023038148880004883 nb_pixel_total : 45242 time to create 1 rle with old method : 0.04776573181152344 time for calcul the mask position with numpy : 0.025382041931152344 nb_pixel_total : 313 time to create 1 rle with old method : 0.0005791187286376953 time for calcul the mask position with numpy : 0.02689647674560547 nb_pixel_total : 40864 time to create 1 rle with old method : 0.06071972846984863 time for calcul the mask position with numpy : 0.025682687759399414 nb_pixel_total : 48457 time to create 1 rle with old method : 0.0538330078125 time for calcul the mask position with numpy : 0.024730920791625977 nb_pixel_total : 56187 time to create 1 rle with old method : 0.06139516830444336 create new chi : 2.590226173400879 time to delete rle : 0.0007760524749755859 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++Number RLEs to save : 7022 TO DO : save crop sub photo not yet done ! save time : 0.3985726833343506 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 1.9559907913208008 time for calcul the mask position with numpy : 0.6380949020385742 nb_pixel_total : 8209369 time to create 1 rle with new method : 0.6151444911956787 time for calcul the mask position with numpy : 0.024670839309692383 nb_pixel_total : 66334 time to create 1 rle with old method : 0.0977182388305664 time for calcul the mask position with numpy : 0.024409055709838867 nb_pixel_total : 18697 time to create 1 rle with old method : 0.019921064376831055 create new chi : 1.4656975269317627 time to delete rle : 0.0005121231079101562 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3206 TO DO : save crop sub photo not yet done ! save time : 0.18966412544250488 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 1.475797414779663 time for calcul the mask position with numpy : 0.4798767566680908 nb_pixel_total : 8118710 time to create 1 rle with new method : 0.7125005722045898 time for calcul the mask position with numpy : 0.023674488067626953 nb_pixel_total : 32164 time to create 1 rle with old method : 0.03506755828857422 time for calcul the mask position with numpy : 0.023483753204345703 nb_pixel_total : 13504 time to create 1 rle with old method : 0.015096187591552734 time for calcul the mask position with numpy : 0.024213552474975586 nb_pixel_total : 130022 time to create 1 rle with old method : 0.1414492130279541 create new chi : 1.4983580112457275 time to delete rle : 0.0005338191986083984 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3982 TO DO : save crop sub photo not yet done ! save time : 0.24212956428527832 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 2.0979561805725098 time for calcul the mask position with numpy : 0.9783585071563721 nb_pixel_total : 8229042 time to create 1 rle with new method : 0.6874380111694336 time for calcul the mask position with numpy : 0.024057865142822266 nb_pixel_total : 37385 time to create 1 rle with old method : 0.04150843620300293 time for calcul the mask position with numpy : 0.024008512496948242 nb_pixel_total : 27973 time to create 1 rle with old method : 0.030950546264648438 create new chi : 1.8374180793762207 time to delete rle : 0.000514984130859375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3066 TO DO : save crop sub photo not yet done ! save time : 0.19206452369689941 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 2.690979480743408 time for calcul the mask position with numpy : 0.7048683166503906 nb_pixel_total : 8097252 time to create 1 rle with new method : 0.8251194953918457 time for calcul the mask position with numpy : 0.040296077728271484 nb_pixel_total : 31774 time to create 1 rle with old method : 0.03428983688354492 time for calcul the mask position with numpy : 0.03972053527832031 nb_pixel_total : 5440 time to create 1 rle with old method : 0.006072998046875 time for calcul the mask position with numpy : 0.040984392166137695 nb_pixel_total : 47109 time to create 1 rle with old method : 0.05321359634399414 time for calcul the mask position with numpy : 0.03998756408691406 nb_pixel_total : 75524 time to create 1 rle with old method : 0.08174324035644531 time for calcul the mask position with numpy : 0.023863792419433594 nb_pixel_total : 37301 time to create 1 rle with old method : 0.03915143013000488 create new chi : 1.9758007526397705 time to delete rle : 0.0006422996520996094 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 4068 TO DO : save crop sub photo not yet done ! save time : 0.24549174308776855 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 4.2351062297821045 time for calcul the mask position with numpy : 0.6888773441314697 nb_pixel_total : 8061602 time to create 1 rle with new method : 0.623121976852417 time for calcul the mask position with numpy : 0.028529882431030273 nb_pixel_total : 47537 time to create 1 rle with old method : 0.048952341079711914 time for calcul the mask position with numpy : 0.040097951889038086 nb_pixel_total : 43888 time to create 1 rle with old method : 0.047698974609375 time for calcul the mask position with numpy : 0.041382551193237305 nb_pixel_total : 20976 time to create 1 rle with old method : 0.022966861724853516 time for calcul the mask position with numpy : 0.02403879165649414 nb_pixel_total : 51162 time to create 1 rle with old method : 0.056421518325805664 time for calcul the mask position with numpy : 0.026046276092529297 nb_pixel_total : 36957 time to create 1 rle with old method : 0.053826093673706055 time for calcul the mask position with numpy : 0.02830052375793457 nb_pixel_total : 32278 time to create 1 rle with old method : 0.037598609924316406 create new chi : 1.8102872371673584 time to delete rle : 0.0008938312530517578 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 6204 TO DO : save crop sub photo not yet done ! save time : 0.33997511863708496 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 2.3724164962768555 time for calcul the mask position with numpy : 0.4342043399810791 nb_pixel_total : 8127041 time to create 1 rle with new method : 0.6902315616607666 time for calcul the mask position with numpy : 0.023153305053710938 nb_pixel_total : 29629 time to create 1 rle with old method : 0.03249669075012207 time for calcul the mask position with numpy : 0.023807764053344727 nb_pixel_total : 18317 time to create 1 rle with old method : 0.020125865936279297 time for calcul the mask position with numpy : 0.024986743927001953 nb_pixel_total : 11589 time to create 1 rle with old method : 0.012463808059692383 time for calcul the mask position with numpy : 0.024563312530517578 nb_pixel_total : 9783 time to create 1 rle with old method : 0.010942220687866211 time for calcul the mask position with numpy : 0.024171113967895508 nb_pixel_total : 23527 time to create 1 rle with old method : 0.026275157928466797 time for calcul the mask position with numpy : 0.02536940574645996 nb_pixel_total : 74514 time to create 1 rle with old method : 0.10788488388061523 create new chi : 1.5239603519439697 time to delete rle : 0.0007545948028564453 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4728 TO DO : save crop sub photo not yet done ! save time : 0.27774715423583984 map_output_result : {1390200691: (0.0, 'Should be the crop_list due to order', 0.0), 1390200671: (0.0, 'Should be the crop_list due to order', 0), 1390200667: (0.0, 'Should be the crop_list due to order', 0), 1390200659: (0.0, 'Should be the crop_list due to order', 0), 1390200648: (0.0, 'Should be the crop_list due to order', 0), 1390200643: (0.0, 'Should be the crop_list due to order', 0), 1390200639: (0.0, 'Should be the crop_list due to order', 0), 1390200635: (0.0, 'Should be the crop_list due to order', 0), 1390200627: (0.0, 'Should be the crop_list due to order', 0), 1390200613: (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 [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] Looping around the photos to save general results len do output : 10 /1390200691.Didn't retrieve data . /1390200671.Didn't retrieve data . /1390200667.Didn't retrieve data . /1390200659.Didn't retrieve data . /1390200648.Didn't retrieve data . /1390200643.Didn't retrieve data . /1390200639.Didn't retrieve data . /1390200635.Didn't retrieve data . /1390200627.Didn't retrieve data . /1390200613.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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.011243104934692383 save_final save missing photos in datou_result : time spend for datou_step_exec : 49.82341527938843 time spend to save output : 0.01207113265991211 total time spend for step 3 : 49.83548641204834 step4:ventilate_hashtags_in_portfolio Thu Oct 30 00:12:46 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 : 27928880 get user id for portfolio 27928880 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`=27928880 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','autre','environnement','flou','background','carton','papier','pet_clair','pehd','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27928880 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','autre','environnement','flou','background','carton','papier','pet_clair','pehd','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27928880 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','autre','environnement','flou','background','carton','papier','pet_clair','pehd','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27929184,27929185,27929186,27929187,27929189,27929190,27929191,27929192,27929193,27929195,27929196?tags=metal,autre,environnement,flou,background,carton,papier,pet_clair,pehd,pet_fonce,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] Looping around the photos to save general results len do output : 1 /27928880. 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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.012469291687011719 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6089696884155273 time spend to save output : 0.012729883193969727 total time spend for step 4 : 1.621699571609497 step5:final Thu Oct 30 00:12:48 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 : {1390200691: ('0.03051369598765432',), 1390200671: ('0.03051369598765432',), 1390200667: ('0.03051369598765432',), 1390200659: ('0.03051369598765432',), 1390200648: ('0.03051369598765432',), 1390200643: ('0.03051369598765432',), 1390200639: ('0.03051369598765432',), 1390200635: ('0.03051369598765432',), 1390200627: ('0.03051369598765432',), 1390200613: ('0.03051369598765432',)} new output for save of step final : {1390200691: ('0.03051369598765432',), 1390200671: ('0.03051369598765432',), 1390200667: ('0.03051369598765432',), 1390200659: ('0.03051369598765432',), 1390200648: ('0.03051369598765432',), 1390200643: ('0.03051369598765432',), 1390200639: ('0.03051369598765432',), 1390200635: ('0.03051369598765432',), 1390200627: ('0.03051369598765432',), 1390200613: ('0.03051369598765432',)} [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] Looping around the photos to save general results len do output : 10 /1390200691.Didn't retrieve data . /1390200671.Didn't retrieve data . /1390200667.Didn't retrieve data . /1390200659.Didn't retrieve data . /1390200648.Didn't retrieve data . /1390200643.Didn't retrieve data . /1390200639.Didn't retrieve data . /1390200635.Didn't retrieve data . /1390200627.Didn't retrieve data . /1390200613.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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.010453462600708008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11698174476623535 time spend to save output : 0.010971307754516602 total time spend for step 5 : 0.12795305252075195 step6:blur_detection Thu Oct 30 00:12:48 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/1761779428_3623989_1390200691_6c17a22ccf13d524ffc03b63bc3ff18e.jpg resize: (2160, 3840) 1390200691 -7.140184752565775 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d.jpg resize: (2160, 3840) 1390200671 -6.98118955387283 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69.jpg resize: (2160, 3840) 1390200667 -6.956231027172876 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a.jpg resize: (2160, 3840) 1390200659 -6.9864611242007495 treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50.jpg resize: (2160, 3840) 1390200648 -6.984741903927949 treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512.jpg resize: (2160, 3840) 1390200643 -6.888358770446174 treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1.jpg resize: (2160, 3840) 1390200639 -7.038892936412899 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2.jpg resize: (2160, 3840) 1390200635 -6.0778090992022324 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce.jpg resize: (2160, 3840) 1390200627 -6.853294932023676 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa.jpg resize: (2160, 3840) 1390200613 -7.023161815037033 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542214_0.png resize: (423, 326) 1390202763 -3.1158518798126873 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542216_0.png resize: (320, 231) 1390202764 -4.059731620287256 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542220_0.png resize: (212, 286) 1390202765 -2.5874984759681734 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542221_0.png resize: (140, 163) 1390202766 -4.363906388753588 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542222_0.png resize: (99, 156) 1390202767 -4.352748315343169 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542223_0.png resize: (211, 176) 1390202768 -1.6913432566689606 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542224_0.png resize: (201, 313) 1390202769 -5.765267842108127 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542227_0.png resize: (295, 557) 1390202770 -3.8327192737028035 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542228_0.png resize: (288, 393) 1390202771 -2.930554349215938 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542230_0.png resize: (450, 470) 1390202772 -5.425522498101276 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542231_0.png resize: (300, 288) 1390202773 -4.747788165963258 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542233_0.png resize: (211, 247) 1390202774 -4.243962699926379 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542235_0.png resize: (212, 276) 1390202775 -5.156933133253435 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542237_0.png resize: (115, 138) 1390202776 -3.325399963456794 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542238_0.png resize: (323, 443) 1390202777 -4.472437025037734 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542239_0.png resize: (286, 208) 1390202778 -4.519236048232348 treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542246_0.png resize: (273, 271) 1390202779 -4.37687154851535 treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542247_0.png resize: (185, 167) 1390202780 -2.5075048885985414 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542251_0.png resize: (195, 375) 1390202781 -3.007880980930954 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542253_0.png resize: (136, 332) 1390202782 -4.320391399043953 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542255_0.png resize: (341, 226) 1390202783 -3.7559029318585346 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542261_0.png resize: (330, 189) 1390202784 -4.02749673723345 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542215_0.png resize: (508, 721) 1390202791 -4.567814785004233 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542236_0.png resize: (460, 261) 1390202792 -4.144374427227768 treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542242_0.png resize: (180, 132) 1390202793 -4.562216399492896 treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542244_0.png resize: (294, 570) 1390202795 -2.7250142808552735 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542249_0.png resize: (240, 219) 1390202796 -3.8359778711365906 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542252_0.png resize: (100, 68) 1390202797 -4.313651087718567 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542254_0.png resize: (154, 263) 1390202798 -4.464363186593197 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542257_0.png resize: (318, 123) 1390202799 -3.2587590175279804 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542219_0.png resize: (192, 266) 1390202800 -3.622279954079419 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542229_0.png resize: (122, 122) 1390202801 -4.672807693180854 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542234_0.png resize: (76, 84) 1390202802 -3.6567378116821594 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542217_0.png resize: (307, 261) 1390202826 -4.796734268585583 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542226_0.png resize: (126, 238) 1390202827 -4.719795478404232 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542232_0.png resize: (188, 394) 1390202829 -4.833194394842096 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542241_0.png resize: (100, 117) 1390202830 -4.994489667122248 treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542243_0.png resize: (311, 319) 1390202831 -4.114654819866445 treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542248_0.png resize: (253, 177) 1390202832 -4.5247832826373315 treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542250_0.png resize: (225, 457) 1390202834 -4.3006070898923925 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542258_0.png resize: (201, 293) 1390202835 -4.947372987513389 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542259_0.png resize: (456, 295) 1390202836 -4.2518233299322885 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542260_0.png resize: (307, 463) 1390202838 -3.5969221020537105 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542262_0.png resize: (96, 131) 1390202840 -4.145048139423423 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542263_0.png resize: (125, 172) 1390202841 -3.2815109201683046 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542264_0.png resize: (135, 168) 1390202842 -4.376551588911403 treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542265_0.png resize: (203, 187) 1390202843 -5.026072052357037 treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542240_0.png resize: (149, 133) 1390202866 -3.8829141005139696 treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542245_0.png resize: (153, 116) 1390202867 -4.867014843051117 treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542218_0.png resize: (348, 239) 1390202925 -5.450419288300361 treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542225_0.png resize: (538, 397) 1390202926 -6.2439989213624365 treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542256_0.png resize: (293, 283) 1390202928 -5.013319978354841 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 : 62 time used for this insertion : 0.011362075805664062 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.011693954467773438 save missing photos in datou_result : time spend for datou_step_exec : 36.15143394470215 time spend to save output : 0.028036832809448242 total time spend for step 6 : 36.1794707775116 step7:brightness Thu Oct 30 00:13:24 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/1761779428_3623989_1390200691_6c17a22ccf13d524ffc03b63bc3ff18e.jpg treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d.jpg treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69.jpg treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a.jpg treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50.jpg treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512.jpg treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1.jpg treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2.jpg treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce.jpg treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa.jpg treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542214_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542216_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542220_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542221_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542222_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542223_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542224_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542227_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542228_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542230_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542231_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542233_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542235_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542237_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542238_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542239_0.png treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542246_0.png treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542247_0.png treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542251_0.png treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542253_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542255_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542261_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542215_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542236_0.png treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542242_0.png treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542244_0.png treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542249_0.png treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542252_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542254_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542257_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542219_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542229_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542234_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542217_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542226_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542232_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542241_0.png treat image : temp/1761779428_3623989_1390200648_aaf375c644e6ecb379008c915d910c50_rle_crop_4003542243_0.png treat image : temp/1761779428_3623989_1390200639_ddacbd6d0e58bd30a1fb853e1bb797f1_rle_crop_4003542248_0.png treat image : temp/1761779428_3623989_1390200635_2368d576600a8c720ec5e215ab838ec2_rle_crop_4003542250_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542258_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542259_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542260_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542262_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542263_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542264_0.png treat image : temp/1761779428_3623989_1390200613_bea2a39f2fdb5d62a96d5129ce24caaa_rle_crop_4003542265_0.png treat image : temp/1761779428_3623989_1390200659_b1b84115659aa37fd4408016bfc7ba5a_rle_crop_4003542240_0.png treat image : temp/1761779428_3623989_1390200643_c26c4d980290f6a39d4ae96c59d6f512_rle_crop_4003542245_0.png treat image : temp/1761779428_3623989_1390200671_3012f314aa6d51701dd44f8428924b6d_rle_crop_4003542218_0.png treat image : temp/1761779428_3623989_1390200667_3f29ad95a2bb9998ec296f0f10663c69_rle_crop_4003542225_0.png treat image : temp/1761779428_3623989_1390200627_0fdfa5583d3281d6858f3c82d62b53ce_rle_crop_4003542256_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 : 62 time used for this insertion : 0.013390541076660156 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.013636112213134766 save missing photos in datou_result : time spend for datou_step_exec : 9.543108701705933 time spend to save output : 0.03200364112854004 total time spend for step 7 : 9.575112342834473 step8:velours_tree Thu Oct 30 00:13:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.08366155624389648 time spend to save output : 4.076957702636719e-05 total time spend for step 8 : 0.08370232582092285 step9:send_mail_cod Thu Oct 30 00:13:34 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_P27928880_30-10-2025_00_13_34.pdf 27929184 change filename to text .change filename to text .change filename to text .imagette279291841761779614 27929185 change filename to text .change filename to text .imagette279291851761779614 27929187 imagette279291871761779614 27929189 imagette279291891761779614 27929190 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 .imagette279291901761779614 27929191 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette279291911761779615 27929192 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 .imagette279291921761779617 27929193 imagette279291931761779618 27929195 change filename to text .change filename to text .change filename to text .imagette279291951761779618 27929196 imagette279291961761779618 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27928880 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27929184,27929185,27929186,27929187,27929189,27929190,27929191,27929192,27929193,27929195,27929196?tags=metal,autre,environnement,flou,background,carton,papier,pet_clair,pehd,pet_fonce,mal_croppe args[1390200691] : ((1390200691, -7.140184752565775, 492609224), (1390200691, 0.024281768384323305, 2107752395), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200671] : ((1390200671, -6.98118955387283, 492609224), (1390200671, 0.04390751525926214, 2107752395), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200667] : ((1390200667, -6.956231027172876, 492609224), (1390200667, -0.10048331570868096, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200659] : ((1390200659, -6.9864611242007495, 492609224), (1390200659, -0.07630838650499831, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200648] : ((1390200648, -6.984741903927949, 492609224), (1390200648, 0.0539074399970079, 2107752395), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200643] : ((1390200643, -6.888358770446174, 492609224), (1390200643, 0.02971225702760102, 2107752395), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200639] : ((1390200639, -7.038892936412899, 492609224), (1390200639, -0.10032161008955014, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200635] : ((1390200635, -6.0778090992022324, 492609224), (1390200635, -0.2583633642769588, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200627] : ((1390200627, -6.853294932023676, 492609224), (1390200627, -0.15868579583719875, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com args[1390200613] : ((1390200613, -7.023161815037033, 492609224), (1390200613, -0.11365176118105154, 496442774), '0.03051369598765432') We are sending mail with results at report@fotonower.com refus_total : 0.03051369598765432 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=27928880 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_P27928880_30-10-2025_00_13_34.pdf results_Auto_P27928880_30-10-2025_00_13_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27928880_30-10-2025_00_13_34.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','27928880','results_Auto_P27928880_30-10-2025_00_13_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27928880_30-10-2025_00_13_34.pdf','pdf','','0.65','0.03051369598765432') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27928880

https://www.fotonower.com/image?json=false&list_photos_id=1390200691
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200671
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200667
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200659
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200648
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200643
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200639
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200635
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200627
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390200613
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/27929184?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27929185?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27929190?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27929191?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27929192?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/27929195?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27928880_30-10-2025_00_13_34.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27929184,27929185,27929186,27929187,27929189,27929190,27929191,27929192,27929193,27929195,27929196?tags=metal,autre,environnement,flou,background,carton,papier,pet_clair,pehd,pet_fonce,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 29 Oct 2025 23:13:41 GMT Content-Length: 0 Connection: close X-Message-Id: Zpmyr3o5SgamHFt64PepYw 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 [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] 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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.011381864547729492 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.749654769897461 time spend to save output : 0.011621713638305664 total time spend for step 9 : 7.761276483535767 step10:split_time_score Thu Oct 30 00:13:41 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'}] (('10', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29102025 27928880 Nombre de photos uploadées : 10 / 23040 (0%) 29102025 27928880 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 29102025 27928880 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007672309875488281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2269589900970459 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.0679042613719442 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27922558_29-10-2025_21_12_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27922558 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27922558 AND mptpi.`type`=3726 To do Qualite : 0.02403485042711917 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27922559_29-10-2025_21_14_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27922559 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27922559 AND mptpi.`type`=3726 To do Qualite : 0.04241764883511379 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27924685_29-10-2025_22_07_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27924685 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27924685 AND mptpi.`type`=3726 To do Qualite : 0.02035268845258622 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27928861_30-10-2025_00_13_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27928861 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27928861 AND mptpi.`type`=3726 To do Qualite : 0.03051369598765432 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27928880_30-10-2025_00_13_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27928880 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`=27928880 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29102025': {'nb_upload': 10, '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 [1390200691, 1390200671, 1390200667, 1390200659, 1390200648, 1390200643, 1390200639, 1390200635, 1390200627, 1390200613] Looping around the photos to save general results len do output : 1 /27928880Didn'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, '3962758') ('3318', '27928880', '1390200691', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200671', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200667', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200659', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200648', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200643', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200639', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200635', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200627', None, None, None, None, None, '3962758') ('3318', None, None, None, None, None, None, None, '3962758') ('3318', '27928880', '1390200613', None, None, None, None, None, '3962758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.011566638946533203 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.846247673034668 time spend to save output : 0.011770963668823242 total time spend for step 10 : 0.8580186367034912 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 93.64user 74.47system 3:17.92elapsed 84%CPU (0avgtext+0avgdata 4061684maxresident)k 1769896inputs+82040outputs (5852major+8154356minor)pagefaults 0swaps