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 : 1910852 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 : ['3946022'] with mtr_portfolio_ids : ['27830135'] and first list_photo_ids : [] new path : /proc/1910852/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.738699197769165 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 Wed Oct 15 12:40:31 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 : 3141 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-15 12:40:33.862726: 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-10-15 12:40:33.894419: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-15 12:40:33.896533: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f75a0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-15 12:40:33.896587: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-15 12:40:33.900566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-15 12:40:34.159039: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x12b5db90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-15 12:40:34.159087: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-15 12:40:34.160115: 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-10-15 12:40:34.160507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 12:40:34.163769: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 12:40:34.170589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 12:40:34.171098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 12:40:34.175885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 12:40:34.177656: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 12:40:34.184625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 12:40:34.186018: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 12:40:34.186109: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 12:40:34.186872: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-15 12:40:34.186895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-15 12:40:34.186908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-15 12:40:34.188180: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2689 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-10-15 12:40:34.587231: 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-10-15 12:40:34.587313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 12:40:34.587334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 12:40:34.587352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 12:40:34.587370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 12:40:34.587387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 12:40:34.587404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 12:40:34.587422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 12:40:34.588428: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 12:40:34.589465: 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-10-15 12:40:34.589498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 12:40:34.589517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 12:40:34.589533: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 12:40:34.589550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 12:40:34.589566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 12:40:34.589582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 12:40:34.589599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 12:40:34.590626: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 12:40:34.590659: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-15 12:40:34.590669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-15 12:40:34.590679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-15 12:40:34.591690: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2689 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-10-15 12:40:41.752402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 12:40:41.927278: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 12:40:43.219348: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.219419: 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-10-15 12:40:43.219984: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.219999: 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-10-15 12:40:43.226962: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.226983: 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-10-15 12:40:43.227539: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.227553: 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-10-15 12:40:43.234069: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.234088: 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-10-15 12:40:43.234666: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.234683: 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-10-15 12:40:43.265196: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.265221: 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-10-15 12:40:43.265793: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.265807: 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-10-15 12:40:43.271592: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.271610: 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-10-15 12:40:43.272162: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.272177: 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-10-15 12:40:43.305075: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.305662: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.307435: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.307998: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.348739: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.349310: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.376660: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.377242: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.378861: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.379434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.385276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.385854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.387648: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.388218: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.394266: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.394894: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.396503: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.397077: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.425410: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.425996: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.426615: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.427243: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.431027: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.431636: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.448499: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.449139: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.449742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.450321: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.464190: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.464768: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.465337: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.465904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.470526: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.471151: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.476062: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.476642: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.490004: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.490625: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.495234: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.495833: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.496401: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.496969: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.497693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.498337: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.509788: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.510429: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.511073: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.511680: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.512286: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.512903: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.527872: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.528450: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.566145: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.566200: 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-10-15 12:40:43.567374: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.568520: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.575827: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.576412: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.584291: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.584915: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.600649: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.601460: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.602250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.603048: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.607319: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.608093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.608861: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.609628: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.610879: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.620733: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.621316: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.630177: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.630811: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.631443: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.632055: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.632685: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-15 12:40:43.633314: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.13G (2284716032 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 Detection mask done ! Trying to reset tf kernel 1911489 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2169 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 3362 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.0002288818359375 nb_pixel_total : 5524 time to create 1 rle with old method : 0.006309032440185547 length of segment : 70 time for calcul the mask position with numpy : 0.0002460479736328125 nb_pixel_total : 10888 time to create 1 rle with old method : 0.012218475341796875 length of segment : 125 time for calcul the mask position with numpy : 0.01223611831665039 nb_pixel_total : 600206 time to create 1 rle with new method : 0.028966188430786133 length of segment : 1369 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 8274 time to create 1 rle with old method : 0.010985136032104492 length of segment : 99 time for calcul the mask position with numpy : 0.0001609325408935547 nb_pixel_total : 7256 time to create 1 rle with old method : 0.009349584579467773 length of segment : 94 time for calcul the mask position with numpy : 0.00011587142944335938 nb_pixel_total : 4004 time to create 1 rle with old method : 0.005263328552246094 length of segment : 103 time for calcul the mask position with numpy : 0.00016498565673828125 nb_pixel_total : 8458 time to create 1 rle with old method : 0.009516000747680664 length of segment : 112 time for calcul the mask position with numpy : 0.00046133995056152344 nb_pixel_total : 25237 time to create 1 rle with old method : 0.027956247329711914 length of segment : 206 time for calcul the mask position with numpy : 0.00011897087097167969 nb_pixel_total : 5899 time to create 1 rle with old method : 0.006764411926269531 length of segment : 69 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 12623 time to create 1 rle with old method : 0.014241218566894531 length of segment : 116 time for calcul the mask position with numpy : 0.00037026405334472656 nb_pixel_total : 20803 time to create 1 rle with old method : 0.023375511169433594 length of segment : 180 time for calcul the mask position with numpy : 0.0001251697540283203 nb_pixel_total : 5270 time to create 1 rle with old method : 0.007025241851806641 length of segment : 67 time for calcul the mask position with numpy : 0.000278472900390625 nb_pixel_total : 21358 time to create 1 rle with old method : 0.024430513381958008 length of segment : 120 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 9101 time to create 1 rle with old method : 0.010292291641235352 length of segment : 112 time for calcul the mask position with numpy : 0.0006043910980224609 nb_pixel_total : 36800 time to create 1 rle with old method : 0.04141521453857422 length of segment : 366 time for calcul the mask position with numpy : 0.000179290771484375 nb_pixel_total : 9966 time to create 1 rle with old method : 0.012706995010375977 length of segment : 125 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 3730 time to create 1 rle with old method : 0.0043773651123046875 length of segment : 101 time for calcul the mask position with numpy : 9.870529174804688e-05 nb_pixel_total : 4385 time to create 1 rle with old method : 0.005194425582885742 length of segment : 84 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 6594 time to create 1 rle with old method : 0.007599830627441406 length of segment : 175 time for calcul the mask position with numpy : 9.965896606445312e-05 nb_pixel_total : 2890 time to create 1 rle with old method : 0.0038518905639648438 length of segment : 66 time for calcul the mask position with numpy : 0.015070199966430664 nb_pixel_total : 963363 time to create 1 rle with new method : 0.04546689987182617 length of segment : 1290 time spent for convertir_results : 1.7518177032470703 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 21 chid ids of type : 3594 Number RLEs to save : 5049 save missing photos in datou_result : time spend for datou_step_exec : 21.7307231426239 time spend to save output : 0.7766566276550293 total time spend for step 1 : 22.50737977027893 step2:crop_condition Wed Oct 15 12:40:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 11 ! batch 1 Loaded 21 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760524857_1910852 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582656_0.png', 0, 991, 987, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582655_0.png', 0, 150, 124, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582654_0.png', 0, 105, 69, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png', 0, 123, 99, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png', 0, 107, 112, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png', 0, 76, 93, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png', 0, 106, 69, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png', 0, 180, 116, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582668_0.png', 0, 304, 198, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582666_0.png', 0, 200, 117, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582665_0.png', 0, 101, 67, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png', 0, 64, 169, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png', 0, 68, 101, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524859), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png', 0, 69, 84, 0, 1760524859,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.202315330505371 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1760524862_1910852 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524862), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png', 0, 106, 92, 0, 1760524862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524862), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png', 0, 277, 146, 0, 1760524862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524862), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582667_0.png', 0, 123, 106, 0, 1760524862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2614753246307373 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760524863_1910852 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524863), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png', 0, 52, 66, 0, 1760524863,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7948932647705078 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1760524868_1910852 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524869), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582661_0.png', 0, 207, 195, 0, 1760524869,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524869), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582669_0.png', 0, 101, 125, 0, 1760524869,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760524869), 0.0, 0.0, 14, '', 0, 0, '1760524829_1910852_1389552483_046e02a1d819daa8c4f29a7ff4aecf73_rle_crop_3998582674_0.png', 0, 1330, 1003, 0, 1760524869,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3808677196502686 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] Looping around the photos to save general results len do output : 21 /1389558565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389558589Didn'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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 74 time used for this insertion : 0.03959369659423828 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.245978593826294 time spend to save output : 0.04068756103515625 total time spend for step 2 : 16.28666615486145 step3:rle_unique_nms_with_priority Wed Oct 15 12:41: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 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.4084162712097168 time for calcul the mask position with numpy : 0.05651378631591797 nb_pixel_total : 1456982 time to create 1 rle with new method : 0.15338540077209473 time for calcul the mask position with numpy : 0.024008750915527344 nb_pixel_total : 600206 time to create 1 rle with new method : 0.08775901794433594 time for calcul the mask position with numpy : 0.006199836730957031 nb_pixel_total : 10888 time to create 1 rle with old method : 0.012155771255493164 time for calcul the mask position with numpy : 0.006093740463256836 nb_pixel_total : 5524 time to create 1 rle with old method : 0.006460666656494141 create new chi : 0.3701307773590088 time to delete rle : 0.10480642318725586 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4208 TO DO : save crop sub photo not yet done ! save time : 0.5868659019470215 No data in photo_id : 1389553130 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.10167741775512695 time for calcul the mask position with numpy : 0.03984665870666504 nb_pixel_total : 2065326 time to create 1 rle with new method : 0.08504891395568848 time for calcul the mask position with numpy : 0.006018638610839844 nb_pixel_total : 8274 time to create 1 rle with old method : 0.009061336517333984 create new chi : 0.14598321914672852 time to delete rle : 0.0002086162567138672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1278 TO DO : save crop sub photo not yet done ! save time : 0.3501250743865967 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.040572404861450195 time for calcul the mask position with numpy : 0.047251224517822266 nb_pixel_total : 2066344 time to create 1 rle with new method : 0.09916520118713379 time for calcul the mask position with numpy : 0.0073201656341552734 nb_pixel_total : 7256 time to create 1 rle with old method : 0.009557247161865234 create new chi : 0.1726686954498291 time to delete rle : 0.00025463104248046875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1268 TO DO : save crop sub photo not yet done ! save time : 0.35550451278686523 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.15247392654418945 time for calcul the mask position with numpy : 0.07191872596740723 nb_pixel_total : 2030002 time to create 1 rle with new method : 0.22711491584777832 time for calcul the mask position with numpy : 0.006188631057739258 nb_pixel_total : 5899 time to create 1 rle with old method : 0.006791353225708008 time for calcul the mask position with numpy : 0.006331920623779297 nb_pixel_total : 25237 time to create 1 rle with old method : 0.030241727828979492 time for calcul the mask position with numpy : 0.006509304046630859 nb_pixel_total : 8458 time to create 1 rle with old method : 0.009523630142211914 time for calcul the mask position with numpy : 0.006410837173461914 nb_pixel_total : 4004 time to create 1 rle with old method : 0.004579305648803711 create new chi : 0.38535284996032715 time to delete rle : 0.00030684471130371094 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2060 TO DO : save crop sub photo not yet done ! save time : 0.41994476318359375 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04631209373474121 time for calcul the mask position with numpy : 0.022764205932617188 nb_pixel_total : 2040174 time to create 1 rle with new method : 0.17025518417358398 time for calcul the mask position with numpy : 0.007066249847412109 nb_pixel_total : 20803 time to create 1 rle with old method : 0.02337336540222168 time for calcul the mask position with numpy : 0.0074176788330078125 nb_pixel_total : 12623 time to create 1 rle with old method : 0.013926506042480469 create new chi : 0.25263309478759766 time to delete rle : 0.00046324729919433594 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1672 TO DO : save crop sub photo not yet done ! save time : 0.3833892345428467 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.5812480449676514 time for calcul the mask position with numpy : 0.0709846019744873 nb_pixel_total : 1991105 time to create 1 rle with new method : 0.1832125186920166 time for calcul the mask position with numpy : 0.007262468338012695 nb_pixel_total : 9966 time to create 1 rle with old method : 0.011026859283447266 time for calcul the mask position with numpy : 0.007302284240722656 nb_pixel_total : 36800 time to create 1 rle with old method : 0.040261268615722656 time for calcul the mask position with numpy : 0.00739288330078125 nb_pixel_total : 9101 time to create 1 rle with old method : 0.01000070571899414 time for calcul the mask position with numpy : 0.007456064224243164 nb_pixel_total : 21358 time to create 1 rle with old method : 0.023639202117919922 time for calcul the mask position with numpy : 0.007798910140991211 nb_pixel_total : 5270 time to create 1 rle with old method : 0.005793094635009766 create new chi : 0.39327001571655273 time to delete rle : 0.0005910396575927734 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 2660 TO DO : save crop sub photo not yet done ! save time : 0.4663505554199219 No data in photo_id : 1389553121 No data in photo_id : 1389553065 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09175777435302734 time for calcul the mask position with numpy : 0.030464887619018555 nb_pixel_total : 2056001 time to create 1 rle with new method : 0.17980146408081055 time for calcul the mask position with numpy : 0.0072803497314453125 nb_pixel_total : 2890 time to create 1 rle with old method : 0.0034139156341552734 time for calcul the mask position with numpy : 0.0073451995849609375 nb_pixel_total : 6594 time to create 1 rle with old method : 0.007403135299682617 time for calcul the mask position with numpy : 0.006991863250732422 nb_pixel_total : 4385 time to create 1 rle with old method : 0.004868984222412109 time for calcul the mask position with numpy : 0.0070116519927978516 nb_pixel_total : 3730 time to create 1 rle with old method : 0.0043642520904541016 create new chi : 0.26700520515441895 time to delete rle : 0.0004832744598388672 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1932 TO DO : save crop sub photo not yet done ! save time : 0.4067869186401367 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04304623603820801 time for calcul the mask position with numpy : 0.013362646102905273 nb_pixel_total : 1110237 time to create 1 rle with new method : 0.08640336990356445 time for calcul the mask position with numpy : 0.012488126754760742 nb_pixel_total : 963363 time to create 1 rle with new method : 0.09274983406066895 create new chi : 0.21247005462646484 time to delete rle : 0.0002999305725097656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3660 TO DO : save crop sub photo not yet done ! save time : 0.534400224685669 map_output_result : {1389553963: (0.0, 'Should be the crop_list due to order', 0), 1389553130: (0.0, 'Should be the crop_list due to order', 0.0), 1389553129: (0.0, 'Should be the crop_list due to order', 0), 1389553128: (0.0, 'Should be the crop_list due to order', 0), 1389553127: (0.0, 'Should be the crop_list due to order', 0), 1389553126: (0.0, 'Should be the crop_list due to order', 0), 1389553125: (0.0, 'Should be the crop_list due to order', 0), 1389553121: (0.0, 'Should be the crop_list due to order', 0.0), 1389553065: (0.0, 'Should be the crop_list due to order', 0.0), 1389553057: (0.0, 'Should be the crop_list due to order', 0), 1389552483: (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 [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] Looping around the photos to save general results len do output : 11 /1389553963.Didn't retrieve data . /1389553130.Didn't retrieve data . /1389553129.Didn't retrieve data . /1389553128.Didn't retrieve data . /1389553127.Didn't retrieve data . /1389553126.Didn't retrieve data . /1389553125.Didn't retrieve data . /1389553121.Didn't retrieve data . /1389553065.Didn't retrieve data . /1389553057.Didn't retrieve data . /1389552483.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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.0373682975769043 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.709826231002808 time spend to save output : 0.03775143623352051 total time spend for step 3 : 7.747577667236328 step4:ventilate_hashtags_in_portfolio Wed Oct 15 12:41:17 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 : 27830135 get user id for portfolio 27830135 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`=27830135 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','papier','carton','flou','metal','mal_croppe','pet_clair','pet_fonce','background','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27830135 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','papier','carton','flou','metal','mal_croppe','pet_clair','pet_fonce','background','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27830135 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','papier','carton','flou','metal','mal_croppe','pet_clair','pet_fonce','background','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27830436,27830437,27830438,27830439,27830440,27830441,27830442,27830443,27830444,27830445,27830447?tags=pehd,environnement,papier,carton,flou,metal,mal_croppe,pet_clair,pet_fonce,background,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] Looping around the photos to save general results len do output : 1 /27830135. 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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03766274452209473 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.524188041687012 time spend to save output : 0.03793907165527344 total time spend for step 4 : 5.562127113342285 step5:final Wed Oct 15 12:41:23 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 : {1389553963: ('0.07771416421156005',), 1389553130: ('0.07771416421156005',), 1389553129: ('0.07771416421156005',), 1389553128: ('0.07771416421156005',), 1389553127: ('0.07771416421156005',), 1389553126: ('0.07771416421156005',), 1389553125: ('0.07771416421156005',), 1389553121: ('0.07771416421156005',), 1389553065: ('0.07771416421156005',), 1389553057: ('0.07771416421156005',), 1389552483: ('0.07771416421156005',)} new output for save of step final : {1389553963: ('0.07771416421156005',), 1389553130: ('0.07771416421156005',), 1389553129: ('0.07771416421156005',), 1389553128: ('0.07771416421156005',), 1389553127: ('0.07771416421156005',), 1389553126: ('0.07771416421156005',), 1389553125: ('0.07771416421156005',), 1389553121: ('0.07771416421156005',), 1389553065: ('0.07771416421156005',), 1389553057: ('0.07771416421156005',), 1389552483: ('0.07771416421156005',)} [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] Looping around the photos to save general results len do output : 11 /1389553963.Didn't retrieve data . /1389553130.Didn't retrieve data . /1389553129.Didn't retrieve data . /1389553128.Didn't retrieve data . /1389553127.Didn't retrieve data . /1389553126.Didn't retrieve data . /1389553125.Didn't retrieve data . /1389553121.Didn't retrieve data . /1389553065.Didn't retrieve data . /1389553057.Didn't retrieve data . /1389552483.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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.03778195381164551 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.38051676750183105 time spend to save output : 0.038255929946899414 total time spend for step 5 : 0.41877269744873047 step6:blur_detection Wed Oct 15 12:41:23 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/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae.jpg resize: (1080, 1920) 1389553963 1.2046645867609105 treat image : temp/1760524829_1910852_1389553130_a2d2a7073814c4a5c5284b1292540470.jpg resize: (1080, 1920) 1389553130 1.315442642569824 treat image : temp/1760524829_1910852_1389553129_ed4d14d535c2338055d68368ea1d737b.jpg resize: (1080, 1920) 1389553129 -0.4230937760376534 treat image : temp/1760524829_1910852_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07.jpg resize: (1080, 1920) 1389553128 0.8933791344100054 treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570.jpg resize: (1080, 1920) 1389553127 -4.061139097733994 treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6.jpg resize: (1080, 1920) 1389553126 0.6048351900333757 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be.jpg resize: (1080, 1920) 1389553125 0.14753436755604296 treat image : temp/1760524829_1910852_1389553121_b98d602aecdbd4389820dbb3edf251ff.jpg resize: (1080, 1920) 1389553121 20.0 treat image : temp/1760524829_1910852_1389553065_251484f0644c8567f29193fffd6eab19.jpg resize: (1080, 1920) 1389553065 14.967094848219316 treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429.jpg resize: (1080, 1920) 1389553057 -0.4778194645895562 treat image : temp/1760524829_1910852_1389552483_046e02a1d819daa8c4f29a7ff4aecf73.jpg resize: (1080, 1920) 1389552483 9.727100431765376 treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582656_0.png resize: (987, 991) 1389558565 -0.5366400977490696 treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582655_0.png resize: (124, 150) 1389558566 -1.946129790687654 treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582654_0.png resize: (69, 105) 1389558567 -0.6793383322013515 treat image : temp/1760524829_1910852_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png resize: (99, 123) 1389558568 -2.199707154901598 treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png resize: (112, 107) 1389558569 -2.257090224876279 treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png resize: (93, 76) 1389558570 -3.4022164801914534 treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png resize: (69, 106) 1389558572 0.9496304417441996 treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png resize: (116, 180) 1389558573 -0.7443578468974242 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582668_0.png resize: (198, 304) 1389558574 -2.227080537994319 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582666_0.png resize: (117, 200) 1389558575 2.7040941018536824 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582665_0.png resize: (67, 101) 1389558576 -0.18815723234659842 treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png resize: (169, 64) 1389558577 0.6734325051330817 treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png resize: (101, 68) 1389558578 -1.5742611100346644 treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png resize: (84, 69) 1389558579 0.5908260509045572 treat image : temp/1760524829_1910852_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png resize: (92, 106) 1389558580 -0.8089797257686003 treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png resize: (146, 277) 1389558581 -1.7633393762922986 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582667_0.png resize: (106, 123) 1389558582 -1.0037478555198556 treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png resize: (66, 52) 1389558583 0.7605008030050748 treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582661_0.png resize: (195, 207) 1389558587 -3.2403998797485314 treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582669_0.png resize: (125, 101) 1389558588 -1.7556542042227903 treat image : temp/1760524829_1910852_1389552483_046e02a1d819daa8c4f29a7ff4aecf73_rle_crop_3998582674_0.png resize: (1003, 1330) 1389558589 0.9160343784023341 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 : 32 time used for this insertion : 0.036315202713012695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.0376286506652832 save missing photos in datou_result : time spend for datou_step_exec : 9.935701370239258 time spend to save output : 0.0913991928100586 total time spend for step 6 : 10.027100563049316 step7:brightness Wed Oct 15 12:41:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae.jpg treat image : temp/1760524829_1910852_1389553130_a2d2a7073814c4a5c5284b1292540470.jpg treat image : temp/1760524829_1910852_1389553129_ed4d14d535c2338055d68368ea1d737b.jpg treat image : temp/1760524829_1910852_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07.jpg treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570.jpg treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6.jpg treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be.jpg treat image : temp/1760524829_1910852_1389553121_b98d602aecdbd4389820dbb3edf251ff.jpg treat image : temp/1760524829_1910852_1389553065_251484f0644c8567f29193fffd6eab19.jpg treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429.jpg treat image : temp/1760524829_1910852_1389552483_046e02a1d819daa8c4f29a7ff4aecf73.jpg treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582656_0.png treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582655_0.png treat image : temp/1760524829_1910852_1389553963_f96c132747b196cb52e662e1ea7dbbae_rle_crop_3998582654_0.png treat image : temp/1760524829_1910852_1389553129_ed4d14d535c2338055d68368ea1d737b_rle_crop_3998582657_0.png treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582660_0.png treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582659_0.png treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582662_0.png treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582663_0.png treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582668_0.png treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582666_0.png treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582665_0.png treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582672_0.png treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582670_0.png treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582671_0.png treat image : temp/1760524829_1910852_1389553128_6b9bd84a34cea1f7a5cc796d62f08a07_rle_crop_3998582658_0.png treat image : temp/1760524829_1910852_1389553126_3570a3cb99ed37e9c6541b46965ff4a6_rle_crop_3998582664_0.png treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582667_0.png treat image : temp/1760524829_1910852_1389553057_e4e5018efb1eb63c282e4d7db4cbb429_rle_crop_3998582673_0.png treat image : temp/1760524829_1910852_1389553127_cd482a04ff9457c9be8d654ed783f570_rle_crop_3998582661_0.png treat image : temp/1760524829_1910852_1389553125_4babd6f08c73911ce96618fc747c31be_rle_crop_3998582669_0.png treat image : temp/1760524829_1910852_1389552483_046e02a1d819daa8c4f29a7ff4aecf73_rle_crop_3998582674_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 : 32 time used for this insertion : 0.043007612228393555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.036591291427612305 save missing photos in datou_result : time spend for datou_step_exec : 3.1416687965393066 time spend to save output : 0.09758496284484863 total time spend for step 7 : 3.2392537593841553 step8:velours_tree Wed Oct 15 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.14220523834228516 time spend to save output : 3.6716461181640625e-05 total time spend for step 8 : 0.1422419548034668 step9:send_mail_cod Wed Oct 15 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P27830135_15-10-2025_12_41_37.pdf 27830436 imagette278304361760524897 27830438 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 .imagette278304381760524897 27830439 change filename to text .change filename to text .change filename to text .imagette278304391760524898 27830440 imagette278304401760524898 27830441 change filename to text .imagette278304411760524898 27830442 imagette278304421760524898 27830443 change filename to text .change filename to text .change filename to text .imagette278304431760524898 27830444 imagette278304441760524898 27830445 imagette278304451760524898 27830447 imagette278304471760524898 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27830135 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27830436,27830437,27830438,27830439,27830440,27830441,27830442,27830443,27830444,27830445,27830447?tags=pehd,environnement,papier,carton,flou,metal,mal_croppe,pet_clair,pet_fonce,background,autre args[1389553963] : ((1389553963, 1.2046645867609105, 492688767), (1389553963, 0.23743624233842892, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553130] : ((1389553130, 1.315442642569824, 492688767), (1389553130, 0.3175971010961415, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553129] : ((1389553129, -0.4230937760376534, 492688767), (1389553129, 0.25615983685089844, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553128] : ((1389553128, 0.8933791344100054, 492688767), (1389553128, 0.4023033148633927, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553127] : ((1389553127, -4.061139097733994, 492609224), (1389553127, 0.22447290834459566, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553126] : ((1389553126, 0.6048351900333757, 492688767), (1389553126, 0.7873046307969849, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553125] : ((1389553125, 0.14753436755604296, 492688767), (1389553125, 0.18988676634098908, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553121] : ((1389553121, 20.0, 492688767), (1389553121, 0.4065601392536519, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553065] : ((1389553065, 14.967094848219316, 492688767), (1389553065, 0.42168411233114517, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389553057] : ((1389553057, -0.4778194645895562, 492688767), (1389553057, 0.6184673940774886, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com args[1389552483] : ((1389552483, 9.727100431765376, 492688767), (1389552483, 0.4437898340533663, 2107752395), '0.07771416421156005') We are sending mail with results at report@fotonower.com refus_total : 0.07771416421156005 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27830135 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_P27830135_15-10-2025_12_41_37.pdf results_Auto_P27830135_15-10-2025_12_41_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830135_15-10-2025_12_41_37.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','27830135','results_Auto_P27830135_15-10-2025_12_41_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830135_15-10-2025_12_41_37.pdf','pdf','','0.25','0.07771416421156005') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27830135

