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 : 3832836 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 : ['3474479'] with mtr_portfolio_ids : ['25776186'] and first list_photo_ids : [] new path : /proc/3832836/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.7122836112976074 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Aug 7 12:40:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-07 12:40:31.147251: 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-08-07 12:40:31.171397: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-07 12:40:31.173709: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe4b0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-07 12:40:31.173761: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-07 12:40:31.177692: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-07 12:40:31.363709: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x21168570 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-07 12:40:31.363751: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-07 12:40:31.364754: 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-08-07 12:40:31.365024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 12:40:31.366885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 12:40:31.368602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 12:40:31.368913: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 12:40:31.370925: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 12:40:31.371965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 12:40:31.376000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 12:40:31.377507: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 12:40:31.377575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 12:40:31.378343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 12:40:31.378357: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 12:40:31.378366: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 12:40:31.379788: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08-07 12:40:31.661580: 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-08-07 12:40:31.661676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 12:40:31.661703: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 12:40:31.661727: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 12:40:31.661750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 12:40:31.661773: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 12:40:31.661797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 12:40:31.661821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 12:40:31.664097: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 12:40:31.666949: 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-08-07 12:40:31.667005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 12:40:31.667031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 12:40:31.667054: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 12:40:31.667078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 12:40:31.667102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 12:40:31.667125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 12:40:31.667149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 12:40:31.670521: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 12:40:31.670556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 12:40:31.670569: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 12:40:31.670578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 12:40:31.673265: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08-07 12:40:39.811998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 12:40:40.031988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 12:40:41.406906: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:41.407610: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:41.408271: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.335315: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.335400: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-08-07 12:40:42.408360: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.408426: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.409936: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.409970: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.417126: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.417148: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.417866: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.417880: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.445424: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.445529: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.445549: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-08-07 12:40:42.446958: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.446987: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.448349: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.448379: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.455517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.455540: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.456309: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.456325: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.457097: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.457112: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 12:40:42.457830: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.465904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.466633: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.482372: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.483386: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.484381: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.485338: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.489852: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.490819: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.491802: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.492604: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.493817: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.504077: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.504864: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.514092: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.514880: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.515680: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.516451: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.517230: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 12:40:42.517999: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 13 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.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: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.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: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 3833490 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5984 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 7177 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.0017948150634765625 nb_pixel_total : 104247 time to create 1 rle with old method : 0.11281991004943848 length of segment : 579 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 4828 time to create 1 rle with old method : 0.005376100540161133 length of segment : 157 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 2275 time to create 1 rle with old method : 0.002728700637817383 length of segment : 38 time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 6200 time to create 1 rle with old method : 0.0070383548736572266 length of segment : 90 time for calcul the mask position with numpy : 0.00017547607421875 nb_pixel_total : 12327 time to create 1 rle with old method : 0.013405799865722656 length of segment : 147 time for calcul the mask position with numpy : 0.0014727115631103516 nb_pixel_total : 109557 time to create 1 rle with old method : 0.12063360214233398 length of segment : 525 time for calcul the mask position with numpy : 6.985664367675781e-05 nb_pixel_total : 2185 time to create 1 rle with old method : 0.0024373531341552734 length of segment : 56 time for calcul the mask position with numpy : 0.0013401508331298828 nb_pixel_total : 110531 time to create 1 rle with old method : 0.12206196784973145 length of segment : 523 time for calcul the mask position with numpy : 0.0005755424499511719 nb_pixel_total : 45576 time to create 1 rle with old method : 0.05159401893615723 length of segment : 143 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 5967 time to create 1 rle with old method : 0.008690834045410156 length of segment : 95 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 2936 time to create 1 rle with old method : 0.003469228744506836 length of segment : 54 time for calcul the mask position with numpy : 0.011442899703979492 nb_pixel_total : 734812 time to create 1 rle with new method : 0.038518667221069336 length of segment : 971 time for calcul the mask position with numpy : 0.00027823448181152344 nb_pixel_total : 19289 time to create 1 rle with old method : 0.021436691284179688 length of segment : 139 time for calcul the mask position with numpy : 8.130073547363281e-05 nb_pixel_total : 3514 time to create 1 rle with old method : 0.003924369812011719 length of segment : 68 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 2212 time to create 1 rle with old method : 0.002457141876220703 length of segment : 58 time for calcul the mask position with numpy : 0.008891582489013672 nb_pixel_total : 746518 time to create 1 rle with new method : 0.016464948654174805 length of segment : 930 time for calcul the mask position with numpy : 0.0017480850219726562 nb_pixel_total : 129346 time to create 1 rle with old method : 0.14118671417236328 length of segment : 540 time for calcul the mask position with numpy : 0.0002238750457763672 nb_pixel_total : 10424 time to create 1 rle with old method : 0.011997699737548828 length of segment : 179 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 3584 time to create 1 rle with old method : 0.004181861877441406 length of segment : 56 time for calcul the mask position with numpy : 0.00015163421630859375 nb_pixel_total : 10519 time to create 1 rle with old method : 0.011631965637207031 length of segment : 130 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 2262 time to create 1 rle with old method : 0.0026502609252929688 length of segment : 70 time for calcul the mask position with numpy : 0.0013484954833984375 nb_pixel_total : 111157 time to create 1 rle with old method : 0.12446260452270508 length of segment : 532 time for calcul the mask position with numpy : 0.0019423961639404297 nb_pixel_total : 110532 time to create 1 rle with old method : 0.11984014511108398 length of segment : 520 time for calcul the mask position with numpy : 0.00036454200744628906 nb_pixel_total : 11172 time to create 1 rle with old method : 0.012374639511108398 length of segment : 142 time for calcul the mask position with numpy : 0.0004303455352783203 nb_pixel_total : 16178 time to create 1 rle with old method : 0.017598867416381836 length of segment : 136 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 4483 time to create 1 rle with old method : 0.0053827762603759766 length of segment : 49 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 2960 time to create 1 rle with old method : 0.003629446029663086 length of segment : 44 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 9216 time to create 1 rle with old method : 0.010275602340698242 length of segment : 79 time for calcul the mask position with numpy : 0.000347137451171875 nb_pixel_total : 9877 time to create 1 rle with old method : 0.011185884475708008 length of segment : 121 time for calcul the mask position with numpy : 0.0013234615325927734 nb_pixel_total : 53530 time to create 1 rle with old method : 0.05809330940246582 length of segment : 346 time for calcul the mask position with numpy : 0.0021817684173583984 nb_pixel_total : 102441 time to create 1 rle with old method : 0.10999298095703125 length of segment : 498 time for calcul the mask position with numpy : 0.0001647472381591797 nb_pixel_total : 4517 time to create 1 rle with old method : 0.005219459533691406 length of segment : 52 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 4188 time to create 1 rle with old method : 0.004835367202758789 length of segment : 63 time for calcul the mask position with numpy : 0.0007979869842529297 nb_pixel_total : 36564 time to create 1 rle with old method : 0.03983759880065918 length of segment : 183 time for calcul the mask position with numpy : 0.0005023479461669922 nb_pixel_total : 29604 time to create 1 rle with old method : 0.032752275466918945 length of segment : 179 time for calcul the mask position with numpy : 0.024814367294311523 nb_pixel_total : 1600102 time to create 1 rle with new method : 1.3760602474212646 length of segment : 1138 time for calcul the mask position with numpy : 0.0001494884490966797 nb_pixel_total : 5522 time to create 1 rle with old method : 0.006455421447753906 length of segment : 132 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 3425 time to create 1 rle with old method : 0.004107236862182617 length of segment : 71 time for calcul the mask position with numpy : 0.00013446807861328125 nb_pixel_total : 3144 time to create 1 rle with old method : 0.003674745559692383 length of segment : 57 time for calcul the mask position with numpy : 0.0019161701202392578 nb_pixel_total : 114470 time to create 1 rle with old method : 0.12493205070495605 length of segment : 515 time for calcul the mask position with numpy : 0.011950969696044922 nb_pixel_total : 842193 time to create 1 rle with new method : 0.0562894344329834 length of segment : 1498 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 7334 time to create 1 rle with old method : 0.008438348770141602 length of segment : 148 time for calcul the mask position with numpy : 0.0004096031188964844 nb_pixel_total : 10611 time to create 1 rle with old method : 0.011829137802124023 length of segment : 168 time for calcul the mask position with numpy : 0.00044417381286621094 nb_pixel_total : 15960 time to create 1 rle with old method : 0.01759815216064453 length of segment : 182 time spent for convertir_results : 4.83034610748291 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 44 chid ids of type : 3594 Number RLEs to save : 12401 save missing photos in datou_result : time spend for datou_step_exec : 32.468260526657104 time spend to save output : 1.1017334461212158 total time spend for step 1 : 33.56999397277832 step2:crop_condition Thu Aug 7 12:41:01 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 : 13 ! batch 1 Loaded 44 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754563263_3832836 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.574781179428101 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754563268_3832836 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5128750801086426 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754563268_3832836 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6887402534484863 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 ! 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 : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754563289_3832836 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.669083118438721 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] Looping around the photos to save general results len do output : 44 /1375651004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651008Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651011Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651016Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651019Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651056Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375651057Didn'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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 145 time used for this insertion : 0.023324966430664062 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.09849286079407 time spend to save output : 0.025264501571655273 total time spend for step 2 : 34.12375736236572 step3:rle_unique_nms_with_priority Thu Aug 7 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 44 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.45858073234558105 time for calcul the mask position with numpy : 0.2586498260498047 nb_pixel_total : 1964525 time to create 1 rle with new method : 0.19097375869750977 time for calcul the mask position with numpy : 0.005817413330078125 nb_pixel_total : 4828 time to create 1 rle with old method : 0.0050504207611083984 time for calcul the mask position with numpy : 0.006831645965576172 nb_pixel_total : 104247 time to create 1 rle with old method : 0.11066961288452148 create new chi : 0.5882358551025391 time to delete rle : 0.025820255279541016 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2552 TO DO : save crop sub photo not yet done ! save time : 0.20343542098999023 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5220463275909424 time for calcul the mask position with numpy : 0.07291746139526367 nb_pixel_total : 1943241 time to create 1 rle with new method : 0.19894862174987793 time for calcul the mask position with numpy : 0.007030963897705078 nb_pixel_total : 109557 time to create 1 rle with old method : 0.11995792388916016 time for calcul the mask position with numpy : 0.0072460174560546875 nb_pixel_total : 12327 time to create 1 rle with old method : 0.013161897659301758 time for calcul the mask position with numpy : 0.005969524383544922 nb_pixel_total : 6200 time to create 1 rle with old method : 0.007516384124755859 time for calcul the mask position with numpy : 0.005979776382446289 nb_pixel_total : 2275 time to create 1 rle with old method : 0.002485036849975586 create new chi : 0.45091938972473145 time to delete rle : 0.0005083084106445312 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2680 TO DO : save crop sub photo not yet done ! save time : 0.2487478256225586 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.22247672080993652 time for calcul the mask position with numpy : 0.04785919189453125 nb_pixel_total : 1152309 time to create 1 rle with new method : 0.25690126419067383 time for calcul the mask position with numpy : 0.006514072418212891 nb_pixel_total : 19284 time to create 1 rle with old method : 0.021071195602416992 time for calcul the mask position with numpy : 0.011084794998168945 nb_pixel_total : 734812 time to create 1 rle with new method : 0.16678857803344727 time for calcul the mask position with numpy : 0.0057430267333984375 nb_pixel_total : 2936 time to create 1 rle with old method : 0.0031855106353759766 time for calcul the mask position with numpy : 0.005864620208740234 nb_pixel_total : 5967 time to create 1 rle with old method : 0.006605863571166992 time for calcul the mask position with numpy : 0.0066072940826416016 nb_pixel_total : 45576 time to create 1 rle with old method : 0.048993825912475586 time for calcul the mask position with numpy : 0.006781578063964844 nb_pixel_total : 110531 time to create 1 rle with old method : 0.11599135398864746 time for calcul the mask position with numpy : 0.006169795989990234 nb_pixel_total : 2185 time to create 1 rle with old method : 0.002307891845703125 create new chi : 0.7279112339019775 time to delete rle : 0.0006651878356933594 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 5039 TO DO : save crop sub photo not yet done ! save time : 0.38457417488098145 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.08541631698608398 time for calcul the mask position with numpy : 0.014263391494750977 nb_pixel_total : 1178595 time to create 1 rle with new method : 0.06059670448303223 time for calcul the mask position with numpy : 0.0059299468994140625 nb_pixel_total : 3584 time to create 1 rle with old method : 0.0038766860961914062 time for calcul the mask position with numpy : 0.005665302276611328 nb_pixel_total : 9831 time to create 1 rle with old method : 0.010613203048706055 time for calcul the mask position with numpy : 0.006285905838012695 nb_pixel_total : 129346 time to create 1 rle with old method : 0.13613224029541016 time for calcul the mask position with numpy : 0.013983726501464844 nb_pixel_total : 746518 time to create 1 rle with new method : 0.19126415252685547 time for calcul the mask position with numpy : 0.005771636962890625 nb_pixel_total : 2212 time to create 1 rle with old method : 0.002344369888305664 time for calcul the mask position with numpy : 0.005878448486328125 nb_pixel_total : 3514 time to create 1 rle with old method : 0.0037126541137695312 create new chi : 0.47378039360046387 time to delete rle : 0.0006575584411621094 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4693 TO DO : save crop sub photo not yet done ! save time : 0.4063565731048584 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04670381546020508 time for calcul the mask position with numpy : 0.01898813247680664 nb_pixel_total : 2060819 time to create 1 rle with new method : 0.09441018104553223 time for calcul the mask position with numpy : 0.006028175354003906 nb_pixel_total : 2262 time to create 1 rle with old method : 0.002519369125366211 time for calcul the mask position with numpy : 0.00600743293762207 nb_pixel_total : 10519 time to create 1 rle with old method : 0.011632204055786133 create new chi : 0.13986873626708984 time to delete rle : 0.0002734661102294922 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1480 TO DO : save crop sub photo not yet done ! save time : 0.13815927505493164 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04232478141784668 time for calcul the mask position with numpy : 0.018143653869628906 nb_pixel_total : 1962443 time to create 1 rle with new method : 0.17906975746154785 time for calcul the mask position with numpy : 0.006440877914428711 nb_pixel_total : 111157 time to create 1 rle with old method : 0.11656880378723145 create new chi : 0.32706618309020996 time to delete rle : 0.0003075599670410156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2144 TO DO : save crop sub photo not yet done ! save time : 0.21871495246887207 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.14959979057312012 time for calcul the mask position with numpy : 0.07478499412536621 nb_pixel_total : 1963068 time to create 1 rle with new method : 0.1830883026123047 time for calcul the mask position with numpy : 0.00641942024230957 nb_pixel_total : 110532 time to create 1 rle with old method : 0.11779427528381348 create new chi : 0.39203953742980957 time to delete rle : 0.0003490447998046875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2120 TO DO : save crop sub photo not yet done ! save time : 0.5032413005828857 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.23119473457336426 time for calcul the mask position with numpy : 0.10266900062561035 nb_pixel_total : 2038807 time to create 1 rle with new method : 0.2471630573272705 time for calcul the mask position with numpy : 0.005792140960693359 nb_pixel_total : 2960 time to create 1 rle with old method : 0.003289937973022461 time for calcul the mask position with numpy : 0.006141185760498047 nb_pixel_total : 4483 time to create 1 rle with old method : 0.004830360412597656 time for calcul the mask position with numpy : 0.005949735641479492 nb_pixel_total : 16178 time to create 1 rle with old method : 0.017466068267822266 time for calcul the mask position with numpy : 0.005903720855712891 nb_pixel_total : 11172 time to create 1 rle with old method : 0.012171268463134766 create new chi : 0.4218900203704834 time to delete rle : 0.00035190582275390625 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1822 TO DO : save crop sub photo not yet done ! save time : 0.23615336418151855 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.33878493309020996 time for calcul the mask position with numpy : 0.20801115036010742 nb_pixel_total : 1823663 time to create 1 rle with new method : 0.09164834022521973 time for calcul the mask position with numpy : 0.0063669681549072266 nb_pixel_total : 29604 time to create 1 rle with old method : 0.031055688858032227 time for calcul the mask position with numpy : 0.006103038787841797 nb_pixel_total : 36564 time to create 1 rle with old method : 0.04022979736328125 time for calcul the mask position with numpy : 0.0059659481048583984 nb_pixel_total : 4188 time to create 1 rle with old method : 0.004418611526489258 time for calcul the mask position with numpy : 0.005891323089599609 nb_pixel_total : 4517 time to create 1 rle with old method : 0.004850625991821289 time for calcul the mask position with numpy : 0.006744384765625 nb_pixel_total : 102441 time to create 1 rle with old method : 0.1062171459197998 time for calcul the mask position with numpy : 0.006438493728637695 nb_pixel_total : 53530 time to create 1 rle with old method : 0.05571413040161133 time for calcul the mask position with numpy : 0.00594329833984375 nb_pixel_total : 9877 time to create 1 rle with old method : 0.010401010513305664 time for calcul the mask position with numpy : 0.006266117095947266 nb_pixel_total : 9216 time to create 1 rle with old method : 0.010065555572509766 create new chi : 0.6226451396942139 time to delete rle : 0.0006351470947265625 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 4122 TO DO : save crop sub photo not yet done ! save time : 0.31757164001464844 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07666587829589844 time for calcul the mask position with numpy : 0.008611202239990234 nb_pixel_total : 473247 time to create 1 rle with new method : 0.03883981704711914 time for calcul the mask position with numpy : 0.005789756774902344 nb_pixel_total : 251 time to create 1 rle with old method : 0.00027561187744140625 time for calcul the mask position with numpy : 0.017062902450561523 nb_pixel_total : 1600102 time to create 1 rle with new method : 0.08928704261779785 create new chi : 0.16590118408203125 time to delete rle : 0.0003097057342529297 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 3382 TO DO : save crop sub photo not yet done ! save time : 0.38170480728149414 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.058568477630615234 time for calcul the mask position with numpy : 0.013402700424194336 nb_pixel_total : 1110368 time to create 1 rle with new method : 0.09511137008666992 time for calcul the mask position with numpy : 0.011707067489624023 nb_pixel_total : 842193 time to create 1 rle with new method : 0.16272330284118652 time for calcul the mask position with numpy : 0.0066509246826171875 nb_pixel_total : 114470 time to create 1 rle with old method : 0.1197502613067627 time for calcul the mask position with numpy : 0.005945920944213867 nb_pixel_total : 3144 time to create 1 rle with old method : 0.003347635269165039 time for calcul the mask position with numpy : 0.005756378173828125 nb_pixel_total : 3425 time to create 1 rle with old method : 0.0036766529083251953 create new chi : 0.44414472579956055 time to delete rle : 0.000728607177734375 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 5362 TO DO : save crop sub photo not yet done ! save time : 0.5051641464233398 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032425642013549805 time for calcul the mask position with numpy : 0.018790483474731445 nb_pixel_total : 2066266 time to create 1 rle with new method : 0.05509209632873535 time for calcul the mask position with numpy : 0.0058400630950927734 nb_pixel_total : 7334 time to create 1 rle with old method : 0.007822990417480469 create new chi : 0.08777999877929688 time to delete rle : 0.00023508071899414062 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1376 TO DO : save crop sub photo not yet done ! save time : 0.12227082252502441 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04734492301940918 time for calcul the mask position with numpy : 0.15516257286071777 nb_pixel_total : 2047029 time to create 1 rle with new method : 0.1979367733001709 time for calcul the mask position with numpy : 0.0060272216796875 nb_pixel_total : 15960 time to create 1 rle with old method : 0.01724410057067871 time for calcul the mask position with numpy : 0.005940437316894531 nb_pixel_total : 10611 time to create 1 rle with old method : 0.011466741561889648 create new chi : 0.40424299240112305 time to delete rle : 0.0003204345703125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1780 TO DO : save crop sub photo not yet done ! save time : 0.26796412467956543 map_output_result : {1375647708: (0.0, 'Should be the crop_list due to order', 0), 1375647682: (0.0, 'Should be the crop_list due to order', 0), 1375647653: (0.0, 'Should be the crop_list due to order', 0), 1375647627: (0.0, 'Should be the crop_list due to order', 0), 1375647585: (0.0, 'Should be the crop_list due to order', 0), 1375647540: (0.0, 'Should be the crop_list due to order', 0), 1375647350: (0.0, 'Should be the crop_list due to order', 0), 1375647348: (0.0, 'Should be the crop_list due to order', 0), 1375647346: (0.0, 'Should be the crop_list due to order', 0), 1375647344: (0.0, 'Should be the crop_list due to order', 0), 1375647343: (0.0, 'Should be the crop_list due to order', 0), 1375647336: (0.0, 'Should be the crop_list due to order', 0), 1375647032: (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 [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] Looping around the photos to save general results len do output : 13 /1375647708.Didn't retrieve data . /1375647682.Didn't retrieve data . /1375647653.Didn't retrieve data . /1375647627.Didn't retrieve data . /1375647585.Didn't retrieve data . /1375647540.Didn't retrieve data . /1375647350.Didn't retrieve data . /1375647348.Didn't retrieve data . /1375647346.Didn't retrieve data . /1375647344.Didn't retrieve data . /1375647343.Didn't retrieve data . /1375647336.Didn't retrieve data . /1375647032.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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.015806198120117188 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.000580072402954 time spend to save output : 0.016279220581054688 total time spend for step 3 : 12.016859292984009 step4:ventilate_hashtags_in_portfolio Thu Aug 7 12:41:48 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 : 25776186 get user id for portfolio 25776186 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`=25776186 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','pet_fonce','pet_clair','pehd','flou','environnement','carton','metal','mal_croppe','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`=25776186 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','pet_fonce','pet_clair','pehd','flou','environnement','carton','metal','mal_croppe','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`=25776186 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','pet_fonce','pet_clair','pehd','flou','environnement','carton','metal','mal_croppe','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25776385,25776386,25776387,25776388,25776389,25776390,25776391,25776392,25776393,25776394,25776395?tags=papier,autre,pet_fonce,pet_clair,pehd,flou,environnement,carton,metal,mal_croppe,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] Looping around the photos to save general results len do output : 1 /25776186. 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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.016240835189819336 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8112421035766602 time spend to save output : 0.0165102481842041 total time spend for step 4 : 1.8277523517608643 step5:final Thu Aug 7 12:41:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1375647708: ('0.1918781160968661',), 1375647682: ('0.1918781160968661',), 1375647653: ('0.1918781160968661',), 1375647627: ('0.1918781160968661',), 1375647585: ('0.1918781160968661',), 1375647540: ('0.1918781160968661',), 1375647350: ('0.1918781160968661',), 1375647348: ('0.1918781160968661',), 1375647346: ('0.1918781160968661',), 1375647344: ('0.1918781160968661',), 1375647343: ('0.1918781160968661',), 1375647336: ('0.1918781160968661',), 1375647032: ('0.1918781160968661',)} new output for save of step final : {1375647708: ('0.1918781160968661',), 1375647682: ('0.1918781160968661',), 1375647653: ('0.1918781160968661',), 1375647627: ('0.1918781160968661',), 1375647585: ('0.1918781160968661',), 1375647540: ('0.1918781160968661',), 1375647350: ('0.1918781160968661',), 1375647348: ('0.1918781160968661',), 1375647346: ('0.1918781160968661',), 1375647344: ('0.1918781160968661',), 1375647343: ('0.1918781160968661',), 1375647336: ('0.1918781160968661',), 1375647032: ('0.1918781160968661',)} [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] Looping around the photos to save general results len do output : 13 /1375647708.Didn't retrieve data . /1375647682.Didn't retrieve data . /1375647653.Didn't retrieve data . /1375647627.Didn't retrieve data . /1375647585.Didn't retrieve data . /1375647540.Didn't retrieve data . /1375647350.Didn't retrieve data . /1375647348.Didn't retrieve data . /1375647346.Didn't retrieve data . /1375647344.Didn't retrieve data . /1375647343.Didn't retrieve data . /1375647336.Didn't retrieve data . /1375647032.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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.020190000534057617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12095117568969727 time spend to save output : 0.0208284854888916 total time spend for step 5 : 0.14177966117858887 step6:blur_detection Thu Aug 7 12: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 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/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f.jpg resize: (1080, 1920) 1375647708 -0.22023174876963855 treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd.jpg resize: (1080, 1920) 1375647682 1.0162946516163083 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e.jpg resize: (1080, 1920) 1375647653 -1.3013232281270437 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801.jpg resize: (1080, 1920) 1375647627 0.049531746248094165 treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe.jpg resize: (1080, 1920) 1375647585 4.491524038103648 treat image : temp/1754563226_3832836_1375647540_502f11a15bcf21ca65ac0a606eab3fc4.jpg resize: (1080, 1920) 1375647540 1.0977394749256344 treat image : temp/1754563226_3832836_1375647350_64d25d3aa4467574518bf557c72e5e14.jpg resize: (1080, 1920) 1375647350 -1.2907244210538773 treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353.jpg resize: (1080, 1920) 1375647348 -2.6958295671765975 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b.jpg resize: (1080, 1920) 1375647346 2.4351289423564912 treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11.jpg resize: (1080, 1920) 1375647344 -1.1192481387619426 treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956.jpg resize: (1080, 1920) 1375647343 -1.3890441420568687 treat image : temp/1754563226_3832836_1375647336_08556e36606c513371227b2377efccd5.jpg resize: (1080, 1920) 1375647336 0.3266020920137352 treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626.jpg resize: (1080, 1920) 1375647032 -4.203171453474149 treat image : temp/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f_rle_crop_3905845338_0.png resize: (149, 86) 1375651004 -2.804217484970365 treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845340_0.png resize: (86, 101) 1375651005 0.5180982244421156 treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845339_0.png resize: (38, 71) 1375651006 7.010666642881491 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845346_0.png resize: (93, 100) 1375651007 0.6349168911598289 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845343_0.png resize: (56, 51) 1375651008 0.36563607753059807 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845354_0.png resize: (179, 109) 1375651009 -0.8566022177858633 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845351_0.png resize: (58, 51) 1375651010 -1.2610430833485116 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845350_0.png resize: (68, 78) 1375651011 -2.6812980755719154 treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe_rle_crop_3905845357_0.png resize: (70, 66) 1375651012 -1.4195377440797412 treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845362_0.png resize: (48, 127) 1375651013 -2.141988179899316 treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845363_0.png resize: (44, 108) 1375651014 -3.2518782055698807 treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845361_0.png resize: (135, 186) 1375651015 -2.391119255626947 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845364_0.png resize: (78, 135) 1375651016 5.43654372329146 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845365_0.png resize: (114, 153) 1375651017 0.7982586156685105 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845369_0.png resize: (63, 89) 1375651018 0.14751104642639926 treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845374_0.png resize: (71, 80) 1375651019 -1.2634579606930658 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845370_0.png resize: (181, 314) 1375651020 -1.3996177528669322 treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845375_0.png resize: (57, 69) 1375651021 0.6649926228144241 treat image : temp/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f_rle_crop_3905845337_0.png resize: (564, 323) 1375651031 -0.05630369543266182 treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845341_0.png resize: (147, 122) 1375651032 -3.150989609387287 treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845342_0.png resize: (516, 350) 1375651033 0.002805999034450978 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845348_0.png resize: (968, 1005) 1375651034 -0.5006008831854937 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845349_0.png resize: (131, 186) 1375651035 -2.157861052993144 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845345_0.png resize: (131, 447) 1375651036 -2.0676470604797954 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845347_0.png resize: (54, 68) 1375651037 5.153252267635031 treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845344_0.png resize: (522, 336) 1375651038 0.31581851815643447 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845352_0.png resize: (928, 1038) 1375651039 0.08703334576828355 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845355_0.png resize: (56, 82) 1375651040 -1.6128704496143809 treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845353_0.png resize: (536, 387) 1375651041 0.13260026245875037 treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe_rle_crop_3905845356_0.png resize: (130, 113) 1375651042 -1.721402907466534 treat image : temp/1754563226_3832836_1375647540_502f11a15bcf21ca65ac0a606eab3fc4_rle_crop_3905845358_0.png resize: (527, 342) 1375651043 0.06580632706396812 treat image : temp/1754563226_3832836_1375647350_64d25d3aa4467574518bf557c72e5e14_rle_crop_3905845359_0.png resize: (516, 345) 1375651044 -0.012975742381186064 treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845360_0.png resize: (142, 113) 1375651045 -3.656995889170497 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845366_0.png resize: (261, 447) 1375651046 -1.1813508632610685 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845371_0.png resize: (169, 228) 1375651047 -0.5215036333134461 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845368_0.png resize: (52, 99) 1375651048 9.26704601415065 treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845367_0.png resize: (485, 340) 1375651049 -0.02747793951658344 treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11_rle_crop_3905845372_0.png resize: (994, 1771) 1375651050 -1.7672596856834393 treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11_rle_crop_3905845373_0.png resize: (126, 60) 1375651051 -3.427519148682911 treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845377_0.png resize: (998, 1159) 1375651053 -1.7384540690115995 treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845376_0.png resize: (515, 339) 1375651054 -0.0304569819551037 treat image : temp/1754563226_3832836_1375647336_08556e36606c513371227b2377efccd5_rle_crop_3905845378_0.png resize: (148, 90) 1375651055 -2.185423128097142 treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626_rle_crop_3905845379_0.png resize: (168, 106) 1375651056 -0.9168735929962407 treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626_rle_crop_3905845380_0.png resize: (180, 120) 1375651057 -4.358232298633347 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 : 57 time used for this insertion : 0.01572275161743164 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.021540164947509766 save missing photos in datou_result : time spend for datou_step_exec : 12.114670991897583 time spend to save output : 0.04187750816345215 total time spend for step 6 : 12.156548500061035 step7:brightness Thu Aug 7 12:42: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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f.jpg treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd.jpg treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e.jpg treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801.jpg treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe.jpg treat image : temp/1754563226_3832836_1375647540_502f11a15bcf21ca65ac0a606eab3fc4.jpg treat image : temp/1754563226_3832836_1375647350_64d25d3aa4467574518bf557c72e5e14.jpg treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353.jpg treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b.jpg treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11.jpg treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956.jpg treat image : temp/1754563226_3832836_1375647336_08556e36606c513371227b2377efccd5.jpg treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626.jpg treat image : temp/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f_rle_crop_3905845338_0.png treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845340_0.png treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845339_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845346_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845343_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845354_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845351_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845350_0.png treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe_rle_crop_3905845357_0.png treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845362_0.png treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845363_0.png treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845361_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845364_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845365_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845369_0.png treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845374_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845370_0.png treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845375_0.png treat image : temp/1754563226_3832836_1375647708_91e4e217d0d1eeba44cab128e30c1c5f_rle_crop_3905845337_0.png treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845341_0.png treat image : temp/1754563226_3832836_1375647682_6bc5fd32c49999986a24dc45deb1a0dd_rle_crop_3905845342_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845348_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845349_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845345_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845347_0.png treat image : temp/1754563226_3832836_1375647653_b578e007b8fea1b037388b20307c4e8e_rle_crop_3905845344_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845352_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845355_0.png treat image : temp/1754563226_3832836_1375647627_c524c6c93e866276b9eec5a7a52a1801_rle_crop_3905845353_0.png treat image : temp/1754563226_3832836_1375647585_13ab838723a1c1b68b5404893e57b4fe_rle_crop_3905845356_0.png treat image : temp/1754563226_3832836_1375647540_502f11a15bcf21ca65ac0a606eab3fc4_rle_crop_3905845358_0.png treat image : temp/1754563226_3832836_1375647350_64d25d3aa4467574518bf557c72e5e14_rle_crop_3905845359_0.png treat image : temp/1754563226_3832836_1375647348_c0148f10bd8960fa2e3c058ca0ada353_rle_crop_3905845360_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845366_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845371_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845368_0.png treat image : temp/1754563226_3832836_1375647346_b52f846aec7e98087990049e91ec369b_rle_crop_3905845367_0.png treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11_rle_crop_3905845372_0.png treat image : temp/1754563226_3832836_1375647344_a4f1bbe1a8b9dcc75227ade335388d11_rle_crop_3905845373_0.png treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845377_0.png treat image : temp/1754563226_3832836_1375647343_5fbe15f9687a8185c7752ea542085956_rle_crop_3905845376_0.png treat image : temp/1754563226_3832836_1375647336_08556e36606c513371227b2377efccd5_rle_crop_3905845378_0.png treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626_rle_crop_3905845379_0.png treat image : temp/1754563226_3832836_1375647032_5ece4315ec44ee08d24d1f3dd7e92626_rle_crop_3905845380_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 : 57 time used for this insertion : 0.01609063148498535 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.145949125289917 save missing photos in datou_result : time spend for datou_step_exec : 3.5193800926208496 time spend to save output : 0.16741132736206055 total time spend for step 7 : 3.68679141998291 step8:velours_tree Thu Aug 7 12:42:05 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.09477019309997559 time spend to save output : 5.1975250244140625e-05 total time spend for step 8 : 0.09482216835021973 step9:send_mail_cod Thu Aug 7 12:42:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P25776186_07-08-2025_12_42_06.pdf 25776385 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 .imagette257763851754563326 25776386 imagette257763861754563326 25776387 imagette257763871754563326 25776388 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 .imagette257763881754563326 25776389 imagette257763891754563328 25776390 imagette257763901754563328 25776392 change filename to text .imagette257763921754563328 25776393 change filename to text .imagette257763931754563328 25776394 imagette257763941754563328 25776395 imagette257763951754563328 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25776186 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25776385,25776386,25776387,25776388,25776389,25776390,25776391,25776392,25776393,25776394,25776395?tags=papier,autre,pet_fonce,pet_clair,pehd,flou,environnement,carton,metal,mal_croppe,background args[1375647708] : ((1375647708, -0.22023174876963855, 492688767), (1375647708, 0.7377856957745356, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647682] : ((1375647682, 1.0162946516163083, 492688767), (1375647682, 0.2173142908238317, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647653] : ((1375647653, -1.3013232281270437, 492688767), (1375647653, 0.5835567629409564, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647627] : ((1375647627, 0.049531746248094165, 492688767), (1375647627, 0.37429339560561686, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647585] : ((1375647585, 4.491524038103648, 492688767), (1375647585, 0.28520232271988893, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647540] : ((1375647540, 1.0977394749256344, 492688767), (1375647540, 0.3149475471614882, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647350] : ((1375647350, -1.2907244210538773, 492688767), (1375647350, 0.6222751587288733, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647348] : ((1375647348, -2.6958295671765975, 492609224), (1375647348, 0.3961238896952824, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647346] : ((1375647346, 2.4351289423564912, 492688767), (1375647346, 0.42336787534364145, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647344] : ((1375647344, -1.1192481387619426, 492688767), (1375647344, 0.33069398521598775, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647343] : ((1375647343, -1.3890441420568687, 492688767), (1375647343, 0.43789983156517726, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647336] : ((1375647336, 0.3266020920137352, 492688767), (1375647336, 0.856200836662513, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com args[1375647032] : ((1375647032, -4.203171453474149, 492609224), (1375647032, 0.4446843403293886, 2107752395), '0.1918781160968661') We are sending mail with results at report@fotonower.com refus_total : 0.1918781160968661 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25776186 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_P25776186_07-08-2025_12_42_06.pdf results_Auto_P25776186_07-08-2025_12_42_06.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776186_07-08-2025_12_42_06.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','25776186','results_Auto_P25776186_07-08-2025_12_42_06.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776186_07-08-2025_12_42_06.pdf','pdf','','0.52','0.1918781160968661') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25776186

