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 : 2356650 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 : ['3727209'] with mtr_portfolio_ids : ['26885907'] and first list_photo_ids : [] new path : /proc/2356650/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.1292765140533447 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Sep 16 10:40:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10366 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-16 10:40:32.330471: 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-09-16 10:40:32.356739: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-16 10:40:32.358857: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3440000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-16 10:40:32.358921: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-16 10:40:32.363084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-16 10:40:32.502646: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2110a7c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-16 10:40:32.502713: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-16 10:40:32.504283: 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-09-16 10:40:32.504856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-16 10:40:32.508130: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-16 10:40:32.511265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-16 10:40:32.511870: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-16 10:40:32.515526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-16 10:40:32.516803: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-16 10:40:32.521423: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-16 10:40:32.522925: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-16 10:40:32.523003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-16 10:40:32.523755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-16 10:40:32.523771: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-16 10:40:32.523780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-16 10:40:32.525152: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9458 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-09-16 10:40:32.865473: 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-09-16 10:40:32.865593: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-16 10:40:32.865628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-16 10:40:32.865658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-16 10:40:32.865686: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-16 10:40:32.865714: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-16 10:40:32.865742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-16 10:40:32.865772: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-16 10:40:32.867908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-16 10:40:32.869868: 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-09-16 10:40:32.869926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-16 10:40:32.869945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-16 10:40:32.869962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-16 10:40:32.869981: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-16 10:40:32.870000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-16 10:40:32.870017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-16 10:40:32.870034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-16 10:40:32.871413: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-16 10:40:32.871448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-16 10:40:32.871458: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-16 10:40:32.871465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-16 10:40:32.872823: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9458 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-09-16 10:40:41.892219: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-16 10:40:42.079741: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-16 10:40:44.021001: 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-09-16 10:40:44.174286: 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-09-16 10:40:44.175487: 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-09-16 10:40:44.176575: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-16 10:40:44.177638: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.62G (2817927680 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-16 10:40:44.178632: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.36G (2536134912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-16 10:40:44.179623: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.12G (2282521344 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-16 10:40:44.179674: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.180773: 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-09-16 10:40:44.180806: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.188883: 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-09-16 10:40:44.188922: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.189516: 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-09-16 10:40:44.189532: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.196187: 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-09-16 10:40:44.196235: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-09-16 10:40:44.196870: 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-09-16 10:40:44.196891: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-09-16 10:40:44.228290: 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-09-16 10:40:44.228348: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.228946: 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-09-16 10:40:44.228964: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-16 10:40:44.234907: 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-09-16 10:40:44.234932: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-09-16 10:40:44.235539: 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-09-16 10:40:44.235556: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-09-16 10:40:44.269894: 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-09-16 10:40:44.270512: 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-09-16 10:40:44.272419: 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-09-16 10:40:44.273016: 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-09-16 10:40:44.317765: 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-09-16 10:40:44.318386: 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-09-16 10:40:44.320688: 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-09-16 10:40:44.321282: 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-09-16 10:40:44.353234: 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-09-16 10:40:44.353937: 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-09-16 10:40:44.355773: 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-09-16 10:40:44.356406: 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-09-16 10:40:44.363318: 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-09-16 10:40:44.364143: 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-09-16 10:40:44.366190: 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-09-16 10:40:44.367341: 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-09-16 10:40:44.375445: 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-09-16 10:40:44.376768: 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-09-16 10:40:44.379719: 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-09-16 10:40:44.381191: 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-09-16 10:40:44.423365: 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-09-16 10:40:44.424030: 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-09-16 10:40:44.424720: 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-09-16 10:40:44.425312: 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-09-16 10:40:44.429104: 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-09-16 10:40:44.429736: 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-09-16 10:40:44.445622: 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-09-16 10:40:44.446260: 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-09-16 10:40:44.446848: 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-09-16 10:40:44.447430: 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-09-16 10:40:44.460313: 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-09-16 10:40:44.460959: 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-09-16 10:40:44.461554: 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-09-16 10:40:44.462140: 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-09-16 10:40:44.466615: 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-09-16 10:40:44.467224: 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-09-16 10:40:44.471895: 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-09-16 10:40:44.472516: 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-09-16 10:40:44.487051: 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-09-16 10:40:44.487661: 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-09-16 10:40:44.495527: 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-09-16 10:40:44.496147: 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-09-16 10:40:44.496762: 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-09-16 10:40:44.497358: 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-09-16 10:40:44.498217: 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-09-16 10:40:44.498806: 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-09-16 10:40:44.513534: 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-09-16 10:40:44.514164: 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-09-16 10:40:44.514771: 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-09-16 10:40:44.515354: 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-09-16 10:40:44.515974: 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-09-16 10:40:44.516581: 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-09-16 10:40:44.517170: 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-09-16 10:40:44.517752: 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-09-16 10:40:44.537447: 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-09-16 10:40:44.538065: 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-09-16 10:40:44.555793: 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-09-16 10:40:44.556470: 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-09-16 10:40:44.589442: 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-09-16 10:40:44.589514: 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-09-16 10:40:44.590408: 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-09-16 10:40:44.591254: 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-09-16 10:40:44.607648: 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-09-16 10:40:44.608529: 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-09-16 10:40:44.609402: 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-09-16 10:40:44.610269: 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-09-16 10:40:44.627771: 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-09-16 10:40:44.628441: 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-09-16 10:40:44.658587: 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-09-16 10:40:44.659613: 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-09-16 10:40:44.660395: 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-09-16 10:40:44.661125: 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-09-16 10:40:44.668211: 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-09-16 10:40:44.669242: 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-09-16 10:40:44.670430: 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-09-16 10:40:44.671599: 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-09-16 10:40:44.672917: 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-09-16 10:40:44.685887: 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-09-16 10:40:44.686520: 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-09-16 10:40:44.702910: 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-09-16 10:40:44.703558: 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-09-16 10:40:44.704169: 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-09-16 10:40:44.704789: 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-09-16 10:40:44.705435: 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-09-16 10:40:44.706061: 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 : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 30 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 15 Detection mask done ! Trying to reset tf kernel 2357404 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1840 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 3033 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.0023360252380371094 nb_pixel_total : 38861 time to create 1 rle with old method : 0.07067418098449707 length of segment : 276 time for calcul the mask position with numpy : 0.002127408981323242 nb_pixel_total : 63687 time to create 1 rle with old method : 0.07207775115966797 length of segment : 442 time for calcul the mask position with numpy : 0.0015628337860107422 nb_pixel_total : 59606 time to create 1 rle with old method : 0.06917262077331543 length of segment : 262 time for calcul the mask position with numpy : 0.0021085739135742188 nb_pixel_total : 71622 time to create 1 rle with old method : 0.08092308044433594 length of segment : 441 time for calcul the mask position with numpy : 0.000698089599609375 nb_pixel_total : 18920 time to create 1 rle with old method : 0.021439075469970703 length of segment : 281 time for calcul the mask position with numpy : 0.0008416175842285156 nb_pixel_total : 36335 time to create 1 rle with old method : 0.0416109561920166 length of segment : 442 time for calcul the mask position with numpy : 0.001325845718383789 nb_pixel_total : 44980 time to create 1 rle with old method : 0.0501253604888916 length of segment : 393 time for calcul the mask position with numpy : 0.0006196498870849609 nb_pixel_total : 28263 time to create 1 rle with old method : 0.03206634521484375 length of segment : 217 time for calcul the mask position with numpy : 0.0008780956268310547 nb_pixel_total : 26195 time to create 1 rle with old method : 0.02980518341064453 length of segment : 161 time for calcul the mask position with numpy : 0.005162715911865234 nb_pixel_total : 150569 time to create 1 rle with new method : 0.00964808464050293 length of segment : 329 time for calcul the mask position with numpy : 0.0020127296447753906 nb_pixel_total : 46853 time to create 1 rle with old method : 0.06067991256713867 length of segment : 277 time for calcul the mask position with numpy : 0.0018284320831298828 nb_pixel_total : 64745 time to create 1 rle with old method : 0.07930254936218262 length of segment : 254 time for calcul the mask position with numpy : 0.0028548240661621094 nb_pixel_total : 129290 time to create 1 rle with old method : 0.14161014556884766 length of segment : 394 time for calcul the mask position with numpy : 0.0067555904388427734 nb_pixel_total : 183408 time to create 1 rle with new method : 0.014798641204833984 length of segment : 598 time for calcul the mask position with numpy : 0.0008780956268310547 nb_pixel_total : 31741 time to create 1 rle with old method : 0.03515911102294922 length of segment : 200 time for calcul the mask position with numpy : 0.0005412101745605469 nb_pixel_total : 22889 time to create 1 rle with old method : 0.026622533798217773 length of segment : 207 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 18476 time to create 1 rle with old method : 0.02122974395751953 length of segment : 176 time for calcul the mask position with numpy : 0.001024007797241211 nb_pixel_total : 22640 time to create 1 rle with old method : 0.026322364807128906 length of segment : 203 time for calcul the mask position with numpy : 0.0018596649169921875 nb_pixel_total : 53206 time to create 1 rle with old method : 0.06105804443359375 length of segment : 301 time for calcul the mask position with numpy : 0.0006537437438964844 nb_pixel_total : 13954 time to create 1 rle with old method : 0.01730966567993164 length of segment : 161 time for calcul the mask position with numpy : 0.0016345977783203125 nb_pixel_total : 89666 time to create 1 rle with old method : 0.1064302921295166 length of segment : 273 time for calcul the mask position with numpy : 0.0002837181091308594 nb_pixel_total : 8048 time to create 1 rle with old method : 0.009603500366210938 length of segment : 88 time for calcul the mask position with numpy : 0.0008594989776611328 nb_pixel_total : 41175 time to create 1 rle with old method : 0.0465092658996582 length of segment : 458 time for calcul the mask position with numpy : 0.0006587505340576172 nb_pixel_total : 15629 time to create 1 rle with old method : 0.017606258392333984 length of segment : 218 time for calcul the mask position with numpy : 0.0004100799560546875 nb_pixel_total : 17608 time to create 1 rle with old method : 0.02016305923461914 length of segment : 207 time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 15009 time to create 1 rle with old method : 0.017160892486572266 length of segment : 243 time for calcul the mask position with numpy : 0.0009098052978515625 nb_pixel_total : 40041 time to create 1 rle with old method : 0.046083688735961914 length of segment : 518 time for calcul the mask position with numpy : 0.001312255859375 nb_pixel_total : 42031 time to create 1 rle with old method : 0.0479733943939209 length of segment : 274 time for calcul the mask position with numpy : 0.0032939910888671875 nb_pixel_total : 98928 time to create 1 rle with old method : 0.11492490768432617 length of segment : 417 time for calcul the mask position with numpy : 0.0019524097442626953 nb_pixel_total : 69633 time to create 1 rle with old method : 0.0837404727935791 length of segment : 217 time for calcul the mask position with numpy : 0.0038094520568847656 nb_pixel_total : 146263 time to create 1 rle with old method : 0.17469167709350586 length of segment : 341 time for calcul the mask position with numpy : 0.0018205642700195312 nb_pixel_total : 40009 time to create 1 rle with old method : 0.05933213233947754 length of segment : 248 time for calcul the mask position with numpy : 0.0031337738037109375 nb_pixel_total : 92770 time to create 1 rle with old method : 0.1081080436706543 length of segment : 843 time for calcul the mask position with numpy : 0.0020742416381835938 nb_pixel_total : 81644 time to create 1 rle with old method : 0.09191775321960449 length of segment : 461 time for calcul the mask position with numpy : 0.0007534027099609375 nb_pixel_total : 30611 time to create 1 rle with old method : 0.03550577163696289 length of segment : 183 time for calcul the mask position with numpy : 0.0012319087982177734 nb_pixel_total : 35524 time to create 1 rle with old method : 0.04037070274353027 length of segment : 273 time for calcul the mask position with numpy : 0.0008668899536132812 nb_pixel_total : 21143 time to create 1 rle with old method : 0.023924589157104492 length of segment : 182 time for calcul the mask position with numpy : 0.001997709274291992 nb_pixel_total : 44735 time to create 1 rle with old method : 0.05278205871582031 length of segment : 350 time for calcul the mask position with numpy : 0.0018472671508789062 nb_pixel_total : 33783 time to create 1 rle with old method : 0.03825521469116211 length of segment : 417 time for calcul the mask position with numpy : 0.0005879402160644531 nb_pixel_total : 5138 time to create 1 rle with old method : 0.008366823196411133 length of segment : 138 time for calcul the mask position with numpy : 0.012487173080444336 nb_pixel_total : 257971 time to create 1 rle with new method : 0.038449764251708984 length of segment : 833 time for calcul the mask position with numpy : 0.0010876655578613281 nb_pixel_total : 43081 time to create 1 rle with old method : 0.053675174713134766 length of segment : 305 time for calcul the mask position with numpy : 0.0008792877197265625 nb_pixel_total : 18244 time to create 1 rle with old method : 0.02190232276916504 length of segment : 104 time for calcul the mask position with numpy : 0.0008399486541748047 nb_pixel_total : 20746 time to create 1 rle with old method : 0.023211956024169922 length of segment : 162 time for calcul the mask position with numpy : 0.001506805419921875 nb_pixel_total : 55654 time to create 1 rle with old method : 0.06386661529541016 length of segment : 309 time for calcul the mask position with numpy : 0.0005571842193603516 nb_pixel_total : 17751 time to create 1 rle with old method : 0.020304203033447266 length of segment : 172 time for calcul the mask position with numpy : 0.0010018348693847656 nb_pixel_total : 28225 time to create 1 rle with old method : 0.034690141677856445 length of segment : 309 time for calcul the mask position with numpy : 0.000926971435546875 nb_pixel_total : 32722 time to create 1 rle with old method : 0.04677891731262207 length of segment : 374 time for calcul the mask position with numpy : 0.0004324913024902344 nb_pixel_total : 10537 time to create 1 rle with old method : 0.01235508918762207 length of segment : 140 time for calcul the mask position with numpy : 0.0008528232574462891 nb_pixel_total : 18237 time to create 1 rle with old method : 0.021031856536865234 length of segment : 279 time for calcul the mask position with numpy : 0.0007662773132324219 nb_pixel_total : 24846 time to create 1 rle with old method : 0.02844095230102539 length of segment : 305 time for calcul the mask position with numpy : 0.0005629062652587891 nb_pixel_total : 19434 time to create 1 rle with old method : 0.022127866744995117 length of segment : 184 time for calcul the mask position with numpy : 0.00135040283203125 nb_pixel_total : 39951 time to create 1 rle with old method : 0.06505036354064941 length of segment : 268 time for calcul the mask position with numpy : 0.00035452842712402344 nb_pixel_total : 10471 time to create 1 rle with old method : 0.012483596801757812 length of segment : 82 time for calcul the mask position with numpy : 0.0009603500366210938 nb_pixel_total : 28777 time to create 1 rle with old method : 0.033113956451416016 length of segment : 226 time for calcul the mask position with numpy : 0.003891468048095703 nb_pixel_total : 165020 time to create 1 rle with new method : 0.008060455322265625 length of segment : 571 time spent for convertir_results : 6.733051538467407 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 56 chid ids of type : 3594 Number RLEs to save : 16987 save missing photos in datou_result : time spend for datou_step_exec : 47.61311388015747 time spend to save output : 1.7336533069610596 total time spend for step 1 : 49.34676718711853 step2:crop_condition Tue Sep 16 10:41:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 6 ! batch 1 Loaded 56 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 47 About to insert : list_path_to_insert length 47 new photo from crops ! About to upload 47 photos upload in portfolio : 3736932 init cache_photo without model_param we have 47 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758012092_2356650 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 ! 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 47 photos in the portfolio 3736932 time of upload the photos Elapsed time : 14.134188890457153 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758012108_2356650 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5712225437164307 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758012112_2356650 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2060799598693848 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1758012114_2356650 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.6275103092193604 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] Looping around the photos to save general results len do output : 56 /1383877758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383877815Didn'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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 174 time used for this insertion : 0.03275871276855469 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.91883301734924 time spend to save output : 0.03490900993347168 total time spend for step 2 : 35.953742027282715 step3:rle_unique_nms_with_priority Tue Sep 16 10:41:54 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 56 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 9 nb_hashtags : 1 time to prepare the origin masks : 3.0946788787841797 time for calcul the mask position with numpy : 0.7065069675445557 nb_pixel_total : 7905931 time to create 1 rle with new method : 0.8072395324707031 time for calcul the mask position with numpy : 0.023776531219482422 nb_pixel_total : 26195 time to create 1 rle with old method : 0.028968095779418945 time for calcul the mask position with numpy : 0.02424001693725586 nb_pixel_total : 28263 time to create 1 rle with old method : 0.0298004150390625 time for calcul the mask position with numpy : 0.023326635360717773 nb_pixel_total : 44980 time to create 1 rle with old method : 0.04776120185852051 time for calcul the mask position with numpy : 0.02516794204711914 nb_pixel_total : 36335 time to create 1 rle with old method : 0.037564992904663086 time for calcul the mask position with numpy : 0.02405071258544922 nb_pixel_total : 18920 time to create 1 rle with old method : 0.019538402557373047 time for calcul the mask position with numpy : 0.02475738525390625 nb_pixel_total : 71622 time to create 1 rle with old method : 0.07438778877258301 time for calcul the mask position with numpy : 0.024004220962524414 nb_pixel_total : 59606 time to create 1 rle with old method : 0.06271123886108398 time for calcul the mask position with numpy : 0.023896455764770508 nb_pixel_total : 63687 time to create 1 rle with old method : 0.06663966178894043 time for calcul the mask position with numpy : 0.023606061935424805 nb_pixel_total : 38861 time to create 1 rle with old method : 0.042736053466796875 create new chi : 2.1750881671905518 time to delete rle : 0.025798320770263672 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 7990 TO DO : save crop sub photo not yet done ! save time : 0.686903715133667 nb_obj : 11 nb_hashtags : 2 time to prepare the origin masks : 4.985541820526123 time for calcul the mask position with numpy : 0.5380265712738037 nb_pixel_total : 7556629 time to create 1 rle with new method : 0.5932681560516357 time for calcul the mask position with numpy : 0.02577972412109375 nb_pixel_total : 13954 time to create 1 rle with old method : 0.016393184661865234 time for calcul the mask position with numpy : 0.028465747833251953 nb_pixel_total : 53206 time to create 1 rle with old method : 0.057721614837646484 time for calcul the mask position with numpy : 0.02693915367126465 nb_pixel_total : 22640 time to create 1 rle with old method : 0.02427530288696289 time for calcul the mask position with numpy : 0.025740623474121094 nb_pixel_total : 18476 time to create 1 rle with old method : 0.02058100700378418 time for calcul the mask position with numpy : 0.02568221092224121 nb_pixel_total : 22889 time to create 1 rle with old method : 0.025127887725830078 time for calcul the mask position with numpy : 0.024903297424316406 nb_pixel_total : 31741 time to create 1 rle with old method : 0.03469491004943848 time for calcul the mask position with numpy : 0.026785850524902344 nb_pixel_total : 183408 time to create 1 rle with new method : 0.5035698413848877 time for calcul the mask position with numpy : 0.028362274169921875 nb_pixel_total : 129290 time to create 1 rle with old method : 0.14666128158569336 time for calcul the mask position with numpy : 0.02636408805847168 nb_pixel_total : 64745 time to create 1 rle with old method : 0.07051873207092285 time for calcul the mask position with numpy : 0.026236534118652344 nb_pixel_total : 46853 time to create 1 rle with old method : 0.0505375862121582 time for calcul the mask position with numpy : 0.027156829833984375 nb_pixel_total : 150569 time to create 1 rle with new method : 0.5646176338195801 create new chi : 3.0363478660583496 time to delete rle : 0.0010683536529541016 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 8360 TO DO : save crop sub photo not yet done ! save time : 0.5852575302124023 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 2.8904476165771484 time for calcul the mask position with numpy : 0.3111741542816162 nb_pixel_total : 8025193 time to create 1 rle with new method : 0.6793506145477295 time for calcul the mask position with numpy : 0.02483654022216797 nb_pixel_total : 42031 time to create 1 rle with old method : 0.04761457443237305 time for calcul the mask position with numpy : 0.02710866928100586 nb_pixel_total : 40041 time to create 1 rle with old method : 0.045946359634399414 time for calcul the mask position with numpy : 0.027716398239135742 nb_pixel_total : 15009 time to create 1 rle with old method : 0.017296314239501953 time for calcul the mask position with numpy : 0.027804136276245117 nb_pixel_total : 17608 time to create 1 rle with old method : 0.020294189453125 time for calcul the mask position with numpy : 0.02464151382446289 nb_pixel_total : 15629 time to create 1 rle with old method : 0.019678831100463867 time for calcul the mask position with numpy : 0.028569459915161133 nb_pixel_total : 41175 time to create 1 rle with old method : 0.046106576919555664 time for calcul the mask position with numpy : 0.026111364364624023 nb_pixel_total : 8048 time to create 1 rle with old method : 0.009071826934814453 time for calcul the mask position with numpy : 0.026194095611572266 nb_pixel_total : 89666 time to create 1 rle with old method : 0.09861016273498535 create new chi : 1.5509006977081299 time to delete rle : 0.0008573532104492188 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 6718 TO DO : save crop sub photo not yet done ! save time : 0.460207462310791 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 3.1715641021728516 time for calcul the mask position with numpy : 0.3334317207336426 nb_pixel_total : 7677875 time to create 1 rle with new method : 0.4289131164550781 time for calcul the mask position with numpy : 0.04021048545837402 nb_pixel_total : 21143 time to create 1 rle with old method : 0.02404308319091797 time for calcul the mask position with numpy : 0.041177988052368164 nb_pixel_total : 35524 time to create 1 rle with old method : 0.03927421569824219 time for calcul the mask position with numpy : 0.040622711181640625 nb_pixel_total : 30611 time to create 1 rle with old method : 0.03324532508850098 time for calcul the mask position with numpy : 0.040396928787231445 nb_pixel_total : 81644 time to create 1 rle with old method : 0.08946728706359863 time for calcul the mask position with numpy : 0.040682077407836914 nb_pixel_total : 92770 time to create 1 rle with old method : 0.09932851791381836 time for calcul the mask position with numpy : 0.037848472595214844 nb_pixel_total : 40009 time to create 1 rle with old method : 0.041776180267333984 time for calcul the mask position with numpy : 0.04285597801208496 nb_pixel_total : 146263 time to create 1 rle with old method : 0.16991186141967773 time for calcul the mask position with numpy : 0.02564692497253418 nb_pixel_total : 69633 time to create 1 rle with old method : 0.0891265869140625 time for calcul the mask position with numpy : 0.025571107864379883 nb_pixel_total : 98928 time to create 1 rle with old method : 0.12105464935302734 create new chi : 1.8452997207641602 time to delete rle : 0.0018374919891357422 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++Number RLEs to save : 8490 TO DO : save crop sub photo not yet done ! save time : 0.7959294319152832 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 4.743527412414551 time for calcul the mask position with numpy : 0.810422420501709 nb_pixel_total : 7870702 time to create 1 rle with new method : 0.611767053604126 time for calcul the mask position with numpy : 0.04281735420227051 nb_pixel_total : 20746 time to create 1 rle with old method : 0.022935867309570312 time for calcul the mask position with numpy : 0.041961669921875 nb_pixel_total : 18244 time to create 1 rle with old method : 0.0203857421875 time for calcul the mask position with numpy : 0.04554438591003418 nb_pixel_total : 43081 time to create 1 rle with old method : 0.07205414772033691 time for calcul the mask position with numpy : 0.04797554016113281 nb_pixel_total : 257971 time to create 1 rle with new method : 0.4156382083892822 time for calcul the mask position with numpy : 0.032768964767456055 nb_pixel_total : 5138 time to create 1 rle with old method : 0.00564265251159668 time for calcul the mask position with numpy : 0.02497577667236328 nb_pixel_total : 33783 time to create 1 rle with old method : 0.03742384910583496 time for calcul the mask position with numpy : 0.030691146850585938 nb_pixel_total : 44735 time to create 1 rle with old method : 0.061571598052978516 create new chi : 2.398411512374878 time to delete rle : 0.0012862682342529297 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 6778 TO DO : save crop sub photo not yet done ! save time : 0.7447922229766846 nb_obj : 12 nb_hashtags : 1 time to prepare the origin masks : 3.341404676437378 time for calcul the mask position with numpy : 0.4264554977416992 nb_pixel_total : 7842775 time to create 1 rle with new method : 0.51882004737854 time for calcul the mask position with numpy : 0.026066303253173828 nb_pixel_total : 165020 time to create 1 rle with new method : 0.7506766319274902 time for calcul the mask position with numpy : 0.026959657669067383 nb_pixel_total : 28777 time to create 1 rle with old method : 0.03316497802734375 time for calcul the mask position with numpy : 0.030128002166748047 nb_pixel_total : 10471 time to create 1 rle with old method : 0.012156248092651367 time for calcul the mask position with numpy : 0.029746294021606445 nb_pixel_total : 39951 time to create 1 rle with old method : 0.04824948310852051 time for calcul the mask position with numpy : 0.029129743576049805 nb_pixel_total : 19434 time to create 1 rle with old method : 0.022322654724121094 time for calcul the mask position with numpy : 0.03705787658691406 nb_pixel_total : 24846 time to create 1 rle with old method : 0.039788246154785156 time for calcul the mask position with numpy : 0.041931867599487305 nb_pixel_total : 18237 time to create 1 rle with old method : 0.020169496536254883 time for calcul the mask position with numpy : 0.039632558822631836 nb_pixel_total : 10537 time to create 1 rle with old method : 0.011485815048217773 time for calcul the mask position with numpy : 0.03442692756652832 nb_pixel_total : 32722 time to create 1 rle with old method : 0.0360102653503418 time for calcul the mask position with numpy : 0.0253145694732666 nb_pixel_total : 28225 time to create 1 rle with old method : 0.030391693115234375 time for calcul the mask position with numpy : 0.024598360061645508 nb_pixel_total : 17751 time to create 1 rle with old method : 0.01898956298828125 time for calcul the mask position with numpy : 0.02616119384765625 nb_pixel_total : 55654 time to create 1 rle with old method : 0.061786651611328125 create new chi : 2.4752721786499023 time to delete rle : 0.0011610984802246094 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 8598 TO DO : save crop sub photo not yet done ! save time : 0.8686707019805908 map_output_result : {1383873430: (0.0, 'Should be the crop_list due to order', 0), 1383873429: (0.0, 'Should be the crop_list due to order', 0), 1383873427: (0.0, 'Should be the crop_list due to order', 0), 1383873424: (0.0, 'Should be the crop_list due to order', 0), 1383873402: (0.0, 'Should be the crop_list due to order', 0), 1383873058: (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 [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] Looping around the photos to save general results len do output : 6 /1383873430.Didn't retrieve data . /1383873429.Didn't retrieve data . /1383873427.Didn't retrieve data . /1383873424.Didn't retrieve data . /1383873402.Didn't retrieve data . /1383873058.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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.019704818725585938 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.918641567230225 time spend to save output : 0.020076751708984375 total time spend for step 3 : 40.93871831893921 step4:ventilate_hashtags_in_portfolio Tue Sep 16 10:42:35 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 : 26885907 get user id for portfolio 26885907 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`=26885907 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','flou','pehd','autre','pet_fonce','pet_clair','metal','environnement','background','papier','mal_croppe')) 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`=26885907 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','flou','pehd','autre','pet_fonce','pet_clair','metal','environnement','background','papier','mal_croppe')) 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`=26885907 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','flou','pehd','autre','pet_fonce','pet_clair','metal','environnement','background','papier','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26886440,26886441,26886442,26886443,26886444,26886445,26886446,26886447,26886448,26886449,26886450?tags=carton,flou,pehd,autre,pet_fonce,pet_clair,metal,environnement,background,papier,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] Looping around the photos to save general results len do output : 1 /26885907. 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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.01681828498840332 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8167407512664795 time spend to save output : 0.01706242561340332 total time spend for step 4 : 1.8338031768798828 step5:final Tue Sep 16 10:42:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1383873430: ('0.05801695521476336',), 1383873429: ('0.05801695521476336',), 1383873427: ('0.05801695521476336',), 1383873424: ('0.05801695521476336',), 1383873402: ('0.05801695521476336',), 1383873058: ('0.05801695521476336',)} new output for save of step final : {1383873430: ('0.05801695521476336',), 1383873429: ('0.05801695521476336',), 1383873427: ('0.05801695521476336',), 1383873424: ('0.05801695521476336',), 1383873402: ('0.05801695521476336',), 1383873058: ('0.05801695521476336',)} [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] Looping around the photos to save general results len do output : 6 /1383873430.Didn't retrieve data . /1383873429.Didn't retrieve data . /1383873427.Didn't retrieve data . /1383873424.Didn't retrieve data . /1383873402.Didn't retrieve data . /1383873058.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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.012531757354736328 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1159968376159668 time spend to save output : 0.012869119644165039 total time spend for step 5 : 0.12886595726013184 step6:blur_detection Tue Sep 16 10:42:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93.jpg resize: (2160, 3840) 1383873430 -7.016185509745133 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b.jpg resize: (2160, 3840) 1383873429 -6.916802459759886 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd.jpg resize: (2160, 3840) 1383873427 -6.960883945965432 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd.jpg resize: (2160, 3840) 1383873424 -6.955160343878536 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2.jpg resize: (2160, 3840) 1383873402 -7.153638155468441 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca.jpg resize: (2160, 3840) 1383873058 -7.0885313938211505 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178058_0.png resize: (269, 237) 1383877758 -3.3451023613653827 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178059_0.png resize: (325, 378) 1383877759 -4.045233283228814 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178060_0.png resize: (239, 312) 1383877760 -2.7879730858638334 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178061_0.png resize: (387, 274) 1383877761 -0.7780142883796277 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178062_0.png resize: (281, 104) 1383877762 -3.2345808186335896 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178063_0.png resize: (311, 217) 1383877763 -3.9744292040121687 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178064_0.png resize: (341, 239) 1383877764 -4.050641239601808 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178065_0.png resize: (204, 197) 1383877765 -2.4403473208703987 treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178066_0.png resize: (161, 275) 1383877766 -3.253752576858532 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178067_0.png resize: (326, 677) 1383877767 -2.2263877318033507 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178068_0.png resize: (261, 322) 1383877768 -3.2258706530582084 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178069_0.png resize: (250, 477) 1383877769 -4.507191750421409 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178070_0.png resize: (392, 410) 1383877770 -2.2043754044164725 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178071_0.png resize: (572, 507) 1383877771 -4.7343559235921315 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178073_0.png resize: (206, 160) 1383877772 -3.934672058156292 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178074_0.png resize: (176, 131) 1383877773 -3.505080800065799 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178075_0.png resize: (179, 221) 1383877774 -3.2620846599918147 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178076_0.png resize: (296, 369) 1383877775 -3.434613570988005 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178077_0.png resize: (122, 297) 1383877776 -2.8273248485636877 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178078_0.png resize: (269, 490) 1383877777 -1.8862817353796733 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178080_0.png resize: (457, 160) 1383877778 -3.8085477528944307 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178082_0.png resize: (180, 157) 1383877779 -2.637603799063988 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178083_0.png resize: (169, 138) 1383877780 -2.2233425392720965 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178084_0.png resize: (453, 258) 1383877781 -3.1875785330822066 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178085_0.png resize: (221, 298) 1383877782 -4.092894151794235 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178086_0.png resize: (336, 397) 1383877783 -4.4247546754427445 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178090_0.png resize: (349, 444) 1383877784 -4.810461030518238 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178091_0.png resize: (426, 234) 1383877785 -2.406738802708606 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178092_0.png resize: (175, 258) 1383877786 -3.224210388706499 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178093_0.png resize: (201, 308) 1383877787 -1.753952669877443 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178094_0.png resize: (182, 166) 1383877788 -3.800358275400773 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178095_0.png resize: (343, 243) 1383877789 -1.4926065080680764 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178097_0.png resize: (138, 55) 1383877790 -1.777297300507234 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178098_0.png resize: (678, 791) 1383877791 -4.703455164818369 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178100_0.png resize: (87, 295) 1383877792 -1.9249690880174954 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178102_0.png resize: (309, 276) 1383877793 -4.6790226993649835 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178103_0.png resize: (172, 140) 1383877794 -1.21753549812078 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178104_0.png resize: (290, 142) 1383877795 -4.61496673217827 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178105_0.png resize: (331, 140) 1383877796 -1.6821082864641772 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178106_0.png resize: (140, 121) 1383877797 -0.4545851122208072 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178107_0.png resize: (279, 109) 1383877798 -3.2375582945049213 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178108_0.png resize: (243, 159) 1383877799 -4.3552292189708774 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178109_0.png resize: (184, 144) 1383877800 -3.3391494411507785 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178110_0.png resize: (267, 270) 1383877801 -3.4081556820828567 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178111_0.png resize: (81, 171) 1383877802 -4.103540653319703 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178112_0.png resize: (226, 189) 1383877803 -3.9188489146130845 treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178113_0.png resize: (437, 515) 1383877805 -4.768392306991417 treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178072_0.png resize: (199, 199) 1383877807 -3.2283676023949974 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178079_0.png resize: (87, 111) 1383877808 -0.7249062948968903 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178089_0.png resize: (246, 230) 1383877809 -2.572228532868319 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178099_0.png resize: (293, 218) 1383877810 -3.447228206288736 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178101_0.png resize: (161, 155) 1383877811 -3.0435648180158457 treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178081_0.png resize: (218, 98) 1383877812 -5.046804514010593 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178087_0.png resize: (216, 596) 1383877813 -2.679960568419524 treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178088_0.png resize: (331, 624) 1383877814 -4.612469060110479 treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178096_0.png resize: (327, 214) 1383877815 -3.54597518462036 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 : 62 time used for this insertion : 0.01793360710144043 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.0177004337310791 save missing photos in datou_result : time spend for datou_step_exec : 25.20283007621765 time spend to save output : 0.040862083435058594 total time spend for step 6 : 25.24369215965271 step7:brightness Tue Sep 16 10:43: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/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93.jpg treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b.jpg treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd.jpg treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd.jpg treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2.jpg treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca.jpg treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178058_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178059_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178060_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178061_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178062_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178063_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178064_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178065_0.png treat image : temp/1758012028_2356650_1383873430_5f477652af2d2746736097781ca22f93_rle_crop_3959178066_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178067_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178068_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178069_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178070_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178071_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178073_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178074_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178075_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178076_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178077_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178078_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178080_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178082_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178083_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178084_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178085_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178086_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178090_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178091_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178092_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178093_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178094_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178095_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178097_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178098_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178100_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178102_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178103_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178104_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178105_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178106_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178107_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178108_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178109_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178110_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178111_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178112_0.png treat image : temp/1758012028_2356650_1383873058_db43d2de05f6d0d7117513bf68da2eca_rle_crop_3959178113_0.png treat image : temp/1758012028_2356650_1383873429_4384ecf42e50788d4b4ed02e4531cd4b_rle_crop_3959178072_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178079_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178089_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178099_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178101_0.png treat image : temp/1758012028_2356650_1383873427_e0daeb1375b2bca0bda4926b5b77d3fd_rle_crop_3959178081_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178087_0.png treat image : temp/1758012028_2356650_1383873424_15a85e10c1a0fae6f54fee6f9f2874bd_rle_crop_3959178088_0.png treat image : temp/1758012028_2356650_1383873402_f1d489606709731739455856194750b2_rle_crop_3959178096_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 : 62 time used for this insertion : 0.026585102081298828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.06757020950317383 save missing photos in datou_result : time spend for datou_step_exec : 6.524200439453125 time spend to save output : 0.09876132011413574 total time spend for step 7 : 6.622961759567261 step8:velours_tree Tue Sep 16 10:43:09 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.10242724418640137 time spend to save output : 3.1948089599609375e-05 total time spend for step 8 : 0.10245919227600098 step9:send_mail_cod Tue Sep 16 10:43:09 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_P26885907_16-09-2025_10_43_09.pdf 26886440 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette268864401758012189 26886441 imagette268864411758012189 26886442 imagette268864421758012189 26886443 change filename to text .imagette268864431758012189 26886444 imagette268864441758012190 26886445 change filename to text .change filename to text .change filename to text .imagette268864451758012190 26886446 imagette268864461758012190 26886448 imagette268864481758012190 26886449 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 .imagette268864491758012190 26886450 imagette268864501758012191 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26885907 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26886440,26886441,26886442,26886443,26886444,26886445,26886446,26886447,26886448,26886449,26886450?tags=carton,flou,pehd,autre,pet_fonce,pet_clair,metal,environnement,background,papier,mal_croppe args[1383873430] : ((1383873430, -7.016185509745133, 492609224), (1383873430, 0.8907363983355732, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com args[1383873429] : ((1383873429, -6.916802459759886, 492609224), (1383873429, 0.9817098248292284, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com args[1383873427] : ((1383873427, -6.960883945965432, 492609224), (1383873427, 0.9822947304716614, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com args[1383873424] : ((1383873424, -6.955160343878536, 492609224), (1383873424, 1.1685598098201635, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com args[1383873402] : ((1383873402, -7.153638155468441, 492609224), (1383873402, 1.268264884378927, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com args[1383873058] : ((1383873058, -7.0885313938211505, 492609224), (1383873058, 1.0050484326506366, 2107752395), '0.05801695521476336') We are sending mail with results at report@fotonower.com refus_total : 0.05801695521476336 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=26885907 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_P26885907_16-09-2025_10_43_09.pdf results_Auto_P26885907_16-09-2025_10_43_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885907_16-09-2025_10_43_09.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','26885907','results_Auto_P26885907_16-09-2025_10_43_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885907_16-09-2025_10_43_09.pdf','pdf','','0.39','0.05801695521476336') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26885907

https://www.fotonower.com/image?json=false&list_photos_id=1383873430
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383873429
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383873427
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383873424
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383873402
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383873058
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26886440?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26886443?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26886445?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26886449?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885907_16-09-2025_10_43_09.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26886440,26886441,26886442,26886443,26886444,26886445,26886446,26886447,26886448,26886449,26886450?tags=carton,flou,pehd,autre,pet_fonce,pet_clair,metal,environnement,background,papier,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 16 Sep 2025 08:43:13 GMT Content-Length: 0 Connection: close X-Message-Id: 2eK62XfGSiaROTKtf5BPtA 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 [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] 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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.023482084274291992 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.40940260887146 time spend to save output : 0.023655414581298828 total time spend for step 9 : 4.433058023452759 step10:split_time_score Tue Sep 16 10:43:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16092025 26885907 Nombre de photos uploadées : 6 / 23040 (0%) 16092025 26885907 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 16092025 26885907 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.00034546852111816406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21264100074768066 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.023909218230979815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876770_16-09-2025_07_22_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26876770 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26876770 AND mptpi.`type`=3726 To do Qualite : 0.03517855010745843 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884485_16-09-2025_10_17_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26884485 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26884485 AND mptpi.`type`=3726 To do Qualite : 0.026004526996149944 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884487_16-09-2025_10_08_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26884487 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26884487 AND mptpi.`type`=3726 To do Qualite : 0.05801695521476336 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885907_16-09-2025_10_43_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26885907 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`=26885907 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16092025': {'nb_upload': 6, '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 [1383873430, 1383873429, 1383873427, 1383873424, 1383873402, 1383873058] Looping around the photos to save general results len do output : 1 /26885907Didn'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, '3727209') ('3318', '26885907', '1383873430', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873429', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873427', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873424', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873402', None, None, None, None, None, '3727209') ('3318', None, None, None, None, None, None, None, '3727209') ('3318', '26885907', '1383873058', None, None, None, None, None, '3727209') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.014573812484741211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6319291591644287 time spend to save output : 0.014731407165527344 total time spend for step 10 : 0.646660566329956 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 76.08user 64.61system 2:50.34elapsed 82%CPU (0avgtext+0avgdata 3024856maxresident)k 706800inputs+62792outputs (11887major+7465131minor)pagefaults 0swaps