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 : 1810041 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 : ['4347351'] with mtr_portfolio_ids : ['30448290'] and first list_photo_ids : [] new path : /proc/1810041/ 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.7480957508087158 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Feb 19 03:40:30 2026 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 havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 2013 wait 20 seconds l 3637 free memory gpu now : 2013 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-02-19 03:40:54.149330: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-02-19 03:40:54.182527: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-02-19 03:40:54.185211: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7feae0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-02-19 03:40:54.185270: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-02-19 03:40:54.190699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-02-19 03:40:54.356037: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xb1882c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-02-19 03:40:54.356086: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-02-19 03:40:54.357489: 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 2026-02-19 03:40:54.359422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 03:40:54.391664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 03:40:54.410422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 03:40:54.414393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 03:40:54.444755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 03:40:54.449424: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 03:40:54.506214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 03:40:54.507450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 03:40:54.507889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 03:40:54.509352: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-19 03:40:54.509374: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-19 03:40:54.509399: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-19 03:40:54.510908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1636 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. 2026-02-19 03:40:54.941815: 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 2026-02-19 03:40:54.941940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 03:40:54.941966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 03:40:54.941986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 03:40:54.942006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 03:40:54.942026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 03:40:54.942044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 03:40:54.942065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 03:40:54.943000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 03:40:54.944239: 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 2026-02-19 03:40:54.944285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-19 03:40:54.944306: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 03:40:54.944325: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-19 03:40:54.944343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-19 03:40:54.944363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-19 03:40:54.944381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-19 03:40:54.944400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 03:40:54.945340: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-19 03:40:54.945388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-19 03:40:54.945401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-19 03:40:54.945411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-19 03:40:54.946450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1636 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 : [] 2026-02-19 03:41:03.005144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-19 03:41:03.327964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-19 03:41:05.096638: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.096725: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.103095: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.103118: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.152607: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.152679: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2026-02-19 03:41:05.192617: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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. 2026-02-19 03:41:05.192642: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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. 2026-02-19 03:41:05.238290: 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. 2026-02-19 03:41:05.238314: 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. 2026-02-19 03:41:05.239796: 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. 2026-02-19 03:41:05.255184: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.255754: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.283165: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.283646: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.285122: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.285595: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.292764: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.293246: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.294910: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.295428: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.301210: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.301687: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.303161: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.303636: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.331819: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.332302: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.332773: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.333244: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.337201: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.337680: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.355277: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.355756: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.356226: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.356694: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.370790: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.371270: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.371742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.372213: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.376606: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.377084: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.381756: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.382233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.394531: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.395034: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.399203: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.399699: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.400351: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.400847: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.411660: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.412163: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.412684: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.413165: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.413671: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.414188: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.481137: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.481645: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.489241: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.489719: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.510563: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.511214: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.511858: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.512488: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.516547: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.517184: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.517813: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.518465: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.519839: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.519855: 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. 2026-02-19 03:41:05.529276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.529748: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.538412: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.538890: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.539367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.539836: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.540354: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2026-02-19 03:41:05.540884: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.10G (1180303360 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: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.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: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.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: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 1810545 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 820 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 : 2013 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'] DEBUG bbox = [15, 1404, 159, 1551] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 12747 time to create 1 rle with old method : 0.01371908187866211 length of segment : 135 DEBUG bbox = [15, 0, 1026, 1107] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.03389596939086914 nb_pixel_total : 687993 time to create 1 rle with new method : 0.058609724044799805 length of segment : 1048 DEBUG bbox = [990, 93, 1080, 264] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017404556274414062 nb_pixel_total : 8068 time to create 1 rle with old method : 0.008905649185180664 length of segment : 83 DEBUG bbox = [822, 411, 1029, 681] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004317760467529297 nb_pixel_total : 31546 time to create 1 rle with old method : 0.03318357467651367 length of segment : 210 DEBUG bbox = [501, 1203, 582, 1398] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 8229 time to create 1 rle with old method : 0.009065866470336914 length of segment : 71 DEBUG bbox = [915, 66, 1068, 453] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004699230194091797 nb_pixel_total : 27558 time to create 1 rle with old method : 0.02939748764038086 length of segment : 138 DEBUG bbox = [444, 879, 567, 1023] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018286705017089844 nb_pixel_total : 11534 time to create 1 rle with old method : 0.01232767105102539 length of segment : 115 DEBUG bbox = [27, 1674, 333, 1869] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004773139953613281 nb_pixel_total : 29077 time to create 1 rle with old method : 0.030934572219848633 length of segment : 305 DEBUG bbox = [315, 1362, 498, 1560] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003066062927246094 nb_pixel_total : 17541 time to create 1 rle with old method : 0.018599510192871094 length of segment : 248 DEBUG bbox = [912, 1245, 1074, 1386] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020265579223632812 nb_pixel_total : 11103 time to create 1 rle with old method : 0.011901617050170898 length of segment : 180 DEBUG bbox = [960, 927, 1077, 1062] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 10642 time to create 1 rle with old method : 0.011425971984863281 length of segment : 121 DEBUG bbox = [21, 0, 1005, 969] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0112152099609375 nb_pixel_total : 702062 time to create 1 rle with new method : 0.04918980598449707 length of segment : 986 DEBUG bbox = [558, 1752, 702, 1911] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002613067626953125 nb_pixel_total : 13741 time to create 1 rle with old method : 0.014542102813720703 length of segment : 145 DEBUG bbox = [390, 1350, 732, 1614] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006926059722900391 nb_pixel_total : 43832 time to create 1 rle with old method : 0.045854806900024414 length of segment : 327 DEBUG bbox = [603, 738, 675, 846] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 3613 time to create 1 rle with old method : 0.0039522647857666016 length of segment : 64 DEBUG bbox = [810, 1317, 942, 1515] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00024700164794921875 nb_pixel_total : 15499 time to create 1 rle with old method : 0.01646137237548828 length of segment : 137 DEBUG bbox = [912, 1221, 1077, 1533] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004489421844482422 nb_pixel_total : 32691 time to create 1 rle with old method : 0.0349431037902832 length of segment : 166 DEBUG bbox = [699, 786, 825, 873] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012731552124023438 nb_pixel_total : 6340 time to create 1 rle with old method : 0.006789684295654297 length of segment : 149 DEBUG bbox = [765, 861, 840, 930] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.604194641113281e-05 nb_pixel_total : 3197 time to create 1 rle with old method : 0.003586292266845703 length of segment : 71 DEBUG bbox = [0, 1539, 105, 1734] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00021004676818847656 nb_pixel_total : 14911 time to create 1 rle with old method : 0.01601266860961914 length of segment : 100 DEBUG bbox = [921, 201, 1068, 474] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00031447410583496094 nb_pixel_total : 20477 time to create 1 rle with old method : 0.021671056747436523 length of segment : 121 DEBUG bbox = [774, 1062, 975, 1254] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00031256675720214844 nb_pixel_total : 17063 time to create 1 rle with old method : 0.018352031707763672 length of segment : 176 DEBUG bbox = [807, 1539, 894, 1641] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 4701 time to create 1 rle with old method : 0.005110502243041992 length of segment : 80 DEBUG bbox = [999, 765, 1077, 885] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010037422180175781 nb_pixel_total : 4915 time to create 1 rle with old method : 0.005400657653808594 length of segment : 107 time spent for convertir_results : 1.5572094917297363 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 24 chid ids of type : 3594 Number RLEs to save : 5283 save missing photos in datou_result : time spend for datou_step_exec : 43.03507041931152 time spend to save output : 0.5197572708129883 total time spend for step 1 : 43.55482769012451 step2:crop_condition Thu Feb 19 03:41:13 2026 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 24 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1771468875_1810041 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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508504_187bb213ab1d70e16ee5a710e783d762_rle_crop_4136142468_0.png', 0, 247, 205, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142469_0.png', 0, 179, 71, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508453_fb64449781eb5e585e8fffb02e442efe_rle_crop_4136142472_0.png', 0, 192, 304, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508449_37c9cc84a9a463455b148e90793ea196_rle_crop_4136142474_0.png', 0, 118, 160, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142475_0.png', 0, 120, 116, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142477_0.png', 0, 156, 143, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142479_0.png', 0, 89, 64, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142482_0.png', 0, 80, 124, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142483_0.png', 0, 63, 71, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142488_0.png', 0, 118, 73, 0, 1771468876,'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(1771468876), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142487_0.png', 0, 93, 80, 0, 1771468876,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.5394508838653564 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/1771468878_1810041 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(1771468878), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142486_0.png', 0, 189, 176, 0, 1771468878,'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.6333267688751221 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1771468884_1810041 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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142466_0.png', 0, 1069, 969, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142467_0.png', 0, 149, 81, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142465_0.png', 0, 128, 134, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142470_0.png', 0, 365, 135, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142471_0.png', 0, 124, 115, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142476_0.png', 0, 940, 965, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142481_0.png', 0, 296, 159, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142480_0.png', 0, 182, 120, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142478_0.png', 0, 242, 322, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142485_0.png', 0, 251, 111, 0, 1771468886,'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(1771468886), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142484_0.png', 0, 194, 95, 0, 1771468886,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.0570385456085205 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1771468888_1810041 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(1771468888), 0.0, 0.0, 14, '', 0, 0, '1771468828_1810041_1388508451_a61c1e6937d5bafc6a4fe05d92e840c1_rle_crop_4136142473_0.png', 0, 196, 147, 0, 1771468888,'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.5906462669372559 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] Looping around the photos to save general results len do output : 24 /1408817119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1408817165Didn'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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 82 time used for this insertion : 0.026424407958984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.383062601089478 time spend to save output : 0.027582883834838867 total time spend for step 2 : 14.410645484924316 step3:rle_unique_nms_with_priority Thu Feb 19 03:41:28 2026 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 24 chid ids of type : 3594 ++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.39273524284362793 time for calcul the mask position with numpy : 0.05263161659240723 nb_pixel_total : 1364792 time to create 1 rle with new method : 0.21250057220458984 time for calcul the mask position with numpy : 0.006242990493774414 nb_pixel_total : 8068 time to create 1 rle with old method : 0.008450031280517578 time for calcul the mask position with numpy : 0.028003215789794922 nb_pixel_total : 687993 time to create 1 rle with new method : 0.18960189819335938 time for calcul the mask position with numpy : 0.006425619125366211 nb_pixel_total : 12747 time to create 1 rle with old method : 0.013794898986816406 create new chi : 0.5338582992553711 time to delete rle : 0.030180931091308594 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3612 TO DO : save crop sub photo not yet done ! save time : 0.2916717529296875 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0970451831817627 time for calcul the mask position with numpy : 0.04937243461608887 nb_pixel_total : 2042054 time to create 1 rle with new method : 0.28918027877807617 time for calcul the mask position with numpy : 0.006025791168212891 nb_pixel_total : 31546 time to create 1 rle with old method : 0.0338897705078125 create new chi : 0.38478708267211914 time to delete rle : 0.0002200603485107422 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1500 TO DO : save crop sub photo not yet done ! save time : 0.14534521102905273 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08886504173278809 time for calcul the mask position with numpy : 0.2012333869934082 nb_pixel_total : 2026279 time to create 1 rle with new method : 0.0911715030670166 time for calcul the mask position with numpy : 0.0060024261474609375 nb_pixel_total : 11534 time to create 1 rle with old method : 0.011731624603271484 time for calcul the mask position with numpy : 0.005983591079711914 nb_pixel_total : 27558 time to create 1 rle with old method : 0.029160261154174805 time for calcul the mask position with numpy : 0.005940437316894531 nb_pixel_total : 8229 time to create 1 rle with old method : 0.009163856506347656 create new chi : 0.3703014850616455 time to delete rle : 0.0002865791320800781 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1728 TO DO : save crop sub photo not yet done ! save time : 0.16725587844848633 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03261399269104004 time for calcul the mask position with numpy : 0.01881694793701172 nb_pixel_total : 2044523 time to create 1 rle with new method : 0.16132044792175293 time for calcul the mask position with numpy : 0.006002902984619141 nb_pixel_total : 29077 time to create 1 rle with old method : 0.030608654022216797 create new chi : 0.22336411476135254 time to delete rle : 0.00022292137145996094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1690 TO DO : save crop sub photo not yet done ! save time : 0.15866708755493164 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.20136809349060059 time for calcul the mask position with numpy : 0.08263134956359863 nb_pixel_total : 2056059 time to create 1 rle with new method : 0.16648077964782715 time for calcul the mask position with numpy : 0.0059490203857421875 nb_pixel_total : 17541 time to create 1 rle with old method : 0.01884913444519043 create new chi : 0.2839229106903076 time to delete rle : 0.0002543926239013672 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1576 TO DO : save crop sub photo not yet done ! save time : 0.1620473861694336 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03327655792236328 time for calcul the mask position with numpy : 0.16839027404785156 nb_pixel_total : 2062497 time to create 1 rle with new method : 0.09801411628723145 time for calcul the mask position with numpy : 0.006157875061035156 nb_pixel_total : 11103 time to create 1 rle with old method : 0.011619091033935547 create new chi : 0.294130802154541 time to delete rle : 0.0002262592315673828 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1440 TO DO : save crop sub photo not yet done ! save time : 0.14351463317871094 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.22980690002441406 time for calcul the mask position with numpy : 0.1267383098602295 nb_pixel_total : 1347155 time to create 1 rle with new method : 0.09664726257324219 time for calcul the mask position with numpy : 0.005875349044799805 nb_pixel_total : 13741 time to create 1 rle with old method : 0.014060258865356445 time for calcul the mask position with numpy : 0.010339975357055664 nb_pixel_total : 702062 time to create 1 rle with new method : 0.15343260765075684 time for calcul the mask position with numpy : 0.005911350250244141 nb_pixel_total : 10642 time to create 1 rle with old method : 0.010774612426757812 create new chi : 0.43988990783691406 time to delete rle : 0.00041961669921875 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3584 TO DO : save crop sub photo not yet done ! save time : 0.2951016426086426 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08582043647766113 time for calcul the mask position with numpy : 0.12931180000305176 nb_pixel_total : 1977965 time to create 1 rle with new method : 0.09513330459594727 time for calcul the mask position with numpy : 0.005946636199951172 nb_pixel_total : 32691 time to create 1 rle with old method : 0.03455018997192383 time for calcul the mask position with numpy : 0.0060274600982666016 nb_pixel_total : 15499 time to create 1 rle with old method : 0.016610145568847656 time for calcul the mask position with numpy : 0.005558967590332031 nb_pixel_total : 3613 time to create 1 rle with old method : 0.0038640499114990234 time for calcul the mask position with numpy : 0.005923271179199219 nb_pixel_total : 43832 time to create 1 rle with old method : 0.04581165313720703 create new chi : 0.3591001033782959 time to delete rle : 0.00032782554626464844 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2468 TO DO : save crop sub photo not yet done ! save time : 0.20511460304260254 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.05555129051208496 time for calcul the mask position with numpy : 0.13788175582885742 nb_pixel_total : 2028675 time to create 1 rle with new method : 0.17054200172424316 time for calcul the mask position with numpy : 0.005776882171630859 nb_pixel_total : 20477 time to create 1 rle with old method : 0.021454334259033203 time for calcul the mask position with numpy : 0.005574464797973633 nb_pixel_total : 14911 time to create 1 rle with old method : 0.01581597328186035 time for calcul the mask position with numpy : 0.00559544563293457 nb_pixel_total : 3197 time to create 1 rle with old method : 0.0034017562866210938 time for calcul the mask position with numpy : 0.005783557891845703 nb_pixel_total : 6340 time to create 1 rle with old method : 0.006623744964599609 create new chi : 0.3885314464569092 time to delete rle : 0.0003445148468017578 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 1962 TO DO : save crop sub photo not yet done ! save time : 0.17831945419311523 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04679441452026367 time for calcul the mask position with numpy : 0.08044242858886719 nb_pixel_total : 2046921 time to create 1 rle with new method : 0.1642749309539795 time for calcul the mask position with numpy : 0.005626678466796875 nb_pixel_total : 4915 time to create 1 rle with old method : 0.005079984664916992 time for calcul the mask position with numpy : 0.005441904067993164 nb_pixel_total : 4701 time to create 1 rle with old method : 0.0048732757568359375 time for calcul the mask position with numpy : 0.005974292755126953 nb_pixel_total : 17063 time to create 1 rle with old method : 0.01807689666748047 create new chi : 0.2979145050048828 time to delete rle : 0.0002925395965576172 batch 1 Loaded 7 chid ids of type : 3594 ++++++++Number RLEs to save : 1806 TO DO : save crop sub photo not yet done ! save time : 0.17782139778137207 map_output_result : {1388508511: (0.0, 'Should be the crop_list due to order', 0), 1388508504: (0.0, 'Should be the crop_list due to order', 0), 1388508488: (0.0, 'Should be the crop_list due to order', 0), 1388508453: (0.0, 'Should be the crop_list due to order', 0), 1388508451: (0.0, 'Should be the crop_list due to order', 0), 1388508449: (0.0, 'Should be the crop_list due to order', 0), 1388508446: (0.0, 'Should be the crop_list due to order', 0), 1388508444: (0.0, 'Should be the crop_list due to order', 0), 1388508437: (0.0, 'Should be the crop_list due to order', 0), 1388507988: (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 [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] Looping around the photos to save general results len do output : 10 /1388508511.Didn't retrieve data . /1388508504.Didn't retrieve data . /1388508488.Didn't retrieve data . /1388508453.Didn't retrieve data . /1388508451.Didn't retrieve data . /1388508449.Didn't retrieve data . /1388508446.Didn't retrieve data . /1388508444.Didn't retrieve data . /1388508437.Didn't retrieve data . /1388507988.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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015194416046142578 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.139730215072632 time spend to save output : 0.015572547912597656 total time spend for step 3 : 7.1553027629852295 step4:ventilate_hashtags_in_portfolio Thu Feb 19 03:41:35 2026 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 : 30448290 get user id for portfolio 30448290 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`=30448290 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','papier','environnement','background','pehd','flou','mal_croppe','autre','metal','pet_fonce')) 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`=30448290 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','papier','environnement','background','pehd','flou','mal_croppe','autre','metal','pet_fonce')) 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`=30448290 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','papier','environnement','background','pehd','flou','mal_croppe','autre','metal','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30448624,30448625,30448626,30448627,30448628,30448629,30448630,30448631,30448632,30448633,30448634?tags=carton,pet_clair,papier,environnement,background,pehd,flou,mal_croppe,autre,metal,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] Looping around the photos to save general results len do output : 1 /30448290. 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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.020955324172973633 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9277114868164062 time spend to save output : 0.021207094192504883 total time spend for step 4 : 1.9489185810089111 step5:final Thu Feb 19 03:41:37 2026 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 : {1388508511: ('0.08386766975308642',), 1388508504: ('0.08386766975308642',), 1388508488: ('0.08386766975308642',), 1388508453: ('0.08386766975308642',), 1388508451: ('0.08386766975308642',), 1388508449: ('0.08386766975308642',), 1388508446: ('0.08386766975308642',), 1388508444: ('0.08386766975308642',), 1388508437: ('0.08386766975308642',), 1388507988: ('0.08386766975308642',)} new output for save of step final : {1388508511: ('0.08386766975308642',), 1388508504: ('0.08386766975308642',), 1388508488: ('0.08386766975308642',), 1388508453: ('0.08386766975308642',), 1388508451: ('0.08386766975308642',), 1388508449: ('0.08386766975308642',), 1388508446: ('0.08386766975308642',), 1388508444: ('0.08386766975308642',), 1388508437: ('0.08386766975308642',), 1388507988: ('0.08386766975308642',)} [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] Looping around the photos to save general results len do output : 10 /1388508511.Didn't retrieve data . /1388508504.Didn't retrieve data . /1388508488.Didn't retrieve data . /1388508453.Didn't retrieve data . /1388508451.Didn't retrieve data . /1388508449.Didn't retrieve data . /1388508446.Didn't retrieve data . /1388508444.Didn't retrieve data . /1388508437.Didn't retrieve data . /1388507988.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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.0189361572265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13423657417297363 time spend to save output : 0.019451379776000977 total time spend for step 5 : 0.1536879539489746 step6:blur_detection Thu Feb 19 03:41:37 2026 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/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a.jpg resize: (1080, 1920) 1388508511 1.2526154887529037 treat image : temp/1771468828_1810041_1388508504_187bb213ab1d70e16ee5a710e783d762.jpg resize: (1080, 1920) 1388508504 -1.2293077640480499 treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213.jpg resize: (1080, 1920) 1388508488 -0.7322294482610449 treat image : temp/1771468828_1810041_1388508453_fb64449781eb5e585e8fffb02e442efe.jpg resize: (1080, 1920) 1388508453 -1.6784596122332145 treat image : temp/1771468828_1810041_1388508451_a61c1e6937d5bafc6a4fe05d92e840c1.jpg resize: (1080, 1920) 1388508451 -1.288797492778484 treat image : temp/1771468828_1810041_1388508449_37c9cc84a9a463455b148e90793ea196.jpg resize: (1080, 1920) 1388508449 -1.3993982274325583 treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42.jpg resize: (1080, 1920) 1388508446 -0.007216277122850702 treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c.jpg resize: (1080, 1920) 1388508444 2.051707447450326 treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da.jpg resize: (1080, 1920) 1388508437 -3.9705256293570192 treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721.jpg resize: (1080, 1920) 1388507988 -0.9146303053518846 treat image : temp/1771468828_1810041_1388508504_187bb213ab1d70e16ee5a710e783d762_rle_crop_4136142468_0.png resize: (205, 247) 1408817119 -1.3363673096860083 treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142469_0.png resize: (71, 179) 1408817120 -1.6383620352110444 treat image : temp/1771468828_1810041_1388508453_fb64449781eb5e585e8fffb02e442efe_rle_crop_4136142472_0.png resize: (304, 192) 1408817121 -1.0527231403232524 treat image : temp/1771468828_1810041_1388508449_37c9cc84a9a463455b148e90793ea196_rle_crop_4136142474_0.png resize: (160, 118) 1408817123 -2.13723017431778 treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142475_0.png resize: (116, 120) 1408817124 -0.5916962912269215 treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142477_0.png resize: (143, 156) 1408817125 -0.9388868374149374 treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142479_0.png resize: (64, 89) 1408817127 -0.7778998941214711 treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142482_0.png resize: (124, 80) 1408817128 -1.8557107468945844 treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142483_0.png resize: (71, 63) 1408817129 -2.8580679441781376 treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142488_0.png resize: (73, 118) 1408817131 -1.0041626443913902 treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142487_0.png resize: (80, 93) 1408817132 -1.0068567202934637 treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142486_0.png resize: (176, 189) 1408817135 -0.3308298256540956 treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142466_0.png resize: (969, 1069) 1408817154 0.603371040040335 treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142467_0.png resize: (81, 149) 1408817155 -0.8556109753730067 treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142465_0.png resize: (134, 128) 1408817156 -2.7125042885549333 treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142470_0.png resize: (135, 365) 1408817157 -1.271483268552242 treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142471_0.png resize: (115, 124) 1408817158 -3.447345503563234 treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142476_0.png resize: (965, 940) 1408817159 1.1754604476441655 treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142481_0.png resize: (159, 296) 1408817160 -0.16987491399796864 treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142480_0.png resize: (120, 182) 1408817161 -0.8289066777922051 treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142478_0.png resize: (322, 242) 1408817162 -0.7410611585103526 treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142485_0.png resize: (111, 251) 1408817163 -4.559576839416789 treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142484_0.png resize: (95, 194) 1408817164 -4.417188303568906 treat image : temp/1771468828_1810041_1388508451_a61c1e6937d5bafc6a4fe05d92e840c1_rle_crop_4136142473_0.png resize: (147, 196) 1408817165 0.34363977127363315 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 : 34 time used for this insertion : 0.018289804458618164 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.017884016036987305 save missing photos in datou_result : time spend for datou_step_exec : 8.14682650566101 time spend to save output : 0.04173922538757324 total time spend for step 6 : 8.188565731048584 step7:brightness Thu Feb 19 03:41:45 2026 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/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a.jpg treat image : temp/1771468828_1810041_1388508504_187bb213ab1d70e16ee5a710e783d762.jpg treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213.jpg treat image : temp/1771468828_1810041_1388508453_fb64449781eb5e585e8fffb02e442efe.jpg treat image : temp/1771468828_1810041_1388508451_a61c1e6937d5bafc6a4fe05d92e840c1.jpg treat image : temp/1771468828_1810041_1388508449_37c9cc84a9a463455b148e90793ea196.jpg treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42.jpg treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c.jpg treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da.jpg treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721.jpg treat image : temp/1771468828_1810041_1388508504_187bb213ab1d70e16ee5a710e783d762_rle_crop_4136142468_0.png treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142469_0.png treat image : temp/1771468828_1810041_1388508453_fb64449781eb5e585e8fffb02e442efe_rle_crop_4136142472_0.png treat image : temp/1771468828_1810041_1388508449_37c9cc84a9a463455b148e90793ea196_rle_crop_4136142474_0.png treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142475_0.png treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142477_0.png treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142479_0.png treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142482_0.png treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142483_0.png treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142488_0.png treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142487_0.png treat image : temp/1771468828_1810041_1388507988_9f6795273992733d111fd2d77f36f721_rle_crop_4136142486_0.png treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142466_0.png treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142467_0.png treat image : temp/1771468828_1810041_1388508511_c8c19ed5c4a90709b2e60668a527e12a_rle_crop_4136142465_0.png treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142470_0.png treat image : temp/1771468828_1810041_1388508488_90fc5735b76a245cafe9aa677a0e1213_rle_crop_4136142471_0.png treat image : temp/1771468828_1810041_1388508446_2d1e39197b7fd4662344b2dfa5954e42_rle_crop_4136142476_0.png treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142481_0.png treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142480_0.png treat image : temp/1771468828_1810041_1388508444_165a8a660699cf0432e001efd60b1b6c_rle_crop_4136142478_0.png treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142485_0.png treat image : temp/1771468828_1810041_1388508437_e74d86fb529d5d992f6902ccd23eb7da_rle_crop_4136142484_0.png treat image : temp/1771468828_1810041_1388508451_a61c1e6937d5bafc6a4fe05d92e840c1_rle_crop_4136142473_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 : 34 time used for this insertion : 0.01774311065673828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.01705336570739746 save missing photos in datou_result : time spend for datou_step_exec : 2.3371365070343018 time spend to save output : 0.04067707061767578 total time spend for step 7 : 2.3778135776519775 step8:velours_tree Thu Feb 19 03:41:48 2026 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.08824300765991211 time spend to save output : 3.337860107421875e-05 total time spend for step 8 : 0.08827638626098633 step9:send_mail_cod Thu Feb 19 03:41:48 2026 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_P30448290_19-02-2026_03_41_48.pdf Dont find os.environ['TEMPS'] 30448624 change filename to text .imagette304486241771468908 30448625 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 .imagette304486251771468908 30448626 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 .imagette304486261771468909 30448628 imagette304486281771468909 30448629 imagette304486291771468909 30448630 imagette304486301771468909 30448631 imagette304486311771468909 30448632 change filename to text .imagette304486321771468909 30448633 imagette304486331771468909 30448634 imagette304486341771468909 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30448290 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30448624,30448625,30448626,30448627,30448628,30448629,30448630,30448631,30448632,30448633,30448634?tags=carton,pet_clair,papier,environnement,background,pehd,flou,mal_croppe,autre,metal,pet_fonce Dont find os.environ['TEMPS'] your option no_mail is active, we will not send the real mail to your client args[1388508511] : ((1388508511, 1.2526154887529037, 492688767), (1388508511, 0.3577699460414385, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508504] : ((1388508504, -1.2293077640480499, 492688767), (1388508504, 0.6532626355768847, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508488] : ((1388508488, -0.7322294482610449, 492688767), (1388508488, 0.3486261791236562, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508453] : ((1388508453, -1.6784596122332145, 492688767), (1388508453, 0.729139919585347, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508451] : ((1388508451, -1.288797492778484, 492688767), (1388508451, 0.8378008443077947, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508449] : ((1388508449, -1.3993982274325583, 492688767), (1388508449, 0.7369120267606468, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508446] : ((1388508446, -0.007216277122850702, 492688767), (1388508446, 0.6661060576959431, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508444] : ((1388508444, 2.051707447450326, 492688767), (1388508444, 0.9251209933952685, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388508437] : ((1388508437, -3.9705256293570192, 492609224), (1388508437, 0.4896984174505565, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com args[1388507988] : ((1388507988, -0.9146303053518846, 492688767), (1388507988, 0.6775235234386945, 2107752395), '0.08386766975308642') We are sending mail with results at report@fotonower.com refus_total : 0.08386766975308642 2022-04-13 10:29:59 0 Dont find os.environ['TEMPS'] 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=30448290 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_P30448290_19-02-2026_03_41_48.pdf results_Auto_P30448290_19-02-2026_03_41_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30448290_19-02-2026_03_41_48.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','30448290','results_Auto_P30448290_19-02-2026_03_41_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30448290_19-02-2026_03_41_48.pdf','pdf','','0.26','0.08386766975308642') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] 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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.017850637435913086 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.920828342437744 time spend to save output : 0.01803421974182129 total time spend for step 9 : 2.9388625621795654 step10:split_time_score Thu Feb 19 03:41:51 2026 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'}] (('18', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09102025 30448290 Nombre de photos uploadées : 10 / 23040 (0%) 09102025 30448290 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 09102025 30448290 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005085468292236328 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23689508438110352 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.07481891396604937 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691699_10-10-2025_14_51_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691699 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`=27691699 AND mptpi.`type`=3594 To do Qualite : 0.10191237461419751 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691701_10-10-2025_13_12_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691701 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`=27691701 AND mptpi.`type`=3594 To do Qualite : 0.016746609389838553 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691707_10-10-2025_13_01_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691707 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`=27691707 AND mptpi.`type`=3594 To do Qualite : 0.018877529149519894 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691710_10-10-2025_11_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691710 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`=27691710 AND mptpi.`type`=3594 To do Qualite : 0.08386766975308642 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30448290_19-02-2026_03_41_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30448290 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`=30448290 AND mptpi.`type`=3594 To do Qualite : 0.26729975536616163 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691756_10-10-2025_12_43_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691756 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`=27691756 AND mptpi.`type`=3594 To do Qualite : 0.015001714677640603 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691760_10-10-2025_11_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691760 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`=27691760 AND mptpi.`type`=3594 To do Qualite : 0.08864568865740742 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691762_10-10-2025_11_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691762 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`=27691762 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09102025': {'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 [1388508511, 1388508504, 1388508488, 1388508453, 1388508451, 1388508449, 1388508446, 1388508444, 1388508437, 1388507988] Looping around the photos to save general results len do output : 1 /30448290Didn'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, '4347351') ('3318', '30448290', '1388508511', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508504', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508488', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508453', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508451', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508449', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508446', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508444', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388508437', None, None, None, None, None, '4347351') ('3318', None, None, None, None, None, None, None, '4347351') ('3318', '30448290', '1388507988', None, None, None, None, None, '4347351') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016867876052856445 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3100357055664062 time spend to save output : 0.017089366912841797 total time spend for step 10 : 1.327125072479248 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 33.88user 17.24system 1:27.61elapsed 58%CPU (0avgtext+0avgdata 2633500maxresident)k 2239224inputs+16640outputs (8135major+1315107minor)pagefaults 0swaps