https://www.fotonower.com/image?json=false&list_photos_id=1389553963
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2046645867609105)
https://www.fotonower.com/image?json=false&list_photos_id=1389553130
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.315442642569824)
https://www.fotonower.com/image?json=false&list_photos_id=1389553129
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389553128
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389553127
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389553126
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389553125
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389553121
La photo est trop floue, merci de reprendre une photo.(avec le score = 20.0)
https://www.fotonower.com/image?json=false&list_photos_id=1389553065
La photo est trop floue, merci de reprendre une photo.(avec le score = 14.967094848219316)
https://www.fotonower.com/image?json=false&list_photos_id=1389553057
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389552483
La photo est trop floue, merci de reprendre une photo.(avec le score = 9.727100431765376)

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

exemples de contaminants: papier: https://www.fotonower.com/view/27830438?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27830439?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27830441?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27830443?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830135_15-10-2025_12_41_37.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27830436,27830437,27830438,27830439,27830440,27830441,27830442,27830443,27830444,27830445,27830447?tags=pehd,environnement,papier,carton,flou,metal,mal_croppe,pet_clair,pet_fonce,background,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 15 Oct 2025 10:41:40 GMT Content-Length: 0 Connection: close X-Message-Id: Np4BytI0RD6mKimVFrn2Ww 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 [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] 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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.036431074142456055 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9898502826690674 time spend to save output : 0.03679990768432617 total time spend for step 9 : 4.0266501903533936 step10:split_time_score Wed Oct 15 12:41:41 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'}] (('11', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 27830135 Nombre de photos uploadées : 11 / 23040 (0%) 15102025 27830135 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 15102025 27830135 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.2636184692382812e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006549358367919922 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.7226762771606445 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.033287093772694266 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27825271_15-10-2025_08_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27825271 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`=27825271 AND mptpi.`type`=3594 To do Qualite : 0.007047614454732509 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827187_15-10-2025_10_31_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827187 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`=27827187 AND mptpi.`type`=3594 To do Qualite : 0.27386424575617285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827188 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`=27827188 AND mptpi.`type`=3594 To do Qualite : 0.029362048059964736 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827191_15-10-2025_10_22_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827191 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`=27827191 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27830128 order by id desc limit 1 Qualite : 0.07771416421156005 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830135_15-10-2025_12_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27830135 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`=27830135 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'nb_upload': 11, '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 [1389553963, 1389553130, 1389553129, 1389553128, 1389553127, 1389553126, 1389553125, 1389553121, 1389553065, 1389553057, 1389552483] Looping around the photos to save general results len do output : 1 /27830135Didn'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, '3946022') ('3318', '27830135', '1389553963', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553130', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553129', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553128', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553127', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553126', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553125', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553121', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553065', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389553057', None, None, None, None, None, '3946022') ('3318', None, None, None, None, None, None, None, '3946022') ('3318', '27830135', '1389552483', None, None, None, None, None, '3946022') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03822636604309082 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.990049123764038 time spend to save output : 0.03849458694458008 total time spend for step 10 : 3.028543710708618 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 37.56user 16.83system 1:18.56elapsed 69%CPU (0avgtext+0avgdata 2699260maxresident)k 518168inputs+15536outputs (325major+1411808minor)pagefaults 0swaps