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 : 2413437 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 : ['4034968'] with mtr_portfolio_ids : ['28442120'] and first list_photo_ids : [] new path : /proc/2413437/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.4212660789489746 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 12 08:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-12 08:40:33.741135: 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-12 08:40:33.770708: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-12 08:40:33.772587: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f18b8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-12 08:40:33.772629: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-12 08:40:33.777310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-12 08:40:34.099741: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29e979d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-12 08:40:34.099796: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-12 08:40:34.104824: 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-12 08:40:34.105277: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-12 08:40:34.108403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-12 08:40:34.115418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-12 08:40:34.115835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-12 08:40:34.137798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-12 08:40:34.140781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-12 08:40:34.170649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-12 08:40:34.172539: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-12 08:40:34.172956: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-12 08:40:34.173925: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-12 08:40:34.173945: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-12 08:40:34.173956: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-12 08:40:34.176248: 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-12 08:40:34.476611: 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-12 08:40:34.476812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-12 08:40:34.476864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-12 08:40:34.476909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-12 08:40:34.476952: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-12 08:40:34.476997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-12 08:40:34.477044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-12 08:40:34.477082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-12 08:40:34.479326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-12 08:40:34.481441: 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-12 08:40:34.481542: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-12 08:40:34.481574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-12 08:40:34.481603: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-12 08:40:34.481630: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-12 08:40:34.481658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-12 08:40:34.481684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-12 08:40:34.481711: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-12 08:40:34.483470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-12 08:40:34.483535: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-12 08:40:34.483552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-12 08:40:34.483565: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-12 08:40:34.485303: 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-12 08:40:42.201078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-12 08:40:42.383409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 41.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: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 53.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: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 2414108 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 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'] time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 3105 time to create 1 rle with old method : 0.0035004615783691406 length of segment : 72 time for calcul the mask position with numpy : 0.00020837783813476562 nb_pixel_total : 10518 time to create 1 rle with old method : 0.011780977249145508 length of segment : 150 time for calcul the mask position with numpy : 0.07770776748657227 nb_pixel_total : 931024 time to create 1 rle with new method : 0.05965089797973633 length of segment : 2357 time for calcul the mask position with numpy : 0.0004999637603759766 nb_pixel_total : 32600 time to create 1 rle with old method : 0.033986806869506836 length of segment : 432 time for calcul the mask position with numpy : 8.535385131835938e-05 nb_pixel_total : 3193 time to create 1 rle with old method : 0.0035538673400878906 length of segment : 74 time for calcul the mask position with numpy : 0.0013668537139892578 nb_pixel_total : 107347 time to create 1 rle with old method : 0.1155850887298584 length of segment : 544 time for calcul the mask position with numpy : 0.00018095970153808594 nb_pixel_total : 11394 time to create 1 rle with old method : 0.012233257293701172 length of segment : 99 time for calcul the mask position with numpy : 0.001798391342163086 nb_pixel_total : 115121 time to create 1 rle with old method : 0.12475252151489258 length of segment : 564 time for calcul the mask position with numpy : 0.0006301403045654297 nb_pixel_total : 36871 time to create 1 rle with old method : 0.039099931716918945 length of segment : 350 time for calcul the mask position with numpy : 0.00038170814514160156 nb_pixel_total : 9433 time to create 1 rle with old method : 0.010489225387573242 length of segment : 139 time for calcul the mask position with numpy : 0.3991231918334961 nb_pixel_total : 1199314 time to create 1 rle with new method : 0.055581092834472656 length of segment : 1438 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 7226 time to create 1 rle with old method : 0.00814676284790039 length of segment : 95 time for calcul the mask position with numpy : 0.00010085105895996094 nb_pixel_total : 4948 time to create 1 rle with old method : 0.005777120590209961 length of segment : 67 time for calcul the mask position with numpy : 0.022311925888061523 nb_pixel_total : 1059395 time to create 1 rle with new method : 0.07528471946716309 length of segment : 1679 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 3636 time to create 1 rle with old method : 0.004247188568115234 length of segment : 33 time for calcul the mask position with numpy : 0.0011627674102783203 nb_pixel_total : 61004 time to create 1 rle with old method : 0.10086464881896973 length of segment : 197 time for calcul the mask position with numpy : 0.00042700767517089844 nb_pixel_total : 23577 time to create 1 rle with old method : 0.026247024536132812 length of segment : 165 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 12419 time to create 1 rle with old method : 0.013887882232666016 length of segment : 134 time for calcul the mask position with numpy : 0.0004050731658935547 nb_pixel_total : 19164 time to create 1 rle with old method : 0.021567583084106445 length of segment : 175 time for calcul the mask position with numpy : 8.988380432128906e-05 nb_pixel_total : 1590 time to create 1 rle with old method : 0.001844167709350586 length of segment : 36 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 3224 time to create 1 rle with old method : 0.0036437511444091797 length of segment : 71 time for calcul the mask position with numpy : 0.0007636547088623047 nb_pixel_total : 45751 time to create 1 rle with old method : 0.04951763153076172 length of segment : 145 time for calcul the mask position with numpy : 0.007817268371582031 nb_pixel_total : 499472 time to create 1 rle with new method : 0.031052827835083008 length of segment : 1287 time for calcul the mask position with numpy : 0.00021028518676757812 nb_pixel_total : 15076 time to create 1 rle with old method : 0.016773700714111328 length of segment : 170 time for calcul the mask position with numpy : 0.0023398399353027344 nb_pixel_total : 115562 time to create 1 rle with old method : 0.12099337577819824 length of segment : 570 time for calcul the mask position with numpy : 0.0008766651153564453 nb_pixel_total : 40027 time to create 1 rle with old method : 0.04261136054992676 length of segment : 371 time spent for convertir_results : 3.5905637741088867 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 26 chid ids of type : 3594 Number RLEs to save : 11414 save missing photos in datou_result : time spend for datou_step_exec : 24.939988613128662 time spend to save output : 0.7189052104949951 total time spend for step 1 : 25.658893823623657 step2:crop_condition Wed Nov 12 08:40:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 26 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762933256_2413437 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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038861_0.png', 0, 106, 138, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038860_0.png', 0, 65, 72, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038864_0.png', 0, 68, 74, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038869_0.png', 0, 179, 139, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038874_0.png', 0, 143, 32, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038872_0.png', 0, 103, 67, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038871_0.png', 0, 134, 95, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038877_0.png', 0, 129, 127, 0, 1762933258,'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(1762933258), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993663_7d172a423e35de0847dcece725f89ddb_rle_crop_4031038880_0.png', 0, 70, 71, 0, 1762933258,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.5406136512756348 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/1762933260_2413437 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(1762933260), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038865_0.png', 0, 322, 535, 0, 1762933260,'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(1762933260), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038868_0.png', 0, 207, 348, 0, 1762933260,'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.8638532161712646 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762933277_2413437 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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038862_0.png', 0, 1602, 889, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038866_0.png', 0, 185, 90, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038867_0.png', 0, 362, 555, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993667_74594ca2628c67b8e6ace1b37b50140e_rle_crop_4031038870_0.png', 0, 1357, 986, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038873_0.png', 0, 1318, 989, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038875_0.png', 0, 396, 194, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038876_0.png', 0, 291, 145, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038878_0.png', 0, 295, 113, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038879_0.png', 0, 54, 36, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038882_0.png', 0, 928, 886, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038881_0.png', 0, 472, 138, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038883_0.png', 0, 130, 159, 0, 1762933279,'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(1762933279), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038884_0.png', 0, 361, 562, 0, 1762933279,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.025534152984619 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1762933281_2413437 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(1762933281), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038863_0.png', 0, 153, 365, 0, 1762933281,'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(1762933281), 0.0, 0.0, 14, '', 0, 0, '1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038885_0.png', 0, 159, 360, 0, 1762933281,'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.7299067974090576 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] Looping around the photos to save general results len do output : 26 /1394007353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1394007390Didn'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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.02346324920654297 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.623502731323242 time spend to save output : 0.02469015121459961 total time spend for step 2 : 25.648192882537842 step3:rle_unique_nms_with_priority Wed Nov 12 08:41:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 26 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.22635722160339355 time for calcul the mask position with numpy : 0.07733750343322754 nb_pixel_total : 1136546 time to create 1 rle with new method : 0.07432246208190918 time for calcul the mask position with numpy : 0.04167437553405762 nb_pixel_total : 923431 time to create 1 rle with new method : 0.09881329536437988 time for calcul the mask position with numpy : 0.007447957992553711 nb_pixel_total : 10518 time to create 1 rle with old method : 0.012146949768066406 time for calcul the mask position with numpy : 0.006924152374267578 nb_pixel_total : 3105 time to create 1 rle with old method : 0.005329608917236328 create new chi : 0.3423423767089844 time to delete rle : 0.02497267723083496 batch 1 Loaded 7 chid ids of type : 3594 +++++++++++Number RLEs to save : 6196 TO DO : save crop sub photo not yet done ! save time : 0.4157559871673584 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.3237323760986328 time for calcul the mask position with numpy : 0.06197977066040039 nb_pixel_total : 1930460 time to create 1 rle with new method : 0.16324520111083984 time for calcul the mask position with numpy : 0.006806850433349609 nb_pixel_total : 107347 time to create 1 rle with old method : 0.11510062217712402 time for calcul the mask position with numpy : 0.007189273834228516 nb_pixel_total : 3193 time to create 1 rle with old method : 0.005657196044921875 time for calcul the mask position with numpy : 0.0069789886474609375 nb_pixel_total : 32600 time to create 1 rle with old method : 0.05303382873535156 create new chi : 0.43044352531433105 time to delete rle : 0.0006058216094970703 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 3180 TO DO : save crop sub photo not yet done ! save time : 0.23505306243896484 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.1443641185760498 time for calcul the mask position with numpy : 0.06309318542480469 nb_pixel_total : 1900781 time to create 1 rle with new method : 0.1547541618347168 time for calcul the mask position with numpy : 0.0066683292388916016 nb_pixel_total : 9433 time to create 1 rle with old method : 0.010770797729492188 time for calcul the mask position with numpy : 0.006463050842285156 nb_pixel_total : 36871 time to create 1 rle with old method : 0.041123151779174805 time for calcul the mask position with numpy : 0.006682395935058594 nb_pixel_total : 115121 time to create 1 rle with old method : 0.12658214569091797 time for calcul the mask position with numpy : 0.006276607513427734 nb_pixel_total : 11394 time to create 1 rle with old method : 0.01293325424194336 create new chi : 0.4454636573791504 time to delete rle : 0.0005750656127929688 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3384 TO DO : save crop sub photo not yet done ! save time : 0.25284361839294434 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.042040109634399414 time for calcul the mask position with numpy : 0.01180124282836914 nb_pixel_total : 874286 time to create 1 rle with new method : 0.02907538414001465 time for calcul the mask position with numpy : 0.013981819152832031 nb_pixel_total : 1199314 time to create 1 rle with new method : 0.028972625732421875 create new chi : 0.08433938026428223 time to delete rle : 0.00037217140197753906 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 3956 TO DO : save crop sub photo not yet done ! save time : 0.25507616996765137 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07220029830932617 time for calcul the mask position with numpy : 0.014939546585083008 nb_pixel_total : 1003958 time to create 1 rle with new method : 0.09793663024902344 time for calcul the mask position with numpy : 0.006895303726196289 nb_pixel_total : 3636 time to create 1 rle with old method : 0.004798173904418945 time for calcul the mask position with numpy : 0.015829801559448242 nb_pixel_total : 1053832 time to create 1 rle with new method : 0.17051482200622559 time for calcul the mask position with numpy : 0.0073773860931396484 nb_pixel_total : 4948 time to create 1 rle with old method : 0.005551338195800781 time for calcul the mask position with numpy : 0.007189750671386719 nb_pixel_total : 7226 time to create 1 rle with old method : 0.008002758026123047 create new chi : 0.35674381256103516 time to delete rle : 0.0009455680847167969 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4776 TO DO : save crop sub photo not yet done ! save time : 0.3180854320526123 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.048517704010009766 time for calcul the mask position with numpy : 0.025609254837036133 nb_pixel_total : 1976600 time to create 1 rle with new method : 0.08027911186218262 time for calcul the mask position with numpy : 0.006341457366943359 nb_pixel_total : 12419 time to create 1 rle with old method : 0.014165401458740234 time for calcul the mask position with numpy : 0.006713390350341797 nb_pixel_total : 23577 time to create 1 rle with old method : 0.02660536766052246 time for calcul the mask position with numpy : 0.0072443485260009766 nb_pixel_total : 61004 time to create 1 rle with old method : 0.06853079795837402 create new chi : 0.2470090389251709 time to delete rle : 0.00032210350036621094 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 2072 TO DO : save crop sub photo not yet done ! save time : 0.17082953453063965 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04837799072265625 time for calcul the mask position with numpy : 0.023568391799926758 nb_pixel_total : 2052846 time to create 1 rle with new method : 0.1105661392211914 time for calcul the mask position with numpy : 0.00653529167175293 nb_pixel_total : 1590 time to create 1 rle with old method : 0.0017733573913574219 time for calcul the mask position with numpy : 0.005950927734375 nb_pixel_total : 19164 time to create 1 rle with old method : 0.021430015563964844 create new chi : 0.17679572105407715 time to delete rle : 0.0002627372741699219 batch 1 Loaded 5 chid ids of type : 3594 +++++Number RLEs to save : 1502 TO DO : save crop sub photo not yet done ! save time : 0.14014077186584473 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06659412384033203 time for calcul the mask position with numpy : 0.1692647933959961 nb_pixel_total : 2070376 time to create 1 rle with new method : 0.09063220024108887 time for calcul the mask position with numpy : 0.006480216979980469 nb_pixel_total : 3224 time to create 1 rle with old method : 0.003736734390258789 create new chi : 0.2803764343261719 time to delete rle : 0.0002434253692626953 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1222 TO DO : save crop sub photo not yet done ! save time : 0.12518310546875 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.16595149040222168 time for calcul the mask position with numpy : 0.051250457763671875 nb_pixel_total : 1513301 time to create 1 rle with new method : 0.18828248977661133 time for calcul the mask position with numpy : 0.0069882869720458984 nb_pixel_total : 15076 time to create 1 rle with old method : 0.017339229583740234 time for calcul the mask position with numpy : 0.009325265884399414 nb_pixel_total : 499472 time to create 1 rle with new method : 0.13079380989074707 time for calcul the mask position with numpy : 0.0069675445556640625 nb_pixel_total : 45751 time to create 1 rle with old method : 0.06845378875732422 create new chi : 0.48998165130615234 time to delete rle : 0.0006856918334960938 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4284 TO DO : save crop sub photo not yet done ! save time : 0.2845602035522461 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07517361640930176 time for calcul the mask position with numpy : 0.025701045989990234 nb_pixel_total : 1918011 time to create 1 rle with new method : 0.12539005279541016 time for calcul the mask position with numpy : 0.007453203201293945 nb_pixel_total : 40027 time to create 1 rle with old method : 0.04582977294921875 time for calcul the mask position with numpy : 0.01183938980102539 nb_pixel_total : 115562 time to create 1 rle with old method : 0.1286163330078125 create new chi : 0.3574545383453369 time to delete rle : 0.0004909038543701172 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2962 TO DO : save crop sub photo not yet done ! save time : 0.2183375358581543 map_output_result : {1393993703: (0.0, 'Should be the crop_list due to order', 0), 1393993700: (0.0, 'Should be the crop_list due to order', 0), 1393993669: (0.0, 'Should be the crop_list due to order', 0), 1393993667: (0.0, 'Should be the crop_list due to order', 0), 1393993666: (0.0, 'Should be the crop_list due to order', 0), 1393993665: (0.0, 'Should be the crop_list due to order', 0), 1393993664: (0.0, 'Should be the crop_list due to order', 0), 1393993663: (0.0, 'Should be the crop_list due to order', 0), 1393993617: (0.0, 'Should be the crop_list due to order', 0), 1393993613: (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 [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] Looping around the photos to save general results len do output : 10 /1393993703.Didn't retrieve data . /1393993700.Didn't retrieve data . /1393993669.Didn't retrieve data . /1393993667.Didn't retrieve data . /1393993666.Didn't retrieve data . /1393993665.Didn't retrieve data . /1393993664.Didn't retrieve data . /1393993663.Didn't retrieve data . /1393993617.Didn't retrieve data . /1393993613.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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014138460159301758 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.28470253944397 time spend to save output : 0.014585733413696289 total time spend for step 3 : 7.299288272857666 step4:ventilate_hashtags_in_portfolio Wed Nov 12 08:41:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 28442120 get user id for portfolio 28442120 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`=28442120 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','papier','mal_croppe','environnement','autre','carton','pehd','metal','pet_clair','pet_fonce')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28442120 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','papier','mal_croppe','environnement','autre','carton','pehd','metal','pet_clair','pet_fonce')) AND mptpi.`min_score`=0.5 To do 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`=28442120 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','papier','mal_croppe','environnement','autre','carton','pehd','metal','pet_clair','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28445026,28445027,28445028,28445029,28445030,28445031,28445032,28445033,28445034,28445035,28445036?tags=flou,background,papier,mal_croppe,environnement,autre,carton,pehd,metal,pet_clair,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] Looping around the photos to save general results len do output : 1 /28442120. 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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017730236053466797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7362585067749023 time spend to save output : 0.01802372932434082 total time spend for step 4 : 0.7542822360992432 step5:final Wed Nov 12 08:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1393993703: ('0.21020616319444452',), 1393993700: ('0.21020616319444452',), 1393993669: ('0.21020616319444452',), 1393993667: ('0.21020616319444452',), 1393993666: ('0.21020616319444452',), 1393993665: ('0.21020616319444452',), 1393993664: ('0.21020616319444452',), 1393993663: ('0.21020616319444452',), 1393993617: ('0.21020616319444452',), 1393993613: ('0.21020616319444452',)} new output for save of step final : {1393993703: ('0.21020616319444452',), 1393993700: ('0.21020616319444452',), 1393993669: ('0.21020616319444452',), 1393993667: ('0.21020616319444452',), 1393993666: ('0.21020616319444452',), 1393993665: ('0.21020616319444452',), 1393993664: ('0.21020616319444452',), 1393993663: ('0.21020616319444452',), 1393993617: ('0.21020616319444452',), 1393993613: ('0.21020616319444452',)} [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] Looping around the photos to save general results len do output : 10 /1393993703.Didn't retrieve data . /1393993700.Didn't retrieve data . /1393993669.Didn't retrieve data . /1393993667.Didn't retrieve data . /1393993666.Didn't retrieve data . /1393993665.Didn't retrieve data . /1393993664.Didn't retrieve data . /1393993663.Didn't retrieve data . /1393993617.Didn't retrieve data . /1393993613.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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013056278228759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12079358100891113 time spend to save output : 0.013573408126831055 total time spend for step 5 : 0.1343669891357422 step6:blur_detection Wed Nov 12 08:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c.jpg resize: (1080, 1920) 1393993703 1.4565440985103555 treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b.jpg resize: (1080, 1920) 1393993700 1.0474993736532001 treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3.jpg resize: (1080, 1920) 1393993669 -3.9026276263708515 treat image : temp/1762933228_2413437_1393993667_74594ca2628c67b8e6ace1b37b50140e.jpg resize: (1080, 1920) 1393993667 0.5126922432609088 treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85.jpg resize: (1080, 1920) 1393993666 0.17302768475922037 treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc.jpg resize: (1080, 1920) 1393993665 0.6383402281455057 treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f.jpg resize: (1080, 1920) 1393993664 -0.27455717429296733 treat image : temp/1762933228_2413437_1393993663_7d172a423e35de0847dcece725f89ddb.jpg resize: (1080, 1920) 1393993663 -2.889485320309233 treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd.jpg resize: (1080, 1920) 1393993617 0.30049810451945896 treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a.jpg resize: (1080, 1920) 1393993613 -3.782981369398505 treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038861_0.png resize: (138, 106) 1394007353 -1.105120725343417 treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038860_0.png resize: (72, 65) 1394007354 -1.248744462025185 treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038864_0.png resize: (74, 68) 1394007355 -1.4293442657086999 treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038869_0.png resize: (139, 179) 1394007356 -2.589104085314176 treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038874_0.png resize: (32, 143) 1394007357 1.8842975415216197 treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038872_0.png resize: (67, 103) 1394007358 -2.711545282212036 treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038871_0.png resize: (95, 134) 1394007359 -0.7595007129964803 treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038877_0.png resize: (127, 129) 1394007360 -0.4582813078401614 treat image : temp/1762933228_2413437_1393993663_7d172a423e35de0847dcece725f89ddb_rle_crop_4031038880_0.png resize: (71, 70) 1394007361 -1.3918249454459677 treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038865_0.png resize: (535, 322) 1394007362 0.3424543056362058 treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038868_0.png resize: (348, 207) 1394007363 -1.914167332696645 treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038862_0.png resize: (889, 1602) 1394007374 -1.6300311605494506 treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038866_0.png resize: (90, 185) 1394007375 -2.0987902683277206 treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038867_0.png resize: (555, 362) 1394007376 0.3203863134371952 treat image : temp/1762933228_2413437_1393993667_74594ca2628c67b8e6ace1b37b50140e_rle_crop_4031038870_0.png resize: (986, 1357) 1394007377 -0.399829493979987 treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038873_0.png resize: (989, 1318) 1394007378 -0.603848724409759 treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038875_0.png resize: (194, 396) 1394007379 -0.0023480682328075766 treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038876_0.png resize: (145, 291) 1394007380 -1.0919074925448138 treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038878_0.png resize: (113, 295) 1394007381 -2.01641875701078 treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038879_0.png resize: (36, 54) 1394007382 1.624528262679822 treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038882_0.png resize: (886, 928) 1394007383 -0.6181805210069728 treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038881_0.png resize: (138, 472) 1394007384 -0.6337873956166009 treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038883_0.png resize: (159, 130) 1394007385 0.0018528367676049222 treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038884_0.png resize: (562, 361) 1394007386 0.4160199036325323 treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038863_0.png resize: (365, 153) 1394007389 -1.5128979456233085 treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038885_0.png resize: (360, 159) 1394007390 -1.0681399974439931 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 : 36 time used for this insertion : 0.015874385833740234 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.018009185791015625 save missing photos in datou_result : time spend for datou_step_exec : 10.044600009918213 time spend to save output : 0.038465261459350586 total time spend for step 6 : 10.083065271377563 step7:brightness Wed Nov 12 08:41:39 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/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c.jpg treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b.jpg treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3.jpg treat image : temp/1762933228_2413437_1393993667_74594ca2628c67b8e6ace1b37b50140e.jpg treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85.jpg treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc.jpg treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f.jpg treat image : temp/1762933228_2413437_1393993663_7d172a423e35de0847dcece725f89ddb.jpg treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd.jpg treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a.jpg treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038861_0.png treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038860_0.png treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038864_0.png treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038869_0.png treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038874_0.png treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038872_0.png treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038871_0.png treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038877_0.png treat image : temp/1762933228_2413437_1393993663_7d172a423e35de0847dcece725f89ddb_rle_crop_4031038880_0.png treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038865_0.png treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038868_0.png treat image : temp/1762933228_2413437_1393993703_d54ae97adb845bd65795fae266443d9c_rle_crop_4031038862_0.png treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038866_0.png treat image : temp/1762933228_2413437_1393993669_5f173969d1dd5e2fe1376ebeef83f8e3_rle_crop_4031038867_0.png treat image : temp/1762933228_2413437_1393993667_74594ca2628c67b8e6ace1b37b50140e_rle_crop_4031038870_0.png treat image : temp/1762933228_2413437_1393993666_ca4854b6ace48d0c381bbbbb9d07bb85_rle_crop_4031038873_0.png treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038875_0.png treat image : temp/1762933228_2413437_1393993665_75a1a1c7ff7289ae2792caa75cf751cc_rle_crop_4031038876_0.png treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038878_0.png treat image : temp/1762933228_2413437_1393993664_19573528bbb01f011b5ca860c857df0f_rle_crop_4031038879_0.png treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038882_0.png treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038881_0.png treat image : temp/1762933228_2413437_1393993617_9163ae4e2b4e38ff55b57c8562e7f2bd_rle_crop_4031038883_0.png treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038884_0.png treat image : temp/1762933228_2413437_1393993700_ce43d0ab070c88d249ec1e48d8511c0b_rle_crop_4031038863_0.png treat image : temp/1762933228_2413437_1393993613_555f10271a85e5f5beb539b5f3a74c4a_rle_crop_4031038885_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 : 36 time used for this insertion : 0.014058828353881836 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.015842914581298828 save missing photos in datou_result : time spend for datou_step_exec : 2.893040895462036 time spend to save output : 0.0342249870300293 total time spend for step 7 : 2.9272658824920654 step8:velours_tree Wed Nov 12 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 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.08450913429260254 time spend to save output : 3.9577484130859375e-05 total time spend for step 8 : 0.0845487117767334 step9:send_mail_cod Wed Nov 12 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 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_P28442120_12-11-2025_08_41_42.pdf 28445026 imagette284450261762933302 28445027 imagette284450271762933302 28445028 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 .imagette284450281762933302 28445029 imagette284450291762933303 28445031 change filename to text .change filename to text .imagette284450311762933303 28445032 change filename to text .change filename to text .imagette284450321762933303 28445033 imagette284450331762933303 28445034 imagette284450341762933303 28445035 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 .imagette284450351762933303 28445036 imagette284450361762933305 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28442120 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28445026,28445027,28445028,28445029,28445030,28445031,28445032,28445033,28445034,28445035,28445036?tags=flou,background,papier,mal_croppe,environnement,autre,carton,pehd,metal,pet_clair,pet_fonce args[1393993703] : ((1393993703, 1.4565440985103555, 492688767), (1393993703, 0.42055502722569443, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993700] : ((1393993700, 1.0474993736532001, 492688767), (1393993700, 0.3855811654973649, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993669] : ((1393993669, -3.9026276263708515, 492609224), (1393993669, 0.6514194514391346, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993667] : ((1393993667, 0.5126922432609088, 492688767), (1393993667, 0.4835985145565984, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993666] : ((1393993666, 0.17302768475922037, 492688767), (1393993666, 0.8457997698455394, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993665] : ((1393993665, 0.6383402281455057, 492688767), (1393993665, 0.2512957088192567, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993664] : ((1393993664, -0.27455717429296733, 492688767), (1393993664, 0.6436579461997177, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993663] : ((1393993663, -2.889485320309233, 492609224), (1393993663, 0.4169830158362494, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993617] : ((1393993617, 0.30049810451945896, 492688767), (1393993617, 0.48172190691937133, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com args[1393993613] : ((1393993613, -3.782981369398505, 492609224), (1393993613, 0.7169964588467422, 2107752395), '0.21020616319444452') We are sending mail with results at report@fotonower.com refus_total : 0.21020616319444452 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=28442120 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_P28442120_12-11-2025_08_41_42.pdf results_Auto_P28442120_12-11-2025_08_41_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442120_12-11-2025_08_41_42.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','28442120','results_Auto_P28442120_12-11-2025_08_41_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442120_12-11-2025_08_41_42.pdf','pdf','','0.52','0.21020616319444452') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28442120

