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 : 424371 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 : ['3795463'] with mtr_portfolio_ids : ['27358922'] and first list_photo_ids : [] new path : /proc/424371/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.2664504051208496 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Sep 30 17:40:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10582 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-30 17:40:32.621534: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-30 17:40:32.652633: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-30 17:40:32.655174: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd3e8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-30 17:40:32.655232: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-30 17:40:32.660080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-30 17:40:32.883432: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19d3fb30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-30 17:40:32.883494: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-30 17:40:32.885142: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-30 17:40:32.886634: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-30 17:40:32.914386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-30 17:40:32.923520: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-30 17:40:32.926704: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-30 17:40:32.955148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-30 17:40:32.959740: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-30 17:40:33.010606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-30 17:40:33.013141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-30 17:40:33.013595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-30 17:40:33.014943: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-30 17:40:33.014962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-30 17:40:33.014973: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-30 17:40:33.016658: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9801 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-30 17:40:33.492453: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-30 17:40:33.492548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-30 17:40:33.492575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-30 17:40:33.492599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-30 17:40:33.492623: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-30 17:40:33.492646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-30 17:40:33.492669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-30 17:40:33.492692: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-30 17:40:33.494765: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-30 17:40:33.496683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-30 17:40:33.496730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-30 17:40:33.496755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-30 17:40:33.496778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-30 17:40:33.496801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-30 17:40:33.496824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-30 17:40:33.496847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-30 17:40:33.496869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-30 17:40:33.498934: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-30 17:40:33.498981: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-30 17:40:33.498995: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-30 17:40:33.499007: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-30 17:40:33.501174: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9801 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-30 17:40:41.940310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-30 17:40:42.285936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.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: 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 : 4 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 : 10 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 : 2 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 424988 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4491 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 9780 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.00013756752014160156 nb_pixel_total : 3368 time to create 1 rle with old method : 0.004017353057861328 length of segment : 53 time for calcul the mask position with numpy : 0.00013494491577148438 nb_pixel_total : 4827 time to create 1 rle with old method : 0.0056078433990478516 length of segment : 97 time for calcul the mask position with numpy : 0.00026535987854003906 nb_pixel_total : 16249 time to create 1 rle with old method : 0.018244266510009766 length of segment : 153 time for calcul the mask position with numpy : 6.508827209472656e-05 nb_pixel_total : 1991 time to create 1 rle with old method : 0.002408742904663086 length of segment : 37 time for calcul the mask position with numpy : 0.00013756752014160156 nb_pixel_total : 6429 time to create 1 rle with old method : 0.007643461227416992 length of segment : 91 time for calcul the mask position with numpy : 0.00015878677368164062 nb_pixel_total : 7396 time to create 1 rle with old method : 0.008976459503173828 length of segment : 104 time for calcul the mask position with numpy : 0.01369619369506836 nb_pixel_total : 788207 time to create 1 rle with new method : 0.05530953407287598 length of segment : 1051 time for calcul the mask position with numpy : 0.0001697540283203125 nb_pixel_total : 9305 time to create 1 rle with old method : 0.01022028923034668 length of segment : 133 time for calcul the mask position with numpy : 0.001270294189453125 nb_pixel_total : 94584 time to create 1 rle with old method : 0.10477566719055176 length of segment : 503 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 8954 time to create 1 rle with old method : 0.010468482971191406 length of segment : 67 time for calcul the mask position with numpy : 0.00022530555725097656 nb_pixel_total : 10512 time to create 1 rle with old method : 0.012288331985473633 length of segment : 114 time for calcul the mask position with numpy : 0.010684013366699219 nb_pixel_total : 784769 time to create 1 rle with new method : 0.019451618194580078 length of segment : 997 time for calcul the mask position with numpy : 0.0008082389831542969 nb_pixel_total : 17379 time to create 1 rle with old method : 0.0208132266998291 length of segment : 209 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 5074 time to create 1 rle with old method : 0.005878448486328125 length of segment : 139 time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 3404 time to create 1 rle with old method : 0.004038572311401367 length of segment : 60 time for calcul the mask position with numpy : 0.00016736984252929688 nb_pixel_total : 9293 time to create 1 rle with old method : 0.011121988296508789 length of segment : 106 time for calcul the mask position with numpy : 7.700920104980469e-05 nb_pixel_total : 3153 time to create 1 rle with old method : 0.003991603851318359 length of segment : 57 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 5060 time to create 1 rle with old method : 0.005964994430541992 length of segment : 103 time for calcul the mask position with numpy : 0.00011467933654785156 nb_pixel_total : 7014 time to create 1 rle with old method : 0.007918119430541992 length of segment : 88 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 6388 time to create 1 rle with old method : 0.007654905319213867 length of segment : 132 time for calcul the mask position with numpy : 9.584426879882812e-05 nb_pixel_total : 3957 time to create 1 rle with old method : 0.00489044189453125 length of segment : 76 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 6651 time to create 1 rle with old method : 0.008143424987792969 length of segment : 94 time for calcul the mask position with numpy : 0.011952400207519531 nb_pixel_total : 851541 time to create 1 rle with new method : 0.022011756896972656 length of segment : 1189 time spent for convertir_results : 1.7568507194519043 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 23 chid ids of type : 3594 Number RLEs to save : 5653 save missing photos in datou_result : time spend for datou_step_exec : 24.639265060424805 time spend to save output : 0.804614782333374 total time spend for step 1 : 25.44387984275818 step2:crop_condition Tue Sep 30 17:40:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759246855_424371 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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155321_0.png', 0, 67, 37, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155318_0.png', 0, 79, 53, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155319_0.png', 0, 86, 97, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982797_c45d062be9bbe8a773eb94d3d69dbf7c_rle_crop_3981155330_0.png', 0, 541, 132, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981452_344aa044fc7b73176dc2165f4371bbbe_rle_crop_3981155331_0.png', 0, 86, 101, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155332_0.png', 0, 83, 56, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155336_0.png', 0, 102, 88, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155334_0.png', 0, 73, 57, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155335_0.png', 0, 89, 103, 0, 1759246858,'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(1759246858), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155337_0.png', 0, 105, 115, 0, 1759246858,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.071295976638794 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759246860_424371 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(1759246860), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155320_0.png', 0, 147, 153, 0, 1759246860,'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(1759246860), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155322_0.png', 0, 94, 91, 0, 1759246860,'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(1759246860), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155325_0.png', 0, 116, 133, 0, 1759246860,'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(1759246860), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155333_0.png', 0, 128, 105, 0, 1759246860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.557748794555664 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759246871_424371 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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155324_0.png', 0, 1207, 956, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155326_0.png', 0, 326, 501, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155329_0.png', 0, 1090, 994, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155327_0.png', 0, 170, 64, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155328_0.png', 0, 144, 113, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155340_0.png', 0, 1243, 977, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155339_0.png', 0, 92, 93, 0, 1759246873,'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(1759246873), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155338_0.png', 0, 64, 75, 0, 1759246873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6508946418762207 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1759246874_424371 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(1759246875), 0.0, 0.0, 14, '', 0, 0, '1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155323_0.png', 0, 135, 104, 0, 1759246875,'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.9843575954437256 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] Looping around the photos to save general results len do output : 23 /1386990751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386990785Didn'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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 time used for this insertion : 0.038469791412353516 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.953107595443726 time spend to save output : 0.03955841064453125 total time spend for step 2 : 20.992666006088257 step3:rle_unique_nms_with_priority Tue Sep 30 17:41:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3529665470123291 time for calcul the mask position with numpy : 0.18873882293701172 nb_pixel_total : 2047165 time to create 1 rle with new method : 0.22855234146118164 time for calcul the mask position with numpy : 0.006411314010620117 nb_pixel_total : 1991 time to create 1 rle with old method : 0.002278566360473633 time for calcul the mask position with numpy : 0.006345272064208984 nb_pixel_total : 16249 time to create 1 rle with old method : 0.018952369689941406 time for calcul the mask position with numpy : 0.00614476203918457 nb_pixel_total : 4827 time to create 1 rle with old method : 0.005698204040527344 time for calcul the mask position with numpy : 0.006224632263183594 nb_pixel_total : 3368 time to create 1 rle with old method : 0.00402522087097168 create new chi : 0.4834890365600586 time to delete rle : 0.10310912132263184 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1760 TO DO : save crop sub photo not yet done ! save time : 0.3332791328430176 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.1503291130065918 time for calcul the mask position with numpy : 0.2023012638092041 nb_pixel_total : 1271568 time to create 1 rle with new method : 0.087677001953125 time for calcul the mask position with numpy : 0.01177835464477539 nb_pixel_total : 788207 time to create 1 rle with new method : 0.1402146816253662 time for calcul the mask position with numpy : 0.006491661071777344 nb_pixel_total : 7396 time to create 1 rle with old method : 0.008827924728393555 time for calcul the mask position with numpy : 0.007062196731567383 nb_pixel_total : 6429 time to create 1 rle with old method : 0.007573604583740234 create new chi : 0.489243745803833 time to delete rle : 0.00044655799865722656 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3572 TO DO : save crop sub photo not yet done ! save time : 0.5592694282531738 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.043091773986816406 time for calcul the mask position with numpy : 0.02055668830871582 nb_pixel_total : 1969711 time to create 1 rle with new method : 0.0873410701751709 time for calcul the mask position with numpy : 0.006781339645385742 nb_pixel_total : 94584 time to create 1 rle with old method : 0.1099398136138916 time for calcul the mask position with numpy : 0.0070438385009765625 nb_pixel_total : 9305 time to create 1 rle with old method : 0.010807991027832031 create new chi : 0.2499401569366455 time to delete rle : 0.0003380775451660156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2352 TO DO : save crop sub photo not yet done ! save time : 0.37246131896972656 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.055570125579833984 time for calcul the mask position with numpy : 0.015005826950073242 nb_pixel_total : 1269365 time to create 1 rle with new method : 0.11870241165161133 time for calcul the mask position with numpy : 0.012433767318725586 nb_pixel_total : 784769 time to create 1 rle with new method : 0.09649276733398438 time for calcul the mask position with numpy : 0.006173610687255859 nb_pixel_total : 10512 time to create 1 rle with old method : 0.012428998947143555 time for calcul the mask position with numpy : 0.006140947341918945 nb_pixel_total : 8954 time to create 1 rle with old method : 0.010556221008300781 create new chi : 0.29504966735839844 time to delete rle : 0.0004105567932128906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3436 TO DO : save crop sub photo not yet done ! save time : 0.4855163097381592 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.036969661712646484 time for calcul the mask position with numpy : 0.020135879516601562 nb_pixel_total : 2056221 time to create 1 rle with new method : 0.2052297592163086 time for calcul the mask position with numpy : 0.006221771240234375 nb_pixel_total : 17379 time to create 1 rle with old method : 0.02045130729675293 create new chi : 0.2594602108001709 time to delete rle : 0.0002295970916748047 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1498 TO DO : save crop sub photo not yet done ! save time : 0.2860140800476074 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.17518901824951172 time for calcul the mask position with numpy : 0.0774545669555664 nb_pixel_total : 2068526 time to create 1 rle with new method : 0.23020648956298828 time for calcul the mask position with numpy : 0.006251096725463867 nb_pixel_total : 5074 time to create 1 rle with old method : 0.005940675735473633 create new chi : 0.3307774066925049 time to delete rle : 0.0002319812774658203 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1358 TO DO : save crop sub photo not yet done ! save time : 0.2868781089782715 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3520181179046631 time for calcul the mask position with numpy : 0.08145689964294434 nb_pixel_total : 2060903 time to create 1 rle with new method : 0.34026503562927246 time for calcul the mask position with numpy : 0.006548881530761719 nb_pixel_total : 9293 time to create 1 rle with old method : 0.011124372482299805 time for calcul the mask position with numpy : 0.0063021183013916016 nb_pixel_total : 3404 time to create 1 rle with old method : 0.004140615463256836 create new chi : 0.45973992347717285 time to delete rle : 0.00024962425231933594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1412 TO DO : save crop sub photo not yet done ! save time : 0.29654383659362793 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.055107831954956055 time for calcul the mask position with numpy : 0.07608866691589355 nb_pixel_total : 2058373 time to create 1 rle with new method : 0.09450721740722656 time for calcul the mask position with numpy : 0.0065004825592041016 nb_pixel_total : 7014 time to create 1 rle with old method : 0.008203506469726562 time for calcul the mask position with numpy : 0.0065534114837646484 nb_pixel_total : 5060 time to create 1 rle with old method : 0.006102561950683594 time for calcul the mask position with numpy : 0.006647825241088867 nb_pixel_total : 3153 time to create 1 rle with old method : 0.003802776336669922 create new chi : 0.21904397010803223 time to delete rle : 0.0002951622009277344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1576 TO DO : save crop sub photo not yet done ! save time : 0.3145151138305664 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.22549915313720703 time for calcul the mask position with numpy : 0.04481029510498047 nb_pixel_total : 1209613 time to create 1 rle with new method : 0.22476768493652344 time for calcul the mask position with numpy : 0.012775659561157227 nb_pixel_total : 846991 time to create 1 rle with new method : 0.17021751403808594 time for calcul the mask position with numpy : 0.006232261657714844 nb_pixel_total : 6651 time to create 1 rle with old method : 0.0076253414154052734 time for calcul the mask position with numpy : 0.006007671356201172 nb_pixel_total : 3957 time to create 1 rle with old method : 0.004689931869506836 time for calcul the mask position with numpy : 0.00585174560546875 nb_pixel_total : 6388 time to create 1 rle with old method : 0.007363557815551758 create new chi : 0.5077178478240967 time to delete rle : 0.0005049705505371094 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 4045 TO DO : save crop sub photo not yet done ! save time : 0.6685009002685547 map_output_result : {1386982860: (0.0, 'Should be the crop_list due to order', 0), 1386982858: (0.0, 'Should be the crop_list due to order', 0), 1386982811: (0.0, 'Should be the crop_list due to order', 0), 1386982807: (0.0, 'Should be the crop_list due to order', 0), 1386982797: (0.0, 'Should be the crop_list due to order', 0), 1386981452: (0.0, 'Should be the crop_list due to order', 0), 1386981427: (0.0, 'Should be the crop_list due to order', 0), 1386981411: (0.0, 'Should be the crop_list due to order', 0), 1386979849: (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 [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] Looping around the photos to save general results len do output : 9 /1386982860.Didn't retrieve data . /1386982858.Didn't retrieve data . /1386982811.Didn't retrieve data . /1386982807.Didn't retrieve data . /1386982797.Didn't retrieve data . /1386981452.Didn't retrieve data . /1386981427.Didn't retrieve data . /1386981411.Didn't retrieve data . /1386979849.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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.037969112396240234 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.912370443344116 time spend to save output : 0.038388729095458984 total time spend for step 3 : 8.950759172439575 step4:ventilate_hashtags_in_portfolio Tue Sep 30 17:41:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27358922 get user id for portfolio 27358922 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`=27358922 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','flou','papier','background','autre','pet_clair','metal','mal_croppe','environnement','carton')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27358922 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','flou','papier','background','autre','pet_clair','metal','mal_croppe','environnement','carton')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27358922 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_fonce','flou','papier','background','autre','pet_clair','metal','mal_croppe','environnement','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27359153,27359154,27359155,27359156,27359157,27359158,27359159,27359160,27359161,27359162,27359163?tags=pehd,pet_fonce,flou,papier,background,autre,pet_clair,metal,mal_croppe,environnement,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] Looping around the photos to save general results len do output : 1 /27358922. 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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.037339210510253906 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.490451335906982 time spend to save output : 0.03756833076477051 total time spend for step 4 : 5.528019666671753 step5:final Tue Sep 30 17:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1386982860: ('0.1420479145233196',), 1386982858: ('0.1420479145233196',), 1386982811: ('0.1420479145233196',), 1386982807: ('0.1420479145233196',), 1386982797: ('0.1420479145233196',), 1386981452: ('0.1420479145233196',), 1386981427: ('0.1420479145233196',), 1386981411: ('0.1420479145233196',), 1386979849: ('0.1420479145233196',)} new output for save of step final : {1386982860: ('0.1420479145233196',), 1386982858: ('0.1420479145233196',), 1386982811: ('0.1420479145233196',), 1386982807: ('0.1420479145233196',), 1386982797: ('0.1420479145233196',), 1386981452: ('0.1420479145233196',), 1386981427: ('0.1420479145233196',), 1386981411: ('0.1420479145233196',), 1386979849: ('0.1420479145233196',)} [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] Looping around the photos to save general results len do output : 9 /1386982860.Didn't retrieve data . /1386982858.Didn't retrieve data . /1386982811.Didn't retrieve data . /1386982807.Didn't retrieve data . /1386982797.Didn't retrieve data . /1386981452.Didn't retrieve data . /1386981427.Didn't retrieve data . /1386981411.Didn't retrieve data . /1386979849.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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.03640890121459961 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3728973865509033 time spend to save output : 0.03686928749084473 total time spend for step 5 : 0.40976667404174805 step6:blur_detection Tue Sep 30 17:41:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306.jpg resize: (1080, 1920) 1386982860 -2.607134702082504 treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4.jpg resize: (1080, 1920) 1386982858 -1.4932893866537502 treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488.jpg resize: (1080, 1920) 1386982811 -2.366042504402754 treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794.jpg resize: (1080, 1920) 1386982807 -0.18760686567341447 treat image : temp/1759246827_424371_1386982797_c45d062be9bbe8a773eb94d3d69dbf7c.jpg resize: (1080, 1920) 1386982797 0.24608789256872224 treat image : temp/1759246827_424371_1386981452_344aa044fc7b73176dc2165f4371bbbe.jpg resize: (1080, 1920) 1386981452 -2.422812817396847 treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57.jpg resize: (1080, 1920) 1386981427 -2.060921562658171 treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7.jpg resize: (1080, 1920) 1386981411 -4.592518671196358 treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f.jpg resize: (1080, 1920) 1386979849 -2.3695829393042973 treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155321_0.png resize: (37, 67) 1386990751 -0.7894426176091037 treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155318_0.png resize: (53, 79) 1386990752 7.311378740082632 treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155319_0.png resize: (97, 86) 1386990753 -1.9120169906021018 treat image : temp/1759246827_424371_1386982797_c45d062be9bbe8a773eb94d3d69dbf7c_rle_crop_3981155330_0.png resize: (132, 541) 1386990754 -2.2921833160844454 treat image : temp/1759246827_424371_1386981452_344aa044fc7b73176dc2165f4371bbbe_rle_crop_3981155331_0.png resize: (101, 86) 1386990755 -2.545849969412887 treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155332_0.png resize: (56, 83) 1386990756 0.22057323614936378 treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155336_0.png resize: (88, 102) 1386990757 -0.5865324330699152 treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155334_0.png resize: (57, 73) 1386990758 1.4188442116870161 treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155335_0.png resize: (103, 89) 1386990759 -1.8589562052406605 treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155337_0.png resize: (115, 105) 1386990760 -2.5735997855744435 treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155320_0.png resize: (153, 147) 1386990761 -0.9605791428517075 treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155322_0.png resize: (91, 94) 1386990762 -0.5562329591100392 treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155325_0.png resize: (133, 116) 1386990763 -1.862571904086886 treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155333_0.png resize: (105, 128) 1386990764 -1.396891508064636 treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155324_0.png resize: (956, 1207) 1386990776 -0.12039422419256762 treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155326_0.png resize: (501, 326) 1386990777 -0.7486078446833248 treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155329_0.png resize: (994, 1090) 1386990778 0.5106243650735087 treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155327_0.png resize: (64, 170) 1386990779 -2.8411547049202084 treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155328_0.png resize: (113, 144) 1386990780 -3.1831134097619103 treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155340_0.png resize: (977, 1243) 1386990781 -0.8077668797648362 treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155339_0.png resize: (93, 92) 1386990782 -0.3230344033829227 treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155338_0.png resize: (75, 64) 1386990784 -2.1304191143686264 treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155323_0.png resize: (104, 135) 1386990785 -1.5554395514837416 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 32 time used for this insertion : 0.03641939163208008 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.036992549896240234 save missing photos in datou_result : time spend for datou_step_exec : 8.241586208343506 time spend to save output : 0.09129810333251953 total time spend for step 6 : 8.332884311676025 step7:brightness Tue Sep 30 17:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306.jpg treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4.jpg treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488.jpg treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794.jpg treat image : temp/1759246827_424371_1386982797_c45d062be9bbe8a773eb94d3d69dbf7c.jpg treat image : temp/1759246827_424371_1386981452_344aa044fc7b73176dc2165f4371bbbe.jpg treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57.jpg treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7.jpg treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f.jpg treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155321_0.png treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155318_0.png treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155319_0.png treat image : temp/1759246827_424371_1386982797_c45d062be9bbe8a773eb94d3d69dbf7c_rle_crop_3981155330_0.png treat image : temp/1759246827_424371_1386981452_344aa044fc7b73176dc2165f4371bbbe_rle_crop_3981155331_0.png treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155332_0.png treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155336_0.png treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155334_0.png treat image : temp/1759246827_424371_1386981411_f69c3cac72db7537271abd5bcf3269c7_rle_crop_3981155335_0.png treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155337_0.png treat image : temp/1759246827_424371_1386982860_2aa88df483f36cfcd068b1cceec1a306_rle_crop_3981155320_0.png treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155322_0.png treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155325_0.png treat image : temp/1759246827_424371_1386981427_24297a346459ef768c2b8a1800519b57_rle_crop_3981155333_0.png treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155324_0.png treat image : temp/1759246827_424371_1386982811_7b040d51e57d2d24596798156b435488_rle_crop_3981155326_0.png treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155329_0.png treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155327_0.png treat image : temp/1759246827_424371_1386982807_24a27e57ecc61f15d2f117f909125794_rle_crop_3981155328_0.png treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155340_0.png treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155339_0.png treat image : temp/1759246827_424371_1386979849_aaf1963faef507fefcd4a540736a279f_rle_crop_3981155338_0.png treat image : temp/1759246827_424371_1386982858_55c53903be54f8e1c5c580d7620ea8d4_rle_crop_3981155323_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 32 time used for this insertion : 0.03963208198547363 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.0367884635925293 save missing photos in datou_result : time spend for datou_step_exec : 2.397151470184326 time spend to save output : 0.0941612720489502 total time spend for step 7 : 2.4913127422332764 step8:velours_tree Tue Sep 30 17:41:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.14257526397705078 time spend to save output : 3.528594970703125e-05 total time spend for step 8 : 0.1426105499267578 step9:send_mail_cod Tue Sep 30 17:41:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P27358922_30-09-2025_17_41_41.pdf 27359153 imagette273591531759246901 27359154 change filename to text .imagette273591541759246901 27359155 imagette273591551759246901 27359156 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 .imagette273591561759246901 27359157 imagette273591571759246902 27359158 imagette273591581759246902 27359159 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 .imagette273591591759246902 27359160 imagette273591601759246903 27359161 imagette273591611759246903 27359163 change filename to text .change filename to text .change filename to text .change filename to text .imagette273591631759246903 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27358922 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27359153,27359154,27359155,27359156,27359157,27359158,27359159,27359160,27359161,27359162,27359163?tags=pehd,pet_fonce,flou,papier,background,autre,pet_clair,metal,mal_croppe,environnement,carton args[1386982860] : ((1386982860, -2.607134702082504, 492609224), (1386982860, 0.20291696107781634, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386982858] : ((1386982858, -1.4932893866537502, 492688767), (1386982858, 0.5494483071064055, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386982811] : ((1386982811, -2.366042504402754, 492609224), (1386982811, 0.5954894039768184, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386982807] : ((1386982807, -0.18760686567341447, 492688767), (1386982807, 0.45558828289386144, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386982797] : ((1386982797, 0.24608789256872224, 492688767), (1386982797, 0.3564213153308629, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386981452] : ((1386981452, -2.422812817396847, 492609224), (1386981452, 0.49242311286357787, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386981427] : ((1386981427, -2.060921562658171, 492609224), (1386981427, 0.34692610960825226, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386981411] : ((1386981411, -4.592518671196358, 492609224), (1386981411, 0.42200937837532115, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com args[1386979849] : ((1386979849, -2.3695829393042973, 492609224), (1386979849, 0.6678233077743391, 2107752395), '0.1420479145233196') We are sending mail with results at report@fotonower.com refus_total : 0.1420479145233196 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27358922 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_P27358922_30-09-2025_17_41_41.pdf results_Auto_P27358922_30-09-2025_17_41_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27358922_30-09-2025_17_41_41.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','27358922','results_Auto_P27358922_30-09-2025_17_41_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27358922_30-09-2025_17_41_41.pdf','pdf','','0.34','0.1420479145233196') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27358922

