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 : 2644584 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 : ['4027668'] with mtr_portfolio_ids : ['28395537'] and first list_photo_ids : [] new path : /proc/2644584/ 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 , WARNING: data may be incomplete, need to offset and complete ! 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.0985221862792969 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 Mon Nov 10 16:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10842 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-10 16:10:33.432780: 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-10 16:10:33.458508: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-10 16:10:33.460137: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6224000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-10 16:10:33.460193: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-10 16:10:33.462859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-10 16:10:33.597293: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1f3b6d30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-10 16:10:33.597335: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-10 16:10:33.598293: 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-10 16:10:33.598618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-10 16:10:33.600659: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-10 16:10:33.602776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-10 16:10:33.603132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-10 16:10:33.605383: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-10 16:10:33.606467: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-10 16:10:33.611103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-10 16:10:33.612602: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-10 16:10:33.612691: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-10 16:10:33.613471: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-10 16:10:33.613488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-10 16:10:33.613513: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-10 16:10:33.614872: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10 16:10:33.873189: 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-10 16:10:33.873288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-10 16:10:33.873316: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-10 16:10:33.873341: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-10 16:10:33.873366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-10 16:10:33.873390: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-10 16:10:33.873414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-10 16:10:33.873438: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-10 16:10:33.875402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-10 16:10:33.876643: 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-10 16:10:33.876688: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-10 16:10:33.876706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-10 16:10:33.876722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-10 16:10:33.876738: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-10 16:10:33.876754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-10 16:10:33.876770: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-10 16:10:33.876786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-10 16:10:33.878076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-10 16:10:33.878105: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-10 16:10:33.878114: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-10 16:10:33.878122: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-10 16:10:33.879540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10 16:10:42.130808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-10 16:10:42.343312: 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: 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 : 6 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 2645345 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1130 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 : 6419 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.00028133392333984375 nb_pixel_total : 11550 time to create 1 rle with old method : 0.01352381706237793 length of segment : 120 time for calcul the mask position with numpy : 0.0004467964172363281 nb_pixel_total : 25375 time to create 1 rle with old method : 0.02869248390197754 length of segment : 244 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 8153 time to create 1 rle with old method : 0.009454488754272461 length of segment : 143 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 12322 time to create 1 rle with old method : 0.014201164245605469 length of segment : 122 time for calcul the mask position with numpy : 0.0001251697540283203 nb_pixel_total : 5930 time to create 1 rle with old method : 0.006979465484619141 length of segment : 80 time for calcul the mask position with numpy : 0.0003750324249267578 nb_pixel_total : 21064 time to create 1 rle with old method : 0.023332595825195312 length of segment : 246 time for calcul the mask position with numpy : 0.00032830238342285156 nb_pixel_total : 17330 time to create 1 rle with old method : 0.019957304000854492 length of segment : 176 time for calcul the mask position with numpy : 0.020804405212402344 nb_pixel_total : 1116816 time to create 1 rle with new method : 0.39625072479248047 length of segment : 1878 time for calcul the mask position with numpy : 0.0002701282501220703 nb_pixel_total : 11194 time to create 1 rle with old method : 0.01185464859008789 length of segment : 150 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 5780 time to create 1 rle with old method : 0.006230354309082031 length of segment : 128 time for calcul the mask position with numpy : 0.0001475811004638672 nb_pixel_total : 6440 time to create 1 rle with old method : 0.00714111328125 length of segment : 97 time for calcul the mask position with numpy : 0.001527547836303711 nb_pixel_total : 98403 time to create 1 rle with old method : 0.10254740715026855 length of segment : 459 time for calcul the mask position with numpy : 0.00013756752014160156 nb_pixel_total : 3625 time to create 1 rle with old method : 0.0063054561614990234 length of segment : 85 time for calcul the mask position with numpy : 0.0007948875427246094 nb_pixel_total : 39262 time to create 1 rle with old method : 0.050079345703125 length of segment : 249 time for calcul the mask position with numpy : 0.00027871131896972656 nb_pixel_total : 5091 time to create 1 rle with old method : 0.005716085433959961 length of segment : 104 time for calcul the mask position with numpy : 0.0026929378509521484 nb_pixel_total : 108473 time to create 1 rle with old method : 0.11492562294006348 length of segment : 531 time for calcul the mask position with numpy : 0.0005669593811035156 nb_pixel_total : 16845 time to create 1 rle with old method : 0.018507719039916992 length of segment : 182 time for calcul the mask position with numpy : 0.0003483295440673828 nb_pixel_total : 7087 time to create 1 rle with old method : 0.007875919342041016 length of segment : 149 time spent for convertir_results : 1.821136713027954 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 45 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 5143 save missing photos in datou_result : time spend for datou_step_exec : 22.136991500854492 time spend to save output : 0.4090571403503418 total time spend for step 1 : 22.546048641204834 step2:crop_condition Mon Nov 10 16:10:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 45 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762787454_2644584 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580249_0.png', 0, 127, 119, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_rle_crop_4029150571_0.png', 0, 93, 142, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150672_0.jpg', 0, 92, 141, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029580251_0.png', 0, 220, 139, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150575_0.png', 0, 114, 246, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150677_0.jpg', 0, 113, 245, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150577_0.png', 0, 98, 148, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150684_0.jpg', 0, 97, 147, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150580_0.png', 0, 57, 85, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150681_0.jpg', 0, 56, 84, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150585_0.png', 0, 153, 178, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150733_0.jpg', 0, 152, 177, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150583_0.png', 0, 94, 104, 0, 1762787456,'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(1762787456), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150735_0.jpg', 0, 93, 103, 0, 1762787456,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.331806182861328 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762787457_2644584 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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_bib_crop_4029150674_0.jpg', 0, 141, 114, 0, 1762787458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_rle_crop_4029150573_0.png', 0, 142, 115, 0, 1762787458,'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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150574_0.png', 0, 100, 74, 0, 1762787458,'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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150678_0.jpg', 0, 99, 73, 0, 1762787458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150732_0.jpg', 0, 71, 147, 0, 1762787458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787458), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150586_0.png', 0, 72, 148, 0, 1762787458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5705394744873047 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762787465_2644584 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580250_0.png', 0, 170, 196, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150671_0.jpg', 0, 216, 275, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150576_0.png', 0, 1328, 1013, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150676_0.jpg', 0, 1327, 1012, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150578_0.png', 0, 56, 128, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150683_0.jpg', 0, 55, 127, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150579_0.png', 0, 340, 458, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150682_0.jpg', 0, 339, 457, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_rle_crop_4029150582_0.png', 0, 266, 249, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_bib_crop_4029150686_0.jpg', 0, 265, 248, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029336559_0.png', 0, 346, 523, 0, 1762787468,'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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336790_0.jpg', 0, 331, 522, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150734_0.jpg', 0, 332, 528, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1762787468), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336789_0.jpg', 0, 306, 528, 0, 1762787468,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.058454513549805 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762787469_2644584 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(1762787470), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029580252_0.png', 0, 87, 97, 0, 1762787470,'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(1762787470), 0.0, 0.0, 14, '', 0, 0, '1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150680_0.jpg', 0, 88, 95, 0, 1762787470,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8635807037353516 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] Looping around the photos to save general results len do output : 36 /1393762144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393762257Didn'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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 116 time used for this insertion : 0.02085733413696289 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.147741556167603 time spend to save output : 0.022507429122924805 total time spend for step 2 : 17.170248985290527 step3:rle_unique_nms_with_priority Mon Nov 10 16:11:10 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 45 chid ids of type : 3594 ++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.6215577125549316 time for calcul the mask position with numpy : 0.7592482566833496 nb_pixel_total : 2036675 time to create 1 rle with new method : 0.22956180572509766 time for calcul the mask position with numpy : 0.00671696662902832 nb_pixel_total : 25375 time to create 1 rle with old method : 0.02786874771118164 time for calcul the mask position with numpy : 0.006680011749267578 nb_pixel_total : 11550 time to create 1 rle with old method : 0.01278376579284668 create new chi : 1.0540516376495361 time to delete rle : 0.026290416717529297 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1808 TO DO : save crop sub photo not yet done ! save time : 0.1544663906097412 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.4390554428100586 time for calcul the mask position with numpy : 0.13769173622131348 nb_pixel_total : 2032412 time to create 1 rle with new method : 0.07972955703735352 time for calcul the mask position with numpy : 0.006916046142578125 nb_pixel_total : 33035 time to create 1 rle with old method : 0.0400090217590332 time for calcul the mask position with numpy : 0.01185297966003418 nb_pixel_total : 8153 time to create 1 rle with old method : 0.008388280868530273 create new chi : 0.2945840358734131 time to delete rle : 0.0004241466522216797 batch 1 Loaded 6 chid ids of type : 3594 ++Number RLEs to save : 1940 TO DO : save crop sub photo not yet done ! save time : 0.16091370582580566 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.09727787971496582 time for calcul the mask position with numpy : 0.49235010147094727 nb_pixel_total : 2061278 time to create 1 rle with new method : 0.21051287651062012 time for calcul the mask position with numpy : 0.007047891616821289 nb_pixel_total : 12322 time to create 1 rle with old method : 0.014456510543823242 create new chi : 0.7278444766998291 time to delete rle : 0.00023126602172851562 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1324 TO DO : save crop sub photo not yet done ! save time : 0.10673022270202637 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.5428256988525391 time for calcul the mask position with numpy : 0.013108968734741211 nb_pixel_total : 923458 time to create 1 rle with new method : 0.2352619171142578 time for calcul the mask position with numpy : 0.1160430908203125 nb_pixel_total : 1105818 time to create 1 rle with new method : 0.14344239234924316 time for calcul the mask position with numpy : 0.007239580154418945 nb_pixel_total : 17330 time to create 1 rle with old method : 0.028267383575439453 time for calcul the mask position with numpy : 0.007126808166503906 nb_pixel_total : 21064 time to create 1 rle with old method : 0.03437495231628418 time for calcul the mask position with numpy : 0.00723719596862793 nb_pixel_total : 5930 time to create 1 rle with old method : 0.010786294937133789 create new chi : 0.6107125282287598 time to delete rle : 0.0010578632354736328 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 5738 TO DO : save crop sub photo not yet done ! save time : 0.3805885314941406 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.29958200454711914 time for calcul the mask position with numpy : 0.10636615753173828 nb_pixel_total : 1947936 time to create 1 rle with new method : 0.08938860893249512 time for calcul the mask position with numpy : 0.007048606872558594 nb_pixel_total : 222 time to create 1 rle with old method : 0.0003428459167480469 time for calcul the mask position with numpy : 0.008379697799682617 nb_pixel_total : 3625 time to create 1 rle with old method : 0.007635831832885742 time for calcul the mask position with numpy : 0.007635354995727539 nb_pixel_total : 98403 time to create 1 rle with old method : 0.10877180099487305 time for calcul the mask position with numpy : 0.0061914920806884766 nb_pixel_total : 6440 time to create 1 rle with old method : 0.007352352142333984 time for calcul the mask position with numpy : 0.006548881530761719 nb_pixel_total : 5780 time to create 1 rle with old method : 0.006627082824707031 time for calcul the mask position with numpy : 0.007048130035400391 nb_pixel_total : 11194 time to create 1 rle with old method : 0.012602567672729492 create new chi : 0.3912515640258789 time to delete rle : 0.00044155120849609375 batch 1 Loaded 14 chid ids of type : 3594 ++++++Number RLEs to save : 2999 TO DO : save crop sub photo not yet done ! save time : 0.2249760627746582 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05311751365661621 time for calcul the mask position with numpy : 0.021048545837402344 nb_pixel_total : 2034338 time to create 1 rle with new method : 0.02984762191772461 time for calcul the mask position with numpy : 0.006659507751464844 nb_pixel_total : 39262 time to create 1 rle with old method : 0.04215860366821289 create new chi : 0.09996509552001953 time to delete rle : 0.0002624988555908203 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1578 TO DO : save crop sub photo not yet done ! save time : 0.12258601188659668 No data in photo_id : 1393681538 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.4640848636627197 time for calcul the mask position with numpy : 0.06542587280273438 nb_pixel_total : 1934769 time to create 1 rle with new method : 0.08479475975036621 time for calcul the mask position with numpy : 0.006285190582275391 nb_pixel_total : 7087 time to create 1 rle with old method : 0.007842540740966797 time for calcul the mask position with numpy : 0.006456613540649414 nb_pixel_total : 16845 time to create 1 rle with old method : 0.01847100257873535 time for calcul the mask position with numpy : 0.00642085075378418 nb_pixel_total : 1335 time to create 1 rle with old method : 0.001878499984741211 time for calcul the mask position with numpy : 0.0073795318603515625 nb_pixel_total : 108473 time to create 1 rle with old method : 0.12096309661865234 time for calcul the mask position with numpy : 0.007265329360961914 nb_pixel_total : 5091 time to create 1 rle with old method : 0.005708456039428711 create new chi : 0.3489093780517578 time to delete rle : 0.0004565715789794922 batch 1 Loaded 14 chid ids of type : 3594 +++++Number RLEs to save : 3387 TO DO : save crop sub photo not yet done ! save time : 0.24011993408203125 map_output_result : {1393681580: (0.0, 'Should be the crop_list due to order', 0), 1393681564: (0.0, 'Should be the crop_list due to order', 0), 1393681552: (0.0, 'Should be the crop_list due to order', 0), 1393681545: (0.0, 'Should be the crop_list due to order', 0), 1393681542: (0.0, 'Should be the crop_list due to order', 0), 1393681541: (0.0, 'Should be the crop_list due to order', 0), 1393681538: (0.0, 'Should be the crop_list due to order', 0.0), 1393681474: (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 [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] Looping around the photos to save general results len do output : 8 /1393681580.Didn't retrieve data . /1393681564.Didn't retrieve data . /1393681552.Didn't retrieve data . /1393681545.Didn't retrieve data . /1393681542.Didn't retrieve data . /1393681541.Didn't retrieve data . /1393681538.Didn't retrieve data . /1393681474.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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01740241050720215 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.757590293884277 time spend to save output : 0.0177915096282959 total time spend for step 3 : 7.775381803512573 step4:ventilate_hashtags_in_portfolio Mon Nov 10 16:11:18 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 : 28395537 get user id for portfolio 28395537 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`=28395537 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','pet_clair','pehd','autre','metal','environnement','mal_croppe','pet_fonce','carton','papier')) AND mptpi.`min_score`=0.5 To do 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`=28395537 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','pet_clair','pehd','autre','metal','environnement','mal_croppe','pet_fonce','carton','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28396191,28396192,28396193,28396195,28396196,28396197,28396198,28396199,28396200,28396201,28396202?tags=environnement,carton,flou,background,metal,papier,pet_fonce,autre,pehd,mal_croppe,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] Looping around the photos to save general results len do output : 1 /28395537. 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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.018892288208007812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.44564127922058105 time spend to save output : 0.019125699996948242 total time spend for step 4 : 0.4647669792175293 step5:final Mon Nov 10 16:11:18 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 : {1393681580: ('0.053773128054269544',), 1393681564: ('0.053773128054269544',), 1393681552: ('0.053773128054269544',), 1393681545: ('0.053773128054269544',), 1393681542: ('0.053773128054269544',), 1393681541: ('0.053773128054269544',), 1393681538: ('0.053773128054269544',), 1393681474: ('0.053773128054269544',)} new output for save of step final : {1393681580: ('0.053773128054269544',), 1393681564: ('0.053773128054269544',), 1393681552: ('0.053773128054269544',), 1393681545: ('0.053773128054269544',), 1393681542: ('0.053773128054269544',), 1393681541: ('0.053773128054269544',), 1393681538: ('0.053773128054269544',), 1393681474: ('0.053773128054269544',)} [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] Looping around the photos to save general results len do output : 8 /1393681580.Didn't retrieve data . /1393681564.Didn't retrieve data . /1393681552.Didn't retrieve data . /1393681545.Didn't retrieve data . /1393681542.Didn't retrieve data . /1393681541.Didn't retrieve data . /1393681538.Didn't retrieve data . /1393681474.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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.015006542205810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1315629482269287 time spend to save output : 0.015450477600097656 total time spend for step 5 : 0.14701342582702637 step6:blur_detection Mon Nov 10 16:11:18 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/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b.jpg resize: (1080, 1920) 1393681580 1.3516931524466202 treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7.jpg resize: (1080, 1920) 1393681564 -0.17289601354384235 treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806.jpg resize: (1080, 1920) 1393681552 0.4451232964200918 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369.jpg resize: (1080, 1920) 1393681545 0.5942619009996443 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319.jpg resize: (1080, 1920) 1393681542 0.2784558521891191 treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b.jpg resize: (1080, 1920) 1393681541 0.8367162755412684 treat image : temp/1762787429_2644584_1393681538_c9b5e10996f0e79424cc07e817cfe601.jpg resize: (1080, 1920) 1393681538 0.4176656056583178 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782.jpg resize: (1080, 1920) 1393681474 1.5223054313256936 treat image : temp/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580249_0.png resize: (119, 127) 1393762144 -1.6848749181311453 treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_rle_crop_4029150571_0.png resize: (142, 93) 1393762145 -1.5800206575223579 treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150672_0.jpg resize: (141, 92) 1393762147 -0.756071044614443 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029580251_0.png resize: (139, 220) 1393762148 1.3688275434551382 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150575_0.png resize: (246, 114) 1393762149 -0.80017738728923 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150677_0.jpg resize: (245, 113) 1393762151 9.374941220616348 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150577_0.png resize: (148, 98) 1393762152 0.7553878909557836 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150684_0.jpg resize: (147, 97) 1393762153 3.920629691330313 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150580_0.png resize: (85, 57) 1393762155 0.614551093584354 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150681_0.jpg resize: (84, 56) 1393762156 8.766053432193475 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150585_0.png resize: (178, 153) 1393762157 -1.7631395393072138 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150733_0.jpg resize: (177, 152) 1393762159 20.0 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150583_0.png resize: (104, 94) 1393762160 -1.7774878001041798 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150735_0.jpg resize: (103, 93) 1393762161 6.215373089162168 treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_bib_crop_4029150674_0.jpg resize: (114, 141) 1393762176 20.0 treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_rle_crop_4029150573_0.png resize: (115, 142) 1393762178 -1.1676729892139288 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150574_0.png resize: (74, 100) 1393762179 1.6913047893964448 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150678_0.jpg resize: (73, 99) 1393762180 3.4000928738234775 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150732_0.jpg resize: (147, 71) 1393762182 -0.268118057382908 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150586_0.png resize: (148, 72) 1393762183 -1.8070055772260973 treat image : temp/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580250_0.png resize: (196, 170) 1393762241 -1.4551217389371442 treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150671_0.jpg resize: (275, 216) 1393762242 2.6025362974973003 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150576_0.png resize: (1013, 1328) 1393762243 -0.8119265713774579 treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150676_0.jpg resize: (1012, 1327) 1393762244 0.1330455186328715 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150578_0.png resize: (128, 56) 1393762245 0.6053574798199449 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150683_0.jpg resize: (127, 55) 1393762246 6.646104369010313 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150579_0.png resize: (458, 340) 1393762247 0.2045232348937431 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150682_0.jpg resize: (457, 339) 1393762248 11.105649043456038 treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_rle_crop_4029150582_0.png resize: (249, 266) 1393762249 -0.9974266978963487 treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_bib_crop_4029150686_0.jpg resize: (248, 265) 1393762250 7.689279289604287 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029336559_0.png resize: (523, 346) 1393762251 0.10271308730758469 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336790_0.jpg resize: (522, 331) 1393762252 6.112544593233798 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150734_0.jpg resize: (528, 332) 1393762253 6.132777149765822 treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336789_0.jpg resize: (528, 306) 1393762254 7.315816587644235 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029580252_0.png resize: (97, 87) 1393762256 0.7409345932836373 treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150680_0.jpg resize: (95, 88) 1393762257 5.663432636314666 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 44 time used for this insertion : 0.01633429527282715 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.0176544189453125 save missing photos in datou_result : time spend for datou_step_exec : 8.017979621887207 time spend to save output : 0.039055585861206055 total time spend for step 6 : 8.057035207748413 step7:brightness Mon Nov 10 16:11:26 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/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b.jpg treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7.jpg treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806.jpg treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319.jpg treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b.jpg treat image : temp/1762787429_2644584_1393681538_c9b5e10996f0e79424cc07e817cfe601.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782.jpg treat image : temp/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580249_0.png treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_rle_crop_4029150571_0.png treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150672_0.jpg treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029580251_0.png treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150575_0.png treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150677_0.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150577_0.png treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150684_0.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150580_0.png treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150681_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150585_0.png treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150733_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150583_0.png treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150735_0.jpg treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_bib_crop_4029150674_0.jpg treat image : temp/1762787429_2644584_1393681552_7a4ffae65bcc10c23acbd9db34571806_rle_crop_4029150573_0.png treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150574_0.png treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150678_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150732_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029150586_0.png treat image : temp/1762787429_2644584_1393681580_1982b6ae7ff15ca6b2684602d220f83b_rle_crop_4029580250_0.png treat image : temp/1762787429_2644584_1393681564_fcf875bf3fafda6d3b15705c79948ee7_bib_crop_4029150671_0.jpg treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_rle_crop_4029150576_0.png treat image : temp/1762787429_2644584_1393681545_23cf63f56c4cfedb7801781f70e66369_bib_crop_4029150676_0.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150578_0.png treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150683_0.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029150579_0.png treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150682_0.jpg treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_rle_crop_4029150582_0.png treat image : temp/1762787429_2644584_1393681541_a1a80a0f6d4111796419fa0365ff950b_bib_crop_4029150686_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_rle_crop_4029336559_0.png treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336790_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029150734_0.jpg treat image : temp/1762787429_2644584_1393681474_6a5a834c6e9e4d3b6cd1a11c78a06782_bib_crop_4029336789_0.jpg treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_rle_crop_4029580252_0.png treat image : temp/1762787429_2644584_1393681542_561f34551f6d8af559a3d8599254f319_bib_crop_4029150680_0.jpg Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 44 time used for this insertion : 0.01755809783935547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.01542806625366211 save missing photos in datou_result : time spend for datou_step_exec : 2.4659628868103027 time spend to save output : 0.03760647773742676 total time spend for step 7 : 2.5035693645477295 step8:velours_tree Mon Nov 10 16:11: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 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.14259099960327148 time spend to save output : 3.3855438232421875e-05 total time spend for step 8 : 0.1426248550415039 step9:send_mail_cod Mon Nov 10 16:11: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 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_P28395537_10-11-2025_16_11_29.pdf 28396192 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette283961921762787489 28396193 imagette283961931762787490 28396195 imagette283961951762787490 28396196 change filename to text .change filename to text .imagette283961961762787490 28396197 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette283961971762787491 28396198 change filename to text .change filename to text .change filename to text .imagette283961981762787492 28396199 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 .imagette283961991762787492 28396200 imagette283962001762787493 28396201 imagette283962011762787493 28396202 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette283962021762787493 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28395537 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28396191,28396192,28396193,28396195,28396196,28396197,28396198,28396199,28396200,28396201,28396202?tags=environnement,carton,flou,background,metal,papier,pet_fonce,autre,pehd,mal_croppe,pet_clair args[1393681580] : ((1393681580, 1.3516931524466202, 492688767), (1393681580, 0.6029403274135784, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681564] : ((1393681564, -0.17289601354384235, 492688767), (1393681564, 0.5274770617065445, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681552] : ((1393681552, 0.4451232964200918, 492688767), (1393681552, 0.7179328991720983, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681545] : ((1393681545, 0.5942619009996443, 492688767), (1393681545, 0.4948957589282664, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681542] : ((1393681542, 0.2784558521891191, 492688767), (1393681542, 0.9751834093633719, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681541] : ((1393681541, 0.8367162755412684, 492688767), (1393681541, 0.801050601039954, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681538] : ((1393681538, 0.4176656056583178, 492688767), (1393681538, 0.69515504754498, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com args[1393681474] : ((1393681474, 1.5223054313256936, 492688767), (1393681474, 0.3776302562602935, 2107752395), '0.053773128054269544') We are sending mail with results at report@fotonower.com refus_total : 0.053773128054269544 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=28395537 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_P28395537_10-11-2025_16_11_29.pdf results_Auto_P28395537_10-11-2025_16_11_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28395537_10-11-2025_16_11_29.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','28395537','results_Auto_P28395537_10-11-2025_16_11_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28395537_10-11-2025_16_11_29.pdf','pdf','','0.46','0.053773128054269544') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28395537