https://www.fotonower.com/image?json=false&list_photos_id=1375647708
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647682
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0162946516163083)
https://www.fotonower.com/image?json=false&list_photos_id=1375647653
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647627
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647585
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.491524038103648)
https://www.fotonower.com/image?json=false&list_photos_id=1375647540
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0977394749256344)
https://www.fotonower.com/image?json=false&list_photos_id=1375647350
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647348
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647346
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.4351289423564912)
https://www.fotonower.com/image?json=false&list_photos_id=1375647344
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647343
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647336
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375647032
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25776385?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25776388?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25776392?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25776393?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776186_07-08-2025_12_42_06.pdf.

Lien vers velours :https://www.fotonower.com/velours/25776385,25776386,25776387,25776388,25776389,25776390,25776391,25776392,25776393,25776394,25776395?tags=papier,autre,pet_fonce,pet_clair,pehd,flou,environnement,carton,metal,mal_croppe,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 07 Aug 2025 10:42:10 GMT Content-Length: 0 Connection: close X-Message-Id: y6HKvUpTRISA17R320dqHg 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 [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] 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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016157150268554688 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.584107160568237 time spend to save output : 0.01638650894165039 total time spend for step 9 : 4.600493669509888 step10:split_time_score Thu Aug 7 12:42:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('12', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07082025 25776186 Nombre de photos uploadées : 13 / 23040 (0%) 07082025 25776186 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 07082025 25776186 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006303787231445312 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2092897891998291 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.21000337577160494 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764703_07-08-2025_08_21_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764703 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`=25764703 AND mptpi.`type`=3594 To do Qualite : 0.1496234918630752 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764707 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`=25764707 AND mptpi.`type`=3594 To do Qualite : 0.02979606722608024 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25771298_07-08-2025_10_12_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25771298 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`=25771298 AND mptpi.`type`=3594 To do Qualite : 0.21791642554012344 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25774546_07-08-2025_12_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774546 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`=25774546 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774548 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25774550 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776179 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776185 order by id desc limit 1 Qualite : 0.1918781160968661 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25776186_07-08-2025_12_42_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25776186 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`=25776186 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07082025': {'nb_upload': 13, '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 [1375647708, 1375647682, 1375647653, 1375647627, 1375647585, 1375647540, 1375647350, 1375647348, 1375647346, 1375647344, 1375647343, 1375647336, 1375647032] Looping around the photos to save general results len do output : 1 /25776186Didn'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, '3474479') ('3318', '25776186', '1375647708', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647682', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647653', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647627', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647585', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647540', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647350', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647348', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647346', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647344', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647343', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647336', None, None, None, None, None, '3474479') ('3318', None, None, None, None, None, None, None, '3474479') ('3318', '25776186', '1375647032', None, None, None, None, None, '3474479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.023847103118896484 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.4916911125183105 time spend to save output : 0.024056673049926758 total time spend for step 10 : 4.515747785568237 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 58.82user 27.83system 1:50.82elapsed 78%CPU (0avgtext+0avgdata 2668296maxresident)k 504320inputs+39880outputs (39major+1738254minor)pagefaults 0swaps