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 : 93637 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 : ['3996723'] with mtr_portfolio_ids : ['28150110'] and first list_photo_ids : [] new path : /proc/93637/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.8300387859344482 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Nov 4 10:40:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-04 10:40:37.084857: 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-04 10:40:37.114506: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-04 10:40:37.116700: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8394000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-04 10:40:37.116764: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-04 10:40:37.121110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-04 10:40:37.372167: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x34ec9410 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-04 10:40:37.372236: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-04 10:40:37.373540: 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-04 10:40:37.374007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-04 10:40:37.377621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-04 10:40:37.383023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-04 10:40:37.383490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-04 10:40:37.389127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-04 10:40:37.390980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-04 10:40:37.397670: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-04 10:40:37.399665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-04 10:40:37.399773: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-04 10:40:37.400756: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-04 10:40:37.400775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-04 10:40:37.400786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-04 10:40:37.402610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-04 10:40:37.717404: 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-04 10:40:37.717517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-04 10:40:37.717549: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-04 10:40:37.717577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-04 10:40:37.717604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-04 10:40:37.717627: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-04 10:40:37.717647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-04 10:40:37.717669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-04 10:40:37.719423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-04 10:40:37.721386: 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-04 10:40:37.721452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-04 10:40:37.721481: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-04 10:40:37.721504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-04 10:40:37.721528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-04 10:40:37.721552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-04 10:40:37.721576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-04 10:40:37.721598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-04 10:40:37.723306: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-04 10:40:37.723359: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-04 10:40:37.723374: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-04 10:40:37.723385: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-04 10:40:37.725147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-04 10:40:46.135521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-04 10:40:46.356134: 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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.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: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 2 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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: 39.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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 59.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 : 0 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 54.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 57.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 59.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 94354 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4185 tf kernel not reseted sub process len(results) : 16 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 16 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 : 5332 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.00011348724365234375 nb_pixel_total : 2263 time to create 1 rle with old method : 0.002819061279296875 length of segment : 52 time for calcul the mask position with numpy : 0.0002949237823486328 nb_pixel_total : 14585 time to create 1 rle with old method : 0.017241716384887695 length of segment : 308 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 2167 time to create 1 rle with old method : 0.002680540084838867 length of segment : 52 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 4313 time to create 1 rle with old method : 0.005181789398193359 length of segment : 79 time for calcul the mask position with numpy : 0.0007839202880859375 nb_pixel_total : 35797 time to create 1 rle with old method : 0.04076838493347168 length of segment : 374 time for calcul the mask position with numpy : 0.0018973350524902344 nb_pixel_total : 110549 time to create 1 rle with old method : 0.12694334983825684 length of segment : 549 time for calcul the mask position with numpy : 0.0010590553283691406 nb_pixel_total : 64620 time to create 1 rle with old method : 0.0733027458190918 length of segment : 325 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 5119 time to create 1 rle with old method : 0.006010770797729492 length of segment : 124 time for calcul the mask position with numpy : 7.510185241699219e-05 nb_pixel_total : 2936 time to create 1 rle with old method : 0.003572225570678711 length of segment : 46 time for calcul the mask position with numpy : 0.00016117095947265625 nb_pixel_total : 9318 time to create 1 rle with old method : 0.01077580451965332 length of segment : 138 time for calcul the mask position with numpy : 0.00014638900756835938 nb_pixel_total : 7226 time to create 1 rle with old method : 0.008520841598510742 length of segment : 128 time for calcul the mask position with numpy : 6.628036499023438e-05 nb_pixel_total : 2510 time to create 1 rle with old method : 0.0031511783599853516 length of segment : 43 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 10311 time to create 1 rle with old method : 0.011888265609741211 length of segment : 171 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 8037 time to create 1 rle with old method : 0.009217500686645508 length of segment : 165 time for calcul the mask position with numpy : 0.00025463104248046875 nb_pixel_total : 9917 time to create 1 rle with old method : 0.011660337448120117 length of segment : 181 time for calcul the mask position with numpy : 0.0016775131225585938 nb_pixel_total : 115056 time to create 1 rle with old method : 0.13331246376037598 length of segment : 594 time for calcul the mask position with numpy : 0.00024175643920898438 nb_pixel_total : 7710 time to create 1 rle with old method : 0.009166240692138672 length of segment : 120 time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 7577 time to create 1 rle with old method : 0.008933305740356445 length of segment : 100 time for calcul the mask position with numpy : 0.002048969268798828 nb_pixel_total : 119173 time to create 1 rle with old method : 0.13681292533874512 length of segment : 584 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007535696029663086 length of segment : 81 time for calcul the mask position with numpy : 0.00015401840209960938 nb_pixel_total : 10477 time to create 1 rle with old method : 0.012316703796386719 length of segment : 77 time for calcul the mask position with numpy : 0.00014281272888183594 nb_pixel_total : 5713 time to create 1 rle with old method : 0.006845951080322266 length of segment : 128 time for calcul the mask position with numpy : 0.0021424293518066406 nb_pixel_total : 112838 time to create 1 rle with old method : 0.12555980682373047 length of segment : 561 time for calcul the mask position with numpy : 0.0007398128509521484 nb_pixel_total : 34895 time to create 1 rle with old method : 0.040421247482299805 length of segment : 381 time for calcul the mask position with numpy : 0.00010657310485839844 nb_pixel_total : 3397 time to create 1 rle with old method : 0.0040435791015625 length of segment : 74 time for calcul the mask position with numpy : 0.0005433559417724609 nb_pixel_total : 31501 time to create 1 rle with old method : 0.03560614585876465 length of segment : 423 time for calcul the mask position with numpy : 0.0016663074493408203 nb_pixel_total : 108334 time to create 1 rle with old method : 0.12398934364318848 length of segment : 516 time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 3056 time to create 1 rle with old method : 0.0037522315979003906 length of segment : 61 time for calcul the mask position with numpy : 7.700920104980469e-05 nb_pixel_total : 1763 time to create 1 rle with old method : 0.0023000240325927734 length of segment : 42 time for calcul the mask position with numpy : 0.00029730796813964844 nb_pixel_total : 13089 time to create 1 rle with old method : 0.016986608505249023 length of segment : 162 time for calcul the mask position with numpy : 0.00045943260192871094 nb_pixel_total : 10186 time to create 1 rle with old method : 0.018189668655395508 length of segment : 181 time for calcul the mask position with numpy : 0.002002716064453125 nb_pixel_total : 69100 time to create 1 rle with old method : 0.10295271873474121 length of segment : 464 time for calcul the mask position with numpy : 0.00026869773864746094 nb_pixel_total : 4665 time to create 1 rle with old method : 0.005722761154174805 length of segment : 75 time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 3108 time to create 1 rle with old method : 0.003784656524658203 length of segment : 87 time for calcul the mask position with numpy : 0.00044274330139160156 nb_pixel_total : 12575 time to create 1 rle with old method : 0.014880180358886719 length of segment : 192 time for calcul the mask position with numpy : 0.008651971817016602 nb_pixel_total : 262477 time to create 1 rle with new method : 0.03935527801513672 length of segment : 986 time spent for convertir_results : 2.534838914871216 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 36 chid ids of type : 3594 Number RLEs to save : 8624 save missing photos in datou_result : time spend for datou_step_exec : 27.858129262924194 time spend to save output : 0.5863032341003418 total time spend for step 1 : 28.444432497024536 step2:crop_condition Tue Nov 4 10:41:02 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 : 16 ! batch 1 Loaded 36 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762249263_93637 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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024013_0.png', 0, 59, 49, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024016_0.png', 0, 88, 79, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024020_0.png', 0, 69, 124, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024025_0.png', 0, 113, 170, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024027_0.png', 0, 162, 147, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024024_0.png', 0, 89, 40, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024023_0.png', 0, 88, 122, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024026_0.png', 0, 82, 164, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024029_0.png', 0, 98, 113, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361256_a3130d5bd7c0c25cac9854beba7545c7_rle_crop_4019024032_0.png', 0, 98, 80, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360678_cb8f3e5bdaefc0a0a964d3c5b926dd6a_rle_crop_4019024033_0.png', 0, 167, 75, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024037_0.png', 0, 63, 73, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024034_0.png', 0, 81, 128, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024041_0.png', 0, 65, 42, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024040_0.png', 0, 59, 61, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024043_0.png', 0, 114, 180, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024045_0.png', 0, 112, 74, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024042_0.png', 0, 170, 162, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360609_c3807ffd3c87b733512146dbd90eecd2_rle_crop_4019024046_0.png', 0, 51, 87, 0, 1762249267,'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(1762249267), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024047_0.png', 0, 147, 139, 0, 1762249267,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.9256980419158936 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762249270_93637 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(1762249270), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024015_0.png', 0, 59, 52, 0, 1762249270,'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(1762249270), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024048_0.png', 0, 865, 804, 0, 1762249270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.954409122467041 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762249274_93637 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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024014_0.png', 0, 136, 179, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024018_0.png', 0, 337, 549, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024019_0.png', 0, 306, 344, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024021_0.png', 0, 77, 44, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024028_0.png', 0, 329, 580, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024022_0.png', 0, 89, 137, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024030_0.png', 0, 151, 65, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024031_0.png', 0, 323, 580, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024035_0.png', 0, 344, 560, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024039_0.png', 0, 338, 515, 0, 1762249276,'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(1762249276), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024044_0.png', 0, 282, 416, 0, 1762249276,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.9008688926696777 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762249278_93637 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(1762249279), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024017_0.png', 0, 131, 367, 0, 1762249279,'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(1762249279), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024036_0.png', 0, 144, 351, 0, 1762249279,'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(1762249279), 0.0, 0.0, 14, '', 0, 0, '1762249231_93637_1392360672_234eeb9013ab19d0e93f859e18f58b8e_rle_crop_4019024038_0.png', 0, 143, 325, 0, 1762249279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1297931671142578 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] Looping around the photos to save general results len do output : 36 /1392366495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392366584Didn'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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.02198481559753418 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.04127597808838 time spend to save output : 0.023589372634887695 total time spend for step 2 : 17.064865350723267 step3:rle_unique_nms_with_priority Tue Nov 4 10:41:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 36 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.515099048614502 time for calcul the mask position with numpy : 0.1483609676361084 nb_pixel_total : 2054585 time to create 1 rle with new method : 0.22522330284118652 time for calcul the mask position with numpy : 0.008807659149169922 nb_pixel_total : 2167 time to create 1 rle with old method : 0.0025396347045898438 time for calcul the mask position with numpy : 0.007944822311401367 nb_pixel_total : 14585 time to create 1 rle with old method : 0.016655445098876953 time for calcul the mask position with numpy : 0.007838249206542969 nb_pixel_total : 2263 time to create 1 rle with old method : 0.0026564598083496094 create new chi : 0.4324173927307129 time to delete rle : 0.026401281356811523 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1904 TO DO : save crop sub photo not yet done ! save time : 0.15525412559509277 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.4434225559234619 time for calcul the mask position with numpy : 0.09340596199035645 nb_pixel_total : 1922941 time to create 1 rle with new method : 0.1595158576965332 time for calcul the mask position with numpy : 0.00925135612487793 nb_pixel_total : 110549 time to create 1 rle with old method : 0.1241610050201416 time for calcul the mask position with numpy : 0.008171558380126953 nb_pixel_total : 35797 time to create 1 rle with old method : 0.04000592231750488 time for calcul the mask position with numpy : 0.007846355438232422 nb_pixel_total : 4313 time to create 1 rle with old method : 0.004847526550292969 create new chi : 0.4588005542755127 time to delete rle : 0.0007009506225585938 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3084 TO DO : save crop sub photo not yet done ! save time : 0.2470686435699463 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06528997421264648 time for calcul the mask position with numpy : 0.028502464294433594 nb_pixel_total : 2003861 time to create 1 rle with new method : 0.1157381534576416 time for calcul the mask position with numpy : 0.006905078887939453 nb_pixel_total : 5119 time to create 1 rle with old method : 0.0067827701568603516 time for calcul the mask position with numpy : 0.006827116012573242 nb_pixel_total : 64620 time to create 1 rle with old method : 0.07410430908203125 create new chi : 0.25043535232543945 time to delete rle : 0.0003268718719482422 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1978 TO DO : save crop sub photo not yet done ! save time : 0.14319419860839844 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.3800544738769531 time for calcul the mask position with numpy : 0.14905333518981934 nb_pixel_total : 1908289 time to create 1 rle with new method : 0.14693784713745117 time for calcul the mask position with numpy : 0.008017539978027344 nb_pixel_total : 115056 time to create 1 rle with old method : 0.12919116020202637 time for calcul the mask position with numpy : 0.007498502731323242 nb_pixel_total : 9917 time to create 1 rle with old method : 0.010921239852905273 time for calcul the mask position with numpy : 0.006386280059814453 nb_pixel_total : 8037 time to create 1 rle with old method : 0.008766412734985352 time for calcul the mask position with numpy : 0.0059397220611572266 nb_pixel_total : 10311 time to create 1 rle with old method : 0.011470317840576172 time for calcul the mask position with numpy : 0.006081104278564453 nb_pixel_total : 2510 time to create 1 rle with old method : 0.0027947425842285156 time for calcul the mask position with numpy : 0.0067098140716552734 nb_pixel_total : 7226 time to create 1 rle with old method : 0.008042335510253906 time for calcul the mask position with numpy : 0.006674051284790039 nb_pixel_total : 9318 time to create 1 rle with old method : 0.009889841079711914 time for calcul the mask position with numpy : 0.007355213165283203 nb_pixel_total : 2936 time to create 1 rle with old method : 0.0048313140869140625 create new chi : 0.5478477478027344 time to delete rle : 0.0007808208465576172 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 4012 TO DO : save crop sub photo not yet done ! save time : 0.279146671295166 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0961761474609375 time for calcul the mask position with numpy : 0.024262666702270508 nb_pixel_total : 1939140 time to create 1 rle with new method : 0.0633399486541748 time for calcul the mask position with numpy : 0.00821995735168457 nb_pixel_total : 119173 time to create 1 rle with old method : 0.1349639892578125 time for calcul the mask position with numpy : 0.007508993148803711 nb_pixel_total : 7577 time to create 1 rle with old method : 0.008599519729614258 time for calcul the mask position with numpy : 0.009506464004516602 nb_pixel_total : 7710 time to create 1 rle with old method : 0.01188802719116211 create new chi : 0.28157663345336914 time to delete rle : 0.0005524158477783203 batch 1 Loaded 7 chid ids of type : 3594 ++++++++++Number RLEs to save : 2688 TO DO : save crop sub photo not yet done ! save time : 0.19231605529785156 No data in photo_id : 1392361296 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04043436050415039 time for calcul the mask position with numpy : 0.024428606033325195 nb_pixel_total : 2067087 time to create 1 rle with new method : 0.13227057456970215 time for calcul the mask position with numpy : 0.0062448978424072266 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007337808609008789 create new chi : 0.1705167293548584 time to delete rle : 0.00021958351135253906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1242 TO DO : save crop sub photo not yet done ! save time : 0.12009000778198242 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.048731088638305664 time for calcul the mask position with numpy : 0.08681297302246094 nb_pixel_total : 2063123 time to create 1 rle with new method : 0.26388072967529297 time for calcul the mask position with numpy : 0.006783008575439453 nb_pixel_total : 10477 time to create 1 rle with old method : 0.011896133422851562 create new chi : 0.3803110122680664 time to delete rle : 0.00025177001953125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1234 TO DO : save crop sub photo not yet done ! save time : 0.1139059066772461 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.7461130619049072 time for calcul the mask position with numpy : 0.13334083557128906 nb_pixel_total : 1916757 time to create 1 rle with new method : 0.24780821800231934 time for calcul the mask position with numpy : 0.011041402816772461 nb_pixel_total : 3397 time to create 1 rle with old method : 0.004302978515625 time for calcul the mask position with numpy : 0.009227991104125977 nb_pixel_total : 34895 time to create 1 rle with old method : 0.040357112884521484 time for calcul the mask position with numpy : 0.009572029113769531 nb_pixel_total : 112838 time to create 1 rle with old method : 0.1478562355041504 time for calcul the mask position with numpy : 0.011707544326782227 nb_pixel_total : 5713 time to create 1 rle with old method : 0.009784460067749023 create new chi : 0.6408393383026123 time to delete rle : 0.0009019374847412109 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3368 TO DO : save crop sub photo not yet done ! save time : 0.24853515625 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08680343627929688 time for calcul the mask position with numpy : 0.04305267333984375 nb_pixel_total : 2042099 time to create 1 rle with new method : 0.12449145317077637 time for calcul the mask position with numpy : 0.011607170104980469 nb_pixel_total : 31501 time to create 1 rle with old method : 0.04152536392211914 create new chi : 0.2211780548095703 time to delete rle : 0.00054168701171875 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1926 TO DO : save crop sub photo not yet done ! save time : 0.14223957061767578 No data in photo_id : 1392360669 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2100827693939209 time for calcul the mask position with numpy : 0.09810876846313477 nb_pixel_total : 1960447 time to create 1 rle with new method : 0.2614593505859375 time for calcul the mask position with numpy : 0.015674591064453125 nb_pixel_total : 1763 time to create 1 rle with old method : 0.0020897388458251953 time for calcul the mask position with numpy : 0.008478403091430664 nb_pixel_total : 3056 time to create 1 rle with old method : 0.003497600555419922 time for calcul the mask position with numpy : 0.009428024291992188 nb_pixel_total : 108334 time to create 1 rle with old method : 0.12676048278808594 create new chi : 0.5381021499633789 time to delete rle : 0.0008234977722167969 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2318 TO DO : save crop sub photo not yet done ! save time : 0.18195629119873047 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.27140069007873535 time for calcul the mask position with numpy : 0.31736302375793457 nb_pixel_total : 1976560 time to create 1 rle with new method : 0.2582216262817383 time for calcul the mask position with numpy : 0.022456884384155273 nb_pixel_total : 4665 time to create 1 rle with old method : 0.02509307861328125 time for calcul the mask position with numpy : 0.011735916137695312 nb_pixel_total : 69100 time to create 1 rle with old method : 0.08592557907104492 time for calcul the mask position with numpy : 0.013293027877807617 nb_pixel_total : 10186 time to create 1 rle with old method : 0.011666059494018555 time for calcul the mask position with numpy : 0.015325784683227539 nb_pixel_total : 13089 time to create 1 rle with old method : 0.017163515090942383 create new chi : 0.8066956996917725 time to delete rle : 0.0012454986572265625 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2844 TO DO : save crop sub photo not yet done ! save time : 0.20526432991027832 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05754399299621582 time for calcul the mask position with numpy : 0.0236051082611084 nb_pixel_total : 2070492 time to create 1 rle with new method : 0.09072732925415039 time for calcul the mask position with numpy : 0.006977081298828125 nb_pixel_total : 3108 time to create 1 rle with old method : 0.0036072731018066406 create new chi : 0.1252574920654297 time to delete rle : 0.0002658367156982422 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1254 TO DO : save crop sub photo not yet done ! save time : 0.11496901512145996 No data in photo_id : 1392360608 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.12052297592163086 time for calcul the mask position with numpy : 0.07129120826721191 nb_pixel_total : 1798548 time to create 1 rle with new method : 0.09369993209838867 time for calcul the mask position with numpy : 0.014057159423828125 nb_pixel_total : 262477 time to create 1 rle with new method : 0.10214805603027344 time for calcul the mask position with numpy : 0.007279872894287109 nb_pixel_total : 12575 time to create 1 rle with old method : 0.015169858932495117 create new chi : 0.3166840076446533 time to delete rle : 0.0006015300750732422 batch 1 Loaded 5 chid ids of type : 3594 +++++++Number RLEs to save : 3436 TO DO : save crop sub photo not yet done ! save time : 0.23179125785827637 map_output_result : {1392361542: (0.0, 'Should be the crop_list due to order', 0), 1392361355: (0.0, 'Should be the crop_list due to order', 0), 1392361347: (0.0, 'Should be the crop_list due to order', 0), 1392361340: (0.0, 'Should be the crop_list due to order', 0), 1392361335: (0.0, 'Should be the crop_list due to order', 0), 1392361296: (0.0, 'Should be the crop_list due to order', 0.0), 1392361256: (0.0, 'Should be the crop_list due to order', 0), 1392360678: (0.0, 'Should be the crop_list due to order', 0), 1392360675: (0.0, 'Should be the crop_list due to order', 0), 1392360672: (0.0, 'Should be the crop_list due to order', 0), 1392360669: (0.0, 'Should be the crop_list due to order', 0.0), 1392360665: (0.0, 'Should be the crop_list due to order', 0), 1392360656: (0.0, 'Should be the crop_list due to order', 0), 1392360609: (0.0, 'Should be the crop_list due to order', 0), 1392360608: (0.0, 'Should be the crop_list due to order', 0.0), 1392360606: (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 [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] Looping around the photos to save general results len do output : 16 /1392361542.Didn't retrieve data . /1392361355.Didn't retrieve data . /1392361347.Didn't retrieve data . /1392361340.Didn't retrieve data . /1392361335.Didn't retrieve data . /1392361296.Didn't retrieve data . /1392361256.Didn't retrieve data . /1392360678.Didn't retrieve data . /1392360675.Didn't retrieve data . /1392360672.Didn't retrieve data . /1392360669.Didn't retrieve data . /1392360665.Didn't retrieve data . /1392360656.Didn't retrieve data . /1392360609.Didn't retrieve data . /1392360608.Didn't retrieve data . /1392360606.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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.015298843383789062 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.218176126480103 time spend to save output : 0.016005754470825195 total time spend for step 3 : 11.234181880950928 step4:ventilate_hashtags_in_portfolio Tue Nov 4 10:41: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 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 : 28150110 get user id for portfolio 28150110 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`=28150110 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','flou','carton','papier','pet_fonce','pet_clair','autre','metal','pehd','background')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28150110 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','flou','carton','papier','pet_fonce','pet_clair','autre','metal','pehd','background')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28150110 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','environnement','flou','carton','papier','pet_fonce','pet_clair','autre','metal','pehd','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28150556,28150557,28150558,28150559,28150560,28150561,28150562,28150563,28150564,28150565,28150566?tags=mal_croppe,environnement,flou,carton,papier,pet_fonce,pet_clair,autre,metal,pehd,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] Looping around the photos to save general results len do output : 1 /28150110. 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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.017219066619873047 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6921281814575195 time spend to save output : 0.017624855041503906 total time spend for step 4 : 1.7097530364990234 step5:final Tue Nov 4 10:41:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1392361542: ('0.03715974030671297',), 1392361355: ('0.03715974030671297',), 1392361347: ('0.03715974030671297',), 1392361340: ('0.03715974030671297',), 1392361335: ('0.03715974030671297',), 1392361296: ('0.03715974030671297',), 1392361256: ('0.03715974030671297',), 1392360678: ('0.03715974030671297',), 1392360675: ('0.03715974030671297',), 1392360672: ('0.03715974030671297',), 1392360669: ('0.03715974030671297',), 1392360665: ('0.03715974030671297',), 1392360656: ('0.03715974030671297',), 1392360609: ('0.03715974030671297',), 1392360608: ('0.03715974030671297',), 1392360606: ('0.03715974030671297',)} new output for save of step final : {1392361542: ('0.03715974030671297',), 1392361355: ('0.03715974030671297',), 1392361347: ('0.03715974030671297',), 1392361340: ('0.03715974030671297',), 1392361335: ('0.03715974030671297',), 1392361296: ('0.03715974030671297',), 1392361256: ('0.03715974030671297',), 1392360678: ('0.03715974030671297',), 1392360675: ('0.03715974030671297',), 1392360672: ('0.03715974030671297',), 1392360669: ('0.03715974030671297',), 1392360665: ('0.03715974030671297',), 1392360656: ('0.03715974030671297',), 1392360609: ('0.03715974030671297',), 1392360608: ('0.03715974030671297',), 1392360606: ('0.03715974030671297',)} [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] Looping around the photos to save general results len do output : 16 /1392361542.Didn't retrieve data . /1392361355.Didn't retrieve data . /1392361347.Didn't retrieve data . /1392361340.Didn't retrieve data . /1392361335.Didn't retrieve data . /1392361296.Didn't retrieve data . /1392361256.Didn't retrieve data . /1392360678.Didn't retrieve data . /1392360675.Didn't retrieve data . /1392360672.Didn't retrieve data . /1392360669.Didn't retrieve data . /1392360665.Didn't retrieve data . /1392360656.Didn't retrieve data . /1392360609.Didn't retrieve data . /1392360608.Didn't retrieve data . /1392360606.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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.013093948364257812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16029047966003418 time spend to save output : 0.014120101928710938 total time spend for step 5 : 0.17441058158874512 step6:blur_detection Tue Nov 4 10:41:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49.jpg resize: (1080, 1920) 1392361542 0.1047167497547076 treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29.jpg resize: (1080, 1920) 1392361355 -4.3055143056813785 treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01.jpg resize: (1080, 1920) 1392361347 1.0865387576449606 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a.jpg resize: (1080, 1920) 1392361340 -4.0554574305687705 treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1.jpg resize: (1080, 1920) 1392361335 3.552687158706362 treat image : temp/1762249231_93637_1392361296_9bdc3fe895140b13f0a1a5fcf3b3c527.jpg resize: (1080, 1920) 1392361296 0.9462525532289332 treat image : temp/1762249231_93637_1392361256_a3130d5bd7c0c25cac9854beba7545c7.jpg resize: (1080, 1920) 1392361256 -4.322924002466479 treat image : temp/1762249231_93637_1392360678_cb8f3e5bdaefc0a0a964d3c5b926dd6a.jpg resize: (1080, 1920) 1392360678 0.1578297930641739 treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366.jpg resize: (1080, 1920) 1392360675 -3.4300396494262713 treat image : temp/1762249231_93637_1392360672_234eeb9013ab19d0e93f859e18f58b8e.jpg resize: (1080, 1920) 1392360672 -0.1655113494875319 treat image : temp/1762249231_93637_1392360669_d48e29dd9c73eb16b277923363ad008d.jpg resize: (1080, 1920) 1392360669 -0.5953280269543929 treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b.jpg resize: (1080, 1920) 1392360665 -3.8753666272356373 treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1.jpg resize: (1080, 1920) 1392360656 -1.37348936482865 treat image : temp/1762249231_93637_1392360609_c3807ffd3c87b733512146dbd90eecd2.jpg resize: (1080, 1920) 1392360609 1.657923673792375 treat image : temp/1762249231_93637_1392360608_5a83f2bc7c7016218055d5b51cd9b90d.jpg resize: (1080, 1920) 1392360608 -0.07141166754435044 treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c.jpg resize: (1080, 1920) 1392360606 -0.19383140344926614 treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024013_0.png resize: (49, 59) 1392366495 8.189394805345087 treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024016_0.png resize: (79, 88) 1392366496 -2.3442313483892203 treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024020_0.png resize: (124, 69) 1392366497 -0.025513379093890006 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024025_0.png resize: (170, 113) 1392366498 -0.8034710263798535 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024027_0.png resize: (147, 162) 1392366499 -2.83335183634213 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024024_0.png resize: (40, 89) 1392366501 -2.0713094427135563 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024023_0.png resize: (122, 88) 1392366502 -3.7215035251740014 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024026_0.png resize: (164, 82) 1392366503 -1.8837149717393942 treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024029_0.png resize: (113, 98) 1392366504 1.362334266593991 treat image : temp/1762249231_93637_1392361256_a3130d5bd7c0c25cac9854beba7545c7_rle_crop_4019024032_0.png resize: (80, 98) 1392366505 -0.09954713747452687 treat image : temp/1762249231_93637_1392360678_cb8f3e5bdaefc0a0a964d3c5b926dd6a_rle_crop_4019024033_0.png resize: (75, 167) 1392366506 -0.08572273597331068 treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024037_0.png resize: (73, 63) 1392366507 0.7710868511452432 treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024034_0.png resize: (128, 81) 1392366508 -2.03195332038447 treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024041_0.png resize: (42, 65) 1392366509 -2.4177692776646356 treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024040_0.png resize: (61, 59) 1392366510 4.036239678076493 treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024043_0.png resize: (180, 114) 1392366511 -1.844820578870989 treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024045_0.png resize: (74, 112) 1392366512 -0.9443356585421764 treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024042_0.png resize: (162, 170) 1392366513 -0.03191773911138494 treat image : temp/1762249231_93637_1392360609_c3807ffd3c87b733512146dbd90eecd2_rle_crop_4019024046_0.png resize: (87, 51) 1392366514 -0.5798400045132526 treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024047_0.png resize: (139, 147) 1392366515 -1.3103685092332622 treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024015_0.png resize: (52, 59) 1392366516 -0.8500394006750134 treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024048_0.png resize: (804, 865) 1392366517 0.5980573412110912 treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024014_0.png resize: (179, 136) 1392366561 -2.865978651813952 treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024018_0.png resize: (549, 337) 1392366562 0.17725113304820853 treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024019_0.png resize: (344, 306) 1392366563 -0.041188721510086825 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024021_0.png resize: (44, 77) 1392366564 0.8486893161429221 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024028_0.png resize: (580, 329) 1392366565 0.07229553905027866 treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024022_0.png resize: (137, 89) 1392366566 -2.8828696809045105 treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024030_0.png resize: (65, 151) 1392366567 -2.737419746579039 treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024031_0.png resize: (580, 323) 1392366568 0.13811615093940266 treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024035_0.png resize: (560, 344) 1392366569 0.2849537462818801 treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024039_0.png resize: (515, 338) 1392366570 0.3712578915779062 treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024044_0.png resize: (416, 282) 1392366571 -0.29469976967717204 treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024017_0.png resize: (367, 131) 1392366582 -0.7773329775460961 treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024036_0.png resize: (351, 144) 1392366583 -0.8828969011167573 treat image : temp/1762249231_93637_1392360672_234eeb9013ab19d0e93f859e18f58b8e_rle_crop_4019024038_0.png resize: (325, 143) 1392366584 -1.8888426579114956 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 : 52 time used for this insertion : 0.014357566833496094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.014918088912963867 save missing photos in datou_result : time spend for datou_step_exec : 14.438563346862793 time spend to save output : 0.03483176231384277 total time spend for step 6 : 14.473395109176636 step7:brightness Tue Nov 4 10:41:46 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/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49.jpg treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29.jpg treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01.jpg treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a.jpg treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1.jpg treat image : temp/1762249231_93637_1392361296_9bdc3fe895140b13f0a1a5fcf3b3c527.jpg treat image : temp/1762249231_93637_1392361256_a3130d5bd7c0c25cac9854beba7545c7.jpg treat image : temp/1762249231_93637_1392360678_cb8f3e5bdaefc0a0a964d3c5b926dd6a.jpg treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366.jpg treat image : temp/1762249231_93637_1392360672_234eeb9013ab19d0e93f859e18f58b8e.jpg treat image : temp/1762249231_93637_1392360669_d48e29dd9c73eb16b277923363ad008d.jpg treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b.jpg treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1.jpg treat image : temp/1762249231_93637_1392360609_c3807ffd3c87b733512146dbd90eecd2.jpg treat image : temp/1762249231_93637_1392360608_5a83f2bc7c7016218055d5b51cd9b90d.jpg treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c.jpg treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024013_0.png treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024016_0.png treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024020_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024025_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024027_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024024_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024023_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024026_0.png treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024029_0.png treat image : temp/1762249231_93637_1392361256_a3130d5bd7c0c25cac9854beba7545c7_rle_crop_4019024032_0.png treat image : temp/1762249231_93637_1392360678_cb8f3e5bdaefc0a0a964d3c5b926dd6a_rle_crop_4019024033_0.png treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024037_0.png treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024034_0.png treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024041_0.png treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024040_0.png treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024043_0.png treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024045_0.png treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024042_0.png treat image : temp/1762249231_93637_1392360609_c3807ffd3c87b733512146dbd90eecd2_rle_crop_4019024046_0.png treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024047_0.png treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024015_0.png treat image : temp/1762249231_93637_1392360606_6a7fe5f1cc91ed1d8061899ea43b547c_rle_crop_4019024048_0.png treat image : temp/1762249231_93637_1392361542_f88cefb7231b3889feda903090d1ed49_rle_crop_4019024014_0.png treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024018_0.png treat image : temp/1762249231_93637_1392361347_0ef51556489e0ecf0c6d7955e37cad01_rle_crop_4019024019_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024021_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024028_0.png treat image : temp/1762249231_93637_1392361340_859e62d708d76e2393e7b14bc122f23a_rle_crop_4019024022_0.png treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024030_0.png treat image : temp/1762249231_93637_1392361335_eaf02fc6216397861435278fa20b15a1_rle_crop_4019024031_0.png treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024035_0.png treat image : temp/1762249231_93637_1392360665_c7fdd351596987b8a9958ec67f06934b_rle_crop_4019024039_0.png treat image : temp/1762249231_93637_1392360656_3035863c9c0e7bbbf35b43df116b66e1_rle_crop_4019024044_0.png treat image : temp/1762249231_93637_1392361355_ba9f6886c603365f222e337a0f3bad29_rle_crop_4019024017_0.png treat image : temp/1762249231_93637_1392360675_97c685bfc8b71471251adb4ef5c00366_rle_crop_4019024036_0.png treat image : temp/1762249231_93637_1392360672_234eeb9013ab19d0e93f859e18f58b8e_rle_crop_4019024038_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 52 time used for this insertion : 0.014670133590698242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.013682842254638672 save missing photos in datou_result : time spend for datou_step_exec : 3.9426026344299316 time spend to save output : 0.033681392669677734 total time spend for step 7 : 3.9762840270996094 step8:velours_tree Tue Nov 4 10:41:50 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.37275075912475586 time spend to save output : 3.790855407714844e-05 total time spend for step 8 : 0.372788667678833 step9:send_mail_cod Tue Nov 4 10:41:51 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_P28150110_04-11-2025_10_41_51.pdf 28150556 imagette281505561762249311 28150558 imagette281505581762249311 28150559 change filename to text .change filename to text .imagette281505591762249311 28150560 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 .imagette281505601762249311 28150561 imagette281505611762249312 28150562 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 .imagette281505621762249312 28150563 change filename to text .change filename to text .change filename to text .imagette281505631762249313 28150564 imagette281505641762249313 28150565 imagette281505651762249313 28150566 imagette281505661762249313 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28150110 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28150556,28150557,28150558,28150559,28150560,28150561,28150562,28150563,28150564,28150565,28150566?tags=mal_croppe,environnement,flou,carton,papier,pet_fonce,pet_clair,autre,metal,pehd,background args[1392361542] : ((1392361542, 0.1047167497547076, 492688767), (1392361542, 0.7055028655337395, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361355] : ((1392361355, -4.3055143056813785, 492609224), (1392361355, 0.4977629145455814, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361347] : ((1392361347, 1.0865387576449606, 492688767), (1392361347, 0.7292724086228783, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361340] : ((1392361340, -4.0554574305687705, 492609224), (1392361340, 0.5234455894738966, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361335] : ((1392361335, 3.552687158706362, 492688767), (1392361335, 0.3734180608250817, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361296] : ((1392361296, 0.9462525532289332, 492688767), (1392361296, 0.6619697346856883, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392361256] : ((1392361256, -4.322924002466479, 492609224), (1392361256, 0.5816464365801514, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360678] : ((1392360678, 0.1578297930641739, 492688767), (1392360678, 0.9531856144454144, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360675] : ((1392360675, -3.4300396494262713, 492609224), (1392360675, 0.4701405770715066, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360672] : ((1392360672, -0.1655113494875319, 492688767), (1392360672, 0.33395477694192155, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360669] : ((1392360669, -0.5953280269543929, 492688767), (1392360669, 0.6520615871148039, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360665] : ((1392360665, -3.8753666272356373, 492609224), (1392360665, 0.42190032159934904, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360656] : ((1392360656, -1.37348936482865, 492688767), (1392360656, 1.1652636659566686, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360609] : ((1392360609, 1.657923673792375, 492688767), (1392360609, 0.6144936080773387, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360608] : ((1392360608, -0.07141166754435044, 492688767), (1392360608, 0.9201613712873998, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com args[1392360606] : ((1392360606, -0.19383140344926614, 492688767), (1392360606, 0.939564508409138, 2107752395), '0.03715974030671297') We are sending mail with results at report@fotonower.com refus_total : 0.03715974030671297 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=28150110 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_P28150110_04-11-2025_10_41_51.pdf results_Auto_P28150110_04-11-2025_10_41_51.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150110_04-11-2025_10_41_51.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','28150110','results_Auto_P28150110_04-11-2025_10_41_51.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150110_04-11-2025_10_41_51.pdf','pdf','','0.28','0.03715974030671297') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28150110

https://www.fotonower.com/image?json=false&list_photos_id=1392361542
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392361355
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392361347
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0865387576449606)
https://www.fotonower.com/image?json=false&list_photos_id=1392361340
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392361335
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.552687158706362)
https://www.fotonower.com/image?json=false&list_photos_id=1392361296
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392361256
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360678
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360675
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360672
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360669
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360665
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360656
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360609
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.657923673792375)
https://www.fotonower.com/image?json=false&list_photos_id=1392360608
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392360606
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/28150559?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28150560?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28150562?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28150563?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150110_04-11-2025_10_41_51.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28150556,28150557,28150558,28150559,28150560,28150561,28150562,28150563,28150564,28150565,28150566?tags=mal_croppe,environnement,flou,carton,papier,pet_fonce,pet_clair,autre,metal,pehd,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 04 Nov 2025 09:41:55 GMT Content-Length: 0 Connection: close X-Message-Id: o60Rw3ONTCywJuy2OA6eig 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 [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] 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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.014730691909790039 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.548968553543091 time spend to save output : 0.015012025833129883 total time spend for step 9 : 4.563980579376221 step10:split_time_score Tue Nov 4 10:41:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 16),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04112025 28150110 Nombre de photos uploadées : 16 / 23040 (0%) 04112025 28150110 Nombre de photos taguées (types de déchets): 0 / 16 (0%) 04112025 28150110 Nombre de photos taguées (volume) : 0 / 16 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ???????????????? elapsed_time : fill_and_build_computed_from_old_data 0.000759124755859375 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2093067169189453 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.06032878531576448 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146548_04-11-2025_09_31_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146548 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`=28146548 AND mptpi.`type`=3594 To do Qualite : 0.03715974030671297 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150110_04-11-2025_10_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150110 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`=28150110 AND mptpi.`type`=3594 To do Qualite : 0.26552927105724483 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150125_04-11-2025_10_37_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150125 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=28150125 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04112025': {'nb_upload': 16, '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 [1392361542, 1392361355, 1392361347, 1392361340, 1392361335, 1392361296, 1392361256, 1392360678, 1392360675, 1392360672, 1392360669, 1392360665, 1392360656, 1392360609, 1392360608, 1392360606] Looping around the photos to save general results len do output : 1 /28150110Didn'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, '3996723') ('3318', '28150110', '1392361542', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361355', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361347', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361340', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361335', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361296', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392361256', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360678', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360675', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360672', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360669', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360665', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360656', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360609', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360608', None, None, None, None, None, '3996723') ('3318', None, None, None, None, None, None, None, '3996723') ('3318', '28150110', '1392360606', None, None, None, None, None, '3996723') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.014580249786376953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5500710010528564 time spend to save output : 0.014833688735961914 total time spend for step 10 : 0.5649046897888184 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 48.86user 22.29system 1:30.68elapsed 78%CPU (0avgtext+0avgdata 2778520maxresident)k 645920inputs+17920outputs (2478major+1727275minor)pagefaults 0swaps