https://www.fotonower.com/image?json=false&list_photos_id=1393681580
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3516931524466202)
https://www.fotonower.com/image?json=false&list_photos_id=1393681564
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681552
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681545
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681542
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681541
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681538
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393681474
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5223054313256936)

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

exemples de contaminants: carton: https://www.fotonower.com/view/28396192?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28396196?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28396197?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/28396198?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28396199?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28396202?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28395537_10-11-2025_16_11_29.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28396191,28396192,28396193,28396195,28396196,28396197,28396198,28396199,28396200,28396201,28396202?tags=environnement,carton,flou,background,metal,papier,pet_fonce,autre,pehd,mal_croppe,pet_clair.


L'équipe Fotonower 202 b'' Date: Mon, 10 Nov 2025 15:11:37 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: 5S9PyIjxTHiPC5kiKdtTrA 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 [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] 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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01400613784790039 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.002748012542725 time spend to save output : 0.014228582382202148 total time spend for step 9 : 8.016976594924927 step10:split_time_score Mon Nov 10 16:11:37 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'}] (('07', 48),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10112025 28395537 Nombre de photos uploadées : 48 / 23040 (0%) 10112025 28395537 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 10112025 28395537 Nombre de photos taguées (volume) : 0 / 48 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002201557159423828 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23058867454528809 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.05438819526530078 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28395537_10-11-2025_16_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28395537 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`=28395537 AND mptpi.`type`=3594 To do Qualite : 0.10644557554713807 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28381336_10-11-2025_09_32_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28381336 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`=28381336 AND mptpi.`type`=3594 To do Qualite : 0.552663215877915 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28388418_10-11-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28388418 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`=28388418 AND mptpi.`type`=3594 To do Qualite : 0.09754239004629629 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28388428_10-11-2025_12_31_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28388428 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`=28388428 AND mptpi.`type`=3594 To do Qualite : 0.017608453360768175 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28395540_10-11-2025_15_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28395540 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`=28395540 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10112025': {'nb_upload': 48, '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 [1393681580, 1393681564, 1393681552, 1393681545, 1393681542, 1393681541, 1393681538, 1393681474] Looping around the photos to save general results len do output : 1 /28395537Didn'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, '4027668') ('3318', None, '1393681580', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681564', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681552', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681545', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681542', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681541', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681538', None, None, None, None, None, '4027668') ('3318', None, None, None, None, None, None, None, '4027668') ('3318', None, '1393681474', None, None, None, None, None, '4027668') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.013690471649169922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7356400489807129 time spend to save output : 0.013865470886230469 total time spend for step 10 : 0.7495055198669434 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 35.24user 17.85system 1:13.63elapsed 72%CPU (0avgtext+0avgdata 2630336maxresident)k 18704inputs+26480outputs (48major+1369856minor)pagefaults 0swaps