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 : 1985834 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 : ['4219718'] with mtr_portfolio_ids : ['29407188'] and first list_photo_ids : [] new path : /proc/1985834/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.9183516502380371 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 Sat Dec 13 14: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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-12-13 14:10:33.488329: 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-12-13 14:10:33.518417: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-12-13 14:10:33.520819: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fab94000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-12-13 14:10:33.520879: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-12-13 14:10:33.525197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-12-13 14:10:33.845900: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3479b550 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-12-13 14:10:33.845954: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-12-13 14:10:33.847748: 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-12-13 14:10:33.848837: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-13 14:10:33.864541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-13 14:10:33.877665: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-13 14:10:33.880019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-13 14:10:33.895602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-13 14:10:33.898399: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-13 14:10:33.924546: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-13 14:10:33.926010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-13 14:10:33.926386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-13 14:10:33.927874: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-13 14:10:33.927890: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-13 14:10:33.927899: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-13 14:10:33.929204: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-12-13 14:10:34.218135: 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-12-13 14:10:34.218247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-13 14:10:34.218263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-13 14:10:34.218295: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-13 14:10:34.218312: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-13 14:10:34.218326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-13 14:10:34.218339: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-13 14:10:34.218353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-13 14:10:34.219559: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-13 14:10:34.220686: 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-12-13 14:10:34.220715: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-13 14:10:34.220729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-13 14:10:34.220742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-13 14:10:34.220755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-13 14:10:34.220767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-13 14:10:34.220779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-13 14:10:34.220792: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-13 14:10:34.221993: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-13 14:10:34.222030: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-13 14:10:34.222039: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-13 14:10:34.222047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-13 14:10:34.223312: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-12-13 14:10:45.000822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-13 14:10:45.270591: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 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 : 15 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 : 24 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 : 14 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 : 24 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.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 : 8 Detection mask done ! Trying to reset tf kernel 1986341 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 417 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 5706 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'] DEBUG bbox = [198, 810, 402, 1080] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007684230804443359 nb_pixel_total : 24176 time to create 1 rle with old method : 0.026801109313964844 length of segment : 214 DEBUG bbox = [1770, 1368, 2106, 1746] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0016026496887207031 nb_pixel_total : 76211 time to create 1 rle with old method : 0.08209633827209473 length of segment : 470 DEBUG bbox = [1698, 2028, 1962, 2202] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00043845176696777344 nb_pixel_total : 21654 time to create 1 rle with old method : 0.02386307716369629 length of segment : 289 DEBUG bbox = [1734, 2406, 2154, 2928] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.003294706344604492 nb_pixel_total : 153853 time to create 1 rle with new method : 0.0074005126953125 length of segment : 418 DEBUG bbox = [354, 2082, 492, 2286] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0002765655517578125 nb_pixel_total : 14249 time to create 1 rle with old method : 0.015942096710205078 length of segment : 117 DEBUG bbox = [1530, 2970, 1824, 3210] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007288455963134766 nb_pixel_total : 38947 time to create 1 rle with old method : 0.04240012168884277 length of segment : 300 DEBUG bbox = [204, 2370, 636, 2712] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0014729499816894531 nb_pixel_total : 82657 time to create 1 rle with old method : 0.08930277824401855 length of segment : 398 DEBUG bbox = [1050, 1806, 1194, 2118] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005042552947998047 nb_pixel_total : 29943 time to create 1 rle with old method : 0.032659053802490234 length of segment : 137 DEBUG bbox = [300, 2970, 588, 3156] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005657672882080078 nb_pixel_total : 28411 time to create 1 rle with old method : 0.031404972076416016 length of segment : 285 DEBUG bbox = [1302, 2286, 1548, 2628] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008611679077148438 nb_pixel_total : 47633 time to create 1 rle with old method : 0.05231952667236328 length of segment : 241 DEBUG bbox = [600, 1530, 978, 1746] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007255077362060547 nb_pixel_total : 46377 time to create 1 rle with old method : 0.05083799362182617 length of segment : 349 DEBUG bbox = [72, 1278, 492, 1884] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.002133607864379883 nb_pixel_total : 128673 time to create 1 rle with old method : 0.14233708381652832 length of segment : 392 DEBUG bbox = [342, 2346, 864, 2826] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0020737648010253906 nb_pixel_total : 127883 time to create 1 rle with old method : 0.1362016201019287 length of segment : 515 DEBUG bbox = [0, 102, 2082, 1752] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.07263803482055664 nb_pixel_total : 1470277 time to create 1 rle with new method : 0.624953031539917 length of segment : 1667 DEBUG bbox = [1596, 2196, 1752, 2370] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004878044128417969 nb_pixel_total : 18917 time to create 1 rle with old method : 0.021442174911499023 length of segment : 144 DEBUG bbox = [0, 1710, 174, 2064] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00090789794921875 nb_pixel_total : 39808 time to create 1 rle with old method : 0.04845619201660156 length of segment : 154 DEBUG bbox = [1572, 1344, 2022, 1872] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0019636154174804688 nb_pixel_total : 133621 time to create 1 rle with old method : 0.14608454704284668 length of segment : 371 DEBUG bbox = [1716, 2382, 2130, 2790] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0026824474334716797 nb_pixel_total : 49193 time to create 1 rle with old method : 0.05806231498718262 length of segment : 230 DEBUG bbox = [222, 1080, 522, 1332] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0015017986297607422 nb_pixel_total : 42051 time to create 1 rle with old method : 0.04872417449951172 length of segment : 272 DEBUG bbox = [264, 102, 582, 390] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0015463829040527344 nb_pixel_total : 53276 time to create 1 rle with old method : 0.0621037483215332 length of segment : 304 DEBUG bbox = [12, 2166, 204, 2598] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0015003681182861328 nb_pixel_total : 41770 time to create 1 rle with old method : 0.0480647087097168 length of segment : 236 DEBUG bbox = [444, 2904, 960, 3114] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0022430419921875 nb_pixel_total : 74976 time to create 1 rle with old method : 0.08105945587158203 length of segment : 525 DEBUG bbox = [234, 918, 420, 1086] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007119178771972656 nb_pixel_total : 8578 time to create 1 rle with old method : 0.010633468627929688 length of segment : 186 DEBUG bbox = [1686, 2760, 1878, 2850] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004642009735107422 nb_pixel_total : 11033 time to create 1 rle with old method : 0.012287616729736328 length of segment : 170 DEBUG bbox = [420, 864, 594, 1026] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006403923034667969 nb_pixel_total : 19675 time to create 1 rle with old method : 0.02219247817993164 length of segment : 171 DEBUG bbox = [186, 438, 636, 882] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.002880096435546875 nb_pixel_total : 132568 time to create 1 rle with old method : 0.1433877944946289 length of segment : 412 DEBUG bbox = [432, 2370, 702, 2604] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0011744499206542969 nb_pixel_total : 26635 time to create 1 rle with old method : 0.0304872989654541 length of segment : 233 DEBUG bbox = [1362, 450, 1824, 792] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.002407550811767578 nb_pixel_total : 76862 time to create 1 rle with old method : 0.09018659591674805 length of segment : 434 DEBUG bbox = [174, 2622, 1716, 3840] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.013913154602050781 nb_pixel_total : 187287 time to create 1 rle with new method : 0.06898665428161621 length of segment : 1236 DEBUG bbox = [432, 2802, 636, 3018] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006940364837646484 nb_pixel_total : 32735 time to create 1 rle with old method : 0.03677010536193848 length of segment : 246 DEBUG bbox = [588, 2100, 768, 2250] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 18760 time to create 1 rle with old method : 0.021167516708374023 length of segment : 151 DEBUG bbox = [342, 2208, 1476, 3204] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.006799459457397461 nb_pixel_total : 12578 time to create 1 rle with old method : 0.016455650329589844 length of segment : 301 time spent for convertir_results : 4.672849178314209 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 11568 save missing photos in datou_result : time spend for datou_step_exec : 40.6160991191864 time spend to save output : 0.8035235404968262 total time spend for step 1 : 41.41962265968323 step2:crop_condition Sat Dec 13 14:11:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 5 ! batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1765631475_1985834 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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025834_0.png', 0, 301, 124, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025836_0.png', 0, 301, 241, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025832_0.png', 0, 225, 257, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025837_0.png', 0, 202, 349, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025841_0.png', 0, 172, 142, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025846_0.png', 0, 266, 293, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025854_0.png', 0, 326, 391, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025851_0.png', 0, 143, 171, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025849_0.png', 0, 121, 151, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025845_0.png', 0, 232, 272, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025853_0.png', 0, 203, 233, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025844_0.png', 0, 403, 225, 0, 1765631477,'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(1765631477), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025850_0.png', 0, 79, 166, 0, 1765631477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.6329188346862793 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 ! 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/1765631480_1985834 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(1765631480), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025827_0.png', 0, 235, 202, 0, 1765631480,'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(1765631480), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025831_0.png', 0, 185, 109, 0, 1765631480,'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(1765631480), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025835_0.png', 0, 155, 285, 0, 1765631480,'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 : 1.1935739517211914 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/1765631483_1985834 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(1765631483), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025858_0.png', 0, 708, 822, 0, 1765631483,'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(1765631483), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025855_0.png', 0, 1079, 884, 0, 1765631483,'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(1765631483), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025856_0.png', 0, 208, 194, 0, 1765631483,'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 : 1.0230495929718018 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1765631494_1985834 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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025828_0.png', 0, 346, 303, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025830_0.png', 0, 511, 396, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025833_0.png', 0, 315, 398, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025840_0.png', 0, 1377, 1539, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025838_0.png', 0, 547, 353, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025843_0.png', 0, 443, 360, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025842_0.png', 0, 311, 153, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025852_0.png', 0, 428, 406, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025847_0.png', 0, 397, 154, 0, 1765631496,'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(1765631496), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025848_0.png', 0, 201, 478, 0, 1765631496,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.969951868057251 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/1765631498_1985834 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(1765631499), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025829_0.png', 0, 140, 204, 0, 1765631499,'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(1765631499), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025839_0.png', 0, 448, 514, 0, 1765631499,'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 : 0.745826244354248 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1765631500_1985834 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(1765631500), 0.0, 0.0, 14, '', 0, 0, '1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025857_0.png', 0, 141, 151, 0, 1765631500,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6174163818359375 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] Looping around the photos to save general results len do output : 32 /1399241807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1399241870Didn'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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.023069143295288086 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.123408555984497 time spend to save output : 0.024398326873779297 total time spend for step 2 : 29.147806882858276 step3:rle_unique_nms_with_priority Sat Dec 13 14:11:40 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 3.6692955493927 time for calcul the mask position with numpy : 1.3618311882019043 nb_pixel_total : 8004257 time to create 1 rle with new method : 1.1902167797088623 time for calcul the mask position with numpy : 0.024834394454956055 nb_pixel_total : 14249 time to create 1 rle with old method : 0.016267061233520508 time for calcul the mask position with numpy : 0.027453899383544922 nb_pixel_total : 153853 time to create 1 rle with new method : 1.3310272693634033 time for calcul the mask position with numpy : 0.02462601661682129 nb_pixel_total : 21654 time to create 1 rle with old method : 0.02420639991760254 time for calcul the mask position with numpy : 0.03116631507873535 nb_pixel_total : 76211 time to create 1 rle with old method : 0.08413290977478027 time for calcul the mask position with numpy : 0.024545907974243164 nb_pixel_total : 24176 time to create 1 rle with old method : 0.02757549285888672 create new chi : 4.229634046554565 time to delete rle : 0.02332472801208496 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 5176 TO DO : save crop sub photo not yet done ! save time : 0.39055919647216797 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 3.376793622970581 time for calcul the mask position with numpy : 0.73793625831604 nb_pixel_total : 8066809 time to create 1 rle with new method : 1.4022624492645264 time for calcul the mask position with numpy : 0.02360820770263672 nb_pixel_total : 47633 time to create 1 rle with old method : 0.05351877212524414 time for calcul the mask position with numpy : 0.03886270523071289 nb_pixel_total : 28411 time to create 1 rle with old method : 0.0323331356048584 time for calcul the mask position with numpy : 0.03942108154296875 nb_pixel_total : 29943 time to create 1 rle with old method : 0.036119699478149414 time for calcul the mask position with numpy : 0.04405689239501953 nb_pixel_total : 82657 time to create 1 rle with old method : 0.09569764137268066 time for calcul the mask position with numpy : 0.025338411331176758 nb_pixel_total : 38947 time to create 1 rle with old method : 0.044501543045043945 create new chi : 2.6151134967803955 time to delete rle : 0.0006508827209472656 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4882 TO DO : save crop sub photo not yet done ! save time : 0.35601282119750977 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 4.060028314590454 time for calcul the mask position with numpy : 1.0072171688079834 nb_pixel_total : 6361412 time to create 1 rle with new method : 1.3889520168304443 time for calcul the mask position with numpy : 0.040805816650390625 nb_pixel_total : 133621 time to create 1 rle with old method : 0.15380620956420898 time for calcul the mask position with numpy : 0.028474807739257812 nb_pixel_total : 39808 time to create 1 rle with old method : 0.04458045959472656 time for calcul the mask position with numpy : 0.024435758590698242 nb_pixel_total : 18917 time to create 1 rle with old method : 0.021714210510253906 time for calcul the mask position with numpy : 0.03581881523132324 nb_pixel_total : 1437709 time to create 1 rle with new method : 0.9058609008789062 time for calcul the mask position with numpy : 0.025435447692871094 nb_pixel_total : 127883 time to create 1 rle with old method : 0.14683842658996582 time for calcul the mask position with numpy : 0.02563619613647461 nb_pixel_total : 128673 time to create 1 rle with old method : 0.14805173873901367 time for calcul the mask position with numpy : 0.029586315155029297 nb_pixel_total : 46377 time to create 1 rle with old method : 0.05323362350463867 create new chi : 4.149347305297852 time to delete rle : 0.0009694099426269531 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 9007 TO DO : save crop sub photo not yet done ! save time : 0.6515181064605713 nb_obj : 11 nb_hashtags : 2 time to prepare the origin masks : 6.019405841827393 time for calcul the mask position with numpy : 0.8236377239227295 nb_pixel_total : 7757783 time to create 1 rle with new method : 0.5668234825134277 time for calcul the mask position with numpy : 0.026172399520874023 nb_pixel_total : 76862 time to create 1 rle with old method : 0.08487081527709961 time for calcul the mask position with numpy : 0.024067163467407227 nb_pixel_total : 26635 time to create 1 rle with old method : 0.028548717498779297 time for calcul the mask position with numpy : 0.024033308029174805 nb_pixel_total : 132568 time to create 1 rle with old method : 0.14609551429748535 time for calcul the mask position with numpy : 0.02393341064453125 nb_pixel_total : 19675 time to create 1 rle with old method : 0.021649837493896484 time for calcul the mask position with numpy : 0.02433466911315918 nb_pixel_total : 11033 time to create 1 rle with old method : 0.012604951858520508 time for calcul the mask position with numpy : 0.023634910583496094 nb_pixel_total : 8578 time to create 1 rle with old method : 0.00980687141418457 time for calcul the mask position with numpy : 0.024981975555419922 nb_pixel_total : 74976 time to create 1 rle with old method : 0.08394527435302734 time for calcul the mask position with numpy : 0.0243070125579834 nb_pixel_total : 41770 time to create 1 rle with old method : 0.04720163345336914 time for calcul the mask position with numpy : 0.023458003997802734 nb_pixel_total : 53276 time to create 1 rle with old method : 0.058365821838378906 time for calcul the mask position with numpy : 0.023892641067504883 nb_pixel_total : 42051 time to create 1 rle with old method : 0.046005964279174805 time for calcul the mask position with numpy : 0.024437665939331055 nb_pixel_total : 49193 time to create 1 rle with old method : 0.053563594818115234 create new chi : 2.2955589294433594 time to delete rle : 0.0008766651153564453 batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 8506 TO DO : save crop sub photo not yet done ! save time : 0.5452237129211426 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 3.5887253284454346 time for calcul the mask position with numpy : 0.7780182361602783 nb_pixel_total : 8051391 time to create 1 rle with new method : 0.9820868968963623 time for calcul the mask position with numpy : 0.022920608520507812 nb_pixel_total : 4227 time to create 1 rle with old method : 0.005135536193847656 time for calcul the mask position with numpy : 0.023107051849365234 nb_pixel_total : 18760 time to create 1 rle with old method : 0.020413637161254883 time for calcul the mask position with numpy : 0.0237274169921875 nb_pixel_total : 32735 time to create 1 rle with old method : 0.03480839729309082 time for calcul the mask position with numpy : 0.024799346923828125 nb_pixel_total : 187287 time to create 1 rle with new method : 1.0508959293365479 create new chi : 3.0293867588043213 time to delete rle : 0.0006785392761230469 batch 1 Loaded 9 chid ids of type : 3594 +++++++++Number RLEs to save : 5627 TO DO : save crop sub photo not yet done ! save time : 0.3787660598754883 map_output_result : {1399232870: (0.0, 'Should be the crop_list due to order', 0), 1399232869: (0.0, 'Should be the crop_list due to order', 0), 1399232868: (0.0, 'Should be the crop_list due to order', 0), 1399232866: (0.0, 'Should be the crop_list due to order', 0), 1399232859: (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 [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] Looping around the photos to save general results len do output : 5 /1399232870.Didn't retrieve data . /1399232869.Didn't retrieve data . /1399232868.Didn't retrieve data . /1399232866.Didn't retrieve data . /1399232859.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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01475834846496582 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.076314210891724 time spend to save output : 0.015088319778442383 total time spend for step 3 : 40.091402530670166 step4:ventilate_hashtags_in_portfolio Sat Dec 13 14:12: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 ! 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 : 29407188 get user id for portfolio 29407188 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`=29407188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','mal_croppe','background','carton','pehd','flou','pet_fonce','metal','pet_clair','environnement','autre')) 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`=29407188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','mal_croppe','background','carton','pehd','flou','pet_fonce','metal','pet_clair','environnement','autre')) 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`=29407188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','mal_croppe','background','carton','pehd','flou','pet_fonce','metal','pet_clair','environnement','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29407344,29407345,29407346,29407347,29407348,29407349,29407350,29407351,29407352,29407353,29407354?tags=papier,mal_croppe,background,carton,pehd,flou,pet_fonce,metal,pet_clair,environnement,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] Looping around the photos to save general results len do output : 1 /29407188. 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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015778779983520508 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9465217590332031 time spend to save output : 0.016011476516723633 total time spend for step 4 : 1.9625332355499268 step5:final Sat Dec 13 14:12:22 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 : {1399232870: ('0.07789226466049384',), 1399232869: ('0.07789226466049384',), 1399232868: ('0.07789226466049384',), 1399232866: ('0.07789226466049384',), 1399232859: ('0.07789226466049384',)} new output for save of step final : {1399232870: ('0.07789226466049384',), 1399232869: ('0.07789226466049384',), 1399232868: ('0.07789226466049384',), 1399232866: ('0.07789226466049384',), 1399232859: ('0.07789226466049384',)} [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] Looping around the photos to save general results len do output : 5 /1399232870.Didn't retrieve data . /1399232869.Didn't retrieve data . /1399232868.Didn't retrieve data . /1399232866.Didn't retrieve data . /1399232859.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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.014932870864868164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14519524574279785 time spend to save output : 0.015284299850463867 total time spend for step 5 : 0.16047954559326172 step6:blur_detection Sat Dec 13 14:12:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0.jpg resize: (2160, 3840) 1399232870 -6.135094891195415 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62.jpg resize: (2160, 3840) 1399232869 -5.931755983233031 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9.jpg resize: (2160, 3840) 1399232868 -5.86861727907211 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08.jpg resize: (2160, 3840) 1399232866 -6.055244892241863 treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48.jpg resize: (2160, 3840) 1399232859 -3.8899969974195816 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025834_0.png resize: (124, 301) 1399241807 -4.4410378431391235 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025836_0.png resize: (241, 301) 1399241808 -4.46759957391835 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025832_0.png resize: (257, 225) 1399241809 -4.436837349549617 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025837_0.png resize: (349, 202) 1399241810 -3.7882072831926195 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025841_0.png resize: (142, 172) 1399241811 -3.8532069006395346 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025846_0.png resize: (293, 266) 1399241812 -3.055750528062291 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025854_0.png resize: (391, 326) 1399241813 -4.16101933560102 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025851_0.png resize: (171, 143) 1399241814 -3.6519176790701926 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025849_0.png resize: (151, 121) 1399241815 -2.947544111932393 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025845_0.png resize: (272, 232) 1399241816 -3.111218132171647 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025853_0.png resize: (233, 203) 1399241817 -2.6771486484275235 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025844_0.png resize: (225, 403) 1399241818 -3.9717117628486407 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025850_0.png resize: (166, 79) 1399241819 -2.7979813577414796 treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025827_0.png resize: (202, 235) 1399241820 -2.725552064958865 treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025831_0.png resize: (109, 185) 1399241821 -2.948332804295105 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025835_0.png resize: (285, 155) 1399241822 -3.8375267017456034 treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025858_0.png resize: (822, 708) 1399241825 0.9176866822649465 treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025855_0.png resize: (884, 1079) 1399241826 -2.250336793422219 treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025856_0.png resize: (194, 208) 1399241827 -3.2611531982716797 treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025828_0.png resize: (303, 346) 1399241853 -4.056528123664473 treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025830_0.png resize: (396, 511) 1399241854 -4.433124928172886 treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025833_0.png resize: (398, 315) 1399241855 -4.405317393482451 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025840_0.png resize: (1539, 1377) 1399241857 -3.2776423720615484 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025838_0.png resize: (353, 547) 1399241858 -4.045676256419969 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025843_0.png resize: (360, 443) 1399241859 -5.047935743498068 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025842_0.png resize: (153, 311) 1399241861 -1.6702017967567284 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025852_0.png resize: (406, 428) 1399241862 -5.779627533293196 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025847_0.png resize: (154, 397) 1399241863 -2.329461718833588 treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025848_0.png resize: (478, 201) 1399241865 -4.381303418460894 treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025829_0.png resize: (204, 140) 1399241868 -2.3254876446377115 treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025839_0.png resize: (514, 448) 1399241869 -3.6818863887566393 treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025857_0.png resize: (151, 141) 1399241870 -3.994920224508436 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 : 37 time used for this insertion : 0.01469874382019043 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.017070531845092773 save missing photos in datou_result : time spend for datou_step_exec : 22.405725240707397 time spend to save output : 0.037970542907714844 total time spend for step 6 : 22.443695783615112 step7:brightness Sat Dec 13 14:12:45 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/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0.jpg treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62.jpg treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9.jpg treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08.jpg treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48.jpg treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025834_0.png treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025836_0.png treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025832_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025837_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025841_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025846_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025854_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025851_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025849_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025845_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025853_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025844_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025850_0.png treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025827_0.png treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025831_0.png treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025835_0.png treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025858_0.png treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025855_0.png treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025856_0.png treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025828_0.png treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025830_0.png treat image : temp/1765631429_1985834_1399232869_535d53111a747d805c340180fb034f62_rle_crop_4069025833_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025840_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025838_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025843_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025842_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025852_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025847_0.png treat image : temp/1765631429_1985834_1399232866_83c394e239d658a9964dcad637df4d08_rle_crop_4069025848_0.png treat image : temp/1765631429_1985834_1399232870_51e54debb718f1821ddbe0d7bdc1caa0_rle_crop_4069025829_0.png treat image : temp/1765631429_1985834_1399232868_5dbbe6caf59583ef275097da0852d8b9_rle_crop_4069025839_0.png treat image : temp/1765631429_1985834_1399232859_6beecc6fc5aead005cb0b29902e4df48_rle_crop_4069025857_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 : 37 time used for this insertion : 0.015112876892089844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.017007112503051758 save missing photos in datou_result : time spend for datou_step_exec : 5.2316505908966064 time spend to save output : 0.037491559982299805 total time spend for step 7 : 5.269142150878906 step8:velours_tree Sat Dec 13 14:12:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.10907745361328125 time spend to save output : 4.3392181396484375e-05 total time spend for step 8 : 0.10912084579467773 step9:send_mail_cod Sat Dec 13 14:12:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P29407188_13-12-2025_14_12_50.pdf 29407344 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 .imagette294073441765631570 29407345 imagette294073451765631572 29407346 imagette294073461765631572 29407347 change filename to text .change filename to text .change filename to text .imagette294073471765631572 29407348 change filename to text .imagette294073481765631572 29407349 imagette294073491765631572 29407350 imagette294073501765631572 29407351 change filename to text .change filename to text .change filename to text .imagette294073511765631572 29407352 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 .imagette294073521765631572 29407354 change filename to text .change filename to text .imagette294073541765631573 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29407188 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29407344,29407345,29407346,29407347,29407348,29407349,29407350,29407351,29407352,29407353,29407354?tags=papier,mal_croppe,background,carton,pehd,flou,pet_fonce,metal,pet_clair,environnement,autre your option no_mail is active, we will not send the real mail to your client args[1399232870] : ((1399232870, -6.135094891195415, 492609224), (1399232870, 0.1782756503308372, 2107752395), '0.07789226466049384') We are sending mail with results at report@fotonower.com args[1399232869] : ((1399232869, -5.931755983233031, 492609224), (1399232869, -0.2326137517004066, 496442774), '0.07789226466049384') We are sending mail with results at report@fotonower.com args[1399232868] : ((1399232868, -5.86861727907211, 492609224), (1399232868, -0.1498998570629945, 496442774), '0.07789226466049384') We are sending mail with results at report@fotonower.com args[1399232866] : ((1399232866, -6.055244892241863, 492609224), (1399232866, 0.1157158740280899, 2107752395), '0.07789226466049384') We are sending mail with results at report@fotonower.com args[1399232859] : ((1399232859, -3.8899969974195816, 492609224), (1399232859, -1.8818389382346132, 501862349), '0.07789226466049384') We are sending mail with results at report@fotonower.com refus_total : 0.07789226466049384 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=29407188 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_P29407188_13-12-2025_14_12_50.pdf results_Auto_P29407188_13-12-2025_14_12_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29407188_13-12-2025_14_12_50.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','29407188','results_Auto_P29407188_13-12-2025_14_12_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29407188_13-12-2025_14_12_50.pdf','pdf','','0.51','0.07789226466049384') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] 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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.019529342651367188 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.802897214889526 time spend to save output : 0.01983046531677246 total time spend for step 9 : 4.822727680206299 step10:split_time_score Sat Dec 13 14:12:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('12', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13122025 29407188 Nombre de photos uploadées : 5 / 23040 (0%) 13122025 29407188 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 13122025 29407188 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003211498260498047 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2524070739746094 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.011599474289905624 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29405129_13-12-2025_09_38_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29405129 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`=29405129 AND mptpi.`type`=3726 To do Qualite : 0.07789226466049384 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29407188_13-12-2025_14_12_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29407188 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`=29407188 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13122025': {'nb_upload': 5, '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 [1399232870, 1399232869, 1399232868, 1399232866, 1399232859] Looping around the photos to save general results len do output : 1 /29407188Didn'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, '4219718') ('3318', '29407188', '1399232870', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232869', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232868', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232866', None, None, None, None, None, '4219718') ('3318', None, None, None, None, None, None, None, '4219718') ('3318', '29407188', '1399232859', None, None, None, None, None, '4219718') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.017642736434936523 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6088612079620361 time spend to save output : 0.017773151397705078 total time spend for step 10 : 0.6266343593597412 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 66.19user 64.34system 2:30.77elapsed 86%CPU (0avgtext+0avgdata 3574768maxresident)k 756168inputs+71264outputs (5726major+5293550minor)pagefaults 0swaps