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 : 949871 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 : ['3683709'] with mtr_portfolio_ids : ['26680696'] and first list_photo_ids : [] new path : /proc/949871/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.6402571201324463 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 Tue Sep 9 11:20:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10598 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-09 11:20:34.892514: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-09 11:20:34.920505: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-09 11:20:34.922932: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fcec4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-09 11:20:34.922993: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-09 11:20:34.927773: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-09 11:20:35.080590: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3671b1e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-09 11:20:35.080656: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-09 11:20:35.081935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-09 11:20:35.082393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-09 11:20:35.085585: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-09 11:20:35.088651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-09 11:20:35.089131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-09 11:20:35.092092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-09 11:20:35.093205: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-09 11:20:35.098339: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-09 11:20:35.099791: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-09 11:20:35.099869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-09 11:20:35.100693: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-09 11:20:35.100717: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-09 11:20:35.100727: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-09 11:20:35.102096: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9517 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-09 11:20:35.360768: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-09 11:20:35.360885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-09 11:20:35.360906: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-09 11:20:35.360925: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-09 11:20:35.360942: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-09 11:20:35.360960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-09 11:20:35.360977: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-09 11:20:35.360996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-09 11:20:35.362570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-09 11:20:35.364005: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-09 11:20:35.364042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-09 11:20:35.364061: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-09 11:20:35.364078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-09 11:20:35.364094: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-09 11:20:35.364111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-09 11:20:35.364128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-09 11:20:35.364144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-09 11:20:35.365829: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-09 11:20:35.365871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-09 11:20:35.365883: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-09 11:20:35.365894: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-09 11:20:35.367549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9517 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-09 11:20:44.249798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-09 11:20:44.466947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 46.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: 16.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 : 17 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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: 83.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 Detection mask done ! Trying to reset tf kernel 950537 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5306 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 10598 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.00017642974853515625 nb_pixel_total : 4051 time to create 1 rle with old method : 0.00537419319152832 length of segment : 92 time for calcul the mask position with numpy : 0.0002551078796386719 nb_pixel_total : 12333 time to create 1 rle with old method : 0.017175912857055664 length of segment : 103 time for calcul the mask position with numpy : 0.00011682510375976562 nb_pixel_total : 2910 time to create 1 rle with old method : 0.004498720169067383 length of segment : 56 time for calcul the mask position with numpy : 0.000270843505859375 nb_pixel_total : 10759 time to create 1 rle with old method : 0.013262271881103516 length of segment : 135 time for calcul the mask position with numpy : 0.0004470348358154297 nb_pixel_total : 14137 time to create 1 rle with old method : 0.020679950714111328 length of segment : 132 time for calcul the mask position with numpy : 0.00027298927307128906 nb_pixel_total : 12726 time to create 1 rle with old method : 0.016138315200805664 length of segment : 159 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 8819 time to create 1 rle with old method : 0.011071443557739258 length of segment : 162 time for calcul the mask position with numpy : 0.00012302398681640625 nb_pixel_total : 4972 time to create 1 rle with old method : 0.006772756576538086 length of segment : 129 time for calcul the mask position with numpy : 0.00022339820861816406 nb_pixel_total : 5205 time to create 1 rle with old method : 0.00998234748840332 length of segment : 80 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 9362 time to create 1 rle with old method : 0.012572288513183594 length of segment : 132 time for calcul the mask position with numpy : 0.000225067138671875 nb_pixel_total : 7999 time to create 1 rle with old method : 0.009729862213134766 length of segment : 142 time for calcul the mask position with numpy : 0.00026035308837890625 nb_pixel_total : 11357 time to create 1 rle with old method : 0.0156710147857666 length of segment : 135 time for calcul the mask position with numpy : 0.00010275840759277344 nb_pixel_total : 1692 time to create 1 rle with old method : 0.002783060073852539 length of segment : 42 time for calcul the mask position with numpy : 0.00012755393981933594 nb_pixel_total : 2682 time to create 1 rle with old method : 0.004840850830078125 length of segment : 65 time for calcul the mask position with numpy : 0.00017881393432617188 nb_pixel_total : 5599 time to create 1 rle with old method : 0.009075403213500977 length of segment : 70 time for calcul the mask position with numpy : 0.001588582992553711 nb_pixel_total : 88856 time to create 1 rle with old method : 0.11455726623535156 length of segment : 519 time for calcul the mask position with numpy : 0.0005338191986083984 nb_pixel_total : 27415 time to create 1 rle with old method : 0.03412675857543945 length of segment : 376 time for calcul the mask position with numpy : 0.00040078163146972656 nb_pixel_total : 20723 time to create 1 rle with old method : 0.026118040084838867 length of segment : 105 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 2931 time to create 1 rle with old method : 0.0037736892700195312 length of segment : 72 time for calcul the mask position with numpy : 9.489059448242188e-05 nb_pixel_total : 2106 time to create 1 rle with old method : 0.0027234554290771484 length of segment : 46 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 5849 time to create 1 rle with old method : 0.0070819854736328125 length of segment : 86 time for calcul the mask position with numpy : 0.00021600723266601562 nb_pixel_total : 10421 time to create 1 rle with old method : 0.01285552978515625 length of segment : 140 time for calcul the mask position with numpy : 0.00024437904357910156 nb_pixel_total : 8762 time to create 1 rle with old method : 0.010684013366699219 length of segment : 144 time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 2745 time to create 1 rle with old method : 0.003384828567504883 length of segment : 79 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 3922 time to create 1 rle with old method : 0.005057096481323242 length of segment : 154 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 14437 time to create 1 rle with old method : 0.017157554626464844 length of segment : 158 time for calcul the mask position with numpy : 0.00028228759765625 nb_pixel_total : 14863 time to create 1 rle with old method : 0.017479419708251953 length of segment : 142 time for calcul the mask position with numpy : 0.00018668174743652344 nb_pixel_total : 8112 time to create 1 rle with old method : 0.00989842414855957 length of segment : 102 time for calcul the mask position with numpy : 0.000179290771484375 nb_pixel_total : 8187 time to create 1 rle with old method : 0.009995460510253906 length of segment : 125 time for calcul the mask position with numpy : 0.00014209747314453125 nb_pixel_total : 5889 time to create 1 rle with old method : 0.00719904899597168 length of segment : 114 time for calcul the mask position with numpy : 0.0002796649932861328 nb_pixel_total : 13463 time to create 1 rle with old method : 0.016763925552368164 length of segment : 128 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 4991 time to create 1 rle with old method : 0.00614166259765625 length of segment : 60 time spent for convertir_results : 1.4174535274505615 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 4184 save missing photos in datou_result : time spend for datou_step_exec : 27.45848512649536 time spend to save output : 0.3343193531036377 total time spend for step 1 : 27.792804479599 step2:crop_condition Tue Sep 9 11:20:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! batch 1 Loaded 32 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757409661_949871 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.172279119491577 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 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 ! 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 : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757409667_949871 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.8613498210906982 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/1757409670_949871 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.7391655445098877 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] Looping around the photos to save general results len do output : 32 /1382756945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382756979Didn'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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 time used for this insertion : 0.022418498992919922 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.438477039337158 time spend to save output : 0.023885250091552734 total time spend for step 2 : 11.462362289428711 step3:rle_unique_nms_with_priority Tue Sep 9 11:21:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 32 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1382750166 No data in photo_id : 1382750139 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 1.385497808456421 time for calcul the mask position with numpy : 0.4428064823150635 nb_pixel_total : 2029410 time to create 1 rle with new method : 0.07814311981201172 time for calcul the mask position with numpy : 0.00693821907043457 nb_pixel_total : 14137 time to create 1 rle with old method : 0.02220296859741211 time for calcul the mask position with numpy : 0.006938934326171875 nb_pixel_total : 10759 time to create 1 rle with old method : 0.011972904205322266 time for calcul the mask position with numpy : 0.0060269832611083984 nb_pixel_total : 2910 time to create 1 rle with old method : 0.003191232681274414 time for calcul the mask position with numpy : 0.0059299468994140625 nb_pixel_total : 12333 time to create 1 rle with old method : 0.013704061508178711 time for calcul the mask position with numpy : 0.005966901779174805 nb_pixel_total : 4051 time to create 1 rle with old method : 0.004423856735229492 create new chi : 0.6217107772827148 time to delete rle : 0.02953481674194336 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2116 TO DO : save crop sub photo not yet done ! save time : 0.1892554759979248 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.7116971015930176 time for calcul the mask position with numpy : 0.04590034484863281 nb_pixel_total : 2052055 time to create 1 rle with new method : 0.23821663856506348 time for calcul the mask position with numpy : 0.010040760040283203 nb_pixel_total : 8819 time to create 1 rle with old method : 0.010260581970214844 time for calcul the mask position with numpy : 0.008280038833618164 nb_pixel_total : 12726 time to create 1 rle with old method : 0.014592409133911133 create new chi : 0.3345375061035156 time to delete rle : 0.00035190582275390625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1722 TO DO : save crop sub photo not yet done ! save time : 0.16337871551513672 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05468869209289551 time for calcul the mask position with numpy : 0.02013087272644043 nb_pixel_total : 2063423 time to create 1 rle with new method : 0.31200432777404785 time for calcul the mask position with numpy : 0.0060961246490478516 nb_pixel_total : 5205 time to create 1 rle with old method : 0.005969524383544922 time for calcul the mask position with numpy : 0.00615382194519043 nb_pixel_total : 4972 time to create 1 rle with old method : 0.005804300308227539 create new chi : 0.3627793788909912 time to delete rle : 0.00023627281188964844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1498 TO DO : save crop sub photo not yet done ! save time : 1.0693798065185547 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.4676632881164551 time for calcul the mask position with numpy : 0.06084132194519043 nb_pixel_total : 2034909 time to create 1 rle with new method : 0.2410578727722168 time for calcul the mask position with numpy : 0.00618290901184082 nb_pixel_total : 5599 time to create 1 rle with old method : 0.006607532501220703 time for calcul the mask position with numpy : 0.0063021183013916016 nb_pixel_total : 2682 time to create 1 rle with old method : 0.0032334327697753906 time for calcul the mask position with numpy : 0.006258726119995117 nb_pixel_total : 1692 time to create 1 rle with old method : 0.002076387405395508 time for calcul the mask position with numpy : 0.0066030025482177734 nb_pixel_total : 11357 time to create 1 rle with old method : 0.013394594192504883 time for calcul the mask position with numpy : 0.006806373596191406 nb_pixel_total : 7999 time to create 1 rle with old method : 0.009587764739990234 time for calcul the mask position with numpy : 0.006747007369995117 nb_pixel_total : 9362 time to create 1 rle with old method : 0.011065006256103516 create new chi : 0.3971223831176758 time to delete rle : 0.000335693359375 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2252 TO DO : save crop sub photo not yet done ! save time : 0.18797683715820312 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07216286659240723 time for calcul the mask position with numpy : 0.019773006439208984 nb_pixel_total : 1984744 time to create 1 rle with new method : 0.050870656967163086 time for calcul the mask position with numpy : 0.007035493850708008 nb_pixel_total : 88856 time to create 1 rle with old method : 0.10901570320129395 create new chi : 0.18711566925048828 time to delete rle : 0.0005178451538085938 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2118 TO DO : save crop sub photo not yet done ! save time : 0.17947173118591309 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.5683250427246094 time for calcul the mask position with numpy : 0.33591294288635254 nb_pixel_total : 2004155 time to create 1 rle with new method : 0.2407524585723877 time for calcul the mask position with numpy : 0.006420135498046875 nb_pixel_total : 10421 time to create 1 rle with old method : 0.012388467788696289 time for calcul the mask position with numpy : 0.006619453430175781 nb_pixel_total : 5849 time to create 1 rle with old method : 0.007262706756591797 time for calcul the mask position with numpy : 0.006661653518676758 nb_pixel_total : 2106 time to create 1 rle with old method : 0.0024874210357666016 time for calcul the mask position with numpy : 0.0063512325286865234 nb_pixel_total : 2931 time to create 1 rle with old method : 0.0036509037017822266 time for calcul the mask position with numpy : 0.006410837173461914 nb_pixel_total : 20723 time to create 1 rle with old method : 0.023869037628173828 time for calcul the mask position with numpy : 0.006552457809448242 nb_pixel_total : 27415 time to create 1 rle with old method : 0.03140974044799805 create new chi : 0.7069542407989502 time to delete rle : 0.0003113746643066406 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2730 TO DO : save crop sub photo not yet done ! save time : 0.2163388729095459 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05681467056274414 time for calcul the mask position with numpy : 0.02010035514831543 nb_pixel_total : 2058171 time to create 1 rle with new method : 0.07199740409851074 time for calcul the mask position with numpy : 0.006765842437744141 nb_pixel_total : 3922 time to create 1 rle with old method : 0.006998300552368164 time for calcul the mask position with numpy : 0.006926298141479492 nb_pixel_total : 2745 time to create 1 rle with old method : 0.004656791687011719 time for calcul the mask position with numpy : 0.006539106369018555 nb_pixel_total : 8762 time to create 1 rle with old method : 0.014543533325195312 create new chi : 0.14694905281066895 time to delete rle : 0.0003681182861328125 batch 1 Loaded 7 chid ids of type : 3594 ++++++++Number RLEs to save : 1834 TO DO : save crop sub photo not yet done ! save time : 0.14516925811767578 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.16540956497192383 time for calcul the mask position with numpy : 0.8077418804168701 nb_pixel_total : 2008758 time to create 1 rle with new method : 0.09465146064758301 time for calcul the mask position with numpy : 0.011277198791503906 nb_pixel_total : 13463 time to create 1 rle with old method : 0.017636537551879883 time for calcul the mask position with numpy : 0.006570100784301758 nb_pixel_total : 5889 time to create 1 rle with old method : 0.007075786590576172 time for calcul the mask position with numpy : 0.006598234176635742 nb_pixel_total : 8187 time to create 1 rle with old method : 0.009727239608764648 time for calcul the mask position with numpy : 0.010599613189697266 nb_pixel_total : 8003 time to create 1 rle with old method : 0.00944662094116211 time for calcul the mask position with numpy : 0.010644912719726562 nb_pixel_total : 14863 time to create 1 rle with old method : 0.017511367797851562 time for calcul the mask position with numpy : 0.010802030563354492 nb_pixel_total : 14437 time to create 1 rle with old method : 0.01683187484741211 create new chi : 1.0479133129119873 time to delete rle : 0.00045418739318847656 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2604 TO DO : save crop sub photo not yet done ! save time : 0.2454981803894043 No data in photo_id : 1382750070 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05062580108642578 time for calcul the mask position with numpy : 0.019829750061035156 nb_pixel_total : 2068609 time to create 1 rle with new method : 0.028395414352416992 time for calcul the mask position with numpy : 0.0061397552490234375 nb_pixel_total : 4991 time to create 1 rle with old method : 0.005908012390136719 create new chi : 0.060497283935546875 time to delete rle : 0.00021386146545410156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1200 TO DO : save crop sub photo not yet done ! save time : 0.11687445640563965 map_output_result : {1382750166: (0.0, 'Should be the crop_list due to order', 0.0), 1382750139: (0.0, 'Should be the crop_list due to order', 0.0), 1382750136: (0.0, 'Should be the crop_list due to order', 0), 1382750134: (0.0, 'Should be the crop_list due to order', 0), 1382750132: (0.0, 'Should be the crop_list due to order', 0), 1382750128: (0.0, 'Should be the crop_list due to order', 0), 1382750109: (0.0, 'Should be the crop_list due to order', 0), 1382750108: (0.0, 'Should be the crop_list due to order', 0), 1382750098: (0.0, 'Should be the crop_list due to order', 0), 1382750095: (0.0, 'Should be the crop_list due to order', 0), 1382750070: (0.0, 'Should be the crop_list due to order', 0.0), 1382750066: (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 [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] Looping around the photos to save general results len do output : 12 /1382750166.Didn't retrieve data . /1382750139.Didn't retrieve data . /1382750136.Didn't retrieve data . /1382750134.Didn't retrieve data . /1382750132.Didn't retrieve data . /1382750128.Didn't retrieve data . /1382750109.Didn't retrieve data . /1382750108.Didn't retrieve data . /1382750098.Didn't retrieve data . /1382750095.Didn't retrieve data . /1382750070.Didn't retrieve data . /1382750066.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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.014828681945800781 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.282279968261719 time spend to save output : 0.01529240608215332 total time spend for step 3 : 10.297572374343872 step4:ventilate_hashtags_in_portfolio Tue Sep 9 11:21:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26680696 get user id for portfolio 26680696 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`=26680696 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pehd','papier','carton','mal_croppe','background','pet_fonce','autre','pet_clair','environnement','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`=26680696 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pehd','papier','carton','mal_croppe','background','pet_fonce','autre','pet_clair','environnement','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`=26680696 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pehd','papier','carton','mal_croppe','background','pet_fonce','autre','pet_clair','environnement','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26681136,26681137,26681138,26681139,26681140,26681141,26681142,26681143,26681144,26681145,26681146?tags=flou,pehd,papier,carton,mal_croppe,background,pet_fonce,autre,pet_clair,environnement,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] Looping around the photos to save general results len do output : 1 /26680696. 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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01923060417175293 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.664505958557129 time spend to save output : 0.019500732421875 total time spend for step 4 : 1.684006690979004 step5:final Tue Sep 9 11:21:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1382750166: ('0.014393888245884773',), 1382750139: ('0.014393888245884773',), 1382750136: ('0.014393888245884773',), 1382750134: ('0.014393888245884773',), 1382750132: ('0.014393888245884773',), 1382750128: ('0.014393888245884773',), 1382750109: ('0.014393888245884773',), 1382750108: ('0.014393888245884773',), 1382750098: ('0.014393888245884773',), 1382750095: ('0.014393888245884773',), 1382750070: ('0.014393888245884773',), 1382750066: ('0.014393888245884773',)} new output for save of step final : {1382750166: ('0.014393888245884773',), 1382750139: ('0.014393888245884773',), 1382750136: ('0.014393888245884773',), 1382750134: ('0.014393888245884773',), 1382750132: ('0.014393888245884773',), 1382750128: ('0.014393888245884773',), 1382750109: ('0.014393888245884773',), 1382750108: ('0.014393888245884773',), 1382750098: ('0.014393888245884773',), 1382750095: ('0.014393888245884773',), 1382750070: ('0.014393888245884773',), 1382750066: ('0.014393888245884773',)} [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] Looping around the photos to save general results len do output : 12 /1382750166.Didn't retrieve data . /1382750139.Didn't retrieve data . /1382750136.Didn't retrieve data . /1382750134.Didn't retrieve data . /1382750132.Didn't retrieve data . /1382750128.Didn't retrieve data . /1382750109.Didn't retrieve data . /1382750108.Didn't retrieve data . /1382750098.Didn't retrieve data . /1382750095.Didn't retrieve data . /1382750070.Didn't retrieve data . /1382750066.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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013623714447021484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1157991886138916 time spend to save output : 0.014246702194213867 total time spend for step 5 : 0.13004589080810547 step6:blur_detection Tue Sep 9 11:21:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1757409630_949871_1382750166_d181b383c9120079f991914fe540b2f1.jpg resize: (1080, 1920) 1382750166 1.233608955317396 treat image : temp/1757409630_949871_1382750139_69d59119b981457b7665b13d83ac12c1.jpg resize: (1080, 1920) 1382750139 1.3728755695377466 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe.jpg resize: (1080, 1920) 1382750136 -4.195158051669768 treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e.jpg resize: (1080, 1920) 1382750134 1.5955591226456762 treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7.jpg resize: (1080, 1920) 1382750132 -0.0598867898332686 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e.jpg resize: (1080, 1920) 1382750128 -4.098499848225461 treat image : temp/1757409630_949871_1382750109_47b079f32b0adb1bee2e93bbea85ab63.jpg resize: (1080, 1920) 1382750109 1.4710408667698407 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0.jpg resize: (1080, 1920) 1382750108 -3.4891925051210615 treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178.jpg resize: (1080, 1920) 1382750098 1.6847327485282264 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e.jpg resize: (1080, 1920) 1382750095 -4.435394941449895 treat image : temp/1757409630_949871_1382750070_47ebd9040f978db35f37cd7fe13378c7.jpg resize: (1080, 1920) 1382750070 1.2410727870655598 treat image : temp/1757409630_949871_1382750066_c1010d498c77f2668869f9f9861482dc.jpg resize: (1080, 1920) 1382750066 -1.6370848989283757 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219094_0.png resize: (103, 184) 1382756945 -1.5987466206547845 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219095_0.png resize: (53, 113) 1382756946 -1.7936975513970566 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219096_0.png resize: (135, 114) 1382756947 -0.5631484597806773 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219093_0.png resize: (91, 73) 1382756948 -2.1905887183315387 treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219097_0.png resize: (123, 247) 1382756949 -4.086305462240875 treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e_rle_crop_3952219099_0.png resize: (162, 104) 1382756950 -1.142526120935574 treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7_rle_crop_3952219101_0.png resize: (79, 88) 1382756951 2.3418084465582623 treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7_rle_crop_3952219100_0.png resize: (129, 51) 1382756952 0.11976215116657142 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219102_0.png resize: (104, 167) 1382756953 -2.7499705957429397 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219103_0.png resize: (140, 72) 1382756954 -2.776077776306045 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219106_0.png resize: (59, 83) 1382756955 -3.573062954364333 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219107_0.png resize: (68, 109) 1382756956 -1.8609731807732732 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219104_0.png resize: (135, 137) 1382756957 -0.829102818758457 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219112_0.png resize: (46, 65) 1382756958 -2.047499946252342 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219113_0.png resize: (83, 114) 1382756959 -4.027751451556856 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219111_0.png resize: (72, 61) 1382756960 2.6566991649589067 treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219116_0.png resize: (72, 55) 1382756961 0.4340678923898054 treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219117_0.png resize: (83, 101) 1382756962 1.5525054626940116 treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219115_0.png resize: (141, 114) 1382756963 -0.9855720207540801 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219123_0.png resize: (125, 224) 1382756964 -4.3753156470793835 treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e_rle_crop_3952219098_0.png resize: (153, 114) 1382756967 -0.18870059716863724 treat image : temp/1757409630_949871_1382750109_47b079f32b0adb1bee2e93bbea85ab63_rle_crop_3952219108_0.png resize: (512, 304) 1382756968 0.3677389205077337 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219110_0.png resize: (104, 299) 1382756969 -2.045776163329318 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219114_0.png resize: (134, 113) 1382756970 -0.30693725543565864 treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219109_0.png resize: (284, 169) 1382756971 -1.8605908131437585 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219122_0.png resize: (114, 72) 1382756972 -1.2359842426296115 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219121_0.png resize: (109, 108) 1382756973 -3.069596328165962 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219119_0.png resize: (134, 167) 1382756974 -4.165922853994821 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219120_0.png resize: (96, 127) 1382756975 -1.9581745123642367 treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219118_0.png resize: (158, 134) 1382756976 -2.9893423665812886 treat image : temp/1757409630_949871_1382750066_c1010d498c77f2668869f9f9861482dc_rle_crop_3952219124_0.png resize: (60, 109) 1382756978 -1.4897146179002352 treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219105_0.png resize: (40, 55) 1382756979 1.436804169194814 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 : 44 time used for this insertion : 0.014167547225952148 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.01654958724975586 save missing photos in datou_result : time spend for datou_step_exec : 10.289411544799805 time spend to save output : 0.035712480545043945 total time spend for step 6 : 10.325124025344849 step7:brightness Tue Sep 9 11:21:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1757409630_949871_1382750166_d181b383c9120079f991914fe540b2f1.jpg treat image : temp/1757409630_949871_1382750139_69d59119b981457b7665b13d83ac12c1.jpg treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe.jpg treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e.jpg treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7.jpg treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e.jpg treat image : temp/1757409630_949871_1382750109_47b079f32b0adb1bee2e93bbea85ab63.jpg treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0.jpg treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178.jpg treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e.jpg treat image : temp/1757409630_949871_1382750070_47ebd9040f978db35f37cd7fe13378c7.jpg treat image : temp/1757409630_949871_1382750066_c1010d498c77f2668869f9f9861482dc.jpg treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219094_0.png treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219095_0.png treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219096_0.png treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219093_0.png treat image : temp/1757409630_949871_1382750136_89c3e2c48d429f47e86f8c2725017cbe_rle_crop_3952219097_0.png treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e_rle_crop_3952219099_0.png treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7_rle_crop_3952219101_0.png treat image : temp/1757409630_949871_1382750132_5f491bf4996d5f5b6d4a3f62cf47ccf7_rle_crop_3952219100_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219102_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219103_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219106_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219107_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219104_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219112_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219113_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219111_0.png treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219116_0.png treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219117_0.png treat image : temp/1757409630_949871_1382750098_0ca6f0997a0b00dfb9d5e121a0677178_rle_crop_3952219115_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219123_0.png treat image : temp/1757409630_949871_1382750134_d5dbdf4b5a2c0ea64e54f66da288c46e_rle_crop_3952219098_0.png treat image : temp/1757409630_949871_1382750109_47b079f32b0adb1bee2e93bbea85ab63_rle_crop_3952219108_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219110_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219114_0.png treat image : temp/1757409630_949871_1382750108_ae2f42021a410672ff72973d83085ef0_rle_crop_3952219109_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219122_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219121_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219119_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219120_0.png treat image : temp/1757409630_949871_1382750095_dc46b6ee2bbea50a6f33b6db6e41099e_rle_crop_3952219118_0.png treat image : temp/1757409630_949871_1382750066_c1010d498c77f2668869f9f9861482dc_rle_crop_3952219124_0.png treat image : temp/1757409630_949871_1382750128_8b6b68dbdff8e3fc66458ed47ae93c9e_rle_crop_3952219105_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 : 44 time used for this insertion : 0.013850212097167969 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.01812267303466797 save missing photos in datou_result : time spend for datou_step_exec : 2.7758541107177734 time spend to save output : 0.03712916374206543 total time spend for step 7 : 2.812983274459839 step8:velours_tree Tue Sep 9 11:21:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.14169859886169434 time spend to save output : 2.9802322387695312e-05 total time spend for step 8 : 0.14172840118408203 step9:send_mail_cod Tue Sep 9 11:21:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26680696_09-09-2025_11_21_36.pdf 26681136 imagette266811361757409696 26681137 imagette266811371757409696 26681138 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette266811381757409696 26681139 imagette266811391757409697 26681140 imagette266811401757409697 26681141 imagette266811411757409697 26681142 imagette266811421757409697 26681143 change filename to text .imagette266811431757409697 26681144 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette266811441757409697 26681146 imagette266811461757409698 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26680696 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26681136,26681137,26681138,26681139,26681140,26681141,26681142,26681143,26681144,26681145,26681146?tags=flou,pehd,papier,carton,mal_croppe,background,pet_fonce,autre,pet_clair,environnement,metal args[1382750166] : ((1382750166, 1.233608955317396, 492688767), (1382750166, 0.8892557141025023, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750139] : ((1382750139, 1.3728755695377466, 492688767), (1382750139, 0.36432459837734943, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750136] : ((1382750136, -4.195158051669768, 492609224), (1382750136, 0.41515642393731816, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750134] : ((1382750134, 1.5955591226456762, 492688767), (1382750134, 0.9599191179573315, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750132] : ((1382750132, -0.0598867898332686, 492688767), (1382750132, 0.9995857423536516, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750128] : ((1382750128, -4.098499848225461, 492609224), (1382750128, 0.4564294404302019, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750109] : ((1382750109, 1.4710408667698407, 492688767), (1382750109, 0.43045137466613526, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750108] : ((1382750108, -3.4891925051210615, 492609224), (1382750108, 0.5051772626077569, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750098] : ((1382750098, 1.6847327485282264, 492688767), (1382750098, 0.7230056879805744, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750095] : ((1382750095, -4.435394941449895, 492609224), (1382750095, 0.43197977752611294, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750070] : ((1382750070, 1.2410727870655598, 492688767), (1382750070, 0.6313319858019308, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com args[1382750066] : ((1382750066, -1.6370848989283757, 492688767), (1382750066, 1.3140921054604304, 2107752395), '0.014393888245884773') We are sending mail with results at report@fotonower.com refus_total : 0.014393888245884773 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26680696 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_P26680696_09-09-2025_11_21_36.pdf results_Auto_P26680696_09-09-2025_11_21_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680696_09-09-2025_11_21_36.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','26680696','results_Auto_P26680696_09-09-2025_11_21_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680696_09-09-2025_11_21_36.pdf','pdf','','0.16','0.014393888245884773') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26680696

https://www.fotonower.com/image?json=false&list_photos_id=1382750166
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.233608955317396)
https://www.fotonower.com/image?json=false&list_photos_id=1382750139
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3728755695377466)
https://www.fotonower.com/image?json=false&list_photos_id=1382750136
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382750134
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5955591226456762)
https://www.fotonower.com/image?json=false&list_photos_id=1382750132
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382750128
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382750109
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4710408667698407)
https://www.fotonower.com/image?json=false&list_photos_id=1382750108
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382750098
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6847327485282264)
https://www.fotonower.com/image?json=false&list_photos_id=1382750095
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382750070
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2410727870655598)
https://www.fotonower.com/image?json=false&list_photos_id=1382750066
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/26681138?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26681143?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26681144?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680696_09-09-2025_11_21_36.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26681136,26681137,26681138,26681139,26681140,26681141,26681142,26681143,26681144,26681145,26681146?tags=flou,pehd,papier,carton,mal_croppe,background,pet_fonce,autre,pet_clair,environnement,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 09 Sep 2025 09:21:40 GMT Content-Length: 0 Connection: close X-Message-Id: wTMjzm4GTgOGB_-RXjNQHQ Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] 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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.0894308090209961 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.3669538497924805 time spend to save output : 0.08968830108642578 total time spend for step 9 : 3.4566421508789062 step10:split_time_score Tue Sep 9 11:21:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09092025 26680696 Nombre de photos uploadées : 12 / 23040 (0%) 09092025 26680696 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 09092025 26680696 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006957054138183594 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2057485580444336 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.06336376886145406 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26677451_09-09-2025_09_11_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26677451 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`=26677451 AND mptpi.`type`=3594 To do Qualite : 0.05401843412422839 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26677708_09-09-2025_10_56_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26677708 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`=26677708 AND mptpi.`type`=3594 To do Qualite : 0.20552528077846366 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26677710_09-09-2025_10_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26677710 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`=26677710 AND mptpi.`type`=3594 To do Qualite : 0.014393888245884773 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680696_09-09-2025_11_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26680696 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`=26680696 AND mptpi.`type`=3594 To do Qualite : 0.07049739583333335 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680700_09-09-2025_11_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26680700 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`=26680700 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09092025': {'nb_upload': 12, '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 [1382750166, 1382750139, 1382750136, 1382750134, 1382750132, 1382750128, 1382750109, 1382750108, 1382750098, 1382750095, 1382750070, 1382750066] Looping around the photos to save general results len do output : 1 /26680696Didn'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, '3683709') ('3318', '26680696', '1382750166', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750139', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750136', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750134', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750132', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750128', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750109', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750108', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750098', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750095', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750070', None, None, None, None, None, '3683709') ('3318', None, None, None, None, None, None, None, '3683709') ('3318', '26680696', '1382750066', None, None, None, None, None, '3683709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01875162124633789 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6837587356567383 time spend to save output : 0.018911123275756836 total time spend for step 10 : 0.7026698589324951 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 34.36user 23.84system 1:15.21elapsed 77%CPU (0avgtext+0avgdata 2824200maxresident)k 499088inputs+11128outputs (54major+1550022minor)pagefaults 0swaps