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 : 2789746 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 : ['3636057'] with mtr_portfolio_ids : ['26325172'] and first list_photo_ids : [] new path : /proc/2789746/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.5431456565856934 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 Fri Aug 29 12:20: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 : 6383 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 12:20:34.010976: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-29 12:20:34.036644: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 12:20:34.038267: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc53c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 12:20:34.038326: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 12:20:34.041352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 12:20:34.177928: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29d4f190 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 12:20:34.177974: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 12:20:34.178877: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 12:20:34.179651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:20:34.183780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:20:34.187053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:20:34.188231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:20:34.191738: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:20:34.193131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:20:34.199022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:20:34.200336: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:20:34.200452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:20:34.201171: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 12:20:34.201189: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 12:20:34.201199: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 12:20:34.202662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5857 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-29 12:20:34.573693: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 12:20:34.573801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:20:34.573819: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:20:34.573835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:20:34.573849: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:20:34.573863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:20:34.573877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:20:34.573892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:20:34.574963: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:20:34.576237: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 12:20:34.576281: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:20:34.576299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:20:34.576313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:20:34.576328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:20:34.576362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:20:34.576387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:20:34.576402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:20:34.577468: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:20:34.577508: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 12:20:34.577517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 12:20:34.577525: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 12:20:34.578633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5857 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-29 12:20:43.227736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:20:43.449564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:20:45.302120: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.311647: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.312614: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.313527: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.314463: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.62G (2817927680 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.315370: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.36G (2536134912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.316284: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.12G (2282521344 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.316328: 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-08-29 12:20:45.317743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.317776: 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-08-29 12:20:45.325328: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.325354: 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-08-29 12:20:45.325872: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.325887: 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-08-29 12:20:45.332445: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.332488: 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-08-29 12:20:45.333009: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.333028: 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-08-29 12:20:45.364669: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.364703: 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-08-29 12:20:45.365259: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.365274: 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-08-29 12:20:45.372455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.372478: 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-08-29 12:20:45.373049: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.373066: 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-08-29 12:20:45.415804: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.416386: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.419599: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.420144: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.475606: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.476143: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.481268: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.481829: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.521026: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.521554: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.523206: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.523727: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.531189: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.531751: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.534209: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.534729: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.541014: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.541574: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.543763: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.544320: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.579618: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.580149: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.580680: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.581394: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.584817: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.585397: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.604606: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.605141: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.605715: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.606305: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.620532: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.621078: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.621635: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.622255: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.627196: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.627722: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.633566: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.634157: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.648471: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.649009: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.653139: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.653704: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.654270: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.654846: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.655622: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.656150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.669239: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.669826: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.670411: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.670947: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.671492: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.672022: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.672560: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.673089: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.683917: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.684498: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.691299: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.691821: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.747660: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.748255: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.748846: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.749414: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.762511: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.763103: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.900767: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.903704: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.904253: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.906923: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.911765: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.912330: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.912899: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.913453: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.915233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.915251: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-08-29 12:20:45.927278: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.927838: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.943289: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.943849: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.944387: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.944943: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.945658: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-29 12:20:45.946222: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 62.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: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 55.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.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: 53.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 Detection mask done ! Trying to reset tf kernel 2790455 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 626 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 173 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.0006203651428222656 nb_pixel_total : 22764 time to create 1 rle with old method : 0.028054475784301758 length of segment : 188 time for calcul the mask position with numpy : 0.0005800724029541016 nb_pixel_total : 21595 time to create 1 rle with old method : 0.02470874786376953 length of segment : 271 time for calcul the mask position with numpy : 0.00030350685119628906 nb_pixel_total : 18156 time to create 1 rle with old method : 0.019901514053344727 length of segment : 140 time for calcul the mask position with numpy : 0.0019884109497070312 nb_pixel_total : 123183 time to create 1 rle with old method : 0.13559269905090332 length of segment : 309 time for calcul the mask position with numpy : 0.0016636848449707031 nb_pixel_total : 75596 time to create 1 rle with old method : 0.08794450759887695 length of segment : 447 time for calcul the mask position with numpy : 0.00037288665771484375 nb_pixel_total : 11432 time to create 1 rle with old method : 0.01328277587890625 length of segment : 193 time for calcul the mask position with numpy : 0.0008280277252197266 nb_pixel_total : 57714 time to create 1 rle with old method : 0.06614375114440918 length of segment : 284 time for calcul the mask position with numpy : 0.0008130073547363281 nb_pixel_total : 59019 time to create 1 rle with old method : 0.0678548812866211 length of segment : 295 time for calcul the mask position with numpy : 0.00011229515075683594 nb_pixel_total : 2668 time to create 1 rle with old method : 0.003262758255004883 length of segment : 62 time for calcul the mask position with numpy : 0.0003254413604736328 nb_pixel_total : 19703 time to create 1 rle with old method : 0.022898435592651367 length of segment : 179 time for calcul the mask position with numpy : 0.032794952392578125 nb_pixel_total : 597275 time to create 1 rle with new method : 0.12498950958251953 length of segment : 929 time for calcul the mask position with numpy : 0.0007188320159912109 nb_pixel_total : 42300 time to create 1 rle with old method : 0.04808688163757324 length of segment : 194 time for calcul the mask position with numpy : 0.0006623268127441406 nb_pixel_total : 43733 time to create 1 rle with old method : 0.051168203353881836 length of segment : 259 time for calcul the mask position with numpy : 0.0016300678253173828 nb_pixel_total : 102587 time to create 1 rle with old method : 0.11732673645019531 length of segment : 523 time for calcul the mask position with numpy : 0.0001804828643798828 nb_pixel_total : 5432 time to create 1 rle with old method : 0.00679326057434082 length of segment : 98 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 4229 time to create 1 rle with old method : 0.005196332931518555 length of segment : 102 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 21936 time to create 1 rle with old method : 0.02597212791442871 length of segment : 103 time for calcul the mask position with numpy : 0.0003306865692138672 nb_pixel_total : 21333 time to create 1 rle with old method : 0.024994611740112305 length of segment : 102 time for calcul the mask position with numpy : 8.630752563476562e-05 nb_pixel_total : 1926 time to create 1 rle with old method : 0.0023403167724609375 length of segment : 65 time for calcul the mask position with numpy : 0.0005640983581542969 nb_pixel_total : 26860 time to create 1 rle with old method : 0.030649185180664062 length of segment : 244 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 5710 time to create 1 rle with old method : 0.00701904296875 length of segment : 83 time for calcul the mask position with numpy : 0.0003185272216796875 nb_pixel_total : 13501 time to create 1 rle with old method : 0.01562643051147461 length of segment : 247 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 5557 time to create 1 rle with old method : 0.00664973258972168 length of segment : 79 time for calcul the mask position with numpy : 0.0009722709655761719 nb_pixel_total : 47288 time to create 1 rle with old method : 0.05524802207946777 length of segment : 272 time for calcul the mask position with numpy : 0.00018143653869628906 nb_pixel_total : 3782 time to create 1 rle with old method : 0.004501819610595703 length of segment : 123 time for calcul the mask position with numpy : 0.0002899169921875 nb_pixel_total : 5769 time to create 1 rle with old method : 0.007000446319580078 length of segment : 81 time for calcul the mask position with numpy : 0.0004999637603759766 nb_pixel_total : 7954 time to create 1 rle with old method : 0.00977945327758789 length of segment : 186 time for calcul the mask position with numpy : 0.0011339187622070312 nb_pixel_total : 35145 time to create 1 rle with old method : 0.04111742973327637 length of segment : 169 time for calcul the mask position with numpy : 0.0019526481628417969 nb_pixel_total : 64253 time to create 1 rle with old method : 0.07360696792602539 length of segment : 276 time for calcul the mask position with numpy : 0.0007963180541992188 nb_pixel_total : 27340 time to create 1 rle with old method : 0.03259468078613281 length of segment : 240 time for calcul the mask position with numpy : 0.002803325653076172 nb_pixel_total : 93169 time to create 1 rle with old method : 0.10419344902038574 length of segment : 534 time for calcul the mask position with numpy : 0.00034117698669433594 nb_pixel_total : 15688 time to create 1 rle with old method : 0.01765584945678711 length of segment : 197 time for calcul the mask position with numpy : 0.01400446891784668 nb_pixel_total : 561107 time to create 1 rle with new method : 0.03410506248474121 length of segment : 1113 time spent for convertir_results : 3.0722880363464355 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 33 chid ids of type : 3594 Number RLEs to save : 8587 save missing photos in datou_result : time spend for datou_step_exec : 28.61816120147705 time spend to save output : 1.585566759109497 total time spend for step 1 : 30.203727960586548 step2:crop_condition Fri Aug 29 12:21:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! batch 1 Loaded 33 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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462863_2789746 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.371748924255371 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462866_2789746 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.6605768203735352 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462874_2789746 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.719052791595459 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462879_2789746 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.5477924346923828 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462881_2789746 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8960306644439697 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] Looping around the photos to save general results len do output : 33 /1380086168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380086327Didn'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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 time used for this insertion : 0.13537001609802246 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.544937133789062 time spend to save output : 0.1365218162536621 total time spend for step 2 : 20.681458950042725 step3:rle_unique_nms_with_priority Fri Aug 29 12:21:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.6527242660522461 time for calcul the mask position with numpy : 1.014944076538086 nb_pixel_total : 1812306 time to create 1 rle with new method : 0.08938050270080566 time for calcul the mask position with numpy : 0.007213592529296875 nb_pixel_total : 75596 time to create 1 rle with old method : 0.08690834045410156 time for calcul the mask position with numpy : 0.008463859558105469 nb_pixel_total : 123183 time to create 1 rle with old method : 0.17377161979675293 time for calcul the mask position with numpy : 0.008318185806274414 nb_pixel_total : 18156 time to create 1 rle with old method : 0.02280116081237793 time for calcul the mask position with numpy : 0.007096290588378906 nb_pixel_total : 21595 time to create 1 rle with old method : 0.024306058883666992 time for calcul the mask position with numpy : 0.007056474685668945 nb_pixel_total : 22764 time to create 1 rle with old method : 0.02528834342956543 create new chi : 1.4874169826507568 time to delete rle : 0.02275252342224121 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 3790 TO DO : save crop sub photo not yet done ! save time : 0.2928924560546875 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.42332887649536133 time for calcul the mask position with numpy : 0.04240012168884277 nb_pixel_total : 1945435 time to create 1 rle with new method : 0.11869120597839355 time for calcul the mask position with numpy : 0.007596015930175781 nb_pixel_total : 59019 time to create 1 rle with old method : 0.07264447212219238 time for calcul the mask position with numpy : 0.007419586181640625 nb_pixel_total : 57714 time to create 1 rle with old method : 0.11980652809143066 time for calcul the mask position with numpy : 0.007889270782470703 nb_pixel_total : 11432 time to create 1 rle with old method : 0.013738393783569336 create new chi : 0.3989248275756836 time to delete rle : 0.00048470497131347656 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 2624 TO DO : save crop sub photo not yet done ! save time : 0.2602264881134033 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07385468482971191 time for calcul the mask position with numpy : 0.019595623016357422 nb_pixel_total : 1453954 time to create 1 rle with new method : 0.6347486972808838 time for calcul the mask position with numpy : 0.013488054275512695 nb_pixel_total : 597275 time to create 1 rle with new method : 0.06134772300720215 time for calcul the mask position with numpy : 0.007060050964355469 nb_pixel_total : 19703 time to create 1 rle with old method : 0.022954225540161133 time for calcul the mask position with numpy : 0.007058620452880859 nb_pixel_total : 2668 time to create 1 rle with old method : 0.003070831298828125 create new chi : 0.7791838645935059 time to delete rle : 0.0005872249603271484 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3420 TO DO : save crop sub photo not yet done ! save time : 0.5728855133056641 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.2918250560760498 time for calcul the mask position with numpy : 0.19669342041015625 nb_pixel_total : 1884980 time to create 1 rle with new method : 0.08142781257629395 time for calcul the mask position with numpy : 0.0073451995849609375 nb_pixel_total : 102587 time to create 1 rle with old method : 0.1292722225189209 time for calcul the mask position with numpy : 0.009124994277954102 nb_pixel_total : 43733 time to create 1 rle with old method : 0.0603642463684082 time for calcul the mask position with numpy : 0.00706171989440918 nb_pixel_total : 42300 time to create 1 rle with old method : 0.04822683334350586 create new chi : 0.5512516498565674 time to delete rle : 0.0007119178771972656 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3032 TO DO : save crop sub photo not yet done ! save time : 0.2766406536102295 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.055938005447387695 time for calcul the mask position with numpy : 0.29744863510131836 nb_pixel_total : 2063939 time to create 1 rle with new method : 0.3429832458496094 time for calcul the mask position with numpy : 0.006570100784301758 nb_pixel_total : 4229 time to create 1 rle with old method : 0.0047876834869384766 time for calcul the mask position with numpy : 0.006066799163818359 nb_pixel_total : 5432 time to create 1 rle with old method : 0.00612640380859375 create new chi : 0.674248218536377 time to delete rle : 0.00025272369384765625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1480 TO DO : save crop sub photo not yet done ! save time : 0.16048884391784668 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03455233573913574 time for calcul the mask position with numpy : 0.022104501724243164 nb_pixel_total : 2051664 time to create 1 rle with new method : 0.0876772403717041 time for calcul the mask position with numpy : 0.006646394729614258 nb_pixel_total : 21936 time to create 1 rle with old method : 0.02544546127319336 create new chi : 0.14989972114562988 time to delete rle : 0.0003058910369873047 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1286 TO DO : save crop sub photo not yet done ! save time : 0.14122772216796875 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.41603851318359375 time for calcul the mask position with numpy : 0.11511778831481934 nb_pixel_total : 2050341 time to create 1 rle with new method : 0.43845510482788086 time for calcul the mask position with numpy : 0.007586240768432617 nb_pixel_total : 1926 time to create 1 rle with old method : 0.003376483917236328 time for calcul the mask position with numpy : 0.00760650634765625 nb_pixel_total : 21333 time to create 1 rle with old method : 0.02503681182861328 create new chi : 0.6139638423919678 time to delete rle : 0.00035262107849121094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1414 TO DO : save crop sub photo not yet done ! save time : 0.47717785835266113 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.44652509689331055 time for calcul the mask position with numpy : 0.2064952850341797 nb_pixel_total : 1974684 time to create 1 rle with new method : 0.07979822158813477 time for calcul the mask position with numpy : 0.006791114807128906 nb_pixel_total : 47288 time to create 1 rle with old method : 0.05234694480895996 time for calcul the mask position with numpy : 0.007378816604614258 nb_pixel_total : 5557 time to create 1 rle with old method : 0.006181955337524414 time for calcul the mask position with numpy : 0.006108522415161133 nb_pixel_total : 13501 time to create 1 rle with old method : 0.015118122100830078 time for calcul the mask position with numpy : 0.0060825347900390625 nb_pixel_total : 5710 time to create 1 rle with old method : 0.006243228912353516 time for calcul the mask position with numpy : 0.006055593490600586 nb_pixel_total : 26860 time to create 1 rle with old method : 0.029657840728759766 create new chi : 0.4407517910003662 time to delete rle : 0.00032830238342285156 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 2925 TO DO : save crop sub photo not yet done ! save time : 0.23369407653808594 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04892110824584961 time for calcul the mask position with numpy : 0.018993616104125977 nb_pixel_total : 2056095 time to create 1 rle with new method : 0.24745678901672363 time for calcul the mask position with numpy : 0.006090879440307617 nb_pixel_total : 7954 time to create 1 rle with old method : 0.009556055068969727 time for calcul the mask position with numpy : 0.005832672119140625 nb_pixel_total : 5769 time to create 1 rle with old method : 0.0063588619232177734 time for calcul the mask position with numpy : 0.005921363830566406 nb_pixel_total : 3782 time to create 1 rle with old method : 0.004281282424926758 create new chi : 0.31174683570861816 time to delete rle : 0.0003197193145751953 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1860 TO DO : save crop sub photo not yet done ! save time : 0.30036020278930664 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07622385025024414 time for calcul the mask position with numpy : 0.21094536781311035 nb_pixel_total : 1849303 time to create 1 rle with new method : 0.14092183113098145 time for calcul the mask position with numpy : 0.0061702728271484375 nb_pixel_total : 4390 time to create 1 rle with old method : 0.0050296783447265625 time for calcul the mask position with numpy : 0.006547212600708008 nb_pixel_total : 93169 time to create 1 rle with old method : 0.10875868797302246 time for calcul the mask position with numpy : 0.006760597229003906 nb_pixel_total : 27340 time to create 1 rle with old method : 0.04353165626525879 time for calcul the mask position with numpy : 0.00710606575012207 nb_pixel_total : 64253 time to create 1 rle with old method : 0.07638144493103027 time for calcul the mask position with numpy : 0.006425380706787109 nb_pixel_total : 35145 time to create 1 rle with old method : 0.03904008865356445 create new chi : 0.6699259281158447 time to delete rle : 0.0005767345428466797 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 3842 TO DO : save crop sub photo not yet done ! save time : 0.4399228096008301 No data in photo_id : 1380075619 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034506797790527344 time for calcul the mask position with numpy : 0.01553797721862793 nb_pixel_total : 1512493 time to create 1 rle with new method : 0.04755282402038574 time for calcul the mask position with numpy : 0.008847236633300781 nb_pixel_total : 561107 time to create 1 rle with new method : 0.02747654914855957 create new chi : 0.09987020492553711 time to delete rle : 0.00031280517578125 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 3306 TO DO : save crop sub photo not yet done ! save time : 0.2710855007171631 map_output_result : {1380076283: (0.0, 'Should be the crop_list due to order', 0), 1380075999: (0.0, 'Should be the crop_list due to order', 0), 1380075970: (0.0, 'Should be the crop_list due to order', 0), 1380075942: (0.0, 'Should be the crop_list due to order', 0), 1380075918: (0.0, 'Should be the crop_list due to order', 0), 1380075889: (0.0, 'Should be the crop_list due to order', 0), 1380075863: (0.0, 'Should be the crop_list due to order', 0), 1380075636: (0.0, 'Should be the crop_list due to order', 0), 1380075632: (0.0, 'Should be the crop_list due to order', 0), 1380075620: (0.0, 'Should be the crop_list due to order', 0), 1380075619: (0.0, 'Should be the crop_list due to order', 0.0), 1380075616: (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 [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] Looping around the photos to save general results len do output : 12 /1380076283.Didn't retrieve data . /1380075999.Didn't retrieve data . /1380075970.Didn't retrieve data . /1380075942.Didn't retrieve data . /1380075918.Didn't retrieve data . /1380075889.Didn't retrieve data . /1380075863.Didn't retrieve data . /1380075636.Didn't retrieve data . /1380075632.Didn't retrieve data . /1380075620.Didn't retrieve data . /1380075619.Didn't retrieve data . /1380075616.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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.014066934585571289 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.653057098388672 time spend to save output : 0.014686822891235352 total time spend for step 3 : 12.667743921279907 step4:ventilate_hashtags_in_portfolio Fri Aug 29 12:21:34 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 : 26325172 get user id for portfolio 26325172 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`=26325172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pet_fonce','environnement','papier','metal','background','flou','pehd','mal_croppe','carton','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`=26325172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pet_fonce','environnement','papier','metal','background','flou','pehd','mal_croppe','carton','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`=26325172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pet_fonce','environnement','papier','metal','background','flou','pehd','mal_croppe','carton','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26325974,26325975,26325976,26325977,26325978,26325979,26325980,26325981,26325982,26325983,26325984?tags=pet_clair,pet_fonce,environnement,papier,metal,background,flou,pehd,mal_croppe,carton,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] Looping around the photos to save general results len do output : 1 /26325172. 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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.019831180572509766 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7271277904510498 time spend to save output : 0.02011561393737793 total time spend for step 4 : 1.7472434043884277 step5:final Fri Aug 29 12:21: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 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 : {1380076283: ('0.08658074524176956',), 1380075999: ('0.08658074524176956',), 1380075970: ('0.08658074524176956',), 1380075942: ('0.08658074524176956',), 1380075918: ('0.08658074524176956',), 1380075889: ('0.08658074524176956',), 1380075863: ('0.08658074524176956',), 1380075636: ('0.08658074524176956',), 1380075632: ('0.08658074524176956',), 1380075620: ('0.08658074524176956',), 1380075619: ('0.08658074524176956',), 1380075616: ('0.08658074524176956',)} new output for save of step final : {1380076283: ('0.08658074524176956',), 1380075999: ('0.08658074524176956',), 1380075970: ('0.08658074524176956',), 1380075942: ('0.08658074524176956',), 1380075918: ('0.08658074524176956',), 1380075889: ('0.08658074524176956',), 1380075863: ('0.08658074524176956',), 1380075636: ('0.08658074524176956',), 1380075632: ('0.08658074524176956',), 1380075620: ('0.08658074524176956',), 1380075619: ('0.08658074524176956',), 1380075616: ('0.08658074524176956',)} [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] Looping around the photos to save general results len do output : 12 /1380076283.Didn't retrieve data . /1380075999.Didn't retrieve data . /1380075970.Didn't retrieve data . /1380075942.Didn't retrieve data . /1380075918.Didn't retrieve data . /1380075889.Didn't retrieve data . /1380075863.Didn't retrieve data . /1380075636.Didn't retrieve data . /1380075632.Didn't retrieve data . /1380075620.Didn't retrieve data . /1380075619.Didn't retrieve data . /1380075616.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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013454675674438477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12224006652832031 time spend to save output : 0.014099359512329102 total time spend for step 5 : 0.13633942604064941 step6:blur_detection Fri Aug 29 12:21: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 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/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4.jpg resize: (1080, 1920) 1380076283 1.490060300626021 treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b.jpg resize: (1080, 1920) 1380075999 -4.07762777039939 treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb.jpg resize: (1080, 1920) 1380075970 -0.5512424286899271 treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b.jpg resize: (1080, 1920) 1380075942 -3.935993768490519 treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a.jpg resize: (1080, 1920) 1380075918 0.41366712996087696 treat image : temp/1756462829_2789746_1380075889_abb44e8d4966ffb78b3073262a684f72.jpg resize: (1080, 1920) 1380075889 -2.002136611731633 treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30.jpg resize: (1080, 1920) 1380075863 -3.0605765280860915 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9.jpg resize: (1080, 1920) 1380075636 -0.4528496595881746 treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369.jpg resize: (1080, 1920) 1380075632 -2.081511202750182 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead.jpg resize: (1080, 1920) 1380075620 2.590555739837211 treat image : temp/1756462829_2789746_1380075619_45b773b70cc46378c25beed63230a956.jpg resize: (1080, 1920) 1380075619 1.4528624310570584 treat image : temp/1756462829_2789746_1380075616_ce22b8e9a69ffb92e7c5d85e1dc823f3.jpg resize: (1080, 1920) 1380075616 -0.926070523211798 treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306009_0.png resize: (188, 161) 1380086168 -0.5132515817542154 treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306010_0.png resize: (221, 180) 1380086169 -1.008132026589067 treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306014_0.png resize: (192, 97) 1380086171 -0.49994519606385296 treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306018_0.png resize: (174, 166) 1380086173 -0.9375888664187977 treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a_rle_crop_3935306024_0.png resize: (101, 54) 1380086174 2.1052578353875107 treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30_rle_crop_3935306027_0.png resize: (64, 38) 1380086176 -0.8629025371694038 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306031_0.png resize: (79, 83) 1380086178 2.664320141578191 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306029_0.png resize: (81, 94) 1380086179 -1.7202208988000838 treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306034_0.png resize: (81, 89) 1380086181 1.329226624734115 treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306033_0.png resize: (122, 46) 1380086183 -0.7188576116765315 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306038_0.png resize: (236, 252) 1380086184 -0.5752242453178459 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306037_0.png resize: (264, 389) 1380086186 0.892781173442609 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306036_0.png resize: (167, 287) 1380086188 -0.3667974561650462 treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a_rle_crop_3935306023_0.png resize: (98, 71) 1380086201 -2.1908115276041134 treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306011_0.png resize: (137, 185) 1380086306 -1.476484586456473 treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306013_0.png resize: (437, 309) 1380086307 0.04323743933807539 treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306016_0.png resize: (246, 374) 1380086308 -2.2678425145954617 treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306019_0.png resize: (927, 956) 1380086309 0.5045757726233066 treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306017_0.png resize: (62, 61) 1380086310 -1.5995330401952927 treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306020_0.png resize: (173, 493) 1380086311 -2.5975266217891564 treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306021_0.png resize: (233, 252) 1380086312 -3.2030417683992685 treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306022_0.png resize: (522, 321) 1380086313 -0.24460093004651481 treat image : temp/1756462829_2789746_1380075889_abb44e8d4966ffb78b3073262a684f72_rle_crop_3935306025_0.png resize: (82, 372) 1380086314 -3.381754336696635 treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30_rle_crop_3935306026_0.png resize: (81, 388) 1380086315 -3.829958823196962 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306028_0.png resize: (212, 274) 1380086316 -2.1371146640106384 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306030_0.png resize: (229, 109) 1380086317 -2.2140999189347723 treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306035_0.png resize: (183, 79) 1380086319 -1.57072829269607 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306040_0.png resize: (193, 118) 1380086320 -1.330045743873326 treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306039_0.png resize: (528, 330) 1380086321 0.1700253294024526 treat image : temp/1756462829_2789746_1380075616_ce22b8e9a69ffb92e7c5d85e1dc823f3_rle_crop_3935306041_0.png resize: (960, 942) 1380086322 0.5383186102926557 treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306032_0.png resize: (271, 291) 1380086324 -1.2071259952490516 treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306012_0.png resize: (307, 467) 1380086325 0.19322563763087353 treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306015_0.png resize: (237, 353) 1380086327 -2.438024770163005 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 : 45 time used for this insertion : 0.015330791473388672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.016387224197387695 save missing photos in datou_result : time spend for datou_step_exec : 10.913588762283325 time spend to save output : 0.03705954551696777 total time spend for step 6 : 10.950648307800293 step7:brightness Fri Aug 29 12:21:47 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/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4.jpg treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b.jpg treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb.jpg treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b.jpg treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a.jpg treat image : temp/1756462829_2789746_1380075889_abb44e8d4966ffb78b3073262a684f72.jpg treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30.jpg treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9.jpg treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369.jpg treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead.jpg treat image : temp/1756462829_2789746_1380075619_45b773b70cc46378c25beed63230a956.jpg treat image : temp/1756462829_2789746_1380075616_ce22b8e9a69ffb92e7c5d85e1dc823f3.jpg treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306009_0.png treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306010_0.png treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306014_0.png treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306018_0.png treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a_rle_crop_3935306024_0.png treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30_rle_crop_3935306027_0.png treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306031_0.png treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306029_0.png treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306034_0.png treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306033_0.png treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306038_0.png treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306037_0.png treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306036_0.png treat image : temp/1756462829_2789746_1380075918_03e8eae7d430e0ed7b72f0407234da2a_rle_crop_3935306023_0.png treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306011_0.png treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306013_0.png treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306016_0.png treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306019_0.png treat image : temp/1756462829_2789746_1380075970_6f1c18c65b562626146909b457ce89cb_rle_crop_3935306017_0.png treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306020_0.png treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306021_0.png treat image : temp/1756462829_2789746_1380075942_daee74974bceeb7630bf32399325020b_rle_crop_3935306022_0.png treat image : temp/1756462829_2789746_1380075889_abb44e8d4966ffb78b3073262a684f72_rle_crop_3935306025_0.png treat image : temp/1756462829_2789746_1380075863_1b95dd30ed77886687ced27fee36bb30_rle_crop_3935306026_0.png treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306028_0.png treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306030_0.png treat image : temp/1756462829_2789746_1380075632_b8d9878bcbd957afc06239b4d10a8369_rle_crop_3935306035_0.png treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306040_0.png treat image : temp/1756462829_2789746_1380075620_507dddaca1759ecef557521e91f56ead_rle_crop_3935306039_0.png treat image : temp/1756462829_2789746_1380075616_ce22b8e9a69ffb92e7c5d85e1dc823f3_rle_crop_3935306041_0.png treat image : temp/1756462829_2789746_1380075636_fe1b081dbccf9c3a6d4be887c91365a9_rle_crop_3935306032_0.png treat image : temp/1756462829_2789746_1380076283_3b3a17451eb731b9934a3918e14664d4_rle_crop_3935306012_0.png treat image : temp/1756462829_2789746_1380075999_25dbf2ca47692adb1cee06881014828b_rle_crop_3935306015_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 : 45 time used for this insertion : 0.013584613800048828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.014086723327636719 save missing photos in datou_result : time spend for datou_step_exec : 3.0220861434936523 time spend to save output : 0.032592058181762695 total time spend for step 7 : 3.054678201675415 step8:velours_tree Fri Aug 29 12:21:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.13498592376708984 time spend to save output : 7.605552673339844e-05 total time spend for step 8 : 0.13506197929382324 step9:send_mail_cod Fri Aug 29 12:21:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P26325172_29-08-2025_12_21_50.pdf 26325974 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263259741756462910 26325975 change filename to text .change filename to text .imagette263259751756462911 26325977 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 .imagette263259771756462911 26325978 imagette263259781756462912 26325979 imagette263259791756462912 26325980 imagette263259801756462912 26325981 imagette263259811756462912 26325982 imagette263259821756462912 26325983 change filename to text .imagette263259831756462912 26325984 change filename to text .imagette263259841756462912 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26325172 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26325974,26325975,26325976,26325977,26325978,26325979,26325980,26325981,26325982,26325983,26325984?tags=pet_clair,pet_fonce,environnement,papier,metal,background,flou,pehd,mal_croppe,carton,autre args[1380076283] : ((1380076283, 1.490060300626021, 492688767), (1380076283, 1.143403287079089, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075999] : ((1380075999, -4.07762777039939, 492609224), (1380075999, 0.29710590187890196, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075970] : ((1380075970, -0.5512424286899271, 492688767), (1380075970, 0.48652513775927686, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075942] : ((1380075942, -3.935993768490519, 492609224), (1380075942, 0.4011245288478042, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075918] : ((1380075918, 0.41366712996087696, 492688767), (1380075918, 0.47467713472151984, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075889] : ((1380075889, -2.002136611731633, 492609224), (1380075889, 0.7163592725233512, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075863] : ((1380075863, -3.0605765280860915, 492609224), (1380075863, 0.2999006658731391, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075636] : ((1380075636, -0.4528496595881746, 492688767), (1380075636, 0.7023257187709636, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075632] : ((1380075632, -2.081511202750182, 492609224), (1380075632, 1.5351378904654054, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075620] : ((1380075620, 2.590555739837211, 492688767), (1380075620, 0.8786221955839304, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075619] : ((1380075619, 1.4528624310570584, 492688767), (1380075619, 1.1250489612648977, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com args[1380075616] : ((1380075616, -0.926070523211798, 492688767), (1380075616, 0.43473864503647236, 2107752395), '0.08658074524176956') We are sending mail with results at report@fotonower.com refus_total : 0.08658074524176956 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26325172 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_P26325172_29-08-2025_12_21_50.pdf results_Auto_P26325172_29-08-2025_12_21_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325172_29-08-2025_12_21_50.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','26325172','results_Auto_P26325172_29-08-2025_12_21_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325172_29-08-2025_12_21_50.pdf','pdf','','0.33','0.08658074524176956') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26325172

https://www.fotonower.com/image?json=false&list_photos_id=1380076283
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.490060300626021)
https://www.fotonower.com/image?json=false&list_photos_id=1380075999
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075970
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075942
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075918
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075889
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075863
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075636
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075632
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380075620
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.590555739837211)
https://www.fotonower.com/image?json=false&list_photos_id=1380075619
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4528624310570584)
https://www.fotonower.com/image?json=false&list_photos_id=1380075616
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26325974?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26325975?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26325977?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26325983?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26325984?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325172_29-08-2025_12_21_50.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26325974,26325975,26325976,26325977,26325978,26325979,26325980,26325981,26325982,26325983,26325984?tags=pet_clair,pet_fonce,environnement,papier,metal,background,flou,pehd,mal_croppe,carton,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 29 Aug 2025 10:21:54 GMT Content-Length: 0 Connection: close X-Message-Id: za4HRLmpRXuLpiAp5_6KRQ 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 [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] 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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.019224166870117188 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.078718423843384 time spend to save output : 0.01946425437927246 total time spend for step 9 : 4.098182678222656 step10:split_time_score Fri Aug 29 12:21:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26325172 Nombre de photos uploadées : 12 / 23040 (0%) 29082025 26325172 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 29082025 26325172 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 3.5762786865234375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.00043654441833496094 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.29500365257263184 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.03507802854938272 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319809 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`=26319809 AND mptpi.`type`=3594 To do Qualite : 0.0911907732928241 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26320612_29-08-2025_09_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26320612 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`=26320612 AND mptpi.`type`=3594 To do Qualite : 0.08658074524176956 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325172_29-08-2025_12_21_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325172 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`=26325172 AND mptpi.`type`=3594 To do Qualite : 0.10436234085648151 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325174 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`=26325174 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 12, '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 [1380076283, 1380075999, 1380075970, 1380075942, 1380075918, 1380075889, 1380075863, 1380075636, 1380075632, 1380075620, 1380075619, 1380075616] Looping around the photos to save general results len do output : 1 /26325172Didn'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, '3636057') ('3318', '26325172', '1380076283', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075999', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075970', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075942', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075918', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075889', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075863', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075636', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075632', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075620', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075619', None, None, None, None, None, '3636057') ('3318', None, None, None, None, None, None, None, '3636057') ('3318', '26325172', '1380075616', None, None, None, None, None, '3636057') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016709089279174805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7565772533416748 time spend to save output : 0.0169217586517334 total time spend for step 10 : 0.7734990119934082 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 46.06user 24.00system 1:30.37elapsed 77%CPU (0avgtext+0avgdata 2557048maxresident)k 683904inputs+22800outputs (871major+1511357minor)pagefaults 0swaps