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 : 2603746 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 : ['3883522'] with mtr_portfolio_ids : ['27582586'] and first list_photo_ids : [] new path : /proc/2603746/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.9115545749664307 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Oct 8 09:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 8034 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-08 09:50:35.252150: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-10-08 09:50:35.276569: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-10-08 09:50:35.278712: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f60e0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-08 09:50:35.278758: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-08 09:50:35.282246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-08 09:50:35.446878: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xb296c00 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-08 09:50:35.446918: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-08 09:50:35.448111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-08 09:50:35.448470: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-08 09:50:35.451216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-08 09:50:35.453751: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-08 09:50:35.454201: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-08 09:50:35.457297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-08 09:50:35.458453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-08 09:50:35.462342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-08 09:50:35.463610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-08 09:50:35.463671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-08 09:50:35.464348: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-08 09:50:35.464364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-08 09:50:35.464373: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-08 09:50:35.465586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7265 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-08 09:50:35.854960: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-08 09:50:35.855054: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-08 09:50:35.855082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-08 09:50:35.855108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-08 09:50:35.855133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-08 09:50:35.855157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-08 09:50:35.855182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-08 09:50:35.855207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-08 09:50:35.857213: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-08 09:50:35.858436: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-08 09:50:35.858494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-08 09:50:35.858513: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-08 09:50:35.858530: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-08 09:50:35.858546: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-08 09:50:35.858563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-08 09:50:35.858579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-08 09:50:35.858595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-08 09:50:35.859713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-08 09:50:35.859744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-08 09:50:35.859753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-08 09:50:35.859761: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-08 09:50:35.861004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7265 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-08 09:50:48.413135: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-08 09:50:48.971366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-08 09:50:51.326144: 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-10-08 09:50:51.326745: 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-10-08 09:50:51.327312: 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-10-08 09:50:51.327935: 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-10-08 09:50:51.328524: 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-10-08 09:50:51.329140: 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-10-08 09:50:53.562842: 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-10-08 09:50:53.562932: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-10-08 09:50:53.615831: 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-10-08 09:50:53.615904: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:53.654246: 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-10-08 09:50:53.654284: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:53.681082: 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-10-08 09:50:53.681144: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:53.681749: 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-10-08 09:50:53.681765: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.110668: 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-10-08 09:50:54.110712: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.111298: 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-10-08 09:50:54.111314: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.140210: 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-10-08 09:50:54.140233: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 290.15MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.140824: 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-10-08 09:50:54.140842: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 290.15MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.246112: 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-10-08 09:50:54.246153: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.246747: 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-10-08 09:50:54.246764: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-08 09:50:54.277633: 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-10-08 09:50:54.278228: 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-10-08 09:50:54.386164: 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-10-08 09:50:54.387121: 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-10-08 09:50:54.415950: 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-10-08 09:50:54.416547: 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-10-08 09:50:55.066461: 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-10-08 09:50:55.067072: 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-10-08 09:50:55.067658: 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-10-08 09:50:55.068244: 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-10-08 09:50:55.136390: 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-10-08 09:50:55.136987: 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-10-08 09:50:55.373974: 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-10-08 09:50:55.374574: 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-10-08 09:50:55.375160: 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-10-08 09:50:55.375744: 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-10-08 09:50:55.476091: 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-10-08 09:50:55.476712: 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-10-08 09:50:55.477304: 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-10-08 09:50:55.477888: 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-10-08 09:50:55.546841: 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-10-08 09:50:55.547432: 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-10-08 09:50:55.639017: 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-10-08 09:50:55.639612: 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-10-08 09:50:55.722587: 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-10-08 09:50:55.723180: 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-10-08 09:50:55.749328: 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-10-08 09:50:55.749932: 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-10-08 09:50:55.750518: 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-10-08 09:50:55.751102: 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-10-08 09:50:55.751862: 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-10-08 09:50:55.752469: 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-10-08 09:50:55.793470: 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-10-08 09:50:55.794071: 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-10-08 09:50:55.794672: 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-10-08 09:50:55.795256: 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-10-08 09:50:55.795840: 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-10-08 09:50:55.796441: 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-10-08 09:50:55.797028: 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-10-08 09:50:55.797612: 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-10-08 09:50:55.875918: 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-10-08 09:50:55.876521: 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-10-08 09:50:55.969514: 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-10-08 09:50:55.970109: 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-10-08 09:50:56.055821: 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-10-08 09:50:56.055919: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-10-08 09:50:56.057060: 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-10-08 09:50:56.058103: 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-10-08 09:50:56.085174: 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-10-08 09:50:56.085861: 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-10-08 09:50:56.086452: 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-10-08 09:50:56.087003: 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-10-08 09:50:56.161804: 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-10-08 09:50:56.162395: 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-10-08 09:50:56.293010: 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-10-08 09:50:56.293645: 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-10-08 09:50:56.294200: 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-10-08 09:50:56.294758: 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-10-08 09:50:56.321657: 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-10-08 09:50:56.322205: 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-10-08 09:50:56.322744: 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-10-08 09:50:56.323282: 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-10-08 09:50:56.324400: 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-10-08 09:50:56.357958: 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-10-08 09:50:56.358505: 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-10-08 09:50:56.424630: 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-10-08 09:50:56.425268: 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-10-08 09:50:56.425871: 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-10-08 09:50:56.426412: 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-10-08 09:50:56.426965: 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-10-08 09:50:56.427506: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.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: 54.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 9.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.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: 81.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 2604405 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1871 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 3064 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.013167858123779297 nb_pixel_total : 710584 time to create 1 rle with new method : 0.07001495361328125 length of segment : 915 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 4462 time to create 1 rle with old method : 0.0055675506591796875 length of segment : 56 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 2294 time to create 1 rle with old method : 0.0029218196868896484 length of segment : 55 time for calcul the mask position with numpy : 0.001705169677734375 nb_pixel_total : 101048 time to create 1 rle with old method : 0.11812615394592285 length of segment : 575 time for calcul the mask position with numpy : 0.009481430053710938 nb_pixel_total : 722655 time to create 1 rle with new method : 0.017732620239257812 length of segment : 997 time for calcul the mask position with numpy : 0.0004420280456542969 nb_pixel_total : 34552 time to create 1 rle with old method : 0.04008173942565918 length of segment : 146 time for calcul the mask position with numpy : 0.00021648406982421875 nb_pixel_total : 4991 time to create 1 rle with old method : 0.007523536682128906 length of segment : 154 time for calcul the mask position with numpy : 0.0002396106719970703 nb_pixel_total : 14970 time to create 1 rle with old method : 0.018598556518554688 length of segment : 111 time for calcul the mask position with numpy : 0.0002338886260986328 nb_pixel_total : 11505 time to create 1 rle with old method : 0.013701677322387695 length of segment : 169 time for calcul the mask position with numpy : 0.002417325973510742 nb_pixel_total : 149996 time to create 1 rle with old method : 0.1948080062866211 length of segment : 1031 time for calcul the mask position with numpy : 0.00026345252990722656 nb_pixel_total : 15336 time to create 1 rle with old method : 0.021015167236328125 length of segment : 192 time for calcul the mask position with numpy : 0.0006735324859619141 nb_pixel_total : 40194 time to create 1 rle with old method : 0.04632425308227539 length of segment : 452 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 13281 time to create 1 rle with old method : 0.015769481658935547 length of segment : 114 time for calcul the mask position with numpy : 0.00011515617370605469 nb_pixel_total : 6062 time to create 1 rle with old method : 0.0074040889739990234 length of segment : 97 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 7534 time to create 1 rle with old method : 0.008638143539428711 length of segment : 168 time for calcul the mask position with numpy : 0.016285181045532227 nb_pixel_total : 756166 time to create 1 rle with new method : 0.03376126289367676 length of segment : 990 time for calcul the mask position with numpy : 0.0018558502197265625 nb_pixel_total : 124399 time to create 1 rle with old method : 0.13864970207214355 length of segment : 553 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 3166 time to create 1 rle with old method : 0.0036764144897460938 length of segment : 66 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 2471 time to create 1 rle with old method : 0.0029082298278808594 length of segment : 48 time for calcul the mask position with numpy : 0.0002167224884033203 nb_pixel_total : 4933 time to create 1 rle with old method : 0.00590825080871582 length of segment : 96 time for calcul the mask position with numpy : 0.010973691940307617 nb_pixel_total : 645860 time to create 1 rle with new method : 0.02036905288696289 length of segment : 1225 time for calcul the mask position with numpy : 0.0002570152282714844 nb_pixel_total : 13058 time to create 1 rle with old method : 0.015244245529174805 length of segment : 202 time for calcul the mask position with numpy : 0.00047326087951660156 nb_pixel_total : 21964 time to create 1 rle with old method : 0.026004791259765625 length of segment : 131 time spent for convertir_results : 2.9150660037994385 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 23 chid ids of type : 3594 Number RLEs to save : 8543 save missing photos in datou_result : time spend for datou_step_exec : 37.56075596809387 time spend to save output : 1.055041790008545 total time spend for step 1 : 38.61579775810242 step2:crop_condition Wed Oct 8 09:51:11 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 : 10 ! batch 1 Loaded 23 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/1759909872_2603746 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347044_0.png', 0, 59, 53, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347047_0.png', 0, 295, 144, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347049_0.png', 0, 176, 111, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347050_0.png', 0, 124, 160, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347052_0.png', 0, 135, 192, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347054_0.png', 0, 134, 111, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347056_0.png', 0, 62, 163, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347055_0.png', 0, 81, 97, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347053_0.png', 0, 109, 452, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347061_0.png', 0, 77, 96, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347059_0.png', 0, 69, 66, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347060_0.png', 0, 62, 48, 0, 1759909875,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909875), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347063_0.png', 0, 117, 202, 0, 1759909875,'0',0) 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 : 4.778560638427734 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/1759909878_2603746 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909878), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347051_0.png', 0, 604, 481, 0, 1759909878,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9383883476257324 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759909892_2603746 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768998_dc01528dcb82c380c73e8c01454ce5ff_rle_crop_3988347042_0.png', 0, 1068, 904, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347043_0.png', 0, 113, 52, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347046_0.png', 0, 978, 982, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347045_0.png', 0, 317, 541, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347048_0.png', 0, 93, 107, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347057_0.png', 0, 1076, 987, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347058_0.png', 0, 361, 551, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347062_0.png', 0, 1116, 987, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759909894), 0.0, 0.0, 14, '', 0, 0, '1759909830_2603746_1387768933_be7817784731680308dd028b5af5a3e9_rle_crop_3988347064_0.png', 0, 255, 127, 0, 1759909894,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.5309383869171143 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] Looping around the photos to save general results len do output : 23 /1388102404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388102432Didn'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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 79 time used for this insertion : 0.03994607925415039 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.637455463409424 time spend to save output : 0.041121482849121094 total time spend for step 2 : 24.678576946258545 step3:rle_unique_nms_with_priority Wed Oct 8 09:51:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.1596207618713379 time for calcul the mask position with numpy : 0.044969797134399414 nb_pixel_total : 1363016 time to create 1 rle with new method : 0.9817323684692383 time for calcul the mask position with numpy : 0.010954141616821289 nb_pixel_total : 710584 time to create 1 rle with new method : 0.41774749755859375 create new chi : 1.472398281097412 time to delete rle : 0.1440901756286621 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2910 TO DO : save crop sub photo not yet done ! save time : 0.44209790229797363 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3921346664428711 time for calcul the mask position with numpy : 0.061321258544921875 nb_pixel_total : 2066844 time to create 1 rle with new method : 0.5851848125457764 time for calcul the mask position with numpy : 0.0060443878173828125 nb_pixel_total : 2294 time to create 1 rle with old method : 0.0024259090423583984 time for calcul the mask position with numpy : 0.005846261978149414 nb_pixel_total : 4462 time to create 1 rle with old method : 0.005016803741455078 create new chi : 0.6753530502319336 time to delete rle : 0.000286102294921875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1302 TO DO : save crop sub photo not yet done ! save time : 0.2920193672180176 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.052007436752319336 time for calcul the mask position with numpy : 0.04367232322692871 nb_pixel_total : 1249897 time to create 1 rle with new method : 0.1691141128540039 time for calcul the mask position with numpy : 0.010642766952514648 nb_pixel_total : 722655 time to create 1 rle with new method : 0.17641496658325195 time for calcul the mask position with numpy : 0.006569385528564453 nb_pixel_total : 101048 time to create 1 rle with old method : 0.10824060440063477 create new chi : 0.5221893787384033 time to delete rle : 0.00048422813415527344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4224 TO DO : save crop sub photo not yet done ! save time : 0.6253631114959717 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2474377155303955 time for calcul the mask position with numpy : 0.14345312118530273 nb_pixel_total : 2019087 time to create 1 rle with new method : 0.09441876411437988 time for calcul the mask position with numpy : 0.006775379180908203 nb_pixel_total : 14970 time to create 1 rle with old method : 0.01740860939025879 time for calcul the mask position with numpy : 0.006472110748291016 nb_pixel_total : 4991 time to create 1 rle with old method : 0.005845069885253906 time for calcul the mask position with numpy : 0.00693511962890625 nb_pixel_total : 34552 time to create 1 rle with old method : 0.04022049903869629 create new chi : 0.33339500427246094 time to delete rle : 0.0004048347473144531 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 1902 TO DO : save crop sub photo not yet done ! save time : 0.332730770111084 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06603670120239258 time for calcul the mask position with numpy : 0.18986940383911133 nb_pixel_total : 1896763 time to create 1 rle with new method : 0.08028650283813477 time for calcul the mask position with numpy : 0.005880594253540039 nb_pixel_total : 15336 time to create 1 rle with old method : 0.01611614227294922 time for calcul the mask position with numpy : 0.0063669681549072266 nb_pixel_total : 149996 time to create 1 rle with old method : 0.1602611541748047 time for calcul the mask position with numpy : 0.005955934524536133 nb_pixel_total : 11505 time to create 1 rle with old method : 0.012268781661987305 create new chi : 0.48752570152282715 time to delete rle : 0.0005109310150146484 batch 1 Loaded 7 chid ids of type : 3594 ++++++++Number RLEs to save : 3864 TO DO : save crop sub photo not yet done ! save time : 0.5631334781646729 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.06664776802062988 time for calcul the mask position with numpy : 0.19740843772888184 nb_pixel_total : 2006529 time to create 1 rle with new method : 0.20692205429077148 time for calcul the mask position with numpy : 0.006010770797729492 nb_pixel_total : 7534 time to create 1 rle with old method : 0.008054971694946289 time for calcul the mask position with numpy : 0.005816936492919922 nb_pixel_total : 6062 time to create 1 rle with old method : 0.0063893795013427734 time for calcul the mask position with numpy : 0.005722761154174805 nb_pixel_total : 13281 time to create 1 rle with old method : 0.013990163803100586 time for calcul the mask position with numpy : 0.006066560745239258 nb_pixel_total : 40194 time to create 1 rle with old method : 0.04290151596069336 create new chi : 0.5086231231689453 time to delete rle : 0.0003037452697753906 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2742 TO DO : save crop sub photo not yet done ! save time : 0.4393351078033447 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04647088050842285 time for calcul the mask position with numpy : 0.014239788055419922 nb_pixel_total : 1193035 time to create 1 rle with new method : 0.08245682716369629 time for calcul the mask position with numpy : 0.013031959533691406 nb_pixel_total : 124399 time to create 1 rle with old method : 0.13274192810058594 time for calcul the mask position with numpy : 0.10969805717468262 nb_pixel_total : 756166 time to create 1 rle with new method : 0.07697677612304688 create new chi : 0.44873809814453125 time to delete rle : 0.0005691051483154297 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4166 TO DO : save crop sub photo not yet done ! save time : 0.5732011795043945 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.16959166526794434 time for calcul the mask position with numpy : 0.05857086181640625 nb_pixel_total : 2063030 time to create 1 rle with new method : 0.17280197143554688 time for calcul the mask position with numpy : 0.006194114685058594 nb_pixel_total : 4933 time to create 1 rle with old method : 0.00552821159362793 time for calcul the mask position with numpy : 0.005978107452392578 nb_pixel_total : 2471 time to create 1 rle with old method : 0.0028944015502929688 time for calcul the mask position with numpy : 0.006423234939575195 nb_pixel_total : 3166 time to create 1 rle with old method : 0.0036804676055908203 create new chi : 0.2723655700683594 time to delete rle : 0.0002942085266113281 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1500 TO DO : save crop sub photo not yet done ! save time : 0.2849140167236328 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0472109317779541 time for calcul the mask position with numpy : 0.042632341384887695 nb_pixel_total : 1416047 time to create 1 rle with new method : 0.13480472564697266 time for calcul the mask position with numpy : 0.006001710891723633 nb_pixel_total : 11693 time to create 1 rle with old method : 0.01259613037109375 time for calcul the mask position with numpy : 0.010412454605102539 nb_pixel_total : 645860 time to create 1 rle with new method : 0.14592885971069336 create new chi : 0.3697338104248047 time to delete rle : 0.00043463706970214844 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 3873 TO DO : save crop sub photo not yet done ! save time : 0.5432446002960205 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0313718318939209 time for calcul the mask position with numpy : 0.018315553665161133 nb_pixel_total : 2051636 time to create 1 rle with new method : 0.07640671730041504 time for calcul the mask position with numpy : 0.0061342716217041016 nb_pixel_total : 21964 time to create 1 rle with old method : 0.023977279663085938 create new chi : 0.13194775581359863 time to delete rle : 0.00026154518127441406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1342 TO DO : save crop sub photo not yet done ! save time : 0.26834893226623535 map_output_result : {1387768998: (0.0, 'Should be the crop_list due to order', 0), 1387768995: (0.0, 'Should be the crop_list due to order', 0), 1387768982: (0.0, 'Should be the crop_list due to order', 0), 1387768965: (0.0, 'Should be the crop_list due to order', 0), 1387768963: (0.0, 'Should be the crop_list due to order', 0), 1387768960: (0.0, 'Should be the crop_list due to order', 0), 1387768958: (0.0, 'Should be the crop_list due to order', 0), 1387768954: (0.0, 'Should be the crop_list due to order', 0), 1387768937: (0.0, 'Should be the crop_list due to order', 0), 1387768933: (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 [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] Looping around the photos to save general results len do output : 10 /1387768998.Didn't retrieve data . /1387768995.Didn't retrieve data . /1387768982.Didn't retrieve data . /1387768965.Didn't retrieve data . /1387768963.Didn't retrieve data . /1387768960.Didn't retrieve data . /1387768958.Didn't retrieve data . /1387768954.Didn't retrieve data . /1387768937.Didn't retrieve data . /1387768933.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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03527688980102539 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.473989248275757 time spend to save output : 0.03562164306640625 total time spend for step 3 : 11.509610891342163 step4:ventilate_hashtags_in_portfolio Wed Oct 8 09:51: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 beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27582586 get user id for portfolio 27582586 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`=27582586 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pehd','mal_croppe','background','autre','environnement','flou','pet_clair','pet_fonce','papier','carton')) 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`=27582586 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pehd','mal_croppe','background','autre','environnement','flou','pet_clair','pet_fonce','papier','carton')) 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`=27582586 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pehd','mal_croppe','background','autre','environnement','flou','pet_clair','pet_fonce','papier','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27582856,27582857,27582858,27582859,27582860,27582861,27582862,27582863,27582864,27582865,27582866?tags=metal,pehd,mal_croppe,background,autre,environnement,flou,pet_clair,pet_fonce,papier,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] Looping around the photos to save general results len do output : 1 /27582586. 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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03925943374633789 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.3638811111450195 time spend to save output : 0.03950381278991699 total time spend for step 4 : 5.4033849239349365 step5:final Wed Oct 8 09:51:52 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 : {1387768998: ('0.16445389660493828',), 1387768995: ('0.16445389660493828',), 1387768982: ('0.16445389660493828',), 1387768965: ('0.16445389660493828',), 1387768963: ('0.16445389660493828',), 1387768960: ('0.16445389660493828',), 1387768958: ('0.16445389660493828',), 1387768954: ('0.16445389660493828',), 1387768937: ('0.16445389660493828',), 1387768933: ('0.16445389660493828',)} new output for save of step final : {1387768998: ('0.16445389660493828',), 1387768995: ('0.16445389660493828',), 1387768982: ('0.16445389660493828',), 1387768965: ('0.16445389660493828',), 1387768963: ('0.16445389660493828',), 1387768960: ('0.16445389660493828',), 1387768958: ('0.16445389660493828',), 1387768954: ('0.16445389660493828',), 1387768937: ('0.16445389660493828',), 1387768933: ('0.16445389660493828',)} [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] Looping around the photos to save general results len do output : 10 /1387768998.Didn't retrieve data . /1387768995.Didn't retrieve data . /1387768982.Didn't retrieve data . /1387768965.Didn't retrieve data . /1387768963.Didn't retrieve data . /1387768960.Didn't retrieve data . /1387768958.Didn't retrieve data . /1387768954.Didn't retrieve data . /1387768937.Didn't retrieve data . /1387768933.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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03556394577026367 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.37944483757019043 time spend to save output : 0.03607296943664551 total time spend for step 5 : 0.41551780700683594 step6:blur_detection Wed Oct 8 09:51:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1759909830_2603746_1387768998_dc01528dcb82c380c73e8c01454ce5ff.jpg resize: (1080, 1920) 1387768998 0.2082501170033099 treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab.jpg resize: (1080, 1920) 1387768995 -4.124129859183649 treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345.jpg resize: (1080, 1920) 1387768982 -0.9386773195083367 treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f.jpg resize: (1080, 1920) 1387768965 1.3750026559424526 treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa.jpg resize: (1080, 1920) 1387768963 -2.8510834070762345 treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b.jpg resize: (1080, 1920) 1387768960 -0.6096674763113548 treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439.jpg resize: (1080, 1920) 1387768958 -2.700980649182806 treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7.jpg resize: (1080, 1920) 1387768954 0.10613649525314478 treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64.jpg resize: (1080, 1920) 1387768937 -0.2980800294243966 treat image : temp/1759909830_2603746_1387768933_be7817784731680308dd028b5af5a3e9.jpg resize: (1080, 1920) 1387768933 0.17544996280196418 treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347044_0.png resize: (53, 59) 1388102404 -3.1774311823094767 treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347047_0.png resize: (144, 295) 1388102405 1.0715803519724427 treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347049_0.png resize: (111, 176) 1388102406 -0.3185888650516498 treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347050_0.png resize: (160, 124) 1388102407 -1.438082487430362 treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347052_0.png resize: (192, 135) 1388102408 -4.6619721731299455 treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347054_0.png resize: (111, 134) 1388102409 4.563643580660393 treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347056_0.png resize: (163, 62) 1388102410 0.3830650102740703 treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347055_0.png resize: (97, 81) 1388102411 0.4952261867593528 treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347053_0.png resize: (452, 109) 1388102412 1.792080068382279 treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347061_0.png resize: (96, 77) 1388102413 0.0648460328621725 treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347059_0.png resize: (66, 69) 1388102414 6.085637752214793 treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347060_0.png resize: (48, 62) 1388102415 2.9767766583701696 treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347063_0.png resize: (202, 117) 1388102416 -1.0050122927506913 treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347051_0.png resize: (481, 604) 1388102418 -2.16898073594789 treat image : temp/1759909830_2603746_1387768998_dc01528dcb82c380c73e8c01454ce5ff_rle_crop_3988347042_0.png resize: (904, 1068) 1388102424 0.053521466402031204 treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347043_0.png resize: (52, 113) 1388102425 -3.3870966088300887 treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347046_0.png resize: (982, 978) 1388102426 -0.0753964990605234 treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347045_0.png resize: (541, 317) 1388102427 -0.11297435340646107 treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347048_0.png resize: (107, 93) 1388102428 -3.392968629606592 treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347057_0.png resize: (987, 1076) 1388102429 -0.3887875373348207 treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347058_0.png resize: (551, 361) 1388102430 -0.20687233534290805 treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347062_0.png resize: (987, 1116) 1388102431 -0.020379485952676458 treat image : temp/1759909830_2603746_1387768933_be7817784731680308dd028b5af5a3e9_rle_crop_3988347064_0.png resize: (127, 255) 1388102432 -0.591904746511523 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 : 33 time used for this insertion : 0.03640866279602051 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 33 time used for this insertion : 0.03600430488586426 save missing photos in datou_result : time spend for datou_step_exec : 9.625386714935303 time spend to save output : 0.09022021293640137 total time spend for step 6 : 9.715606927871704 step7:brightness Wed Oct 8 09:52:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1759909830_2603746_1387768998_dc01528dcb82c380c73e8c01454ce5ff.jpg treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab.jpg treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345.jpg treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f.jpg treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa.jpg treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b.jpg treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439.jpg treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7.jpg treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64.jpg treat image : temp/1759909830_2603746_1387768933_be7817784731680308dd028b5af5a3e9.jpg treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347044_0.png treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347047_0.png treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347049_0.png treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347050_0.png treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347052_0.png treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347054_0.png treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347056_0.png treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347055_0.png treat image : temp/1759909830_2603746_1387768960_320061c6df4805106ac3fd7342f8c49b_rle_crop_3988347053_0.png treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347061_0.png treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347059_0.png treat image : temp/1759909830_2603746_1387768954_edbe36d9457ccebeb02e9aa2aeb0e2f7_rle_crop_3988347060_0.png treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347063_0.png treat image : temp/1759909830_2603746_1387768963_f2dd135a70b3923d36ea5a673b62defa_rle_crop_3988347051_0.png treat image : temp/1759909830_2603746_1387768998_dc01528dcb82c380c73e8c01454ce5ff_rle_crop_3988347042_0.png treat image : temp/1759909830_2603746_1387768995_de27eafc6a276f4161cd29fca78de2ab_rle_crop_3988347043_0.png treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347046_0.png treat image : temp/1759909830_2603746_1387768982_8dd064b92fb8359edc67dba7ff4f2345_rle_crop_3988347045_0.png treat image : temp/1759909830_2603746_1387768965_69ddef45defa2eac9afc37a7c6655f8f_rle_crop_3988347048_0.png treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347057_0.png treat image : temp/1759909830_2603746_1387768958_9cfa5815de17593073ca15fb72add439_rle_crop_3988347058_0.png treat image : temp/1759909830_2603746_1387768937_34e24350c2a7df59d2014e5b6fe50b64_rle_crop_3988347062_0.png treat image : temp/1759909830_2603746_1387768933_be7817784731680308dd028b5af5a3e9_rle_crop_3988347064_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 : 33 time used for this insertion : 0.04069232940673828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 33 time used for this insertion : 0.03606295585632324 save missing photos in datou_result : time spend for datou_step_exec : 2.8228304386138916 time spend to save output : 0.09438014030456543 total time spend for step 7 : 2.917210578918457 step8:velours_tree Wed Oct 8 09:52:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.10468101501464844 time spend to save output : 4.315376281738281e-05 total time spend for step 8 : 0.10472416877746582 step9:send_mail_cod Wed Oct 8 09:52:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P27582586_08-10-2025_09_52_05.pdf 27582856 imagette275828561759909925 27582857 imagette275828571759909925 27582858 imagette275828581759909925 27582859 imagette275828591759909925 27582860 imagette275828601759909925 27582862 imagette275828621759909926 27582863 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 .imagette275828631759909926 27582864 imagette275828641759909927 27582865 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 .imagette275828651759909927 27582866 change filename to text .imagette275828661759909927 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27582586 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27582856,27582857,27582858,27582859,27582860,27582861,27582862,27582863,27582864,27582865,27582866?tags=metal,pehd,mal_croppe,background,autre,environnement,flou,pet_clair,pet_fonce,papier,carton args[1387768998] : ((1387768998, 0.2082501170033099, 492688767), (1387768998, 0.3761423708253459, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768995] : ((1387768995, -4.124129859183649, 492609224), (1387768995, 0.5284690187519557, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768982] : ((1387768982, -0.9386773195083367, 492688767), (1387768982, 0.22887990079656004, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768965] : ((1387768965, 1.3750026559424526, 492688767), (1387768965, 0.7318172802281, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768963] : ((1387768963, -2.8510834070762345, 492609224), (1387768963, 0.21881575852543647, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768960] : ((1387768960, -0.6096674763113548, 492688767), (1387768960, 0.9349405169943589, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768958] : ((1387768958, -2.700980649182806, 492609224), (1387768958, 0.48488745210922685, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768954] : ((1387768954, 0.10613649525314478, 492688767), (1387768954, 0.19127772064235496, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768937] : ((1387768937, -0.2980800294243966, 492688767), (1387768937, 0.8469411061043632, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com args[1387768933] : ((1387768933, 0.17544996280196418, 492688767), (1387768933, 1.098747414240675, 2107752395), '0.16445389660493828') We are sending mail with results at report@fotonower.com refus_total : 0.16445389660493828 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27582586 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_P27582586_08-10-2025_09_52_05.pdf results_Auto_P27582586_08-10-2025_09_52_05.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582586_08-10-2025_09_52_05.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','27582586','results_Auto_P27582586_08-10-2025_09_52_05.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582586_08-10-2025_09_52_05.pdf','pdf','','0.39','0.16445389660493828') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27582586

https://www.fotonower.com/image?json=false&list_photos_id=1387768998
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768995
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768982
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768965
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3750026559424526)
https://www.fotonower.com/image?json=false&list_photos_id=1387768963
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768960
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768958
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768954
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768937
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387768933
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27582863?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27582865?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27582866?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582586_08-10-2025_09_52_05.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27582856,27582857,27582858,27582859,27582860,27582861,27582862,27582863,27582864,27582865,27582866?tags=metal,pehd,mal_croppe,background,autre,environnement,flou,pet_clair,pet_fonce,papier,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 08 Oct 2025 07:52:10 GMT Content-Length: 0 Connection: close X-Message-Id: XegZvG4sSYu4S0zWwXnGxg 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 [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] 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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03693556785583496 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.462186813354492 time spend to save output : 0.03711366653442383 total time spend for step 9 : 4.499300479888916 step10:split_time_score Wed Oct 8 09:52:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06102025 27582586 Nombre de photos uploadées : 10 / 23040 (0%) 06102025 27582586 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 06102025 27582586 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005431175231933594 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6590893268585205 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582559 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582565 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582577 order by id desc limit 1 Qualite : 0.16445389660493828 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582586_08-10-2025_09_52_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582586 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`=27582586 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06102025': {'nb_upload': 10, '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 [1387768998, 1387768995, 1387768982, 1387768965, 1387768963, 1387768960, 1387768958, 1387768954, 1387768937, 1387768933] Looping around the photos to save general results len do output : 1 /27582586Didn'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, '3883522') ('3318', '27582586', '1387768998', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768995', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768982', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768965', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768963', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768960', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768958', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768954', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768937', None, None, None, None, None, '3883522') ('3318', None, None, None, None, None, None, None, '3883522') ('3318', '27582586', '1387768933', None, None, None, None, None, '3883522') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03600192070007324 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.332716703414917 time spend to save output : 0.03623795509338379 total time spend for step 10 : 3.368954658508301 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 53.24user 20.89system 1:47.69elapsed 68%CPU (0avgtext+0avgdata 2523228maxresident)k 74256inputs+25536outputs (2127major+1612699minor)pagefaults 0swaps