https://www.fotonower.com/image?json=false&list_photos_id=1386982860
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386982858
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386982811
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386982807
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386982797
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386981452
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386981427
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386981411
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1386979849
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_fonce: https://www.fotonower.com/view/27359154?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27359156?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27359159?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27359163?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27358922_30-09-2025_17_41_41.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27359153,27359154,27359155,27359156,27359157,27359158,27359159,27359160,27359161,27359162,27359163?tags=pehd,pet_fonce,flou,papier,background,autre,pet_clair,metal,mal_croppe,environnement,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 30 Sep 2025 15:41:45 GMT Content-Length: 0 Connection: close X-Message-Id: aLrOTv0hTB6jSteQZsFkbg Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] 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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.03875446319580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.257540702819824 time spend to save output : 0.0390934944152832 total time spend for step 9 : 4.296634197235107 step10:split_time_score Tue Sep 30 17:41:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('16', 5), ('17', 4)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30092025 27358922 Nombre de photos uploadées : 9 / 23040 (0%) 30092025 27358922 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 30092025 27358922 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.298324584960938e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008015632629394531 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6667563915252686 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.25469097222222226 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344240_30-09-2025_17_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344240 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`=27344240 AND mptpi.`type`=3594 To do Qualite : 0.1986372843013468 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344242_30-09-2025_17_08_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344242 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`=27344242 AND mptpi.`type`=3594 To do Qualite : 0.040582133058984914 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344246_30-09-2025_17_08_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344246 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`=27344246 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344248 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344254 order by id desc limit 1 Qualite : 0.02596068029835391 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355641_30-09-2025_17_22_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27355641 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`=27355641 AND mptpi.`type`=3594 To do Qualite : 0.025566601447677834 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355643_30-09-2025_17_12_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27355643 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`=27355643 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358912 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358916 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358918 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358921 order by id desc limit 1 Qualite : 0.1420479145233196 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27358922_30-09-2025_17_41_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358922 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`=27358922 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27358924 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30092025': {'nb_upload': 9, '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 [1386982860, 1386982858, 1386982811, 1386982807, 1386982797, 1386981452, 1386981427, 1386981411, 1386979849] Looping around the photos to save general results len do output : 1 /27358922Didn'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, '3795463') ('3318', '27358922', '1386982860', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982858', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982811', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982807', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386982797', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981452', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981427', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386981411', None, None, None, None, None, '3795463') ('3318', None, None, None, None, None, None, None, '3795463') ('3318', '27358922', '1386979849', None, None, None, None, None, '3795463') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.0553743839263916 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.5086493492126465 time spend to save output : 0.05561399459838867 total time spend for step 10 : 7.564263343811035 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 38.61user 17.52system 1:28.50elapsed 63%CPU (0avgtext+0avgdata 2731748maxresident)k 2007824inputs+21304outputs (7425major+1487166minor)pagefaults 0swaps