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 : 829404 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 : ['4041073'] with mtr_portfolio_ids : ['28485361'] and first list_photo_ids : [] new path : /proc/829404/ 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.8866581916809082 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Nov 13 11:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-13 11:10:31.885670: 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-11-13 11:10:31.910531: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-13 11:10:31.912750: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff08c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-13 11:10:31.912806: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-13 11:10:31.916797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-13 11:10:32.232989: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x15045cc0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-13 11:10:32.233045: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-13 11:10:32.234364: 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-11-13 11:10:32.234830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-13 11:10:32.238032: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-13 11:10:32.241114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-13 11:10:32.241631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-13 11:10:32.244497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-13 11:10:32.245492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-13 11:10:32.249810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-13 11:10:32.251264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-13 11:10:32.251338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-13 11:10:32.252074: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-13 11:10:32.252089: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-13 11:10:32.252098: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-13 11:10:32.253385: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-13 11:10:32.500627: 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-11-13 11:10:32.500754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-13 11:10:32.500782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-13 11:10:32.500808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-13 11:10:32.500833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-13 11:10:32.500858: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-13 11:10:32.500883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-13 11:10:32.500909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-13 11:10:32.503038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-13 11:10:32.504155: 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-11-13 11:10:32.504183: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-13 11:10:32.504197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-13 11:10:32.504209: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-13 11:10:32.504221: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-13 11:10:32.504234: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-13 11:10:32.504246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-13 11:10:32.504258: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-13 11:10:32.505408: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-13 11:10:32.505441: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-13 11:10:32.505448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-13 11:10:32.505455: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-13 11:10:32.506666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-13 11:10:39.965303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-13 11:10:40.151622: 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: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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: 54.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: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.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: 57.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 Detection mask done ! Trying to reset tf kernel 829910 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 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.0001857280731201172 nb_pixel_total : 6448 time to create 1 rle with old method : 0.007147789001464844 length of segment : 102 time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 3738 time to create 1 rle with old method : 0.004152536392211914 length of segment : 62 time for calcul the mask position with numpy : 0.0018756389617919922 nb_pixel_total : 123343 time to create 1 rle with old method : 0.13158702850341797 length of segment : 560 time for calcul the mask position with numpy : 9.846687316894531e-05 nb_pixel_total : 2665 time to create 1 rle with old method : 0.003279447555541992 length of segment : 49 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 8541 time to create 1 rle with old method : 0.010010480880737305 length of segment : 140 time for calcul the mask position with numpy : 8.7738037109375e-05 nb_pixel_total : 3254 time to create 1 rle with old method : 0.003846406936645508 length of segment : 67 time for calcul the mask position with numpy : 0.00011873245239257812 nb_pixel_total : 5007 time to create 1 rle with old method : 0.005755186080932617 length of segment : 114 time for calcul the mask position with numpy : 0.0017008781433105469 nb_pixel_total : 114303 time to create 1 rle with old method : 0.12359189987182617 length of segment : 538 time for calcul the mask position with numpy : 0.0003764629364013672 nb_pixel_total : 22294 time to create 1 rle with old method : 0.024852991104125977 length of segment : 353 time for calcul the mask position with numpy : 7.128715515136719e-05 nb_pixel_total : 2669 time to create 1 rle with old method : 0.003129720687866211 length of segment : 67 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 6745 time to create 1 rle with old method : 0.007806301116943359 length of segment : 81 time for calcul the mask position with numpy : 0.007615566253662109 nb_pixel_total : 442672 time to create 1 rle with new method : 0.03716540336608887 length of segment : 769 time for calcul the mask position with numpy : 0.00018477439880371094 nb_pixel_total : 9724 time to create 1 rle with old method : 0.010561943054199219 length of segment : 137 time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 8235 time to create 1 rle with old method : 0.008976936340332031 length of segment : 180 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 4752 time to create 1 rle with old method : 0.005474567413330078 length of segment : 64 time for calcul the mask position with numpy : 0.00012063980102539062 nb_pixel_total : 6176 time to create 1 rle with old method : 0.007068634033203125 length of segment : 104 time for calcul the mask position with numpy : 0.0013072490692138672 nb_pixel_total : 107044 time to create 1 rle with old method : 0.11095714569091797 length of segment : 557 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 5485 time to create 1 rle with old method : 0.006137371063232422 length of segment : 110 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 8205 time to create 1 rle with old method : 0.009251117706298828 length of segment : 240 time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 1566 time to create 1 rle with old method : 0.0019488334655761719 length of segment : 44 time for calcul the mask position with numpy : 7.581710815429688e-05 nb_pixel_total : 3864 time to create 1 rle with old method : 0.004261493682861328 length of segment : 66 time for calcul the mask position with numpy : 6.723403930664062e-05 nb_pixel_total : 2893 time to create 1 rle with old method : 0.0035359859466552734 length of segment : 51 time for calcul the mask position with numpy : 9.512901306152344e-05 nb_pixel_total : 5790 time to create 1 rle with old method : 0.006175994873046875 length of segment : 101 time for calcul the mask position with numpy : 0.0002105236053466797 nb_pixel_total : 8936 time to create 1 rle with old method : 0.009799480438232422 length of segment : 187 time for calcul the mask position with numpy : 9.512901306152344e-05 nb_pixel_total : 5607 time to create 1 rle with old method : 0.006128549575805664 length of segment : 78 time for calcul the mask position with numpy : 0.000102996826171875 nb_pixel_total : 6387 time to create 1 rle with old method : 0.007070064544677734 length of segment : 93 time for calcul the mask position with numpy : 0.00042057037353515625 nb_pixel_total : 29438 time to create 1 rle with old method : 0.03152751922607422 length of segment : 197 time spent for convertir_results : 1.4508562088012695 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 27 chid ids of type : 3594 Number RLEs to save : 5111 save missing photos in datou_result : time spend for datou_step_exec : 23.445985078811646 time spend to save output : 0.39338183403015137 total time spend for step 1 : 23.839366912841797 step2:crop_condition Thu Nov 13 11:10:53 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 27 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 ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763028654_829404 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222532_0.png', 0, 102, 102, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166758_6c4cc77fc84fcec2c9cfa9bd25818007_rle_crop_4032222535_0.png', 0, 71, 49, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166427_81a55a0bcd800f679909e30210aa86e3_rle_crop_4032222536_0.png', 0, 99, 137, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222537_0.png', 0, 67, 67, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222545_0.png', 0, 96, 171, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222546_0.png', 0, 137, 59, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222541_0.png', 0, 51, 67, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222542_0.png', 0, 156, 60, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222544_0.png', 0, 123, 137, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222547_0.png', 0, 82, 102, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222553_0.png', 0, 64, 50, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166184_e66ca97b01fd097079811d39735d6156_rle_crop_4032222554_0.png', 0, 80, 101, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222555_0.png', 0, 124, 187, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222558_0.png', 0, 268, 170, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222556_0.png', 0, 120, 66, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028657), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222557_0.png', 0, 95, 93, 0, 1763028657,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.124556541442871 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763028659_829404 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028659), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222534_0.png', 0, 351, 560, 0, 1763028659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028659), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222549_0.png', 0, 94, 110, 0, 1763028659,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7468392848968506 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763028660_829404 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028660), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222533_0.png', 0, 77, 62, 0, 1763028660,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028660), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222552_0.png', 0, 78, 66, 0, 1763028660,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8075177669525146 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763028663_829404 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028664), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222539_0.png', 0, 343, 538, 0, 1763028664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028664), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222543_0.png', 0, 910, 618, 0, 1763028664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028664), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222548_0.png', 0, 318, 556, 0, 1763028664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028664), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222551_0.png', 0, 49, 44, 0, 1763028664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2915098667144775 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763028665_829404 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028665), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222538_0.png', 0, 66, 114, 0, 1763028665,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028665), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222540_0.png', 0, 172, 258, 0, 1763028665,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763028665), 0.0, 0.0, 14, '', 0, 0, '1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222550_0.png', 0, 63, 230, 0, 1763028665,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0770289897918701 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 [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] Looping around the photos to save general results len do output : 27 /1394196659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394196769Didn'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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 time used for this insertion : 0.01990509033203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.971256017684937 time spend to save output : 0.021341800689697266 total time spend for step 2 : 12.992597818374634 step3:rle_unique_nms_with_priority Thu Nov 13 11:11:06 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 27 chid ids of type : 3594 +++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.6739368438720703 time for calcul the mask position with numpy : 0.17246460914611816 nb_pixel_total : 1940071 time to create 1 rle with new method : 0.21599817276000977 time for calcul the mask position with numpy : 0.007103681564331055 nb_pixel_total : 123343 time to create 1 rle with old method : 0.13242626190185547 time for calcul the mask position with numpy : 0.006865024566650391 nb_pixel_total : 3738 time to create 1 rle with old method : 0.004046201705932617 time for calcul the mask position with numpy : 0.0062181949615478516 nb_pixel_total : 6448 time to create 1 rle with old method : 0.0070514678955078125 create new chi : 0.5609147548675537 time to delete rle : 0.0211944580078125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2528 TO DO : save crop sub photo not yet done ! save time : 0.22078442573547363 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08883213996887207 time for calcul the mask position with numpy : 0.055402517318725586 nb_pixel_total : 2070935 time to create 1 rle with new method : 1.2500321865081787 time for calcul the mask position with numpy : 0.005901336669921875 nb_pixel_total : 2665 time to create 1 rle with old method : 0.002907991409301758 create new chi : 1.3144612312316895 time to delete rle : 0.000209808349609375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1178 TO DO : save crop sub photo not yet done ! save time : 0.12181854248046875 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03928637504577637 time for calcul the mask position with numpy : 0.019091129302978516 nb_pixel_total : 2065059 time to create 1 rle with new method : 0.23522114753723145 time for calcul the mask position with numpy : 0.006133317947387695 nb_pixel_total : 8541 time to create 1 rle with old method : 0.009252548217773438 create new chi : 0.27692580223083496 time to delete rle : 0.000225067138671875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1360 TO DO : save crop sub photo not yet done ! save time : 0.1261608600616455 No data in photo_id : 1394166412 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.17667126655578613 time for calcul the mask position with numpy : 0.05450010299682617 nb_pixel_total : 1929246 time to create 1 rle with new method : 0.18401217460632324 time for calcul the mask position with numpy : 0.0061647891998291016 nb_pixel_total : 21790 time to create 1 rle with old method : 0.023445606231689453 time for calcul the mask position with numpy : 0.00664830207824707 nb_pixel_total : 114303 time to create 1 rle with old method : 0.12224578857421875 time for calcul the mask position with numpy : 0.006334781646728516 nb_pixel_total : 5007 time to create 1 rle with old method : 0.005651950836181641 time for calcul the mask position with numpy : 0.0062749385833740234 nb_pixel_total : 3254 time to create 1 rle with old method : 0.0037593841552734375 create new chi : 0.4285166263580322 time to delete rle : 0.0003921985626220703 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 3114 TO DO : save crop sub photo not yet done ! save time : 0.25375962257385254 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.0958547592163086 time for calcul the mask position with numpy : 0.11223196983337402 nb_pixel_total : 1598803 time to create 1 rle with new method : 0.23871827125549316 time for calcul the mask position with numpy : 0.005821943283081055 nb_pixel_total : 4752 time to create 1 rle with old method : 0.005148172378540039 time for calcul the mask position with numpy : 0.005598306655883789 nb_pixel_total : 8235 time to create 1 rle with old method : 0.008597850799560547 time for calcul the mask position with numpy : 0.005881309509277344 nb_pixel_total : 9724 time to create 1 rle with old method : 0.010442256927490234 time for calcul the mask position with numpy : 0.008657455444335938 nb_pixel_total : 442672 time to create 1 rle with new method : 0.07064199447631836 time for calcul the mask position with numpy : 0.005701303482055664 nb_pixel_total : 6745 time to create 1 rle with old method : 0.007251262664794922 time for calcul the mask position with numpy : 0.006971836090087891 nb_pixel_total : 2669 time to create 1 rle with old method : 0.004340171813964844 create new chi : 0.5042753219604492 time to delete rle : 0.0006115436553955078 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3676 TO DO : save crop sub photo not yet done ! save time : 0.29271364212036133 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 0.0806889533996582 time for calcul the mask position with numpy : 0.025905847549438477 nb_pixel_total : 1946690 time to create 1 rle with new method : 0.2071397304534912 time for calcul the mask position with numpy : 0.006134510040283203 nb_pixel_total : 8205 time to create 1 rle with old method : 0.008851051330566406 time for calcul the mask position with numpy : 0.005806684494018555 nb_pixel_total : 5485 time to create 1 rle with old method : 0.00601649284362793 time for calcul the mask position with numpy : 0.0062732696533203125 nb_pixel_total : 107044 time to create 1 rle with old method : 0.11310577392578125 time for calcul the mask position with numpy : 0.0056650638580322266 nb_pixel_total : 6176 time to create 1 rle with old method : 0.006483793258666992 create new chi : 0.40085530281066895 time to delete rle : 0.0003974437713623047 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3102 TO DO : save crop sub photo not yet done ! save time : 0.2541956901550293 No data in photo_id : 1394166398 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.05066561698913574 time for calcul the mask position with numpy : 0.02092742919921875 nb_pixel_total : 2065277 time to create 1 rle with new method : 0.08249950408935547 time for calcul the mask position with numpy : 0.006158113479614258 nb_pixel_total : 2893 time to create 1 rle with old method : 0.0031452178955078125 time for calcul the mask position with numpy : 0.005790233612060547 nb_pixel_total : 3864 time to create 1 rle with old method : 0.004279375076293945 time for calcul the mask position with numpy : 0.005746126174926758 nb_pixel_total : 1566 time to create 1 rle with old method : 0.0017483234405517578 create new chi : 0.13763165473937988 time to delete rle : 0.000247955322265625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1402 TO DO : save crop sub photo not yet done ! save time : 0.1371934413909912 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04225516319274902 time for calcul the mask position with numpy : 0.09468698501586914 nb_pixel_total : 2067810 time to create 1 rle with new method : 0.17200016975402832 time for calcul the mask position with numpy : 0.006272315979003906 nb_pixel_total : 5790 time to create 1 rle with old method : 0.0064508914947509766 create new chi : 0.28934669494628906 time to delete rle : 0.00022172927856445312 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1282 TO DO : save crop sub photo not yet done ! save time : 0.13721179962158203 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.24980783462524414 time for calcul the mask position with numpy : 0.14083051681518555 nb_pixel_total : 2023232 time to create 1 rle with new method : 0.2275400161743164 time for calcul the mask position with numpy : 0.006190299987792969 nb_pixel_total : 29438 time to create 1 rle with old method : 0.0312349796295166 time for calcul the mask position with numpy : 0.006298065185546875 nb_pixel_total : 6387 time to create 1 rle with old method : 0.006810665130615234 time for calcul the mask position with numpy : 0.0060160160064697266 nb_pixel_total : 5607 time to create 1 rle with old method : 0.0059070587158203125 time for calcul the mask position with numpy : 0.005760908126831055 nb_pixel_total : 8936 time to create 1 rle with old method : 0.009634971618652344 create new chi : 0.4554617404937744 time to delete rle : 0.00036406517028808594 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2190 TO DO : save crop sub photo not yet done ! save time : 0.18149948120117188 No data in photo_id : 1394166119 map_output_result : {1394166764: (0.0, 'Should be the crop_list due to order', 0), 1394166758: (0.0, 'Should be the crop_list due to order', 0), 1394166427: (0.0, 'Should be the crop_list due to order', 0), 1394166412: (0.0, 'Should be the crop_list due to order', 0.0), 1394166409: (0.0, 'Should be the crop_list due to order', 0), 1394166404: (0.0, 'Should be the crop_list due to order', 0), 1394166401: (0.0, 'Should be the crop_list due to order', 0), 1394166398: (0.0, 'Should be the crop_list due to order', 0.0), 1394166220: (0.0, 'Should be the crop_list due to order', 0), 1394166184: (0.0, 'Should be the crop_list due to order', 0), 1394166152: (0.0, 'Should be the crop_list due to order', 0), 1394166119: (0.0, 'Should be the crop_list due to order', 0.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 [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] Looping around the photos to save general results len do output : 12 /1394166764.Didn't retrieve data . /1394166758.Didn't retrieve data . /1394166427.Didn't retrieve data . /1394166412.Didn't retrieve data . /1394166409.Didn't retrieve data . /1394166404.Didn't retrieve data . /1394166401.Didn't retrieve data . /1394166398.Didn't retrieve data . /1394166220.Didn't retrieve data . /1394166184.Didn't retrieve data . /1394166152.Didn't retrieve data . /1394166119.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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.014055728912353516 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.914640665054321 time spend to save output : 0.014487743377685547 total time spend for step 3 : 7.929128408432007 step4:ventilate_hashtags_in_portfolio Thu Nov 13 11:11:13 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 : 28485361 get user id for portfolio 28485361 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`=28485361 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','environnement','autre','pehd','mal_croppe','flou','papier','carton','pet_clair','pet_fonce','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`=28485361 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','environnement','autre','pehd','mal_croppe','flou','papier','carton','pet_clair','pet_fonce','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`=28485361 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','environnement','autre','pehd','mal_croppe','flou','papier','carton','pet_clair','pet_fonce','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28485519,28485520,28485521,28485522,28485523,28485524,28485525,28485526,28485527,28485528,28485529?tags=background,environnement,autre,pehd,mal_croppe,flou,papier,carton,pet_clair,pet_fonce,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] Looping around the photos to save general results len do output : 1 /28485361. 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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.0216372013092041 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6836767196655273 time spend to save output : 0.021887540817260742 total time spend for step 4 : 1.705564260482788 step5:final Thu Nov 13 11:11:15 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 : {1394166764: ('0.03839044013631688',), 1394166758: ('0.03839044013631688',), 1394166427: ('0.03839044013631688',), 1394166412: ('0.03839044013631688',), 1394166409: ('0.03839044013631688',), 1394166404: ('0.03839044013631688',), 1394166401: ('0.03839044013631688',), 1394166398: ('0.03839044013631688',), 1394166220: ('0.03839044013631688',), 1394166184: ('0.03839044013631688',), 1394166152: ('0.03839044013631688',), 1394166119: ('0.03839044013631688',)} new output for save of step final : {1394166764: ('0.03839044013631688',), 1394166758: ('0.03839044013631688',), 1394166427: ('0.03839044013631688',), 1394166412: ('0.03839044013631688',), 1394166409: ('0.03839044013631688',), 1394166404: ('0.03839044013631688',), 1394166401: ('0.03839044013631688',), 1394166398: ('0.03839044013631688',), 1394166220: ('0.03839044013631688',), 1394166184: ('0.03839044013631688',), 1394166152: ('0.03839044013631688',), 1394166119: ('0.03839044013631688',)} [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] Looping around the photos to save general results len do output : 12 /1394166764.Didn't retrieve data . /1394166758.Didn't retrieve data . /1394166427.Didn't retrieve data . /1394166412.Didn't retrieve data . /1394166409.Didn't retrieve data . /1394166404.Didn't retrieve data . /1394166401.Didn't retrieve data . /1394166398.Didn't retrieve data . /1394166220.Didn't retrieve data . /1394166184.Didn't retrieve data . /1394166152.Didn't retrieve data . /1394166119.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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01531672477722168 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12357187271118164 time spend to save output : 0.015878915786743164 total time spend for step 5 : 0.1394507884979248 step6:blur_detection Thu Nov 13 11:11:15 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/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90.jpg resize: (1080, 1920) 1394166764 -3.893481993353856 treat image : temp/1763028627_829404_1394166758_6c4cc77fc84fcec2c9cfa9bd25818007.jpg resize: (1080, 1920) 1394166758 -0.13710580635620834 treat image : temp/1763028627_829404_1394166427_81a55a0bcd800f679909e30210aa86e3.jpg resize: (1080, 1920) 1394166427 -0.09454013011664067 treat image : temp/1763028627_829404_1394166412_91912e1318869d06795da7449516437d.jpg resize: (1080, 1920) 1394166412 1.1807043154433778 treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e.jpg resize: (1080, 1920) 1394166409 -4.563306067450743 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4.jpg resize: (1080, 1920) 1394166404 -0.020225892208302156 treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e.jpg resize: (1080, 1920) 1394166401 -4.274159949996881 treat image : temp/1763028627_829404_1394166398_2ec6a43ac55e025ab40998e63585f6df.jpg resize: (1080, 1920) 1394166398 -0.04477705846632298 treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44.jpg resize: (1080, 1920) 1394166220 -0.6052742859092894 treat image : temp/1763028627_829404_1394166184_e66ca97b01fd097079811d39735d6156.jpg resize: (1080, 1920) 1394166184 -0.7756878046437896 treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad.jpg resize: (1080, 1920) 1394166152 1.5044364867762205 treat image : temp/1763028627_829404_1394166119_6c481b7f6d3fbdf9a992ffec86b589cc.jpg resize: (1080, 1920) 1394166119 -0.3540683683614406 treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222532_0.png resize: (102, 102) 1394196659 -1.6701777247921237 treat image : temp/1763028627_829404_1394166758_6c4cc77fc84fcec2c9cfa9bd25818007_rle_crop_4032222535_0.png resize: (49, 71) 1394196661 1.736533887782981 treat image : temp/1763028627_829404_1394166427_81a55a0bcd800f679909e30210aa86e3_rle_crop_4032222536_0.png resize: (137, 99) 1394196663 -0.7342798800355755 treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222537_0.png resize: (67, 67) 1394196664 -3.5886420947314384 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222545_0.png resize: (171, 96) 1394196666 -1.9814668643322833 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222546_0.png resize: (59, 137) 1394196668 -1.6485280627980603 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222541_0.png resize: (67, 51) 1394196669 3.902649862261871 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222542_0.png resize: (60, 156) 1394196671 -2.417811268172984 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222544_0.png resize: (137, 123) 1394196673 -0.680453409128882 treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222547_0.png resize: (102, 82) 1394196674 0.2238711996994867 treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222553_0.png resize: (50, 64) 1394196676 6.226129818954867 treat image : temp/1763028627_829404_1394166184_e66ca97b01fd097079811d39735d6156_rle_crop_4032222554_0.png resize: (101, 80) 1394196678 -0.15447691889298806 treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222555_0.png resize: (187, 124) 1394196679 -1.7455043394149268 treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222558_0.png resize: (170, 268) 1394196681 -1.0784208455623019 treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222556_0.png resize: (66, 120) 1394196684 -1.1536605787040166 treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222557_0.png resize: (93, 95) 1394196685 0.32021995894835287 treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222534_0.png resize: (560, 351) 1394196702 0.19111078066900233 treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222549_0.png resize: (110, 94) 1394196704 -1.8801993368492447 treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222533_0.png resize: (62, 77) 1394196713 -2.518341765626584 treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222552_0.png resize: (66, 78) 1394196714 -0.8143249088857836 treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222539_0.png resize: (538, 343) 1394196749 0.44687040334236494 treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222543_0.png resize: (618, 910) 1394196750 0.8926425509807752 treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222548_0.png resize: (556, 318) 1394196752 0.25846987397130405 treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222551_0.png resize: (44, 49) 1394196753 -0.5542936585531826 treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222538_0.png resize: (114, 66) 1394196766 -5.176972486622059 treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222540_0.png resize: (258, 172) 1394196767 -2.176449345510521 treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222550_0.png resize: (230, 63) 1394196769 -3.907232466180485 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 : 39 time used for this insertion : 0.013106107711791992 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.012652397155761719 save missing photos in datou_result : time spend for datou_step_exec : 9.485437154769897 time spend to save output : 0.03038477897644043 total time spend for step 6 : 9.515821933746338 step7:brightness Thu Nov 13 11:11:25 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/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90.jpg treat image : temp/1763028627_829404_1394166758_6c4cc77fc84fcec2c9cfa9bd25818007.jpg treat image : temp/1763028627_829404_1394166427_81a55a0bcd800f679909e30210aa86e3.jpg treat image : temp/1763028627_829404_1394166412_91912e1318869d06795da7449516437d.jpg treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e.jpg treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4.jpg treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e.jpg treat image : temp/1763028627_829404_1394166398_2ec6a43ac55e025ab40998e63585f6df.jpg treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44.jpg treat image : temp/1763028627_829404_1394166184_e66ca97b01fd097079811d39735d6156.jpg treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad.jpg treat image : temp/1763028627_829404_1394166119_6c481b7f6d3fbdf9a992ffec86b589cc.jpg treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222532_0.png treat image : temp/1763028627_829404_1394166758_6c4cc77fc84fcec2c9cfa9bd25818007_rle_crop_4032222535_0.png treat image : temp/1763028627_829404_1394166427_81a55a0bcd800f679909e30210aa86e3_rle_crop_4032222536_0.png treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222537_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222545_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222546_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222541_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222542_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222544_0.png treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222547_0.png treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222553_0.png treat image : temp/1763028627_829404_1394166184_e66ca97b01fd097079811d39735d6156_rle_crop_4032222554_0.png treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222555_0.png treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222558_0.png treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222556_0.png treat image : temp/1763028627_829404_1394166152_d338ba94351803478c88e6b4f3f5daad_rle_crop_4032222557_0.png treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222534_0.png treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222549_0.png treat image : temp/1763028627_829404_1394166764_4ebccb4b3173869f4cfcfdf769144d90_rle_crop_4032222533_0.png treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222552_0.png treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222539_0.png treat image : temp/1763028627_829404_1394166404_41269d36fdd2d121c68c0bfd7f2c8da4_rle_crop_4032222543_0.png treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222548_0.png treat image : temp/1763028627_829404_1394166220_7d42f3048734ed3896ae07e8b2996a44_rle_crop_4032222551_0.png treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222538_0.png treat image : temp/1763028627_829404_1394166409_9a8f1481f6461f45dbcb09473a96c64e_rle_crop_4032222540_0.png treat image : temp/1763028627_829404_1394166401_4ad5506aa8e4471f23bb418b94f7e39e_rle_crop_4032222550_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 : 39 time used for this insertion : 0.014483213424682617 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.012970924377441406 save missing photos in datou_result : time spend for datou_step_exec : 2.8115696907043457 time spend to save output : 0.03205561637878418 total time spend for step 7 : 2.84362530708313 step8:velours_tree Thu Nov 13 11:11:28 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.125779390335083 time spend to save output : 4.410743713378906e-05 total time spend for step 8 : 0.1258234977722168 step9:send_mail_cod Thu Nov 13 11:11:28 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_P28485361_13-11-2025_11_11_28.pdf 28485519 imagette284855191763028688 28485521 change filename to text .change filename to text .change filename to text .imagette284855211763028688 28485522 imagette284855221763028688 28485523 imagette284855231763028688 28485524 imagette284855241763028688 28485525 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 .imagette284855251763028688 28485526 change filename to text .change filename to text .imagette284855261763028689 28485527 change filename to text .change filename to text .change filename to text .change filename to text .imagette284855271763028690 28485528 imagette284855281763028690 28485529 change filename to text .change filename to text .imagette284855291763028690 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28485361 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28485519,28485520,28485521,28485522,28485523,28485524,28485525,28485526,28485527,28485528,28485529?tags=background,environnement,autre,pehd,mal_croppe,flou,papier,carton,pet_clair,pet_fonce,metal args[1394166764] : ((1394166764, -3.893481993353856, 492609224), (1394166764, 0.47065452949662107, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166758] : ((1394166758, -0.13710580635620834, 492688767), (1394166758, 0.3400651273859912, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166427] : ((1394166427, -0.09454013011664067, 492688767), (1394166427, 1.0795590145504546, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166412] : ((1394166412, 1.1807043154433778, 492688767), (1394166412, 0.736206743630005, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166409] : ((1394166409, -4.563306067450743, 492609224), (1394166409, 0.4673536445987079, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166404] : ((1394166404, -0.020225892208302156, 492688767), (1394166404, 0.6966623878404195, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166401] : ((1394166401, -4.274159949996881, 492609224), (1394166401, 0.32847372223618954, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166398] : ((1394166398, -0.04477705846632298, 492688767), (1394166398, 0.8368479512785127, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166220] : ((1394166220, -0.6052742859092894, 492688767), (1394166220, 0.48147142760806305, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166184] : ((1394166184, -0.7756878046437896, 492688767), (1394166184, 0.89330797339662, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166152] : ((1394166152, 1.5044364867762205, 492688767), (1394166152, 0.20870311567772978, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com args[1394166119] : ((1394166119, -0.3540683683614406, 492688767), (1394166119, 1.0894989609520322, 2107752395), '0.03839044013631688') We are sending mail with results at report@fotonower.com refus_total : 0.03839044013631688 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28485361 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_P28485361_13-11-2025_11_11_28.pdf results_Auto_P28485361_13-11-2025_11_11_28.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28485361_13-11-2025_11_11_28.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','28485361','results_Auto_P28485361_13-11-2025_11_11_28.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28485361_13-11-2025_11_11_28.pdf','pdf','','0.21','0.03839044013631688') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28485361

https://www.fotonower.com/image?json=false&list_photos_id=1394166764
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166758
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166427
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166412
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1807043154433778)
https://www.fotonower.com/image?json=false&list_photos_id=1394166409
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166404
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166401
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166398
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166220
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166184
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394166152
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5044364867762205)
https://www.fotonower.com/image?json=false&list_photos_id=1394166119
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/28485521?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28485525?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28485526?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28485527?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28485529?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28485361_13-11-2025_11_11_28.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28485519,28485520,28485521,28485522,28485523,28485524,28485525,28485526,28485527,28485528,28485529?tags=background,environnement,autre,pehd,mal_croppe,flou,papier,carton,pet_clair,pet_fonce,metal.


L'équipe Fotonower 202 b'' Date: Thu, 13 Nov 2025 10:11:32 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: gt7YnVJIQOy_0p74cKT1oQ 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 [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] 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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.015258312225341797 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.0110251903533936 time spend to save output : 0.0155487060546875 total time spend for step 9 : 4.026573896408081 step10:split_time_score Thu Nov 13 11:11: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 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'}] (('08', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13112025 28485361 Nombre de photos uploadées : 12 / 23040 (0%) 13112025 28485361 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 13112025 28485361 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007643699645996094 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21888995170593262 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.03839044013631688 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28485361_13-11-2025_11_11_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28485361 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`=28485361 AND mptpi.`type`=3594 To do Qualite : 0.09246572788065842 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28484569_13-11-2025_11_01_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28484569 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`=28484569 AND mptpi.`type`=3594 To do Qualite : 0.06026636043595675 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28484571_13-11-2025_10_51_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28484571 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`=28484571 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13112025': {'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 [1394166764, 1394166758, 1394166427, 1394166412, 1394166409, 1394166404, 1394166401, 1394166398, 1394166220, 1394166184, 1394166152, 1394166119] Looping around the photos to save general results len do output : 1 /28485361Didn'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, '4041073') ('3318', '28485361', '1394166764', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166758', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166427', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166412', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166409', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166404', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166401', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166398', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166220', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166184', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166152', None, None, None, None, None, '4041073') ('3318', None, None, None, None, None, None, None, '4041073') ('3318', '28485361', '1394166119', None, None, None, None, None, '4041073') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01386570930480957 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5673096179962158 time spend to save output : 0.014087200164794922 total time spend for step 10 : 0.5813968181610107 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.67user 19.72system 1:07.88elapsed 80%CPU (0avgtext+0avgdata 2737028maxresident)k 416inputs+13064outputs (1major+1477216minor)pagefaults 0swaps