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 : 3630245 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 : ['4049644'] with mtr_portfolio_ids : ['28540301'] and first list_photo_ids : [] new path : /proc/3630245/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.089951992034912 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 Fri Nov 14 18:00:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10706 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-14 18:00:33.811803: 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-14 18:00:33.838540: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-14 18:00:33.840732: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fef3c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-14 18:00:33.840804: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-14 18:00:33.844975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-14 18:00:33.982158: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2a94abc0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-14 18:00:33.982236: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-14 18:00:33.983427: 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-14 18:00:33.983816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-14 18:00:33.986254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-14 18:00:33.988653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-14 18:00:33.989142: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-14 18:00:33.991872: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-14 18:00:33.993340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-14 18:00:33.998921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-14 18:00:34.000916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-14 18:00:34.001036: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-14 18:00:34.001967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-14 18:00:34.001989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-14 18:00:34.002000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-14 18:00:34.003831: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8991 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-14 18:00:34.272332: 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-14 18:00:34.272479: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-14 18:00:34.272511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-14 18:00:34.272540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-14 18:00:34.272568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-14 18:00:34.272596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-14 18:00:34.272622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-14 18:00:34.272650: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-14 18:00:34.274642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-14 18:00:34.275940: 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-14 18:00:34.275969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-14 18:00:34.275983: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-14 18:00:34.275996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-14 18:00:34.276009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-14 18:00:34.276021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-14 18:00:34.276034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-14 18:00:34.276047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-14 18:00:34.277149: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-14 18:00:34.277182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-14 18:00:34.277190: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-14 18:00:34.277197: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-14 18:00:34.278357: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8991 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-14 18:00:41.440960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-14 18:00:41.793004: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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 Detection mask done ! Trying to reset tf kernel 3631051 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3017 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 8014 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.0007283687591552734 nb_pixel_total : 27780 time to create 1 rle with old method : 0.03416585922241211 length of segment : 191 time for calcul the mask position with numpy : 0.00019097328186035156 nb_pixel_total : 14684 time to create 1 rle with old method : 0.016855955123901367 length of segment : 101 time for calcul the mask position with numpy : 0.013211250305175781 nb_pixel_total : 776360 time to create 1 rle with new method : 0.04961204528808594 length of segment : 1025 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 6280 time to create 1 rle with old method : 0.007126569747924805 length of segment : 86 time for calcul the mask position with numpy : 0.0002105236053466797 nb_pixel_total : 12444 time to create 1 rle with old method : 0.014142513275146484 length of segment : 146 time for calcul the mask position with numpy : 0.0015010833740234375 nb_pixel_total : 106003 time to create 1 rle with old method : 0.11665511131286621 length of segment : 512 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 8497 time to create 1 rle with old method : 0.009930849075317383 length of segment : 104 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 11135 time to create 1 rle with old method : 0.01289224624633789 length of segment : 176 time for calcul the mask position with numpy : 8.7738037109375e-05 nb_pixel_total : 4455 time to create 1 rle with old method : 0.005139827728271484 length of segment : 65 time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 3715 time to create 1 rle with old method : 0.004587411880493164 length of segment : 69 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 3808 time to create 1 rle with old method : 0.0043370723724365234 length of segment : 178 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 6696 time to create 1 rle with old method : 0.007760286331176758 length of segment : 85 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 4453 time to create 1 rle with old method : 0.005266666412353516 length of segment : 63 time for calcul the mask position with numpy : 0.0002684593200683594 nb_pixel_total : 20623 time to create 1 rle with old method : 0.02356100082397461 length of segment : 119 time for calcul the mask position with numpy : 0.009864091873168945 nb_pixel_total : 756569 time to create 1 rle with new method : 0.04624056816101074 length of segment : 1220 time for calcul the mask position with numpy : 0.00037407875061035156 nb_pixel_total : 22964 time to create 1 rle with old method : 0.025744915008544922 length of segment : 164 time for calcul the mask position with numpy : 0.0395512580871582 nb_pixel_total : 1282362 time to create 1 rle with new method : 0.1796400547027588 length of segment : 1721 time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 20113 time to create 1 rle with old method : 0.021691560745239258 length of segment : 169 time for calcul the mask position with numpy : 0.00010704994201660156 nb_pixel_total : 6035 time to create 1 rle with old method : 0.007051944732666016 length of segment : 98 time for calcul the mask position with numpy : 0.0002357959747314453 nb_pixel_total : 13925 time to create 1 rle with old method : 0.01535797119140625 length of segment : 147 time for calcul the mask position with numpy : 9.775161743164062e-05 nb_pixel_total : 4639 time to create 1 rle with old method : 0.0052642822265625 length of segment : 80 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 16925 time to create 1 rle with old method : 0.01869988441467285 length of segment : 170 time for calcul the mask position with numpy : 0.0014729499816894531 nb_pixel_total : 105638 time to create 1 rle with old method : 0.11467361450195312 length of segment : 540 time for calcul the mask position with numpy : 0.0014483928680419922 nb_pixel_total : 106065 time to create 1 rle with old method : 0.11566781997680664 length of segment : 538 time for calcul the mask position with numpy : 0.0012922286987304688 nb_pixel_total : 81195 time to create 1 rle with old method : 0.09222102165222168 length of segment : 493 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 2024 time to create 1 rle with old method : 0.002566099166870117 length of segment : 36 time for calcul the mask position with numpy : 0.016259431838989258 nb_pixel_total : 886536 time to create 1 rle with new method : 0.062401533126831055 length of segment : 1602 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 1830 time to create 1 rle with old method : 0.002584695816040039 length of segment : 147 time for calcul the mask position with numpy : 0.0017805099487304688 nb_pixel_total : 98103 time to create 1 rle with old method : 0.12064862251281738 length of segment : 503 time for calcul the mask position with numpy : 0.00036025047302246094 nb_pixel_total : 14845 time to create 1 rle with old method : 0.016980886459350586 length of segment : 156 time for calcul the mask position with numpy : 0.0669851303100586 nb_pixel_total : 1520774 time to create 1 rle with new method : 0.12886643409729004 length of segment : 1317 time spent for convertir_results : 4.037948846817017 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 12021 save missing photos in datou_result : time spend for datou_step_exec : 24.81215190887451 time spend to save output : 0.7704486846923828 total time spend for step 1 : 25.582600593566895 step2:crop_condition Fri Nov 14 18:00:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 8 ! batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763139657_3630245 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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784529_0.png', 0, 236, 190, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784535_0.png', 0, 133, 104, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784533_0.png', 0, 145, 141, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784532_0.png', 0, 101, 85, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784541_0.png', 0, 108, 63, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784537_0.png', 0, 93, 64, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784536_0.png', 0, 124, 147, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784538_0.png', 0, 81, 69, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784540_0.png', 0, 98, 85, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784539_0.png', 0, 49, 183, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784546_0.png', 0, 152, 168, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784547_0.png', 0, 85, 98, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784549_0.png', 0, 92, 80, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784548_0.png', 0, 151, 146, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784556_0.png', 0, 138, 127, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784554_0.png', 0, 87, 36, 0, 1763139661,'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(1763139661), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784558_0.png', 0, 134, 155, 0, 1763139661,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.317497491836548 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763139662_3630245 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(1763139663), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784552_0.png', 0, 333, 536, 0, 1763139663,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5926785469055176 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763139686_3630245 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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784531_0.png', 0, 1101, 998, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784530_0.png', 0, 194, 100, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784534_0.png', 0, 333, 511, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784543_0.png', 0, 1165, 989, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784542_0.png', 0, 209, 119, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784545_0.png', 0, 1454, 991, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784544_0.png', 0, 256, 164, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784550_0.png', 0, 149, 166, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784551_0.png', 0, 325, 537, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784555_0.png', 0, 1259, 995, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784553_0.png', 0, 290, 488, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784559_0.png', 0, 1661, 1007, 0, 1763139689,'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(1763139689), 0.0, 0.0, 14, '', 0, 0, '1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784557_0.png', 0, 309, 492, 0, 1763139689,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.493842601776123 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 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] Looping around the photos to save general results len do output : 31 /1394451785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394451805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394452047Didn'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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.022062301635742188 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.424556493759155 time spend to save output : 0.024256229400634766 total time spend for step 2 : 33.44881272315979 step3:rle_unique_nms_with_priority Fri Nov 14 18:01: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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2724037170410156 time for calcul the mask position with numpy : 0.05927324295043945 nb_pixel_total : 1254776 time to create 1 rle with new method : 0.10922694206237793 time for calcul the mask position with numpy : 0.16480112075805664 nb_pixel_total : 776360 time to create 1 rle with new method : 0.11756515502929688 time for calcul the mask position with numpy : 0.006652116775512695 nb_pixel_total : 14684 time to create 1 rle with old method : 0.016501665115356445 time for calcul the mask position with numpy : 0.007387638092041016 nb_pixel_total : 27780 time to create 1 rle with old method : 0.03269696235656738 create new chi : 0.5320534706115723 time to delete rle : 0.03403663635253906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3714 TO DO : save crop sub photo not yet done ! save time : 0.639986515045166 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.48762941360473633 time for calcul the mask position with numpy : 0.22084665298461914 nb_pixel_total : 1940376 time to create 1 rle with new method : 0.23029541969299316 time for calcul the mask position with numpy : 0.00643610954284668 nb_pixel_total : 8497 time to create 1 rle with old method : 0.009702920913696289 time for calcul the mask position with numpy : 0.011522293090820312 nb_pixel_total : 106003 time to create 1 rle with old method : 0.11881017684936523 time for calcul the mask position with numpy : 0.011497735977172852 nb_pixel_total : 12444 time to create 1 rle with old method : 0.014782190322875977 time for calcul the mask position with numpy : 0.0064296722412109375 nb_pixel_total : 6280 time to create 1 rle with old method : 0.007630109786987305 create new chi : 0.6483738422393799 time to delete rle : 0.0003695487976074219 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2776 TO DO : save crop sub photo not yet done ! save time : 0.20703768730163574 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.18242716789245605 time for calcul the mask position with numpy : 0.17116427421569824 nb_pixel_total : 2039338 time to create 1 rle with new method : 0.1563105583190918 time for calcul the mask position with numpy : 0.006082296371459961 nb_pixel_total : 4453 time to create 1 rle with old method : 0.005059719085693359 time for calcul the mask position with numpy : 0.005995035171508789 nb_pixel_total : 6696 time to create 1 rle with old method : 0.007535696029663086 time for calcul the mask position with numpy : 0.005949735641479492 nb_pixel_total : 3808 time to create 1 rle with old method : 0.0042781829833984375 time for calcul the mask position with numpy : 0.006123542785644531 nb_pixel_total : 3715 time to create 1 rle with old method : 0.004179477691650391 time for calcul the mask position with numpy : 0.005968809127807617 nb_pixel_total : 4455 time to create 1 rle with old method : 0.005699634552001953 time for calcul the mask position with numpy : 0.006786346435546875 nb_pixel_total : 11135 time to create 1 rle with old method : 0.012663125991821289 create new chi : 0.41379427909851074 time to delete rle : 0.00038433074951171875 batch 1 Loaded 13 chid ids of type : 3594 +++++++++Number RLEs to save : 2352 TO DO : save crop sub photo not yet done ! save time : 0.20717453956604004 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04712200164794922 time for calcul the mask position with numpy : 0.015102863311767578 nb_pixel_total : 1296408 time to create 1 rle with new method : 0.21307611465454102 time for calcul the mask position with numpy : 0.01358342170715332 nb_pixel_total : 756569 time to create 1 rle with new method : 0.029293060302734375 time for calcul the mask position with numpy : 0.006123065948486328 nb_pixel_total : 20623 time to create 1 rle with old method : 0.02305912971496582 create new chi : 0.3009774684906006 time to delete rle : 0.0006043910980224609 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3758 TO DO : save crop sub photo not yet done ! save time : 0.2459850311279297 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2856593132019043 time for calcul the mask position with numpy : 0.012393474578857422 nb_pixel_total : 774760 time to create 1 rle with new method : 0.09421515464782715 time for calcul the mask position with numpy : 0.006328105926513672 nb_pixel_total : 4748 time to create 1 rle with old method : 0.005468606948852539 time for calcul the mask position with numpy : 0.058249473571777344 nb_pixel_total : 1271128 time to create 1 rle with new method : 0.10212039947509766 time for calcul the mask position with numpy : 0.006131410598754883 nb_pixel_total : 22964 time to create 1 rle with old method : 0.025239229202270508 create new chi : 0.3246769905090332 time to delete rle : 0.0006740093231201172 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 4885 TO DO : save crop sub photo not yet done ! save time : 0.3219742774963379 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.34416627883911133 time for calcul the mask position with numpy : 0.11450815200805664 nb_pixel_total : 1921930 time to create 1 rle with new method : 0.09260249137878418 time for calcul the mask position with numpy : 0.006204366683959961 nb_pixel_total : 4508 time to create 1 rle with old method : 0.005612850189208984 time for calcul the mask position with numpy : 0.0070552825927734375 nb_pixel_total : 105638 time to create 1 rle with old method : 0.12478804588317871 time for calcul the mask position with numpy : 0.006421566009521484 nb_pixel_total : 16925 time to create 1 rle with old method : 0.018512487411499023 time for calcul the mask position with numpy : 0.006377458572387695 nb_pixel_total : 4639 time to create 1 rle with old method : 0.005350828170776367 time for calcul the mask position with numpy : 0.006547212600708008 nb_pixel_total : 13925 time to create 1 rle with old method : 0.01566004753112793 time for calcul the mask position with numpy : 0.006689548492431641 nb_pixel_total : 6035 time to create 1 rle with old method : 0.006735086441040039 create new chi : 0.4326951503753662 time to delete rle : 0.0005881786346435547 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3679 TO DO : save crop sub photo not yet done ! save time : 0.26790499687194824 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06781506538391113 time for calcul the mask position with numpy : 0.014129400253295898 nb_pixel_total : 1102307 time to create 1 rle with new method : 0.14621925354003906 time for calcul the mask position with numpy : 0.006670236587524414 nb_pixel_total : 1538 time to create 1 rle with old method : 0.0019021034240722656 time for calcul the mask position with numpy : 0.014829874038696289 nb_pixel_total : 886536 time to create 1 rle with new method : 0.1906747817993164 time for calcul the mask position with numpy : 0.006267070770263672 nb_pixel_total : 2024 time to create 1 rle with old method : 0.0023200511932373047 time for calcul the mask position with numpy : 0.0064547061920166016 nb_pixel_total : 81195 time to create 1 rle with old method : 0.0884706974029541 create new chi : 0.48796868324279785 time to delete rle : 0.0007424354553222656 batch 1 Loaded 9 chid ids of type : 3594 ++++++++++++Number RLEs to save : 5605 TO DO : save crop sub photo not yet done ! save time : 0.36834120750427246 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.135573148727417 time for calcul the mask position with numpy : 0.009315013885498047 nb_pixel_total : 454723 time to create 1 rle with new method : 0.1508646011352539 time for calcul the mask position with numpy : 0.07030653953552246 nb_pixel_total : 1505929 time to create 1 rle with new method : 0.08347964286804199 time for calcul the mask position with numpy : 0.007046699523925781 nb_pixel_total : 14845 time to create 1 rle with old method : 0.016542434692382812 time for calcul the mask position with numpy : 0.007111549377441406 nb_pixel_total : 98103 time to create 1 rle with old method : 0.11109662055969238 create new chi : 0.4729890823364258 time to delete rle : 0.0007266998291015625 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 5032 TO DO : save crop sub photo not yet done ! save time : 0.3442695140838623 map_output_result : {1394419199: (0.0, 'Should be the crop_list due to order', 0), 1394419197: (0.0, 'Should be the crop_list due to order', 0), 1394419195: (0.0, 'Should be the crop_list due to order', 0), 1394419193: (0.0, 'Should be the crop_list due to order', 0), 1394419142: (0.0, 'Should be the crop_list due to order', 0), 1394419131: (0.0, 'Should be the crop_list due to order', 0), 1394419128: (0.0, 'Should be the crop_list due to order', 0), 1394419123: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] Looping around the photos to save general results len do output : 8 /1394419199.Didn't retrieve data . /1394419197.Didn't retrieve data . /1394419195.Didn't retrieve data . /1394419193.Didn't retrieve data . /1394419142.Didn't retrieve data . /1394419131.Didn't retrieve data . /1394419128.Didn't retrieve data . /1394419123.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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013095378875732422 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.41747498512268 time spend to save output : 0.013448953628540039 total time spend for step 3 : 8.43092393875122 step4:ventilate_hashtags_in_portfolio Fri Nov 14 18:01:38 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 : 28540301 get user id for portfolio 28540301 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`=28540301 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','background','flou','pet_clair','mal_croppe','carton','pehd','papier','environnement','pet_fonce','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28540301 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','background','flou','pet_clair','mal_croppe','carton','pehd','papier','environnement','pet_fonce','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28540301 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','background','flou','pet_clair','mal_croppe','carton','pehd','papier','environnement','pet_fonce','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28540829,28540830,28540831,28540832,28540833,28540834,28540835,28540836,28540837,28540838,28540839?tags=metal,background,flou,pet_clair,mal_croppe,carton,pehd,papier,environnement,pet_fonce,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] Looping around the photos to save general results len do output : 1 /28540301. 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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01534414291381836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6617469787597656 time spend to save output : 0.015579462051391602 total time spend for step 4 : 1.6773264408111572 step5:final Fri Nov 14 18:01:39 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 : {1394419199: ('0.349885585455247',), 1394419197: ('0.349885585455247',), 1394419195: ('0.349885585455247',), 1394419193: ('0.349885585455247',), 1394419142: ('0.349885585455247',), 1394419131: ('0.349885585455247',), 1394419128: ('0.349885585455247',), 1394419123: ('0.349885585455247',)} new output for save of step final : {1394419199: ('0.349885585455247',), 1394419197: ('0.349885585455247',), 1394419195: ('0.349885585455247',), 1394419193: ('0.349885585455247',), 1394419142: ('0.349885585455247',), 1394419131: ('0.349885585455247',), 1394419128: ('0.349885585455247',), 1394419123: ('0.349885585455247',)} [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] Looping around the photos to save general results len do output : 8 /1394419199.Didn't retrieve data . /1394419197.Didn't retrieve data . /1394419195.Didn't retrieve data . /1394419193.Didn't retrieve data . /1394419142.Didn't retrieve data . /1394419131.Didn't retrieve data . /1394419128.Didn't retrieve data . /1394419123.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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013862848281860352 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11870479583740234 time spend to save output : 0.014295101165771484 total time spend for step 5 : 0.13299989700317383 step6:blur_detection Fri Nov 14 18:01:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b.jpg resize: (1080, 1920) 1394419199 0.9249956673130253 treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64.jpg resize: (1080, 1920) 1394419197 1.2270868442809135 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a.jpg resize: (1080, 1920) 1394419195 0.049304950018617275 treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29.jpg resize: (1080, 1920) 1394419193 0.6826639693706348 treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8.jpg resize: (1080, 1920) 1394419142 -0.15019072425311 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51.jpg resize: (1080, 1920) 1394419131 0.021773879261266168 treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d.jpg resize: (1080, 1920) 1394419128 1.8783216078617158 treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65.jpg resize: (1080, 1920) 1394419123 0.7469929990199154 treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784529_0.png resize: (190, 236) 1394451785 -0.5925567002943046 treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784535_0.png resize: (104, 133) 1394451786 -1.5460485126520214 treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784533_0.png resize: (141, 145) 1394451787 -0.8110055365449819 treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784532_0.png resize: (85, 101) 1394451788 -1.7930632362312033 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784541_0.png resize: (63, 108) 1394451789 -1.6615896669044266 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784537_0.png resize: (64, 93) 1394451790 0.7297957998955193 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784536_0.png resize: (147, 124) 1394451791 -1.677555998961841 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784538_0.png resize: (69, 81) 1394451792 -3.1565054895033096 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784540_0.png resize: (85, 98) 1394451793 1.19374482722236 treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784539_0.png resize: (183, 49) 1394451794 -2.0939809908247975 treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784546_0.png resize: (168, 152) 1394451795 -0.43847429936415755 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784547_0.png resize: (98, 85) 1394451796 -0.5635788976409609 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784549_0.png resize: (80, 92) 1394451797 -3.359199134196324 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784548_0.png resize: (146, 151) 1394451798 0.6691149478088407 treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784556_0.png resize: (127, 138) 1394451799 -0.7388564747583174 treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784554_0.png resize: (36, 87) 1394451800 -0.68226999579878 treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784558_0.png resize: (155, 134) 1394451801 -0.8698736291701781 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784552_0.png resize: (536, 333) 1394451805 0.43301805465082144 treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784531_0.png resize: (998, 1101) 1394452030 0.20200319249642307 treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784530_0.png resize: (100, 194) 1394452032 -0.0867267808921044 treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784534_0.png resize: (511, 333) 1394452034 0.11414356964863856 treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784543_0.png resize: (989, 1165) 1394452035 -0.3305232661366105 treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784542_0.png resize: (119, 209) 1394452037 -1.6224430928661773 treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784545_0.png resize: (991, 1454) 1394452038 -1.4422466855851694 treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784544_0.png resize: (164, 256) 1394452039 -1.976177373928689 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784550_0.png resize: (166, 149) 1394452041 -2.322733416503497 treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784551_0.png resize: (537, 325) 1394452042 0.314023735110095 treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784555_0.png resize: (995, 1259) 1394452043 -0.6976105568335554 treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784553_0.png resize: (488, 290) 1394452045 0.4819092680854066 treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784559_0.png resize: (1007, 1661) 1394452046 -0.5523970587530886 treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784557_0.png resize: (492, 309) 1394452047 0.49676128518717744 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.021365880966186523 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.016774892807006836 save missing photos in datou_result : time spend for datou_step_exec : 9.565837144851685 time spend to save output : 0.04354405403137207 total time spend for step 6 : 9.609381198883057 step7:brightness Fri Nov 14 18:01:49 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/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b.jpg treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64.jpg treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a.jpg treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29.jpg treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8.jpg treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51.jpg treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d.jpg treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65.jpg treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784529_0.png treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784535_0.png treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784533_0.png treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784532_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784541_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784537_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784536_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784538_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784540_0.png treat image : temp/1763139629_3630245_1394419195_86aab997a6d07622874fc28840d9532a_rle_crop_4033784539_0.png treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784546_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784547_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784549_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784548_0.png treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784556_0.png treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784554_0.png treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784558_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784552_0.png treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784531_0.png treat image : temp/1763139629_3630245_1394419199_7bbc4509ae6e687c0d3641ba69a8f69b_rle_crop_4033784530_0.png treat image : temp/1763139629_3630245_1394419197_1b22eaba8a92cbc2bf2f0eeb37358c64_rle_crop_4033784534_0.png treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784543_0.png treat image : temp/1763139629_3630245_1394419193_ad35d11d13e2a59bb3661a2caf3a4e29_rle_crop_4033784542_0.png treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784545_0.png treat image : temp/1763139629_3630245_1394419142_1f61cb69fe5d74225af3dbbd5b4025c8_rle_crop_4033784544_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784550_0.png treat image : temp/1763139629_3630245_1394419131_c868d471d5c3ae77b225a701e46b0d51_rle_crop_4033784551_0.png treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784555_0.png treat image : temp/1763139629_3630245_1394419128_459f4d18e777d75487adf963b808415d_rle_crop_4033784553_0.png treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784559_0.png treat image : temp/1763139629_3630245_1394419123_13ae04f1fea17e72d45c755cf23b6b65_rle_crop_4033784557_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.014832496643066406 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.014024734497070312 save missing photos in datou_result : time spend for datou_step_exec : 2.7862141132354736 time spend to save output : 0.03396749496459961 total time spend for step 7 : 2.8201816082000732 step8:velours_tree Fri Nov 14 18:01:52 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.15277814865112305 time spend to save output : 3.886222839355469e-05 total time spend for step 8 : 0.1528170108795166 step9:send_mail_cod Fri Nov 14 18:01:52 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_P28540301_14-11-2025_18_01_52.pdf 28540829 imagette285408291763139712 28540830 imagette285408301763139712 28540831 imagette285408311763139712 28540832 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 .imagette285408321763139712 28540833 imagette285408331763139713 28540834 change filename to text .imagette285408341763139713 28540835 imagette285408351763139714 28540836 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette285408361763139714 28540838 imagette285408381763139715 28540839 imagette285408391763139715 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28540301 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28540829,28540830,28540831,28540832,28540833,28540834,28540835,28540836,28540837,28540838,28540839?tags=metal,background,flou,pet_clair,mal_croppe,carton,pehd,papier,environnement,pet_fonce,autre args[1394419199] : ((1394419199, 0.9249956673130253, 492688767), (1394419199, 0.4670252099566493, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419197] : ((1394419197, 1.2270868442809135, 492688767), (1394419197, 0.3697687732334399, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419195] : ((1394419195, 0.049304950018617275, 492688767), (1394419195, 0.5951997749249233, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419193] : ((1394419193, 0.6826639693706348, 492688767), (1394419193, 0.7269849382266522, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419142] : ((1394419142, -0.15019072425311, 492688767), (1394419142, 0.7388151906357514, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419131] : ((1394419131, 0.021773879261266168, 492688767), (1394419131, 0.6322035068134022, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419128] : ((1394419128, 1.8783216078617158, 492688767), (1394419128, 0.6361974501005428, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com args[1394419123] : ((1394419123, 0.7469929990199154, 492688767), (1394419123, 0.5154416411129165, 2107752395), '0.349885585455247') We are sending mail with results at report@fotonower.com refus_total : 0.349885585455247 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=28540301 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_P28540301_14-11-2025_18_01_52.pdf results_Auto_P28540301_14-11-2025_18_01_52.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540301_14-11-2025_18_01_52.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','28540301','results_Auto_P28540301_14-11-2025_18_01_52.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540301_14-11-2025_18_01_52.pdf','pdf','','0.61','0.349885585455247') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28540301

https://www.fotonower.com/image?json=false&list_photos_id=1394419199
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394419197
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2270868442809135)
https://www.fotonower.com/image?json=false&list_photos_id=1394419195
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394419193
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394419142
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394419131
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1394419128
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.8783216078617158)
https://www.fotonower.com/image?json=false&list_photos_id=1394419123
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28540832?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28540834?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28540836?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540301_14-11-2025_18_01_52.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28540829,28540830,28540831,28540832,28540833,28540834,28540835,28540836,28540837,28540838,28540839?tags=metal,background,flou,pet_clair,mal_croppe,carton,pehd,papier,environnement,pet_fonce,autre.


L'équipe Fotonower 202 b'' Date: Fri, 14 Nov 2025 17:01:57 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: bEWiJqxvSIu4RrHuj8-SkA 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 [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] 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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.015544891357421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.500024080276489 time spend to save output : 0.01584768295288086 total time spend for step 9 : 4.51587176322937 step10:split_time_score Fri Nov 14 18:01:57 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'}] (('13', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14112025 28540301 Nombre de photos uploadées : 8 / 23040 (0%) 14112025 28540301 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 14112025 28540301 Nombre de photos taguées (volume) : 0 / 8 (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.0004131793975830078 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2063279151916504 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.1126048900462963 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518833_14-11-2025_08_12_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28518833 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`=28518833 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540270 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540271 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540286 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540287 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540293 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540298 order by id desc limit 1 Qualite : 0.11877172550154326 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540300_14-11-2025_17_52_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540300 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`=28540300 AND mptpi.`type`=3594 To do Qualite : 0.349885585455247 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540301_14-11-2025_18_01_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540301 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`=28540301 AND mptpi.`type`=3594 To do Qualite : 0.03419750548245615 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540305_14-11-2025_17_41_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540305 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`=28540305 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14112025': {'nb_upload': 8, '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 [1394419199, 1394419197, 1394419195, 1394419193, 1394419142, 1394419131, 1394419128, 1394419123] Looping around the photos to save general results len do output : 1 /28540301Didn'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, '4049644') ('3318', '28540301', '1394419199', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419197', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419195', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419193', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419142', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419131', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419128', None, None, None, None, None, '4049644') ('3318', None, None, None, None, None, None, None, '4049644') ('3318', '28540301', '1394419123', None, None, None, None, None, '4049644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.017401695251464844 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.90088677406311 time spend to save output : 0.017621517181396484 total time spend for step 10 : 7.918508291244507 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 56.91user 17.58system 1:40.18elapsed 74%CPU (0avgtext+0avgdata 2698848maxresident)k 218864inputs+42024outputs (7333major+1459934minor)pagefaults 0swaps