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 : 3789161 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 : ['4119106'] with mtr_portfolio_ids : ['28913886'] and first list_photo_ids : [] new path : /proc/3789161/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.7925896644592285 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Nov 26 08:40:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-26 08:40:35.733223: 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-11-26 08:40:35.758566: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-26 08:40:35.760542: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9030000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-26 08:40:35.760595: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-26 08:40:35.763253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-26 08:40:36.086268: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x24420140 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-26 08:40:36.086333: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-26 08:40:36.087404: 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-11-26 08:40:36.088671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 08:40:36.092809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 08:40:36.094979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 08:40:36.095321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 08:40:36.097619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 08:40:36.098763: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 08:40:36.103434: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 08:40:36.104908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 08:40:36.104978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 08:40:36.105726: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 08:40:36.105741: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 08:40:36.105750: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 08:40:36.107342: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-26 08:40:36.408024: 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-11-26 08:40:36.408147: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 08:40:36.408167: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 08:40:36.408184: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 08:40:36.408200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 08:40:36.408216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 08:40:36.408231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 08:40:36.408247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 08:40:36.409443: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 08:40:36.410648: 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-11-26 08:40:36.410690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-26 08:40:36.410706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 08:40:36.410720: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-26 08:40:36.410733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-26 08:40:36.410747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-26 08:40:36.410761: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-26 08:40:36.410775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-26 08:40:36.412017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-26 08:40:36.412052: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-26 08:40:36.412060: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-26 08:40:36.412067: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-26 08:40:36.413301: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-26 08:40:43.851553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-26 08:40:44.051497: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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: 9.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 82.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 : 1 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 Detection mask done ! Trying to reset tf kernel 3789836 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [762, 882, 888, 1065] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00029587745666503906 nb_pixel_total : 11737 time to create 1 rle with old method : 0.014368772506713867 length of segment : 118 DEBUG bbox = [681, 621, 816, 756] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001780986785888672 nb_pixel_total : 9153 time to create 1 rle with old method : 0.010411500930786133 length of segment : 125 DEBUG bbox = [783, 1296, 858, 1356] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.461143493652344e-05 nb_pixel_total : 2560 time to create 1 rle with old method : 0.0028946399688720703 length of segment : 73 DEBUG bbox = [804, 723, 891, 792] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 3496 time to create 1 rle with old method : 0.004197359085083008 length of segment : 77 DEBUG bbox = [663, 1002, 750, 1116] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 6269 time to create 1 rle with old method : 0.007204294204711914 length of segment : 84 DEBUG bbox = [864, 1302, 909, 1350] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 4.76837158203125e-05 nb_pixel_total : 1355 time to create 1 rle with old method : 0.00157928466796875 length of segment : 43 DEBUG bbox = [456, 1392, 579, 1506] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 8015 time to create 1 rle with old method : 0.009229898452758789 length of segment : 112 DEBUG bbox = [3, 960, 138, 1029] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000125885009765625 nb_pixel_total : 6099 time to create 1 rle with old method : 0.0068209171295166016 length of segment : 142 DEBUG bbox = [906, 645, 1071, 918] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003247261047363281 nb_pixel_total : 16259 time to create 1 rle with old method : 0.01817941665649414 length of segment : 257 DEBUG bbox = [588, 798, 651, 876] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.771087646484375e-05 nb_pixel_total : 2415 time to create 1 rle with old method : 0.00276947021484375 length of segment : 56 DEBUG bbox = [996, 786, 1044, 879] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.413459777832031e-05 nb_pixel_total : 2863 time to create 1 rle with old method : 0.003492116928100586 length of segment : 44 DEBUG bbox = [315, 1680, 375, 1830] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.322166442871094e-05 nb_pixel_total : 5789 time to create 1 rle with old method : 0.00718998908996582 length of segment : 57 DEBUG bbox = [495, 1470, 651, 1569] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 7144 time to create 1 rle with old method : 0.007899045944213867 length of segment : 137 DEBUG bbox = [1014, 537, 1071, 576] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.14984130859375e-05 nb_pixel_total : 1087 time to create 1 rle with old method : 0.001276254653930664 length of segment : 60 DEBUG bbox = [1023, 441, 1071, 510] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.412101745605469e-05 nb_pixel_total : 2409 time to create 1 rle with old method : 0.002869129180908203 length of segment : 57 DEBUG bbox = [255, 1146, 426, 1356] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000263214111328125 nb_pixel_total : 17888 time to create 1 rle with old method : 0.020892620086669922 length of segment : 177 DEBUG bbox = [639, 1323, 822, 1470] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020551681518554688 nb_pixel_total : 13125 time to create 1 rle with old method : 0.014739751815795898 length of segment : 167 DEBUG bbox = [0, 0, 1014, 1608] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.019254684448242188 nb_pixel_total : 1437076 time to create 1 rle with new method : 0.060543060302734375 length of segment : 1255 DEBUG bbox = [837, 1071, 987, 1218] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017595291137695312 nb_pixel_total : 9288 time to create 1 rle with old method : 0.010825395584106445 length of segment : 130 DEBUG bbox = [507, 1563, 1035, 1890] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0012176036834716797 nb_pixel_total : 96591 time to create 1 rle with old method : 0.10644721984863281 length of segment : 518 DEBUG bbox = [765, 390, 828, 498] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.130073547363281e-05 nb_pixel_total : 3188 time to create 1 rle with old method : 0.0038781166076660156 length of segment : 53 DEBUG bbox = [690, 855, 933, 1011] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003104209899902344 nb_pixel_total : 19989 time to create 1 rle with old method : 0.022882699966430664 length of segment : 255 DEBUG bbox = [228, 1098, 378, 1149] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.274482727050781e-05 nb_pixel_total : 4173 time to create 1 rle with old method : 0.004861116409301758 length of segment : 137 DEBUG bbox = [543, 1506, 1080, 1899] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0011532306671142578 nb_pixel_total : 74535 time to create 1 rle with old method : 0.08218121528625488 length of segment : 386 DEBUG bbox = [477, 1188, 603, 1290] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001342296600341797 nb_pixel_total : 8123 time to create 1 rle with old method : 0.00932455062866211 length of segment : 120 DEBUG bbox = [0, 1764, 123, 1911] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016355514526367188 nb_pixel_total : 11465 time to create 1 rle with old method : 0.013190031051635742 length of segment : 111 DEBUG bbox = [909, 1125, 966, 1197] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.556510925292969e-05 nb_pixel_total : 3159 time to create 1 rle with old method : 0.003908872604370117 length of segment : 50 DEBUG bbox = [996, 1014, 1080, 1080] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.963180541992188e-05 nb_pixel_total : 2979 time to create 1 rle with old method : 0.003751039505004883 length of segment : 73 DEBUG bbox = [549, 1560, 1068, 1899] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.004498004913330078 nb_pixel_total : 113288 time to create 1 rle with old method : 0.12418198585510254 length of segment : 528 DEBUG bbox = [672, 1554, 750, 1635] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.559226989746094e-05 nb_pixel_total : 2881 time to create 1 rle with old method : 0.0034723281860351562 length of segment : 74 DEBUG bbox = [954, 393, 1065, 525] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 4938 time to create 1 rle with old method : 0.0059146881103515625 length of segment : 87 DEBUG bbox = [423, 1389, 567, 1476] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 8624 time to create 1 rle with old method : 0.00969386100769043 length of segment : 142 time spent for convertir_results : 1.625319242477417 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 5705 save missing photos in datou_result : time spend for datou_step_exec : 22.82687020301819 time spend to save output : 0.448775053024292 total time spend for step 1 : 23.27564525604248 step2:crop_condition Wed Nov 26 08:40:56 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 : 14 ! batch 1 Loaded 32 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 ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764142857_3789161 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951087_0.png', 0, 125, 125, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951086_0.png', 0, 179, 118, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951090_0.png', 0, 103, 78, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951088_0.png', 0, 52, 73, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951091_0.png', 0, 43, 43, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951094_0.png', 0, 248, 137, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951093_0.png', 0, 69, 128, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951092_0.png', 0, 109, 112, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951096_0.png', 0, 83, 44, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951095_0.png', 0, 64, 56, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951098_0.png', 0, 89, 134, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951100_0.png', 0, 66, 46, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951099_0.png', 0, 27, 55, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951102_0.png', 0, 123, 167, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215608_47281a5eb6f042202e63004ad6d9fd42_rle_crop_4045951104_0.png', 0, 127, 128, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951106_0.png', 0, 87, 53, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951107_0.png', 0, 146, 210, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951108_0.png', 0, 42, 137, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951110_0.png', 0, 95, 119, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951111_0.png', 0, 147, 105, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951116_0.png', 0, 100, 86, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951113_0.png', 0, 59, 73, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951112_0.png', 0, 68, 50, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951117_0.png', 0, 73, 142, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142862), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951115_0.png', 0, 74, 74, 0, 1764142862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.583654403686523 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764142864_3789161 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142864), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951089_0.png', 0, 57, 77, 0, 1764142864,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142864), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951097_0.png', 0, 135, 57, 0, 1764142864,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7092006206512451 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764142872_3789161 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142873), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215624_f584b1718e4e4bc0c00706d2104ba28e_rle_crop_4045951101_0.png', 0, 204, 170, 0, 1764142873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142873), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951103_0.png', 0, 1570, 981, 0, 1764142873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142873), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951105_0.png', 0, 306, 517, 0, 1764142873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142873), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951109_0.png', 0, 345, 461, 0, 1764142873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764142873), 0.0, 0.0, 14, '', 0, 0, '1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951114_0.png', 0, 334, 513, 0, 1764142873,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4143908023834229 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] Looping around the photos to save general results len do output : 32 /1396222320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396222379Didn'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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 110 time used for this insertion : 0.030270099639892578 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.394735097885132 time spend to save output : 0.03170585632324219 total time spend for step 2 : 17.426440954208374 step3:rle_unique_nms_with_priority Wed Nov 26 08:41:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.3750638961791992 time for calcul the mask position with numpy : 0.08671808242797852 nb_pixel_total : 2039030 time to create 1 rle with new method : 0.08901095390319824 time for calcul the mask position with numpy : 0.00627899169921875 nb_pixel_total : 1355 time to create 1 rle with old method : 0.0016391277313232422 time for calcul the mask position with numpy : 0.005854129791259766 nb_pixel_total : 6269 time to create 1 rle with old method : 0.0071980953216552734 time for calcul the mask position with numpy : 0.005965232849121094 nb_pixel_total : 3496 time to create 1 rle with old method : 0.004030942916870117 time for calcul the mask position with numpy : 0.0058705806732177734 nb_pixel_total : 2560 time to create 1 rle with old method : 0.0030670166015625 time for calcul the mask position with numpy : 0.005755424499511719 nb_pixel_total : 9153 time to create 1 rle with old method : 0.010226964950561523 time for calcul the mask position with numpy : 0.006131649017333984 nb_pixel_total : 11737 time to create 1 rle with old method : 0.013530492782592773 create new chi : 0.2615511417388916 time to delete rle : 0.03552865982055664 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2120 TO DO : save crop sub photo not yet done ! save time : 0.19110631942749023 No data in photo_id : 1396215680 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.07453417778015137 time for calcul the mask position with numpy : 0.05294060707092285 nb_pixel_total : 2043227 time to create 1 rle with new method : 0.1991865634918213 time for calcul the mask position with numpy : 0.006302595138549805 nb_pixel_total : 16259 time to create 1 rle with old method : 0.018877029418945312 time for calcul the mask position with numpy : 0.006268978118896484 nb_pixel_total : 6099 time to create 1 rle with old method : 0.006972312927246094 time for calcul the mask position with numpy : 0.006140232086181641 nb_pixel_total : 8015 time to create 1 rle with old method : 0.009150505065917969 create new chi : 0.30622220039367676 time to delete rle : 0.0003483295440673828 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 2102 TO DO : save crop sub photo not yet done ! save time : 0.20522832870483398 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.05996847152709961 time for calcul the mask position with numpy : 0.031171083450317383 nb_pixel_total : 2055389 time to create 1 rle with new method : 0.23189592361450195 time for calcul the mask position with numpy : 0.006417751312255859 nb_pixel_total : 7144 time to create 1 rle with old method : 0.008287906646728516 time for calcul the mask position with numpy : 0.0062639713287353516 nb_pixel_total : 5789 time to create 1 rle with old method : 0.006760120391845703 time for calcul the mask position with numpy : 0.006121635437011719 nb_pixel_total : 2863 time to create 1 rle with old method : 0.003248453140258789 time for calcul the mask position with numpy : 0.00584721565246582 nb_pixel_total : 2415 time to create 1 rle with old method : 0.0029189586639404297 create new chi : 0.3176093101501465 time to delete rle : 0.00027871131896972656 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1668 TO DO : save crop sub photo not yet done ! save time : 0.15564250946044922 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0410463809967041 time for calcul the mask position with numpy : 0.018400192260742188 nb_pixel_total : 2070104 time to create 1 rle with new method : 0.14705848693847656 time for calcul the mask position with numpy : 0.005974531173706055 nb_pixel_total : 2409 time to create 1 rle with old method : 0.002725839614868164 time for calcul the mask position with numpy : 0.00600123405456543 nb_pixel_total : 1087 time to create 1 rle with old method : 0.001230001449584961 create new chi : 0.18973779678344727 time to delete rle : 0.00020647048950195312 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1314 TO DO : save crop sub photo not yet done ! save time : 0.13076066970825195 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03233194351196289 time for calcul the mask position with numpy : 0.018240928649902344 nb_pixel_total : 2055712 time to create 1 rle with new method : 0.0785684585571289 time for calcul the mask position with numpy : 0.006486654281616211 nb_pixel_total : 17888 time to create 1 rle with old method : 0.020836591720581055 create new chi : 0.13648438453674316 time to delete rle : 0.00022101402282714844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1434 TO DO : save crop sub photo not yet done ! save time : 0.12967133522033691 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.21488142013549805 time for calcul the mask position with numpy : 0.010334014892578125 nb_pixel_total : 636524 time to create 1 rle with new method : 0.07829880714416504 time for calcul the mask position with numpy : 0.1323847770690918 nb_pixel_total : 1423951 time to create 1 rle with new method : 0.07433009147644043 time for calcul the mask position with numpy : 0.006197929382324219 nb_pixel_total : 13125 time to create 1 rle with old method : 0.014983654022216797 create new chi : 0.3324849605560303 time to delete rle : 0.0004642009735107422 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3924 TO DO : save crop sub photo not yet done ! save time : 0.30042171478271484 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.046866655349731445 time for calcul the mask position with numpy : 0.1335296630859375 nb_pixel_total : 2064312 time to create 1 rle with new method : 0.10164523124694824 time for calcul the mask position with numpy : 0.006024360656738281 nb_pixel_total : 9288 time to create 1 rle with old method : 0.010566949844360352 create new chi : 0.26251912117004395 time to delete rle : 0.0002238750457763672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1340 TO DO : save crop sub photo not yet done ! save time : 0.13439202308654785 No data in photo_id : 1396215605 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.14407658576965332 time for calcul the mask position with numpy : 0.06062173843383789 nb_pixel_total : 1953832 time to create 1 rle with new method : 0.16785144805908203 time for calcul the mask position with numpy : 0.0067136287689208984 nb_pixel_total : 19989 time to create 1 rle with old method : 0.03340792655944824 time for calcul the mask position with numpy : 0.006916522979736328 nb_pixel_total : 3188 time to create 1 rle with old method : 0.005464792251586914 time for calcul the mask position with numpy : 0.007236003875732422 nb_pixel_total : 96591 time to create 1 rle with old method : 0.11354470252990723 create new chi : 0.4149966239929199 time to delete rle : 0.0003218650817871094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2732 TO DO : save crop sub photo not yet done ! save time : 0.24432039260864258 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.040114641189575195 time for calcul the mask position with numpy : 0.03995490074157715 nb_pixel_total : 1994892 time to create 1 rle with new method : 0.10751867294311523 time for calcul the mask position with numpy : 0.00635075569152832 nb_pixel_total : 74535 time to create 1 rle with old method : 0.08306264877319336 time for calcul the mask position with numpy : 0.006075382232666016 nb_pixel_total : 4173 time to create 1 rle with old method : 0.00474858283996582 create new chi : 0.25820398330688477 time to delete rle : 0.0003466606140136719 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2126 TO DO : save crop sub photo not yet done ! save time : 0.20244479179382324 No data in photo_id : 1396215597 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.042545318603515625 time for calcul the mask position with numpy : 0.05984616279602051 nb_pixel_total : 2054012 time to create 1 rle with new method : 0.12836194038391113 time for calcul the mask position with numpy : 0.005859851837158203 nb_pixel_total : 11465 time to create 1 rle with old method : 0.012836456298828125 time for calcul the mask position with numpy : 0.006002664566040039 nb_pixel_total : 8123 time to create 1 rle with old method : 0.009274721145629883 create new chi : 0.23067569732666016 time to delete rle : 0.0002605915069580078 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1542 TO DO : save crop sub photo not yet done ! save time : 0.166182279586792 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.4815037250518799 time for calcul the mask position with numpy : 0.16850566864013672 nb_pixel_total : 1937731 time to create 1 rle with new method : 0.09518289566040039 time for calcul the mask position with numpy : 0.0061397552490234375 nb_pixel_total : 8624 time to create 1 rle with old method : 0.00980067253112793 time for calcul the mask position with numpy : 0.006237506866455078 nb_pixel_total : 4938 time to create 1 rle with old method : 0.00587153434753418 time for calcul the mask position with numpy : 0.006946563720703125 nb_pixel_total : 2881 time to create 1 rle with old method : 0.0034461021423339844 time for calcul the mask position with numpy : 0.006785869598388672 nb_pixel_total : 113288 time to create 1 rle with old method : 0.12386751174926758 time for calcul the mask position with numpy : 0.00574946403503418 nb_pixel_total : 2979 time to create 1 rle with old method : 0.0032033920288085938 time for calcul the mask position with numpy : 0.0056781768798828125 nb_pixel_total : 3159 time to create 1 rle with old method : 0.0035178661346435547 create new chi : 0.46183037757873535 time to delete rle : 0.0004143714904785156 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2988 TO DO : save crop sub photo not yet done ! save time : 0.24256420135498047 map_output_result : {1396215682: (0.0, 'Should be the crop_list due to order', 0), 1396215680: (0.0, 'Should be the crop_list due to order', 0.0), 1396215677: (0.0, 'Should be the crop_list due to order', 0), 1396215674: (0.0, 'Should be the crop_list due to order', 0), 1396215634: (0.0, 'Should be the crop_list due to order', 0), 1396215624: (0.0, 'Should be the crop_list due to order', 0), 1396215611: (0.0, 'Should be the crop_list due to order', 0), 1396215608: (0.0, 'Should be the crop_list due to order', 0), 1396215605: (0.0, 'Should be the crop_list due to order', 0.0), 1396215602: (0.0, 'Should be the crop_list due to order', 0), 1396215599: (0.0, 'Should be the crop_list due to order', 0), 1396215597: (0.0, 'Should be the crop_list due to order', 0.0), 1396215562: (0.0, 'Should be the crop_list due to order', 0), 1396215556: (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 [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] Looping around the photos to save general results len do output : 14 /1396215682.Didn't retrieve data . /1396215680.Didn't retrieve data . /1396215677.Didn't retrieve data . /1396215674.Didn't retrieve data . /1396215634.Didn't retrieve data . /1396215624.Didn't retrieve data . /1396215611.Didn't retrieve data . /1396215608.Didn't retrieve data . /1396215605.Didn't retrieve data . /1396215602.Didn't retrieve data . /1396215599.Didn't retrieve data . /1396215597.Didn't retrieve data . /1396215562.Didn't retrieve data . /1396215556.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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.015432596206665039 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.2495739459991455 time spend to save output : 0.01591348648071289 total time spend for step 3 : 7.265487432479858 step4:ventilate_hashtags_in_portfolio Wed Nov 26 08:41:20 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 : 28913886 get user id for portfolio 28913886 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`=28913886 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','autre','environnement','pet_clair','mal_croppe','pet_fonce','pehd','metal','flou','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`=28913886 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','autre','environnement','pet_clair','mal_croppe','pet_fonce','pehd','metal','flou','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`=28913886 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','autre','environnement','pet_clair','mal_croppe','pet_fonce','pehd','metal','flou','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28914156,28914157,28914158,28914160,28914161,28914162,28914164,28914165,28914166,28914168,28914169?tags=carton,background,autre,environnement,pet_clair,mal_croppe,pet_fonce,pehd,metal,flou,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] Looping around the photos to save general results len do output : 1 /28913886. 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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.021015405654907227 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.984529733657837 time spend to save output : 0.021347522735595703 total time spend for step 4 : 2.0058772563934326 step5:final Wed Nov 26 08:41:22 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 : {1396215682: ('0.06561518270502646',), 1396215680: ('0.06561518270502646',), 1396215677: ('0.06561518270502646',), 1396215674: ('0.06561518270502646',), 1396215634: ('0.06561518270502646',), 1396215624: ('0.06561518270502646',), 1396215611: ('0.06561518270502646',), 1396215608: ('0.06561518270502646',), 1396215605: ('0.06561518270502646',), 1396215602: ('0.06561518270502646',), 1396215599: ('0.06561518270502646',), 1396215597: ('0.06561518270502646',), 1396215562: ('0.06561518270502646',), 1396215556: ('0.06561518270502646',)} new output for save of step final : {1396215682: ('0.06561518270502646',), 1396215680: ('0.06561518270502646',), 1396215677: ('0.06561518270502646',), 1396215674: ('0.06561518270502646',), 1396215634: ('0.06561518270502646',), 1396215624: ('0.06561518270502646',), 1396215611: ('0.06561518270502646',), 1396215608: ('0.06561518270502646',), 1396215605: ('0.06561518270502646',), 1396215602: ('0.06561518270502646',), 1396215599: ('0.06561518270502646',), 1396215597: ('0.06561518270502646',), 1396215562: ('0.06561518270502646',), 1396215556: ('0.06561518270502646',)} [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] Looping around the photos to save general results len do output : 14 /1396215682.Didn't retrieve data . /1396215680.Didn't retrieve data . /1396215677.Didn't retrieve data . /1396215674.Didn't retrieve data . /1396215634.Didn't retrieve data . /1396215624.Didn't retrieve data . /1396215611.Didn't retrieve data . /1396215608.Didn't retrieve data . /1396215605.Didn't retrieve data . /1396215602.Didn't retrieve data . /1396215599.Didn't retrieve data . /1396215597.Didn't retrieve data . /1396215562.Didn't retrieve data . /1396215556.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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.017019987106323242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14529919624328613 time spend to save output : 0.01753997802734375 total time spend for step 5 : 0.16283917427062988 step6:blur_detection Wed Nov 26 08:41:22 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/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c.jpg resize: (1080, 1920) 1396215682 -3.816235562014097 treat image : temp/1764142831_3789161_1396215680_f6e8100cc2cc2a5df73e03b0e0b0ae73.jpg resize: (1080, 1920) 1396215680 -0.7330203059440376 treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461.jpg resize: (1080, 1920) 1396215677 -0.2702407011311878 treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca.jpg resize: (1080, 1920) 1396215674 -0.9178911776984724 treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597.jpg resize: (1080, 1920) 1396215634 -4.004712242914169 treat image : temp/1764142831_3789161_1396215624_f584b1718e4e4bc0c00706d2104ba28e.jpg resize: (1080, 1920) 1396215624 -0.8853475183120174 treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b.jpg resize: (1080, 1920) 1396215611 0.8962441697262182 treat image : temp/1764142831_3789161_1396215608_47281a5eb6f042202e63004ad6d9fd42.jpg resize: (1080, 1920) 1396215608 0.941716523382527 treat image : temp/1764142831_3789161_1396215605_4e5ced04a2e66dff766f37d3455596e5.jpg resize: (1080, 1920) 1396215605 -1.6984230606740245 treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c.jpg resize: (1080, 1920) 1396215602 -4.53600911558148 treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada.jpg resize: (1080, 1920) 1396215599 1.7292068803682192 treat image : temp/1764142831_3789161_1396215597_1c7f7186fbf0dda0b40c4048dd921c89.jpg resize: (1080, 1920) 1396215597 -3.9457779663196506 treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae.jpg resize: (1080, 1920) 1396215562 2.124270708882781 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761.jpg resize: (1080, 1920) 1396215556 1.7430858271889025 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951087_0.png resize: (125, 125) 1396222320 -2.4078864464991314 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951086_0.png resize: (118, 179) 1396222321 -0.836980727632206 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951090_0.png resize: (78, 103) 1396222322 0.2821564522684046 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951088_0.png resize: (73, 52) 1396222323 0.8585238216245922 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951091_0.png resize: (43, 43) 1396222324 -2.8406534277557856 treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951094_0.png resize: (137, 248) 1396222325 -2.5876032058113534 treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951093_0.png resize: (128, 69) 1396222326 -1.9595385809757218 treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951092_0.png resize: (112, 109) 1396222327 -1.9833008739859692 treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951096_0.png resize: (44, 83) 1396222328 5.020602216396237 treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951095_0.png resize: (56, 64) 1396222329 0.4217672061378268 treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951098_0.png resize: (134, 89) 1396222330 -1.611654776663208 treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951100_0.png resize: (46, 66) 1396222331 0.05936064183474178 treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951099_0.png resize: (55, 27) 1396222332 -3.4543652812377363 treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951102_0.png resize: (167, 123) 1396222333 -1.5829974966432803 treat image : temp/1764142831_3789161_1396215608_47281a5eb6f042202e63004ad6d9fd42_rle_crop_4045951104_0.png resize: (128, 127) 1396222334 0.4527815487238795 treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951106_0.png resize: (53, 87) 1396222335 -0.10865095033651838 treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951107_0.png resize: (210, 146) 1396222336 -4.36525422907242 treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951108_0.png resize: (137, 42) 1396222337 -0.11366909348497585 treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951110_0.png resize: (119, 95) 1396222338 0.004813290440775315 treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951111_0.png resize: (105, 147) 1396222339 1.3760042936636447 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951116_0.png resize: (86, 100) 1396222340 -0.880971422044737 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951113_0.png resize: (73, 59) 1396222341 0.4431072755550019 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951112_0.png resize: (50, 68) 1396222342 3.167479048015167 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951117_0.png resize: (142, 73) 1396222343 0.8900155703679213 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951115_0.png resize: (74, 74) 1396222344 -1.8927845048463379 treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951089_0.png resize: (77, 57) 1396222345 4.753368006655566 treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951097_0.png resize: (57, 135) 1396222346 -0.4398342878320482 treat image : temp/1764142831_3789161_1396215624_f584b1718e4e4bc0c00706d2104ba28e_rle_crop_4045951101_0.png resize: (170, 204) 1396222374 -2.541288999319961 treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951103_0.png resize: (981, 1570) 1396222375 -0.14770269196274588 treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951105_0.png resize: (517, 306) 1396222377 0.18555383536217515 treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951109_0.png resize: (461, 345) 1396222378 -0.01006879581222412 treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951114_0.png resize: (513, 334) 1396222379 -0.35078841104895536 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 : 46 time used for this insertion : 0.019529342651367188 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.01746344566345215 save missing photos in datou_result : time spend for datou_step_exec : 11.652214288711548 time spend to save output : 0.04320836067199707 total time spend for step 6 : 11.695422649383545 step7:brightness Wed Nov 26 08:41:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c.jpg treat image : temp/1764142831_3789161_1396215680_f6e8100cc2cc2a5df73e03b0e0b0ae73.jpg treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461.jpg treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca.jpg treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597.jpg treat image : temp/1764142831_3789161_1396215624_f584b1718e4e4bc0c00706d2104ba28e.jpg treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b.jpg treat image : temp/1764142831_3789161_1396215608_47281a5eb6f042202e63004ad6d9fd42.jpg treat image : temp/1764142831_3789161_1396215605_4e5ced04a2e66dff766f37d3455596e5.jpg treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c.jpg treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada.jpg treat image : temp/1764142831_3789161_1396215597_1c7f7186fbf0dda0b40c4048dd921c89.jpg treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae.jpg treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761.jpg treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951087_0.png treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951086_0.png treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951090_0.png treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951088_0.png treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951091_0.png treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951094_0.png treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951093_0.png treat image : temp/1764142831_3789161_1396215677_13c0c8850d3794e1f60fd8059942e461_rle_crop_4045951092_0.png treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951096_0.png treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951095_0.png treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951098_0.png treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951100_0.png treat image : temp/1764142831_3789161_1396215634_8774e9961f77a51369dbb23a562bc597_rle_crop_4045951099_0.png treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951102_0.png treat image : temp/1764142831_3789161_1396215608_47281a5eb6f042202e63004ad6d9fd42_rle_crop_4045951104_0.png treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951106_0.png treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951107_0.png treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951108_0.png treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951110_0.png treat image : temp/1764142831_3789161_1396215562_912add87f1a6ce0c00dc95ff227d3dae_rle_crop_4045951111_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951116_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951113_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951112_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951117_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951115_0.png treat image : temp/1764142831_3789161_1396215682_0854c51e2a54c74097fe2e214c225c3c_rle_crop_4045951089_0.png treat image : temp/1764142831_3789161_1396215674_000109b4733b39a35cb4e20977dc50ca_rle_crop_4045951097_0.png treat image : temp/1764142831_3789161_1396215624_f584b1718e4e4bc0c00706d2104ba28e_rle_crop_4045951101_0.png treat image : temp/1764142831_3789161_1396215611_23e86a65681b38def856b2ecad0bb51b_rle_crop_4045951103_0.png treat image : temp/1764142831_3789161_1396215602_102741f2bbdabf3b0c3372fdc16b1a8c_rle_crop_4045951105_0.png treat image : temp/1764142831_3789161_1396215599_cf5fba2bb794dab724e93c53638f8ada_rle_crop_4045951109_0.png treat image : temp/1764142831_3789161_1396215556_bd61697f2aa06a8364d2e52d6e9ad761_rle_crop_4045951114_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 : 46 time used for this insertion : 0.016659259796142578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.015366077423095703 save missing photos in datou_result : time spend for datou_step_exec : 3.3904778957366943 time spend to save output : 0.03750944137573242 total time spend for step 7 : 3.4279873371124268 step8:velours_tree Wed Nov 26 08:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.1324305534362793 time spend to save output : 3.218650817871094e-05 total time spend for step 8 : 0.132462739944458 step9:send_mail_cod Wed Nov 26 08:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P28913886_26-11-2025_08_41_38.pdf 28914156 change filename to text .change filename to text .imagette289141561764142898 28914157 imagette289141571764142898 28914158 imagette289141581764142898 28914161 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette289141611764142898 28914162 imagette289141621764142898 28914164 imagette289141641764142898 28914165 imagette289141651764142898 28914166 imagette289141661764142898 28914168 imagette289141681764142898 28914169 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 .imagette289141691764142898 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28913886 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28914156,28914157,28914158,28914160,28914161,28914162,28914164,28914165,28914166,28914168,28914169?tags=carton,background,autre,environnement,pet_clair,mal_croppe,pet_fonce,pehd,metal,flou,papier args[1396215682] : ((1396215682, -3.816235562014097, 492609224), (1396215682, 0.23329457547469223, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215680] : ((1396215680, -0.7330203059440376, 492688767), (1396215680, 0.0866764393074449, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215677] : ((1396215677, -0.2702407011311878, 492688767), (1396215677, 0.1463550286603454, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215674] : ((1396215674, -0.9178911776984724, 492688767), (1396215674, 0.609974654847636, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215634] : ((1396215634, -4.004712242914169, 492609224), (1396215634, 0.4314697695274476, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215624] : ((1396215624, -0.8853475183120174, 492688767), (1396215624, 0.6304214012610916, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215611] : ((1396215611, 0.8962441697262182, 492688767), (1396215611, 0.36226240609113114, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215608] : ((1396215608, 0.941716523382527, 492688767), (1396215608, 1.0177183397140976, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215605] : ((1396215605, -1.6984230606740245, 492688767), (1396215605, 1.5523848516270071, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215602] : ((1396215602, -4.53600911558148, 492609224), (1396215602, 0.33887444435130765, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215599] : ((1396215599, 1.7292068803682192, 492688767), (1396215599, 0.46296821509977065, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215597] : ((1396215597, -3.9457779663196506, 492609224), (1396215597, 0.3760771515738935, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215562] : ((1396215562, 2.124270708882781, 492688767), (1396215562, 0.933969757145505, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com args[1396215556] : ((1396215556, 1.7430858271889025, 492688767), (1396215556, 0.2622200731708574, 2107752395), '0.06561518270502646') We are sending mail with results at report@fotonower.com refus_total : 0.06561518270502646 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28913886 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_P28913886_26-11-2025_08_41_38.pdf results_Auto_P28913886_26-11-2025_08_41_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913886_26-11-2025_08_41_38.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','28913886','results_Auto_P28913886_26-11-2025_08_41_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913886_26-11-2025_08_41_38.pdf','pdf','','0.34','0.06561518270502646') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28913886

https://www.fotonower.com/image?json=false&list_photos_id=1396215682
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215680
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215677
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215674
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215634
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215624
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215611
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215608
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215605
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215602
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215599
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7292068803682192)
https://www.fotonower.com/image?json=false&list_photos_id=1396215597
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396215562
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.124270708882781)
https://www.fotonower.com/image?json=false&list_photos_id=1396215556
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7430858271889025)

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

exemples de contaminants: carton: https://www.fotonower.com/view/28914156?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28914161?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28914169?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913886_26-11-2025_08_41_38.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28914156,28914157,28914158,28914160,28914161,28914162,28914164,28914165,28914166,28914168,28914169?tags=carton,background,autre,environnement,pet_clair,mal_croppe,pet_fonce,pehd,metal,flou,papier.


L'équipe Fotonower 202 b'' Date: Wed, 26 Nov 2025 07:41:42 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: OO1bBDV0TYCFQeK2feffOQ 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 [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] 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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.020039796829223633 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.562995195388794 time spend to save output : 0.020274877548217773 total time spend for step 9 : 4.583270072937012 step10:split_time_score Wed Nov 26 08:41: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 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', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26112025 28913886 Nombre de photos uploadées : 14 / 23040 (0%) 26112025 28913886 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 26112025 28913886 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006449222564697266 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2562737464904785 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.06561518270502646 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913886_26-11-2025_08_41_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28913886 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`=28913886 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26112025': {'nb_upload': 14, '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 [1396215682, 1396215680, 1396215677, 1396215674, 1396215634, 1396215624, 1396215611, 1396215608, 1396215605, 1396215602, 1396215599, 1396215597, 1396215562, 1396215556] Looping around the photos to save general results len do output : 1 /28913886Didn'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, '4119106') ('3318', '28913886', '1396215682', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215680', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215677', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215674', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215634', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215624', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215611', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215608', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215605', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215602', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215599', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215597', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215562', None, None, None, None, None, '4119106') ('3318', None, None, None, None, None, None, None, '4119106') ('3318', '28913886', '1396215556', None, None, None, None, None, '4119106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.020839691162109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.543954610824585 time spend to save output : 0.021086454391479492 total time spend for step 10 : 0.5650410652160645 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 41.98user 18.23system 1:17.30elapsed 77%CPU (0avgtext+0avgdata 2802592maxresident)k 548280inputs+22696outputs (749major+1513920minor)pagefaults 0swaps