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 : 1706536 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 : ['4346209'] with mtr_portfolio_ids : ['30443393'] and first list_photo_ids : [] new path : /proc/1706536/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.5556902885437012 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Feb 19 00:50:29 2026 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 havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 2053 wait 20 seconds l 3637 free memory gpu now : 2053 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-02-19 00:50:52.520559: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-02-19 00:50:52.546539: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-02-19 00:50:52.548314: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fde24000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-02-19 00:50:52.548360: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-02-19 00:50:52.550810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-02-19 00:50:52.689782: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3afd1120 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-02-19 00:50:52.689815: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-02-19 00:50:52.690457: 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 2026-02-19 00:50:52.690753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 00:50:52.692840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 00:50:52.694817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 00:50:52.695136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 00:50:52.697215: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 00:50:52.698189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 00:50:52.702555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 00:50:52.703554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 00:50:52.703636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 00:50:52.704141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-19 00:50:52.704157: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-19 00:50:52.704179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-19 00:50:52.704965: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1676 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. 2026-02-19 00:50:52.955697: 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 2026-02-19 00:50:52.955818: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 00:50:52.955836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 00:50:52.955853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 00:50:52.955868: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 00:50:52.955883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 00:50:52.955898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 00:50:52.955914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 00:50:52.956589: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 00:50:52.957423: 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 2026-02-19 00:50:52.957450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 00:50:52.957464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 00:50:52.957477: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 00:50:52.957490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 00:50:52.957502: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 00:50:52.957515: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 00:50:52.957528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 00:50:52.958187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 00:50:52.958218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-19 00:50:52.958226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-19 00:50:52.958233: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-19 00:50:52.958958: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1676 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 : [] 2026-02-19 00:51:01.264602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 00:51:01.443129: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 00:51:02.672316: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.672368: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.678721: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.678744: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.727416: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.727463: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.768840: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.768866: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.814508: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.814535: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 00:51:02.815880: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2026-02-19 00:51:02.831769: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.832705: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.857737: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.858258: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.859685: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.860187: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.865352: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.865854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.867460: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.868011: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.873377: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.873879: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.875303: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.875804: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.901409: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.901968: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.902530: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.903071: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.906400: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.906905: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.921899: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.922426: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.922926: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.923423: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.935522: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.936085: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.936632: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.937186: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.941255: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.941757: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.946093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.946667: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.958269: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.958842: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.962822: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.963356: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.964002: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.964505: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.975073: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.975607: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.976170: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.976717: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.977251: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:02.977761: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.056456: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.056971: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.077176: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.077730: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.078239: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.078743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.082855: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.083441: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.084116: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.084786: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.085999: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.086020: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2026-02-19 00:51:03.096320: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.096813: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.105669: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.106170: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.106684: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.107182: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.107686: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 00:51:03.108181: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.14G (1222311936 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 10.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 1706878 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 860 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2053 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 = [0, 0, 1017, 1203] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.01185917854309082 nb_pixel_total : 788953 time to create 1 rle with new method : 0.07253456115722656 length of segment : 985 DEBUG bbox = [3, 1032, 96, 1200] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001888275146484375 nb_pixel_total : 12530 time to create 1 rle with old method : 0.013835668563842773 length of segment : 103 DEBUG bbox = [0, 0, 1041, 1158] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.01083517074584961 nb_pixel_total : 781637 time to create 1 rle with new method : 0.1392521858215332 length of segment : 1027 DEBUG bbox = [873, 309, 1059, 498] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002892017364501953 nb_pixel_total : 20216 time to create 1 rle with old method : 0.02135300636291504 length of segment : 182 DEBUG bbox = [507, 1527, 1065, 1920] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0014462471008300781 nb_pixel_total : 117371 time to create 1 rle with old method : 0.12228059768676758 length of segment : 552 DEBUG bbox = [12, 957, 138, 1005] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 3665 time to create 1 rle with old method : 0.004092216491699219 length of segment : 126 DEBUG bbox = [411, 1308, 525, 1575] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 16936 time to create 1 rle with old method : 0.01880645751953125 length of segment : 100 DEBUG bbox = [0, 0, 1050, 1440] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.04967188835144043 nb_pixel_total : 1224596 time to create 1 rle with new method : 0.1541895866394043 length of segment : 1650 DEBUG bbox = [384, 1005, 495, 1152] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001838207244873047 nb_pixel_total : 12067 time to create 1 rle with old method : 0.012978315353393555 length of segment : 112 DEBUG bbox = [399, 1677, 588, 1812] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002071857452392578 nb_pixel_total : 11396 time to create 1 rle with old method : 0.012983322143554688 length of segment : 182 DEBUG bbox = [462, 1407, 510, 1536] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.462501525878906e-05 nb_pixel_total : 3326 time to create 1 rle with old method : 0.004034519195556641 length of segment : 39 DEBUG bbox = [306, 1080, 432, 1188] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012636184692382812 nb_pixel_total : 7542 time to create 1 rle with old method : 0.008423089981079102 length of segment : 113 DEBUG bbox = [306, 1074, 426, 1176] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012159347534179688 nb_pixel_total : 7211 time to create 1 rle with old method : 0.007952213287353516 length of segment : 106 DEBUG bbox = [24, 78, 972, 1722] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.013719797134399414 nb_pixel_total : 1180510 time to create 1 rle with new method : 0.05743408203125 length of segment : 1875 time spent for convertir_results : 2.129594564437866 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 14 chid ids of type : 3594 Number RLEs to save : 7152 save missing photos in datou_result : time spend for datou_step_exec : 43.95134925842285 time spend to save output : 0.5306062698364258 total time spend for step 1 : 44.48195552825928 step2:crop_condition Thu Feb 19 00:51:14 2026 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 : 9 ! batch 1 Loaded 14 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 ! 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/1771458675_1706536 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(1771458675), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901799_0.png', 0, 91, 109, 0, 1771458675,'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(1771458675), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901798_0.png', 0, 116, 35, 0, 1771458675,'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.7967422008514404 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 ! 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/1771458676_1706536 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(1771458676), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901797_0.png', 0, 121, 182, 0, 1771458676,'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(1771458676), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901800_0.png', 0, 89, 104, 0, 1771458676,'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.7214183807373047 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1771458693_1706536 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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394349089_df85dbb11e164082501ad16e83ad044a_rle_crop_4135901788_0.png', 0, 1147, 982, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901790_0.png', 0, 1093, 991, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901789_0.png', 0, 167, 89, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348813_772f8501c4c8884b88a9054cb615729d_rle_crop_4135901791_0.png', 0, 181, 182, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901795_0.png', 0, 1400, 1008, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901796_0.png', 0, 141, 104, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901794_0.png', 0, 226, 96, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901792_0.png', 0, 356, 550, 0, 1771458695,'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(1771458695), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901801_0.png', 0, 1638, 942, 0, 1771458695,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.550835371017456 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 ! 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/1771458696_1706536 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(1771458696), 0.0, 0.0, 14, '', 0, 0, '1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901793_0.png', 0, 45, 126, 0, 1771458696,'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.7314708232879639 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] Looping around the photos to save general results len do output : 14 /1408780492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408780788Didn'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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.02156352996826172 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.676339864730835 time spend to save output : 0.022311687469482422 total time spend for step 2 : 22.698651552200317 step3:rle_unique_nms_with_priority Thu Feb 19 00:51:37 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 14 chid ids of type : 3594 ++++++++++++++++++ No data in photo_id : 1394349128 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.22889375686645508 time for calcul the mask position with numpy : 0.05265164375305176 nb_pixel_total : 1284647 time to create 1 rle with new method : 0.22601938247680664 time for calcul the mask position with numpy : 0.028921127319335938 nb_pixel_total : 788953 time to create 1 rle with new method : 0.2015388011932373 create new chi : 0.5252532958984375 time to delete rle : 0.031229734420776367 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3050 TO DO : save crop sub photo not yet done ! save time : 0.25403428077697754 No data in photo_id : 1394349039 No data in photo_id : 1394349035 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.31343841552734375 time for calcul the mask position with numpy : 0.050018310546875 nb_pixel_total : 1280374 time to create 1 rle with new method : 0.2563509941101074 time for calcul the mask position with numpy : 0.01091456413269043 nb_pixel_total : 780696 time to create 1 rle with new method : 0.09291458129882812 time for calcul the mask position with numpy : 0.0067522525787353516 nb_pixel_total : 12530 time to create 1 rle with old method : 0.012567996978759766 create new chi : 0.44394421577453613 time to delete rle : 0.00041985511779785156 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3303 TO DO : save crop sub photo not yet done ! save time : 0.26248621940612793 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03541135787963867 time for calcul the mask position with numpy : 0.17803025245666504 nb_pixel_total : 2053384 time to create 1 rle with new method : 0.40218091011047363 time for calcul the mask position with numpy : 0.00602412223815918 nb_pixel_total : 20216 time to create 1 rle with old method : 0.020656347274780273 create new chi : 0.6164333820343018 time to delete rle : 0.0002028942108154297 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1444 TO DO : save crop sub photo not yet done ! save time : 0.13429641723632812 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.4151909351348877 time for calcul the mask position with numpy : 0.02707362174987793 nb_pixel_total : 709303 time to create 1 rle with new method : 0.09703660011291504 time for calcul the mask position with numpy : 0.006235599517822266 nb_pixel_total : 11396 time to create 1 rle with old method : 0.012037515640258789 time for calcul the mask position with numpy : 0.14558076858520508 nb_pixel_total : 1214929 time to create 1 rle with new method : 0.08959078788757324 time for calcul the mask position with numpy : 0.006341218948364258 nb_pixel_total : 16936 time to create 1 rle with old method : 0.01759195327758789 time for calcul the mask position with numpy : 0.005792379379272461 nb_pixel_total : 3665 time to create 1 rle with old method : 0.00372314453125 time for calcul the mask position with numpy : 0.006193876266479492 nb_pixel_total : 117371 time to create 1 rle with old method : 0.1279754638671875 create new chi : 0.5609381198883057 time to delete rle : 0.0006544589996337891 batch 1 Loaded 12 chid ids of type : 3594 +++++++Number RLEs to save : 6216 TO DO : save crop sub photo not yet done ! save time : 0.44942784309387207 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04289603233337402 time for calcul the mask position with numpy : 0.02001500129699707 nb_pixel_total : 2062732 time to create 1 rle with new method : 0.02797222137451172 time for calcul the mask position with numpy : 0.005816936492919922 nb_pixel_total : 7542 time to create 1 rle with old method : 0.008041620254516602 time for calcul the mask position with numpy : 0.005804538726806641 nb_pixel_total : 3326 time to create 1 rle with old method : 0.003565549850463867 create new chi : 0.07146835327148438 time to delete rle : 0.0002372264862060547 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1384 TO DO : save crop sub photo not yet done ! save time : 0.1341860294342041 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.18391203880310059 time for calcul the mask position with numpy : 0.03508162498474121 nb_pixel_total : 892972 time to create 1 rle with new method : 0.16417598724365234 time for calcul the mask position with numpy : 0.045430898666381836 nb_pixel_total : 1173417 time to create 1 rle with new method : 0.15696096420288086 time for calcul the mask position with numpy : 0.006325721740722656 nb_pixel_total : 7211 time to create 1 rle with old method : 0.007567167282104492 create new chi : 0.4307441711425781 time to delete rle : 0.0005550384521484375 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 5032 TO DO : save crop sub photo not yet done ! save time : 0.3722267150878906 map_output_result : {1394349128: (0.0, 'Should be the crop_list due to order', 0.0), 1394349089: (0.0, 'Should be the crop_list due to order', 0), 1394349039: (0.0, 'Should be the crop_list due to order', 0.0), 1394349035: (0.0, 'Should be the crop_list due to order', 0.0), 1394349032: (0.0, 'Should be the crop_list due to order', 0), 1394348813: (0.0, 'Should be the crop_list due to order', 0), 1394348810: (0.0, 'Should be the crop_list due to order', 0), 1394348796: (0.0, 'Should be the crop_list due to order', 0), 1394348792: (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 [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] Looping around the photos to save general results len do output : 9 /1394349128.Didn't retrieve data . /1394349089.Didn't retrieve data . /1394349039.Didn't retrieve data . /1394349035.Didn't retrieve data . /1394349032.Didn't retrieve data . /1394348813.Didn't retrieve data . /1394348810.Didn't retrieve data . /1394348796.Didn't retrieve data . /1394348792.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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015505552291870117 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.789140939712524 time spend to save output : 0.015965700149536133 total time spend for step 3 : 5.8051066398620605 step4:ventilate_hashtags_in_portfolio Thu Feb 19 00:51:42 2026 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 : 30443393 get user id for portfolio 30443393 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`=30443393 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','pet_fonce','mal_croppe','papier','carton','background','pehd','autre','metal')) 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`=30443393 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','pet_fonce','mal_croppe','papier','carton','background','pehd','autre','metal')) 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`=30443393 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','pet_fonce','mal_croppe','papier','carton','background','pehd','autre','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30443573,30443574,30443575,30443576,30443578,30443579,30443580,30443581,30443582,30443583,30443584?tags=flou,pet_clair,environnement,pet_fonce,mal_croppe,papier,carton,background,pehd,autre,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] Looping around the photos to save general results len do output : 1 /30443393. 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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015944719314575195 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8954010009765625 time spend to save output : 0.016183853149414062 total time spend for step 4 : 1.9115848541259766 step5:final Thu Feb 19 00:51:44 2026 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 : {1394349128: ('0.2228109996570645',), 1394349089: ('0.2228109996570645',), 1394349039: ('0.2228109996570645',), 1394349035: ('0.2228109996570645',), 1394349032: ('0.2228109996570645',), 1394348813: ('0.2228109996570645',), 1394348810: ('0.2228109996570645',), 1394348796: ('0.2228109996570645',), 1394348792: ('0.2228109996570645',)} new output for save of step final : {1394349128: ('0.2228109996570645',), 1394349089: ('0.2228109996570645',), 1394349039: ('0.2228109996570645',), 1394349035: ('0.2228109996570645',), 1394349032: ('0.2228109996570645',), 1394348813: ('0.2228109996570645',), 1394348810: ('0.2228109996570645',), 1394348796: ('0.2228109996570645',), 1394348792: ('0.2228109996570645',)} [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] Looping around the photos to save general results len do output : 9 /1394349128.Didn't retrieve data . /1394349089.Didn't retrieve data . /1394349039.Didn't retrieve data . /1394349035.Didn't retrieve data . /1394349032.Didn't retrieve data . /1394348813.Didn't retrieve data . /1394348810.Didn't retrieve data . /1394348796.Didn't retrieve data . /1394348792.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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015101194381713867 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1617295742034912 time spend to save output : 0.01564788818359375 total time spend for step 5 : 0.17737746238708496 step6:blur_detection Thu Feb 19 00:51:44 2026 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/1771458628_1706536_1394349128_63d0d60843d6c5c6533781b255b498d5.jpg resize: (1080, 1920) 1394349128 -1.8619776472322764 treat image : temp/1771458628_1706536_1394349089_df85dbb11e164082501ad16e83ad044a.jpg resize: (1080, 1920) 1394349089 -2.5543922699457386 treat image : temp/1771458628_1706536_1394349039_77b7e984339d1b9e9870681fb7124923.jpg resize: (1080, 1920) 1394349039 -2.6012042269002813 treat image : temp/1771458628_1706536_1394349035_8a864d2850a3e460eb6f1a9091dca625.jpg resize: (1080, 1920) 1394349035 1.636067271787818 treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b.jpg resize: (1080, 1920) 1394349032 -1.1051278276836147 treat image : temp/1771458628_1706536_1394348813_772f8501c4c8884b88a9054cb615729d.jpg resize: (1080, 1920) 1394348813 -2.6354567664659356 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1.jpg resize: (1080, 1920) 1394348810 -2.506673318236182 treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1.jpg resize: (1080, 1920) 1394348796 0.0741853548977988 treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda.jpg resize: (1080, 1920) 1394348792 -4.3607554421301655 treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901799_0.png resize: (109, 91) 1408780492 -0.25108875947671283 treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901798_0.png resize: (35, 116) 1408780493 20.0 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901797_0.png resize: (182, 121) 1408780503 -1.9623028086835452 treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901800_0.png resize: (104, 89) 1408780505 -0.6004016896049059 treat image : temp/1771458628_1706536_1394349089_df85dbb11e164082501ad16e83ad044a_rle_crop_4135901788_0.png resize: (982, 1147) 1408780767 0.2913637991757069 treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901790_0.png resize: (991, 1093) 1408780768 0.3138064366764162 treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901789_0.png resize: (89, 167) 1408780770 -2.0636153524055096 treat image : temp/1771458628_1706536_1394348813_772f8501c4c8884b88a9054cb615729d_rle_crop_4135901791_0.png resize: (182, 181) 1408780771 -2.9764994865528975 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901795_0.png resize: (1008, 1400) 1408780772 -2.485839237164202 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901796_0.png resize: (104, 141) 1408780774 -5.010802332357083 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901794_0.png resize: (96, 226) 1408780775 -2.0943240304987825 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901792_0.png resize: (550, 356) 1408780776 0.27864121593811003 treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901801_0.png resize: (942, 1638) 1408780778 -3.296527368431772 treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901793_0.png resize: (126, 45) 1408780788 -1.142272242658219 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 : 23 time used for this insertion : 0.014300107955932617 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.015408754348754883 save missing photos in datou_result : time spend for datou_step_exec : 8.685083627700806 time spend to save output : 0.035604000091552734 total time spend for step 6 : 8.720687627792358 step7:brightness Thu Feb 19 00:51:53 2026 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/1771458628_1706536_1394349128_63d0d60843d6c5c6533781b255b498d5.jpg treat image : temp/1771458628_1706536_1394349089_df85dbb11e164082501ad16e83ad044a.jpg treat image : temp/1771458628_1706536_1394349039_77b7e984339d1b9e9870681fb7124923.jpg treat image : temp/1771458628_1706536_1394349035_8a864d2850a3e460eb6f1a9091dca625.jpg treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b.jpg treat image : temp/1771458628_1706536_1394348813_772f8501c4c8884b88a9054cb615729d.jpg treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1.jpg treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1.jpg treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda.jpg treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901799_0.png treat image : temp/1771458628_1706536_1394348796_418546618b1a69d7e86bd37b455541e1_rle_crop_4135901798_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901797_0.png treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901800_0.png treat image : temp/1771458628_1706536_1394349089_df85dbb11e164082501ad16e83ad044a_rle_crop_4135901788_0.png treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901790_0.png treat image : temp/1771458628_1706536_1394349032_d810df3670a6ef195aec3d65767c3c6b_rle_crop_4135901789_0.png treat image : temp/1771458628_1706536_1394348813_772f8501c4c8884b88a9054cb615729d_rle_crop_4135901791_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901795_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901796_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901794_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901792_0.png treat image : temp/1771458628_1706536_1394348792_b3a45a960d81e1be29775cd3628f3dda_rle_crop_4135901801_0.png treat image : temp/1771458628_1706536_1394348810_149aff1ce314ed5993888e9c41dac6f1_rle_crop_4135901793_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 : 23 time used for this insertion : 0.01639699935913086 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.015190601348876953 save missing photos in datou_result : time spend for datou_step_exec : 2.3977272510528564 time spend to save output : 0.03691720962524414 total time spend for step 7 : 2.4346444606781006 step8:velours_tree Thu Feb 19 00:51:56 2026 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.13089418411254883 time spend to save output : 4.076957702636719e-05 total time spend for step 8 : 0.1309349536895752 step9:send_mail_cod Thu Feb 19 00:51:56 2026 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_P30443393_19-02-2026_00_51_56.pdf Dont find os.environ['TEMPS'] 30443573 imagette304435731771458716 30443574 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 .imagette304435741771458716 30443576 imagette304435761771458717 30443578 imagette304435781771458717 30443579 change filename to text .change filename to text .imagette304435791771458717 30443580 change filename to text .change filename to text .imagette304435801771458717 30443581 imagette304435811771458717 30443582 imagette304435821771458717 30443583 change filename to text .imagette304435831771458717 30443584 imagette304435841771458717 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30443393 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30443573,30443574,30443575,30443576,30443578,30443579,30443580,30443581,30443582,30443583,30443584?tags=flou,pet_clair,environnement,pet_fonce,mal_croppe,papier,carton,background,pehd,autre,metal Dont find os.environ['TEMPS'] your option no_mail is active, we will not send the real mail to your client args[1394349128] : ((1394349128, -1.8619776472322764, 492688767), (1394349128, 0.4285751097923945, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394349089] : ((1394349089, -2.5543922699457386, 492609224), (1394349089, 0.5617057909323461, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394349039] : ((1394349039, -2.6012042269002813, 492609224), (1394349039, 0.6639643169975855, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394349035] : ((1394349035, 1.636067271787818, 492688767), (1394349035, 0.7231269802573285, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394349032] : ((1394349032, -1.1051278276836147, 492688767), (1394349032, 0.5051673390935618, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394348813] : ((1394348813, -2.6354567664659356, 492609224), (1394348813, 0.4439925756002953, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394348810] : ((1394348810, -2.506673318236182, 492609224), (1394348810, 0.5930963879261698, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394348796] : ((1394348796, 0.0741853548977988, 492688767), (1394348796, 0.3943400389715252, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com args[1394348792] : ((1394348792, -4.3607554421301655, 492609224), (1394348792, 0.46372623286914955, 2107752395), '0.2228109996570645') We are sending mail with results at report@fotonower.com refus_total : 0.2228109996570645 2022-04-13 10:29:59 0 Dont find os.environ['TEMPS'] 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=30443393 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_P30443393_19-02-2026_00_51_56.pdf results_Auto_P30443393_19-02-2026_00_51_56.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30443393_19-02-2026_00_51_56.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','30443393','results_Auto_P30443393_19-02-2026_00_51_56.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30443393_19-02-2026_00_51_56.pdf','pdf','','0.48','0.2228109996570645') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] 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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016837596893310547 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5792505741119385 time spend to save output : 0.017021656036376953 total time spend for step 9 : 2.5962722301483154 step10:split_time_score Thu Feb 19 00:51:58 2026 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'}] (('09', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29102025 30443393 Nombre de photos uploadées : 9 / 23040 (0%) 29102025 30443393 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 29102025 30443393 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004849433898925781 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23324847221374512 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30443382 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30443387 order by id desc limit 1 Qualite : 0.2228109996570645 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30443393_19-02-2026_00_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30443393 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`=30443393 AND mptpi.`type`=3594 To do Qualite : 0.16803205667789 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27930307_30-10-2025_00_51_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27930307 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`=27930307 AND mptpi.`type`=3594 To do Qualite : 0.019487244405864197 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106779_03-11-2025_17_11_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106779 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`=28106779 AND mptpi.`type`=3594 To do Qualite : 0.03321498842592593 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918366_29-10-2025_21_01_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918366 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`=27918366 AND mptpi.`type`=3594 To do Qualite : 0.0282281279677113 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918372_29-10-2025_19_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918372 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`=27918372 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29102025': {'nb_upload': 9, '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 [1394349128, 1394349089, 1394349039, 1394349035, 1394349032, 1394348813, 1394348810, 1394348796, 1394348792] Looping around the photos to save general results len do output : 1 /30443393Didn'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, '4346209') ('3318', '30443393', '1394349128', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349089', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349039', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349035', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394349032', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348813', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348810', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348796', None, None, None, None, None, '4346209') ('3318', None, None, None, None, None, None, None, '4346209') ('3318', '30443393', '1394348792', None, None, None, None, None, '4346209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015278339385986328 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.619781017303467 time spend to save output : 0.015450716018676758 total time spend for step 10 : 3.6352317333221436 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 42.29user 21.41system 1:38.04elapsed 64%CPU (0avgtext+0avgdata 2590412maxresident)k 527456inputs+33848outputs (115major+1466776minor)pagefaults 0swaps