https://www.fotonower.com/image?json=false&list_photos_id=1393993703
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4565440985103555)
https://www.fotonower.com/image?json=false&list_photos_id=1393993700
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0474993736532001)
https://www.fotonower.com/image?json=false&list_photos_id=1393993669
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993667
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993666
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993665
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993664
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993663
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993617
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393993613
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28445028?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28445031?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28445032?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28445035?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442120_12-11-2025_08_41_42.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28445026,28445027,28445028,28445029,28445030,28445031,28445032,28445033,28445034,28445035,28445036?tags=flou,background,papier,mal_croppe,environnement,autre,carton,pehd,metal,pet_clair,pet_fonce.


L'équipe Fotonower 202 b'' Date: Wed, 12 Nov 2025 07:41:47 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: Lte30_1rSD60auuXMQMMew 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 [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] 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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01385951042175293 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.5086658000946045 time spend to save output : 0.01404571533203125 total time spend for step 9 : 4.522711515426636 step10:split_time_score Wed Nov 12 08:41:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('06', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12112025 28442120 Nombre de photos uploadées : 10 / 23040 (0%) 12112025 28442120 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 12112025 28442120 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005016326904296875 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21356558799743652 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.21020616319444452 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442120_12-11-2025_08_41_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28442120 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`=28442120 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12112025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393993703, 1393993700, 1393993669, 1393993667, 1393993666, 1393993665, 1393993664, 1393993663, 1393993617, 1393993613] Looping around the photos to save general results len do output : 1 /28442120Didn'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, '4034968') ('3318', '28442120', '1393993703', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993700', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993669', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993667', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993666', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993665', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993664', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993663', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993617', None, None, None, None, None, '4034968') ('3318', None, None, None, None, None, None, None, '4034968') ('3318', '28442120', '1393993613', None, None, None, None, None, '4034968') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.0931239128112793 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4526376724243164 time spend to save output : 0.09330916404724121 total time spend for step 10 : 0.5459468364715576 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 50.89user 17.63system 1:22.30elapsed 83%CPU (0avgtext+0avgdata 2682696maxresident)k 640616inputs+35648outputs (4677major+1576236minor)pagefaults 0swaps