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 : 200347 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 : ['3756133'] with mtr_portfolio_ids : ['27081911'] and first list_photo_ids : [] new path : /proc/200347/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.7279276847839355 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 Mon Sep 22 09:50: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 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 : 10141 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-22 09:50:33.843348: 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-22 09:50:33.876536: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-22 09:50:33.878877: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb404000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-22 09:50:33.878930: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-22 09:50:33.882503: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-22 09:50:34.030892: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x26e1d560 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-22 09:50:34.030941: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-22 09:50:34.031903: 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-22 09:50:34.032243: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:50:34.034538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:50:34.036918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:50:34.037323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:50:34.040615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:50:34.042102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:50:34.048721: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:50:34.050401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:50:34.050481: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:50:34.051227: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 09:50:34.051243: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 09:50:34.051252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 09:50:34.055915: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9390 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-22 09:50:34.412040: 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-22 09:50:34.412154: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:50:34.412182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:50:34.412210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:50:34.412237: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:50:34.412261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:50:34.412281: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:50:34.412303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:50:34.415503: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:50:34.418119: 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-22 09:50:34.418252: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 09:50:34.418300: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:50:34.418345: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 09:50:34.418393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 09:50:34.418434: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 09:50:34.418473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 09:50:34.418511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 09:50:34.422026: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 09:50:34.422070: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 09:50:34.422081: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 09:50:34.422091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 09:50:34.423980: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9390 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-22 09:50:42.667476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 09:50:42.938014: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.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: 39.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: 35.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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 200917 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 276 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5565 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.0004909038543701172 nb_pixel_total : 11194 time to create 1 rle with old method : 0.012954473495483398 length of segment : 198 time for calcul the mask position with numpy : 0.0002071857452392578 nb_pixel_total : 8055 time to create 1 rle with old method : 0.009032964706420898 length of segment : 98 time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 8079 time to create 1 rle with old method : 0.008941411972045898 length of segment : 150 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 7216 time to create 1 rle with old method : 0.008181571960449219 length of segment : 97 time for calcul the mask position with numpy : 0.00019097328186035156 nb_pixel_total : 10791 time to create 1 rle with old method : 0.011832952499389648 length of segment : 161 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 3353 time to create 1 rle with old method : 0.0037374496459960938 length of segment : 102 time for calcul the mask position with numpy : 0.0002868175506591797 nb_pixel_total : 12947 time to create 1 rle with old method : 0.014720439910888672 length of segment : 192 time for calcul the mask position with numpy : 0.0003142356872558594 nb_pixel_total : 15148 time to create 1 rle with old method : 0.01748061180114746 length of segment : 134 time for calcul the mask position with numpy : 0.00018095970153808594 nb_pixel_total : 7939 time to create 1 rle with old method : 0.008927583694458008 length of segment : 120 time for calcul the mask position with numpy : 0.000171661376953125 nb_pixel_total : 8850 time to create 1 rle with old method : 0.00998997688293457 length of segment : 134 time for calcul the mask position with numpy : 0.0002713203430175781 nb_pixel_total : 10673 time to create 1 rle with old method : 0.011981725692749023 length of segment : 180 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 8224 time to create 1 rle with old method : 0.009208202362060547 length of segment : 129 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 14020 time to create 1 rle with old method : 0.01600193977355957 length of segment : 189 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 16075 time to create 1 rle with old method : 0.018509864807128906 length of segment : 116 time for calcul the mask position with numpy : 0.0002117156982421875 nb_pixel_total : 8992 time to create 1 rle with old method : 0.010500669479370117 length of segment : 128 time for calcul the mask position with numpy : 0.0003597736358642578 nb_pixel_total : 8576 time to create 1 rle with old method : 0.009922981262207031 length of segment : 246 time for calcul the mask position with numpy : 0.0002646446228027344 nb_pixel_total : 7187 time to create 1 rle with old method : 0.009307861328125 length of segment : 75 time for calcul the mask position with numpy : 0.0002830028533935547 nb_pixel_total : 11378 time to create 1 rle with old method : 0.012741327285766602 length of segment : 201 time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 16565 time to create 1 rle with old method : 0.018869876861572266 length of segment : 144 time for calcul the mask position with numpy : 0.0001277923583984375 nb_pixel_total : 3489 time to create 1 rle with old method : 0.004072666168212891 length of segment : 91 time for calcul the mask position with numpy : 0.00013637542724609375 nb_pixel_total : 4284 time to create 1 rle with old method : 0.005016326904296875 length of segment : 88 time for calcul the mask position with numpy : 0.00032591819763183594 nb_pixel_total : 12659 time to create 1 rle with old method : 0.013953447341918945 length of segment : 192 time for calcul the mask position with numpy : 0.0005471706390380859 nb_pixel_total : 31668 time to create 1 rle with old method : 0.03595113754272461 length of segment : 160 time for calcul the mask position with numpy : 9.989738464355469e-05 nb_pixel_total : 2516 time to create 1 rle with old method : 0.0031032562255859375 length of segment : 54 time for calcul the mask position with numpy : 0.002681255340576172 nb_pixel_total : 124552 time to create 1 rle with old method : 0.13995742797851562 length of segment : 545 time for calcul the mask position with numpy : 0.00014066696166992188 nb_pixel_total : 3101 time to create 1 rle with old method : 0.0037250518798828125 length of segment : 66 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 3713 time to create 1 rle with old method : 0.0044689178466796875 length of segment : 95 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 10855 time to create 1 rle with old method : 0.012487649917602539 length of segment : 199 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 7360 time to create 1 rle with old method : 0.008622169494628906 length of segment : 96 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 4529 time to create 1 rle with old method : 0.008396387100219727 length of segment : 50 time for calcul the mask position with numpy : 0.000591278076171875 nb_pixel_total : 14133 time to create 1 rle with old method : 0.025079727172851562 length of segment : 142 time for calcul the mask position with numpy : 0.0006067752838134766 nb_pixel_total : 11967 time to create 1 rle with old method : 0.020793676376342773 length of segment : 194 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 6647 time to create 1 rle with old method : 0.011854887008666992 length of segment : 113 time for calcul the mask position with numpy : 0.0002956390380859375 nb_pixel_total : 5651 time to create 1 rle with old method : 0.010236024856567383 length of segment : 146 time for calcul the mask position with numpy : 0.0005316734313964844 nb_pixel_total : 16426 time to create 1 rle with old method : 0.02852177619934082 length of segment : 147 time for calcul the mask position with numpy : 0.0003795623779296875 nb_pixel_total : 11879 time to create 1 rle with old method : 0.020153522491455078 length of segment : 132 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 11638 time to create 1 rle with old method : 0.019487857818603516 length of segment : 178 time for calcul the mask position with numpy : 0.0003044605255126953 nb_pixel_total : 12513 time to create 1 rle with old method : 0.014504432678222656 length of segment : 187 time for calcul the mask position with numpy : 0.024593353271484375 nb_pixel_total : 586546 time to create 1 rle with new method : 0.14800071716308594 length of segment : 1025 time spent for convertir_results : 3.2884435653686523 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 39 chid ids of type : 3594 Number RLEs to save : 6694 save missing photos in datou_result : time spend for datou_step_exec : 31.5324923992157 time spend to save output : 0.47603654861450195 total time spend for step 1 : 32.0085289478302 step2:crop_condition Mon Sep 22 09:51:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 28 About to insert : list_path_to_insert length 28 new photo from crops ! About to upload 28 photos upload in portfolio : 3736932 init cache_photo without model_param we have 28 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758527464_200347 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 28 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.385389566421509 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758527471_200347 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.6544811725616455 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758527472_200347 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.5976669788360596 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758527476_200347 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8323373794555664 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758527478_200347 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6823279857635498 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] Looping around the photos to save general results len do output : 39 /1385428676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385428718Didn'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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 127 time used for this insertion : 0.02503180503845215 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.312657833099365 time spend to save output : 0.026856660842895508 total time spend for step 2 : 17.33951449394226 step3:rle_unique_nms_with_priority Mon Sep 22 09:51:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.6507353782653809 time for calcul the mask position with numpy : 0.2802393436431885 nb_pixel_total : 2054351 time to create 1 rle with new method : 0.18137550354003906 time for calcul the mask position with numpy : 0.008722305297851562 nb_pixel_total : 8055 time to create 1 rle with old method : 0.012135028839111328 time for calcul the mask position with numpy : 0.008612394332885742 nb_pixel_total : 11194 time to create 1 rle with old method : 0.017560482025146484 create new chi : 0.5257344245910645 time to delete rle : 0.021542072296142578 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1672 TO DO : save crop sub photo not yet done ! save time : 0.16072320938110352 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.7531111240386963 time for calcul the mask position with numpy : 0.0998382568359375 nb_pixel_total : 2044161 time to create 1 rle with new method : 0.15168070793151855 time for calcul the mask position with numpy : 0.008001089096069336 nb_pixel_total : 3353 time to create 1 rle with old method : 0.0038056373596191406 time for calcul the mask position with numpy : 0.007515668869018555 nb_pixel_total : 10791 time to create 1 rle with old method : 0.01214289665222168 time for calcul the mask position with numpy : 0.007690906524658203 nb_pixel_total : 7216 time to create 1 rle with old method : 0.008364200592041016 time for calcul the mask position with numpy : 0.008612632751464844 nb_pixel_total : 8079 time to create 1 rle with old method : 0.009953737258911133 create new chi : 0.33087801933288574 time to delete rle : 0.0008723735809326172 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2100 TO DO : save crop sub photo not yet done ! save time : 0.1739060878753662 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.08663105964660645 time for calcul the mask position with numpy : 0.2976691722869873 nb_pixel_total : 2037566 time to create 1 rle with new method : 0.5192582607269287 time for calcul the mask position with numpy : 0.00861215591430664 nb_pixel_total : 7939 time to create 1 rle with old method : 0.010735273361206055 time for calcul the mask position with numpy : 0.01503896713256836 nb_pixel_total : 15148 time to create 1 rle with old method : 0.02005457878112793 time for calcul the mask position with numpy : 0.012821435928344727 nb_pixel_total : 12947 time to create 1 rle with old method : 0.015466451644897461 create new chi : 0.914691686630249 time to delete rle : 0.0003814697265625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1972 TO DO : save crop sub photo not yet done ! save time : 0.16079926490783691 nb_obj : 8 nb_hashtags : 1 time to prepare the origin masks : 0.3182487487792969 time for calcul the mask position with numpy : 0.20814251899719238 nb_pixel_total : 1992076 time to create 1 rle with new method : 0.13042759895324707 time for calcul the mask position with numpy : 0.010108709335327148 nb_pixel_total : 7187 time to create 1 rle with old method : 0.008140802383422852 time for calcul the mask position with numpy : 0.010805130004882812 nb_pixel_total : 7503 time to create 1 rle with old method : 0.008588790893554688 time for calcul the mask position with numpy : 0.011797189712524414 nb_pixel_total : 8992 time to create 1 rle with old method : 0.01013040542602539 time for calcul the mask position with numpy : 0.011662006378173828 nb_pixel_total : 16075 time to create 1 rle with old method : 0.017588138580322266 time for calcul the mask position with numpy : 0.010700225830078125 nb_pixel_total : 14020 time to create 1 rle with old method : 0.015767335891723633 time for calcul the mask position with numpy : 0.010690450668334961 nb_pixel_total : 8224 time to create 1 rle with old method : 0.009267807006835938 time for calcul the mask position with numpy : 0.011414766311645508 nb_pixel_total : 10673 time to create 1 rle with old method : 0.012044191360473633 time for calcul the mask position with numpy : 0.010497331619262695 nb_pixel_total : 8850 time to create 1 rle with old method : 0.00988459587097168 create new chi : 0.5304322242736816 time to delete rle : 0.0004992485046386719 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 3295 TO DO : save crop sub photo not yet done ! save time : 0.24141955375671387 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08289766311645508 time for calcul the mask position with numpy : 0.024677515029907227 nb_pixel_total : 2037884 time to create 1 rle with new method : 0.19353103637695312 time for calcul the mask position with numpy : 0.006941318511962891 nb_pixel_total : 4284 time to create 1 rle with old method : 0.004952907562255859 time for calcul the mask position with numpy : 0.006865739822387695 nb_pixel_total : 3489 time to create 1 rle with old method : 0.00403141975402832 time for calcul the mask position with numpy : 0.008820056915283203 nb_pixel_total : 16565 time to create 1 rle with old method : 0.018433332443237305 time for calcul the mask position with numpy : 0.0070111751556396484 nb_pixel_total : 11378 time to create 1 rle with old method : 0.013361454010009766 create new chi : 0.29639315605163574 time to delete rle : 0.0005540847778320312 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2128 TO DO : save crop sub photo not yet done ! save time : 0.17119455337524414 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.11399221420288086 time for calcul the mask position with numpy : 0.3982203006744385 nb_pixel_total : 1895391 time to create 1 rle with new method : 0.17731928825378418 time for calcul the mask position with numpy : 0.007741451263427734 nb_pixel_total : 3713 time to create 1 rle with old method : 0.004610538482666016 time for calcul the mask position with numpy : 0.00799107551574707 nb_pixel_total : 3101 time to create 1 rle with old method : 0.004205942153930664 time for calcul the mask position with numpy : 0.008687496185302734 nb_pixel_total : 124552 time to create 1 rle with old method : 0.20353245735168457 time for calcul the mask position with numpy : 0.009921550750732422 nb_pixel_total : 2516 time to create 1 rle with old method : 0.002892017364501953 time for calcul the mask position with numpy : 0.007391929626464844 nb_pixel_total : 31668 time to create 1 rle with old method : 0.0454556941986084 time for calcul the mask position with numpy : 0.007090091705322266 nb_pixel_total : 12659 time to create 1 rle with old method : 0.020496606826782227 create new chi : 0.9194142818450928 time to delete rle : 0.0005834102630615234 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3304 TO DO : save crop sub photo not yet done ! save time : 0.2393336296081543 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1267867088317871 time for calcul the mask position with numpy : 0.023746728897094727 nb_pixel_total : 2050856 time to create 1 rle with new method : 0.2714416980743408 time for calcul the mask position with numpy : 0.007018566131591797 nb_pixel_total : 4529 time to create 1 rle with old method : 0.005170583724975586 time for calcul the mask position with numpy : 0.0070917606353759766 nb_pixel_total : 7360 time to create 1 rle with old method : 0.008330821990966797 time for calcul the mask position with numpy : 0.006705760955810547 nb_pixel_total : 10855 time to create 1 rle with old method : 0.012228727340698242 create new chi : 0.3571462631225586 time to delete rle : 0.0002994537353515625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1770 TO DO : save crop sub photo not yet done ! save time : 0.1622936725616455 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05999350547790527 time for calcul the mask position with numpy : 0.024875164031982422 nb_pixel_total : 2047500 time to create 1 rle with new method : 0.3699455261230469 time for calcul the mask position with numpy : 0.007852792739868164 nb_pixel_total : 11967 time to create 1 rle with old method : 0.013384342193603516 time for calcul the mask position with numpy : 0.006873369216918945 nb_pixel_total : 14133 time to create 1 rle with old method : 0.015978336334228516 create new chi : 0.44914841651916504 time to delete rle : 0.0003218650817871094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1752 TO DO : save crop sub photo not yet done ! save time : 0.14359354972839355 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.2704348564147949 time for calcul the mask position with numpy : 0.25078749656677246 nb_pixel_total : 2021359 time to create 1 rle with new method : 0.11613059043884277 time for calcul the mask position with numpy : 0.007229804992675781 nb_pixel_total : 11638 time to create 1 rle with old method : 0.012919187545776367 time for calcul the mask position with numpy : 0.00641942024230957 nb_pixel_total : 11879 time to create 1 rle with old method : 0.013227224349975586 time for calcul the mask position with numpy : 0.0067560672760009766 nb_pixel_total : 16426 time to create 1 rle with old method : 0.01827549934387207 time for calcul the mask position with numpy : 0.007569074630737305 nb_pixel_total : 5651 time to create 1 rle with old method : 0.00624394416809082 time for calcul the mask position with numpy : 0.0073163509368896484 nb_pixel_total : 6647 time to create 1 rle with old method : 0.007497549057006836 create new chi : 0.4725048542022705 time to delete rle : 0.0005731582641601562 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2512 TO DO : save crop sub photo not yet done ! save time : 0.19001245498657227 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06212186813354492 time for calcul the mask position with numpy : 0.020539283752441406 nb_pixel_total : 1474541 time to create 1 rle with new method : 0.10109758377075195 time for calcul the mask position with numpy : 0.038968563079833984 nb_pixel_total : 586546 time to create 1 rle with new method : 0.11185002326965332 time for calcul the mask position with numpy : 0.0066373348236083984 nb_pixel_total : 12513 time to create 1 rle with old method : 0.014027833938598633 create new chi : 0.30112457275390625 time to delete rle : 0.0005517005920410156 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3504 TO DO : save crop sub photo not yet done ! save time : 0.2508125305175781 map_output_result : {1385411362: (0.0, 'Should be the crop_list due to order', 0), 1385411359: (0.0, 'Should be the crop_list due to order', 0), 1385411342: (0.0, 'Should be the crop_list due to order', 0), 1385411340: (0.0, 'Should be the crop_list due to order', 0), 1385411338: (0.0, 'Should be the crop_list due to order', 0), 1385411336: (0.0, 'Should be the crop_list due to order', 0), 1385411331: (0.0, 'Should be the crop_list due to order', 0), 1385411328: (0.0, 'Should be the crop_list due to order', 0), 1385411308: (0.0, 'Should be the crop_list due to order', 0), 1385411301: (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 [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] Looping around the photos to save general results len do output : 10 /1385411362.Didn't retrieve data . /1385411359.Didn't retrieve data . /1385411342.Didn't retrieve data . /1385411340.Didn't retrieve data . /1385411338.Didn't retrieve data . /1385411336.Didn't retrieve data . /1385411331.Didn't retrieve data . /1385411328.Didn't retrieve data . /1385411308.Didn't retrieve data . /1385411301.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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016116619110107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.929221630096436 time spend to save output : 0.016738176345825195 total time spend for step 3 : 9.94595980644226 step4:ventilate_hashtags_in_portfolio Mon Sep 22 09:51: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 ! 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 : 27081911 get user id for portfolio 27081911 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`=27081911 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','metal','background','autre','flou','environnement','pehd','mal_croppe','pet_fonce','papier')) 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`=27081911 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','metal','background','autre','flou','environnement','pehd','mal_croppe','pet_fonce','papier')) 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`=27081911 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','metal','background','autre','flou','environnement','pehd','mal_croppe','pet_fonce','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27084432,27084433,27084434,27084435,27084436,27084437,27084438,27084439,27084440,27084441,27084442?tags=pet_clair,carton,metal,background,autre,flou,environnement,pehd,mal_croppe,pet_fonce,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] Looping around the photos to save general results len do output : 1 /27081911. 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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015474319458007812 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7351911067962646 time spend to save output : 0.015789508819580078 total time spend for step 4 : 1.7509806156158447 step5:final Mon Sep 22 09:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1385411362: ('0.05209852430555556',), 1385411359: ('0.05209852430555556',), 1385411342: ('0.05209852430555556',), 1385411340: ('0.05209852430555556',), 1385411338: ('0.05209852430555556',), 1385411336: ('0.05209852430555556',), 1385411331: ('0.05209852430555556',), 1385411328: ('0.05209852430555556',), 1385411308: ('0.05209852430555556',), 1385411301: ('0.05209852430555556',)} new output for save of step final : {1385411362: ('0.05209852430555556',), 1385411359: ('0.05209852430555556',), 1385411342: ('0.05209852430555556',), 1385411340: ('0.05209852430555556',), 1385411338: ('0.05209852430555556',), 1385411336: ('0.05209852430555556',), 1385411331: ('0.05209852430555556',), 1385411328: ('0.05209852430555556',), 1385411308: ('0.05209852430555556',), 1385411301: ('0.05209852430555556',)} [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] Looping around the photos to save general results len do output : 10 /1385411362.Didn't retrieve data . /1385411359.Didn't retrieve data . /1385411342.Didn't retrieve data . /1385411340.Didn't retrieve data . /1385411338.Didn't retrieve data . /1385411336.Didn't retrieve data . /1385411331.Didn't retrieve data . /1385411328.Didn't retrieve data . /1385411308.Didn't retrieve data . /1385411301.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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016146421432495117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12672686576843262 time spend to save output : 0.01700282096862793 total time spend for step 5 : 0.14372968673706055 step6:blur_detection Mon Sep 22 09:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a.jpg resize: (1080, 1920) 1385411362 0.1780161429548598 treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7.jpg resize: (1080, 1920) 1385411359 0.3100883805893118 treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9.jpg resize: (1080, 1920) 1385411342 0.6804910360514128 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9.jpg resize: (1080, 1920) 1385411340 4.716702911608069 treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e.jpg resize: (1080, 1920) 1385411338 1.970364657857693 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6.jpg resize: (1080, 1920) 1385411336 1.2764758016843833 treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc.jpg resize: (1080, 1920) 1385411331 0.7494102795553327 treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4.jpg resize: (1080, 1920) 1385411328 5.848532327154853 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177.jpg resize: (1080, 1920) 1385411308 -3.0866669905183857 treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2.jpg resize: (1080, 1920) 1385411301 0.9973918504797558 treat image : temp/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a_rle_crop_3969801501_0.png resize: (184, 114) 1385428676 -1.7022524564154204 treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801505_0.png resize: (161, 105) 1385428677 -0.19480123583665077 treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801506_0.png resize: (102, 48) 1385428678 -0.7932798557078529 treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801503_0.png resize: (128, 107) 1385428679 -1.7605593884245128 treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801507_0.png resize: (186, 118) 1385428680 -0.33950967682532845 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801511_0.png resize: (178, 117) 1385428681 -1.398880838257242 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801516_0.png resize: (194, 173) 1385428682 -0.9060582560361325 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801510_0.png resize: (127, 90) 1385428683 2.4380546696238046 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801514_0.png resize: (115, 182) 1385428684 3.5956748874105626 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801517_0.png resize: (75, 154) 1385428685 0.17479746505587979 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801513_0.png resize: (189, 119) 1385428686 0.5466672671915457 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801512_0.png resize: (129, 85) 1385428687 0.6333424029490317 treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801515_0.png resize: (125, 120) 1385428688 -1.7343701988299833 treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801518_0.png resize: (174, 116) 1385428689 -0.7706356146398571 treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801520_0.png resize: (91, 57) 1385428690 -0.4596019486822975 treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801519_0.png resize: (133, 208) 1385428691 -1.3136357726946997 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801522_0.png resize: (186, 115) 1385428692 -0.5414215090158079 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801527_0.png resize: (95, 79) 1385428693 -1.4738315951981897 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801526_0.png resize: (66, 78) 1385428694 -1.5855589769252685 treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801528_0.png resize: (183, 111) 1385428695 -1.6735167976283116 treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801529_0.png resize: (96, 131) 1385428696 -0.9075604446356844 treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4_rle_crop_3969801532_0.png resize: (187, 115) 1385428697 -1.738882791534504 treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4_rle_crop_3969801531_0.png resize: (142, 129) 1385428698 1.5269422057105346 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801537_0.png resize: (176, 112) 1385428699 -0.4157415321700293 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801535_0.png resize: (119, 207) 1385428700 -2.9264838492106966 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801536_0.png resize: (131, 138) 1385428701 -0.6431318685379241 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801533_0.png resize: (113, 121) 1385428702 -4.566523157756071 treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2_rle_crop_3969801538_0.png resize: (183, 112) 1385428703 -0.1422726779827549 treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801534_0.png resize: (146, 87) 1385428704 -2.2940879334326634 treat image : temp/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a_rle_crop_3969801502_0.png resize: (97, 104) 1385428705 0.14588561009827677 treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801508_0.png resize: (134, 189) 1385428709 -3.0334083681458037 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801523_0.png resize: (158, 250) 1385428710 0.020402797360960064 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801524_0.png resize: (54, 72) 1385428711 -0.8543021145133519 treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801525_0.png resize: (537, 375) 1385428712 0.20193954692417498 treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801530_0.png resize: (49, 113) 1385428713 0.08740706556611517 treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2_rle_crop_3969801539_0.png resize: (1005, 773) 1385428714 -0.1470516644953951 treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801504_0.png resize: (97, 114) 1385428716 -0.34606750252168095 treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801509_0.png resize: (118, 94) 1385428717 -0.6299677502294052 treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801521_0.png resize: (88, 72) 1385428718 -1.918662949505462 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 : 49 time used for this insertion : 0.014007568359375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.014970541000366211 save missing photos in datou_result : time spend for datou_step_exec : 8.423544645309448 time spend to save output : 0.03342270851135254 total time spend for step 6 : 8.4569673538208 step7:brightness Mon Sep 22 09:51:40 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/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a.jpg treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7.jpg treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9.jpg treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9.jpg treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e.jpg treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6.jpg treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc.jpg treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4.jpg treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177.jpg treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2.jpg treat image : temp/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a_rle_crop_3969801501_0.png treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801505_0.png treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801506_0.png treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801503_0.png treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801507_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801511_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801516_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801510_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801514_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801517_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801513_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801512_0.png treat image : temp/1758527428_200347_1385411340_fc2f37301993bac5cd2ad8e3f07d7cd9_rle_crop_3969801515_0.png treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801518_0.png treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801520_0.png treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801519_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801522_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801527_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801526_0.png treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801528_0.png treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801529_0.png treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4_rle_crop_3969801532_0.png treat image : temp/1758527428_200347_1385411328_31f0ec6ea2417892a30600c2773cbce4_rle_crop_3969801531_0.png treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801537_0.png treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801535_0.png treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801536_0.png treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801533_0.png treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2_rle_crop_3969801538_0.png treat image : temp/1758527428_200347_1385411308_7f6304dd7eeb7ed24180eeb7aa1ef177_rle_crop_3969801534_0.png treat image : temp/1758527428_200347_1385411362_86c78135636c621df7990d8fef2cce2a_rle_crop_3969801502_0.png treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801508_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801523_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801524_0.png treat image : temp/1758527428_200347_1385411336_cda4fcb048368f48facf926a34b17bf6_rle_crop_3969801525_0.png treat image : temp/1758527428_200347_1385411331_39d1b2170177465a4b6ccb79fade2abc_rle_crop_3969801530_0.png treat image : temp/1758527428_200347_1385411301_4c8e069f4a981dbe17b9ee290a9bb8f2_rle_crop_3969801539_0.png treat image : temp/1758527428_200347_1385411359_f016c4996dc55ed1b5d0779c37792dd7_rle_crop_3969801504_0.png treat image : temp/1758527428_200347_1385411342_baf9350dd53cef60da3e9d611f3deaf9_rle_crop_3969801509_0.png treat image : temp/1758527428_200347_1385411338_05ac486a6cc5a1869706087e30171c1e_rle_crop_3969801521_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 : 49 time used for this insertion : 0.01427149772644043 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.014749288558959961 save missing photos in datou_result : time spend for datou_step_exec : 2.5001988410949707 time spend to save output : 0.03400850296020508 total time spend for step 7 : 2.534207344055176 step8:velours_tree Mon Sep 22 09:51:42 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.3843109607696533 time spend to save output : 4.935264587402344e-05 total time spend for step 8 : 0.38436031341552734 step9:send_mail_cod Mon Sep 22 09:51:42 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_P27081911_22-09-2025_09_51_42.pdf 27084432 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270844321758527502 27084433 change filename to text .imagette270844331758527503 27084434 change filename to text .imagette270844341758527503 27084435 imagette270844351758527503 27084436 change filename to text .change filename to text .change filename to text .imagette270844361758527503 27084437 imagette270844371758527503 27084439 imagette270844391758527503 27084440 imagette270844401758527503 27084441 imagette270844411758527503 27084442 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270844421758527503 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27081911 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27084432,27084433,27084434,27084435,27084436,27084437,27084438,27084439,27084440,27084441,27084442?tags=pet_clair,carton,metal,background,autre,flou,environnement,pehd,mal_croppe,pet_fonce,papier args[1385411362] : ((1385411362, 0.1780161429548598, 492688767), (1385411362, 0.3922141344032323, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411359] : ((1385411359, 0.3100883805893118, 492688767), (1385411359, 0.936200101862588, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411342] : ((1385411342, 0.6804910360514128, 492688767), (1385411342, 0.6584550546508695, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411340] : ((1385411340, 4.716702911608069, 492688767), (1385411340, 0.39082836428219725, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411338] : ((1385411338, 1.970364657857693, 492688767), (1385411338, 0.99664144944441, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411336] : ((1385411336, 1.2764758016843833, 492688767), (1385411336, 0.44258516934158687, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411331] : ((1385411331, 0.7494102795553327, 492688767), (1385411331, 0.4207102078933934, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411328] : ((1385411328, 5.848532327154853, 492688767), (1385411328, 0.43824047345241574, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411308] : ((1385411308, -3.0866669905183857, 492609224), (1385411308, 0.5647242048312099, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com args[1385411301] : ((1385411301, 0.9973918504797558, 492688767), (1385411301, 0.7025661669607115, 2107752395), '0.05209852430555556') We are sending mail with results at report@fotonower.com refus_total : 0.05209852430555556 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27081911 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_P27081911_22-09-2025_09_51_42.pdf results_Auto_P27081911_22-09-2025_09_51_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27081911_22-09-2025_09_51_42.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','27081911','results_Auto_P27081911_22-09-2025_09_51_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27081911_22-09-2025_09_51_42.pdf','pdf','','0.21','0.05209852430555556') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27081911

https://www.fotonower.com/image?json=false&list_photos_id=1385411362
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385411359
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385411342
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385411340
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.716702911608069)
https://www.fotonower.com/image?json=false&list_photos_id=1385411338
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.970364657857693)
https://www.fotonower.com/image?json=false&list_photos_id=1385411336
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2764758016843833)
https://www.fotonower.com/image?json=false&list_photos_id=1385411331
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385411328
La photo est trop floue, merci de reprendre une photo.(avec le score = 5.848532327154853)
https://www.fotonower.com/image?json=false&list_photos_id=1385411308
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385411301
La photo est trop floue, merci de reprendre une photo.(avec le score = 0.9973918504797558)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27084432?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27084433?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27084434?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27084436?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27084442?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27081911_22-09-2025_09_51_42.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27084432,27084433,27084434,27084435,27084436,27084437,27084438,27084439,27084440,27084441,27084442?tags=pet_clair,carton,metal,background,autre,flou,environnement,pehd,mal_croppe,pet_fonce,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 22 Sep 2025 07:51:46 GMT Content-Length: 0 Connection: close X-Message-Id: J7AxHrnPRNyVHgNUvhxa4Q 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 [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] 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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015648603439331055 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8361878395080566 time spend to save output : 0.01588749885559082 total time spend for step 9 : 3.8520753383636475 step10:split_time_score Mon Sep 22 09:51:46 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'}] (('07', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22092025 27081911 Nombre de photos uploadées : 10 / 23040 (0%) 22092025 27081911 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 22092025 27081911 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005567073822021484 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.209486722946167 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.05209852430555556 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27081911_22-09-2025_09_51_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27081911 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`=27081911 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22092025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385411362, 1385411359, 1385411342, 1385411340, 1385411338, 1385411336, 1385411331, 1385411328, 1385411308, 1385411301] Looping around the photos to save general results len do output : 1 /27081911Didn'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, '3756133') ('3318', '27081911', '1385411362', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411359', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411342', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411340', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411338', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411336', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411331', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411328', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411308', None, None, None, None, None, '3756133') ('3318', None, None, None, None, None, None, None, '3756133') ('3318', '27081911', '1385411301', None, None, None, None, None, '3756133') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013850927352905273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4379239082336426 time spend to save output : 0.014029979705810547 total time spend for step 10 : 0.4519538879394531 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 38.48user 25.03system 1:21.10elapsed 78%CPU (0avgtext+0avgdata 2557396maxresident)k 1059128inputs+13792outputs (14307major+1757972minor)pagefaults 0swaps