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 : 2522145 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 : ['4093068'] with mtr_portfolio_ids : ['28789011'] and first list_photo_ids : [] new path : /proc/2522145/ 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.459294319152832 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 Fri Nov 21 19:20: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-21 19:20:33.047534: 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-21 19:20:33.074413: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-21 19:20:33.076703: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f888c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-21 19:20:33.076766: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-21 19:20:33.080814: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-21 19:20:33.372803: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2f2647a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-21 19:20:33.372863: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-21 19:20:33.374202: 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-21 19:20:33.374674: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-21 19:20:33.381564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-21 19:20:33.384173: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-21 19:20:33.384609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-21 19:20:33.388192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-21 19:20:33.389495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-21 19:20:33.396028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-21 19:20:33.397503: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-21 19:20:33.397590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-21 19:20:33.398346: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-21 19:20:33.398363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-21 19:20:33.398371: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-21 19:20:33.400488: 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-21 19:20:33.677637: 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-21 19:20:33.677758: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-21 19:20:33.677780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-21 19:20:33.677800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-21 19:20:33.677819: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-21 19:20:33.677838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-21 19:20:33.677857: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-21 19:20:33.677876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-21 19:20:33.679510: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-21 19:20:33.680948: 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-21 19:20:33.680998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-21 19:20:33.681027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-21 19:20:33.681048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-21 19:20:33.681069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-21 19:20:33.681090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-21 19:20:33.681110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-21 19:20:33.681131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-21 19:20:33.682819: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-21 19:20:33.682859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-21 19:20:33.682870: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-21 19:20:33.682880: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-21 19:20:33.684371: 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-21 19:20:41.611355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-21 19:20:41.793433: 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: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.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: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2522818 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 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 : 10196 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [858, 1077, 1059, 1320] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005600452423095703 nb_pixel_total : 29378 time to create 1 rle with old method : 0.03296160697937012 length of segment : 198 DEBUG bbox = [6, 1176, 57, 1248] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.486343383789062e-05 nb_pixel_total : 2825 time to create 1 rle with old method : 0.0034575462341308594 length of segment : 47 DEBUG bbox = [924, 756, 1080, 1014] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 21442 time to create 1 rle with old method : 0.02404642105102539 length of segment : 156 DEBUG bbox = [126, 1710, 222, 1875] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001842975616455078 nb_pixel_total : 11053 time to create 1 rle with old method : 0.012810707092285156 length of segment : 89 DEBUG bbox = [726, 510, 918, 711] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 9104 time to create 1 rle with old method : 0.010850191116333008 length of segment : 167 DEBUG bbox = [945, 510, 1071, 699] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002529621124267578 nb_pixel_total : 17957 time to create 1 rle with old method : 0.02034783363342285 length of segment : 126 DEBUG bbox = [840, 786, 978, 849] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 5103 time to create 1 rle with old method : 0.0059604644775390625 length of segment : 134 DEBUG bbox = [819, 870, 861, 912] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.459785461425781e-05 nb_pixel_total : 979 time to create 1 rle with old method : 0.001256704330444336 length of segment : 37 DEBUG bbox = [0, 0, 1047, 1383] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.017540931701660156 nb_pixel_total : 1061527 time to create 1 rle with new method : 0.6314208507537842 length of segment : 1828 DEBUG bbox = [990, 186, 1080, 345] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 8391 time to create 1 rle with old method : 0.009325265884399414 length of segment : 85 DEBUG bbox = [924, 1137, 1074, 1338] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00028395652770996094 nb_pixel_total : 15195 time to create 1 rle with old method : 0.017342090606689453 length of segment : 220 DEBUG bbox = [1008, 969, 1074, 1065] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 4736 time to create 1 rle with old method : 0.005427122116088867 length of segment : 60 DEBUG bbox = [507, 1533, 1068, 1890] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0018928050994873047 nb_pixel_total : 112180 time to create 1 rle with old method : 0.11751341819763184 length of segment : 536 DEBUG bbox = [870, 1020, 948, 1131] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00021028518676757812 nb_pixel_total : 6283 time to create 1 rle with old method : 0.0073871612548828125 length of segment : 73 DEBUG bbox = [987, 1017, 1071, 1107] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018072128295898438 nb_pixel_total : 4157 time to create 1 rle with old method : 0.004802703857421875 length of segment : 71 DEBUG bbox = [519, 1503, 1056, 1869] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0022301673889160156 nb_pixel_total : 99298 time to create 1 rle with old method : 0.1064920425415039 length of segment : 504 DEBUG bbox = [477, 1125, 603, 1188] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002532005310058594 nb_pixel_total : 6240 time to create 1 rle with old method : 0.008687973022460938 length of segment : 120 DEBUG bbox = [780, 144, 1056, 624] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0014061927795410156 nb_pixel_total : 39356 time to create 1 rle with old method : 0.06454038619995117 length of segment : 219 DEBUG bbox = [657, 936, 1017, 1299] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00128173828125 nb_pixel_total : 48519 time to create 1 rle with old method : 0.05487966537475586 length of segment : 325 DEBUG bbox = [573, 1065, 819, 1329] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0007927417755126953 nb_pixel_total : 31167 time to create 1 rle with old method : 0.034552574157714844 length of segment : 211 DEBUG bbox = [822, 309, 1071, 576] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000804901123046875 nb_pixel_total : 36473 time to create 1 rle with old method : 0.04207253456115723 length of segment : 238 DEBUG bbox = [3, 1368, 66, 1443] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 3491 time to create 1 rle with old method : 0.004343748092651367 length of segment : 59 DEBUG bbox = [852, 867, 1077, 1155] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0007443428039550781 nb_pixel_total : 44100 time to create 1 rle with old method : 0.04937601089477539 length of segment : 210 DEBUG bbox = [924, 1293, 1065, 1461] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002415180206298828 nb_pixel_total : 15018 time to create 1 rle with old method : 0.017408370971679688 length of segment : 141 DEBUG bbox = [870, 312, 993, 438] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001704692840576172 nb_pixel_total : 10236 time to create 1 rle with old method : 0.01206350326538086 length of segment : 114 DEBUG bbox = [996, 129, 1071, 378] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002646446228027344 nb_pixel_total : 16196 time to create 1 rle with old method : 0.02098822593688965 length of segment : 74 DEBUG bbox = [672, 885, 1005, 1194] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0010039806365966797 nb_pixel_total : 74136 time to create 1 rle with old method : 0.08905291557312012 length of segment : 330 DEBUG bbox = [921, 1167, 1071, 1497] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004942417144775391 nb_pixel_total : 34253 time to create 1 rle with old method : 0.04407095909118652 length of segment : 166 DEBUG bbox = [864, 1434, 984, 1605] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002377033233642578 nb_pixel_total : 10971 time to create 1 rle with old method : 0.013383865356445312 length of segment : 109 DEBUG bbox = [888, 1278, 972, 1389] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 5549 time to create 1 rle with old method : 0.006974458694458008 length of segment : 79 DEBUG bbox = [741, 1290, 846, 1509] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002624988555908203 nb_pixel_total : 14169 time to create 1 rle with old method : 0.017546892166137695 length of segment : 100 DEBUG bbox = [426, 1095, 516, 1176] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 3751 time to create 1 rle with old method : 0.0044519901275634766 length of segment : 82 DEBUG bbox = [513, 1542, 1053, 1890] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0016434192657470703 nb_pixel_total : 109773 time to create 1 rle with old method : 0.12052464485168457 length of segment : 528 DEBUG bbox = [915, 1365, 1056, 1506] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002079010009765625 nb_pixel_total : 10826 time to create 1 rle with old method : 0.012604713439941406 length of segment : 130 time spent for convertir_results : 3.1021945476531982 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 34 chid ids of type : 3594 Number RLEs to save : 7566 save missing photos in datou_result : time spend for datou_step_exec : 27.441742420196533 time spend to save output : 0.550734281539917 total time spend for step 1 : 27.99247670173645 step2:crop_condition Fri Nov 21 19:20:58 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 34 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763749259_2522145 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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585429_5986126e782b27f899d44ab5148b04cb_rle_crop_4041474405_0.png', 0, 165, 167, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474407_0.png', 0, 57, 134, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474408_0.png', 0, 37, 37, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474411_0.png', 0, 189, 136, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474415_0.png', 0, 85, 69, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474414_0.png', 0, 104, 70, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474416_0.png', 0, 333, 503, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585406_1fd336c3ae07a25ce9dfee814b002998_rle_crop_4041474417_0.png', 0, 61, 119, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474421_0.png', 0, 259, 237, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474420_0.png', 0, 263, 208, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474432_0.png', 0, 77, 82, 0, 1763749262,'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(1763749262), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474430_0.png', 0, 102, 79, 0, 1763749262,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.004121780395508 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763749264_2522145 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(1763749264), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474425_0.png', 0, 117, 112, 0, 1763749264,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6114015579223633 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 ! 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 : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763749271_2522145 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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474403_0.png', 0, 217, 141, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474401_0.png', 0, 220, 193, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474402_0.png', 0, 72, 46, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474404_0.png', 0, 149, 88, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474409_0.png', 0, 1341, 1000, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474410_0.png', 0, 144, 85, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474406_0.png', 0, 188, 125, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474412_0.png', 0, 90, 60, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474413_0.png', 0, 349, 514, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474418_0.png', 0, 402, 206, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474419_0.png', 0, 324, 266, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474422_0.png', 0, 73, 58, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474423_0.png', 0, 277, 206, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474424_0.png', 0, 149, 141, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474426_0.png', 0, 249, 74, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474427_0.png', 0, 305, 330, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474428_0.png', 0, 296, 145, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474429_0.png', 0, 153, 104, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474431_0.png', 0, 199, 96, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474434_0.png', 0, 114, 129, 0, 1763749277,'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(1763749277), 0.0, 0.0, 14, '', 0, 0, '1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474433_0.png', 0, 335, 524, 0, 1763749277,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.152882099151611 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] Looping around the photos to save general results len do output : 34 /1395600515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395600555Didn'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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 112 time used for this insertion : 0.02109241485595703 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.545748472213745 time spend to save output : 0.02262735366821289 total time spend for step 2 : 20.568375825881958 step3:rle_unique_nms_with_priority Fri Nov 21 19:21:18 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 34 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.27603697776794434 time for calcul the mask position with numpy : 0.12139773368835449 nb_pixel_total : 2008902 time to create 1 rle with new method : 0.21349143981933594 time for calcul the mask position with numpy : 0.006670236587524414 nb_pixel_total : 11053 time to create 1 rle with old method : 0.017977476119995117 time for calcul the mask position with numpy : 0.006720066070556641 nb_pixel_total : 21442 time to create 1 rle with old method : 0.024038076400756836 time for calcul the mask position with numpy : 0.006078481674194336 nb_pixel_total : 2825 time to create 1 rle with old method : 0.003291606903076172 time for calcul the mask position with numpy : 0.006336212158203125 nb_pixel_total : 29378 time to create 1 rle with old method : 0.03769373893737793 create new chi : 0.45657825469970703 time to delete rle : 0.035154104232788086 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2060 TO DO : save crop sub photo not yet done ! save time : 0.20279169082641602 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06785178184509277 time for calcul the mask position with numpy : 0.08038902282714844 nb_pixel_total : 2064496 time to create 1 rle with new method : 0.1987898349761963 time for calcul the mask position with numpy : 0.0063135623931884766 nb_pixel_total : 9104 time to create 1 rle with old method : 0.010271310806274414 create new chi : 0.30245113372802734 time to delete rle : 0.00022792816162109375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1414 TO DO : save crop sub photo not yet done ! save time : 0.14298439025878906 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.4881432056427002 time for calcul the mask position with numpy : 0.031016826629638672 nb_pixel_total : 859976 time to create 1 rle with new method : 0.22452521324157715 time for calcul the mask position with numpy : 0.008129119873046875 nb_pixel_total : 112180 time to create 1 rle with old method : 0.12316346168518066 time for calcul the mask position with numpy : 0.006427288055419922 nb_pixel_total : 4736 time to create 1 rle with old method : 0.00529026985168457 time for calcul the mask position with numpy : 0.006120443344116211 nb_pixel_total : 4817 time to create 1 rle with old method : 0.005307197570800781 time for calcul the mask position with numpy : 0.006181001663208008 nb_pixel_total : 8216 time to create 1 rle with old method : 0.008968830108642578 time for calcul the mask position with numpy : 0.032206058502197266 nb_pixel_total : 1059636 time to create 1 rle with new method : 0.15134429931640625 time for calcul the mask position with numpy : 0.0064694881439208984 nb_pixel_total : 979 time to create 1 rle with old method : 0.0011255741119384766 time for calcul the mask position with numpy : 0.0064809322357177734 nb_pixel_total : 5103 time to create 1 rle with old method : 0.0054018497467041016 time for calcul the mask position with numpy : 0.006155252456665039 nb_pixel_total : 17957 time to create 1 rle with old method : 0.01928997039794922 create new chi : 0.6706452369689941 time to delete rle : 0.0006992816925048828 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 6741 TO DO : save crop sub photo not yet done ! save time : 0.48099780082702637 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05602622032165527 time for calcul the mask position with numpy : 0.021618366241455078 nb_pixel_total : 1963862 time to create 1 rle with new method : 0.02856731414794922 time for calcul the mask position with numpy : 0.006316423416137695 nb_pixel_total : 99298 time to create 1 rle with old method : 0.10741376876831055 time for calcul the mask position with numpy : 0.006097078323364258 nb_pixel_total : 4157 time to create 1 rle with old method : 0.004464387893676758 time for calcul the mask position with numpy : 0.0059320926666259766 nb_pixel_total : 6283 time to create 1 rle with old method : 0.007062673568725586 create new chi : 0.19536685943603516 time to delete rle : 0.0003771781921386719 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2376 TO DO : save crop sub photo not yet done ! save time : 0.1909475326538086 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.038312673568725586 time for calcul the mask position with numpy : 0.025571584701538086 nb_pixel_total : 2067360 time to create 1 rle with new method : 0.14357471466064453 time for calcul the mask position with numpy : 0.0061855316162109375 nb_pixel_total : 6240 time to create 1 rle with old method : 0.00717473030090332 create new chi : 0.19161105155944824 time to delete rle : 0.0002415180206298828 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1320 TO DO : save crop sub photo not yet done ! save time : 0.13042593002319336 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.18374085426330566 time for calcul the mask position with numpy : 0.10492491722106934 nb_pixel_total : 1985725 time to create 1 rle with new method : 0.15539121627807617 time for calcul the mask position with numpy : 0.007195949554443359 nb_pixel_total : 48519 time to create 1 rle with old method : 0.07538938522338867 time for calcul the mask position with numpy : 0.0070095062255859375 nb_pixel_total : 39356 time to create 1 rle with old method : 0.04341411590576172 create new chi : 0.4075887203216553 time to delete rle : 0.00040078163146972656 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2168 TO DO : save crop sub photo not yet done ! save time : 0.1883089542388916 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.25726890563964844 time for calcul the mask position with numpy : 0.06065654754638672 nb_pixel_total : 2002469 time to create 1 rle with new method : 0.21466970443725586 time for calcul the mask position with numpy : 0.005948305130004883 nb_pixel_total : 3491 time to create 1 rle with old method : 0.0038776397705078125 time for calcul the mask position with numpy : 0.006344318389892578 nb_pixel_total : 36473 time to create 1 rle with old method : 0.04025006294250488 time for calcul the mask position with numpy : 0.006590127944946289 nb_pixel_total : 31167 time to create 1 rle with old method : 0.03483247756958008 create new chi : 0.38333702087402344 time to delete rle : 0.0003714561462402344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2096 TO DO : save crop sub photo not yet done ! save time : 0.20668768882751465 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0787198543548584 time for calcul the mask position with numpy : 0.06859946250915527 nb_pixel_total : 2004246 time to create 1 rle with new method : 0.23316740989685059 time for calcul the mask position with numpy : 0.007258176803588867 nb_pixel_total : 10236 time to create 1 rle with old method : 0.02029109001159668 time for calcul the mask position with numpy : 0.015017271041870117 nb_pixel_total : 15018 time to create 1 rle with old method : 0.03871011734008789 time for calcul the mask position with numpy : 0.007195949554443359 nb_pixel_total : 44100 time to create 1 rle with old method : 0.04898643493652344 create new chi : 0.4497838020324707 time to delete rle : 0.0003561973571777344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2010 TO DO : save crop sub photo not yet done ! save time : 0.2020864486694336 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.0695955753326416 time for calcul the mask position with numpy : 0.3391857147216797 nb_pixel_total : 1938044 time to create 1 rle with new method : 0.2576022148132324 time for calcul the mask position with numpy : 0.006192207336425781 nb_pixel_total : 10971 time to create 1 rle with old method : 0.012302875518798828 time for calcul the mask position with numpy : 0.006278276443481445 nb_pixel_total : 34253 time to create 1 rle with old method : 0.03705954551696777 time for calcul the mask position with numpy : 0.006781101226806641 nb_pixel_total : 74136 time to create 1 rle with old method : 0.08497262001037598 time for calcul the mask position with numpy : 0.006314516067504883 nb_pixel_total : 16196 time to create 1 rle with old method : 0.017710447311401367 create new chi : 0.7845237255096436 time to delete rle : 0.00047469139099121094 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2438 TO DO : save crop sub photo not yet done ! save time : 0.19877028465270996 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.11535334587097168 time for calcul the mask position with numpy : 0.2248687744140625 nb_pixel_total : 1929532 time to create 1 rle with new method : 0.09749007225036621 time for calcul the mask position with numpy : 0.006057262420654297 nb_pixel_total : 10826 time to create 1 rle with old method : 0.011788129806518555 time for calcul the mask position with numpy : 0.0065555572509765625 nb_pixel_total : 109773 time to create 1 rle with old method : 0.1194145679473877 time for calcul the mask position with numpy : 0.006609439849853516 nb_pixel_total : 3751 time to create 1 rle with old method : 0.004344463348388672 time for calcul the mask position with numpy : 0.0058746337890625 nb_pixel_total : 14169 time to create 1 rle with old method : 0.01571345329284668 time for calcul the mask position with numpy : 0.005930423736572266 nb_pixel_total : 5549 time to create 1 rle with old method : 0.006165742874145508 create new chi : 0.5222952365875244 time to delete rle : 0.0004291534423828125 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2918 TO DO : save crop sub photo not yet done ! save time : 0.23064565658569336 map_output_result : {1395585431: (0.0, 'Should be the crop_list due to order', 0), 1395585429: (0.0, 'Should be the crop_list due to order', 0), 1395585427: (0.0, 'Should be the crop_list due to order', 0), 1395585424: (0.0, 'Should be the crop_list due to order', 0), 1395585406: (0.0, 'Should be the crop_list due to order', 0), 1395585404: (0.0, 'Should be the crop_list due to order', 0), 1395585402: (0.0, 'Should be the crop_list due to order', 0), 1395585400: (0.0, 'Should be the crop_list due to order', 0), 1395585396: (0.0, 'Should be the crop_list due to order', 0), 1395585392: (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 [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] Looping around the photos to save general results len do output : 10 /1395585431.Didn't retrieve data . /1395585429.Didn't retrieve data . /1395585427.Didn't retrieve data . /1395585424.Didn't retrieve data . /1395585406.Didn't retrieve data . /1395585404.Didn't retrieve data . /1395585402.Didn't retrieve data . /1395585400.Didn't retrieve data . /1395585396.Didn't retrieve data . /1395585392.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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015198945999145508 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.616311311721802 time spend to save output : 0.015729665756225586 total time spend for step 3 : 8.632040977478027 step4:ventilate_hashtags_in_portfolio Fri Nov 21 19:21:27 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 : 28789011 get user id for portfolio 28789011 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`=28789011 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','autre','mal_croppe','background','metal','pet_fonce','carton','environnement','papier','flou')) 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`=28789011 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','autre','mal_croppe','background','metal','pet_fonce','carton','environnement','papier','flou')) 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`=28789011 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','pet_clair','autre','mal_croppe','background','metal','pet_fonce','carton','environnement','papier','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28790871,28790872,28790873,28790874,28790875,28790876,28790877,28790878,28790879,28790880,28790881?tags=pehd,pet_clair,autre,mal_croppe,background,metal,pet_fonce,carton,environnement,papier,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] Looping around the photos to save general results len do output : 1 /28789011. 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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015753507614135742 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8390743732452393 time spend to save output : 0.016028881072998047 total time spend for step 4 : 0.8551032543182373 step5:final Fri Nov 21 19:21: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 ! 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 : {1395585431: ('0.0921772762345679',), 1395585429: ('0.0921772762345679',), 1395585427: ('0.0921772762345679',), 1395585424: ('0.0921772762345679',), 1395585406: ('0.0921772762345679',), 1395585404: ('0.0921772762345679',), 1395585402: ('0.0921772762345679',), 1395585400: ('0.0921772762345679',), 1395585396: ('0.0921772762345679',), 1395585392: ('0.0921772762345679',)} new output for save of step final : {1395585431: ('0.0921772762345679',), 1395585429: ('0.0921772762345679',), 1395585427: ('0.0921772762345679',), 1395585424: ('0.0921772762345679',), 1395585406: ('0.0921772762345679',), 1395585404: ('0.0921772762345679',), 1395585402: ('0.0921772762345679',), 1395585400: ('0.0921772762345679',), 1395585396: ('0.0921772762345679',), 1395585392: ('0.0921772762345679',)} [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] Looping around the photos to save general results len do output : 10 /1395585431.Didn't retrieve data . /1395585429.Didn't retrieve data . /1395585427.Didn't retrieve data . /1395585424.Didn't retrieve data . /1395585406.Didn't retrieve data . /1395585404.Didn't retrieve data . /1395585402.Didn't retrieve data . /1395585400.Didn't retrieve data . /1395585396.Didn't retrieve data . /1395585392.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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.017176151275634766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13576650619506836 time spend to save output : 0.01761007308959961 total time spend for step 5 : 0.15337657928466797 step6:blur_detection Fri Nov 21 19:21: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 inside step blur_detection methode: ratio et variance treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06.jpg resize: (1080, 1920) 1395585431 -1.2823451344456058 treat image : temp/1763749228_2522145_1395585429_5986126e782b27f899d44ab5148b04cb.jpg resize: (1080, 1920) 1395585429 -0.7528239382299912 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6.jpg resize: (1080, 1920) 1395585427 1.133487051048733 treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d.jpg resize: (1080, 1920) 1395585424 -1.449962611928359 treat image : temp/1763749228_2522145_1395585406_1fd336c3ae07a25ce9dfee814b002998.jpg resize: (1080, 1920) 1395585406 -1.2750390392391948 treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf.jpg resize: (1080, 1920) 1395585404 1.2293746536751837 treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229.jpg resize: (1080, 1920) 1395585402 1.0319436191764286 treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee.jpg resize: (1080, 1920) 1395585400 0.8724455433279082 treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4.jpg resize: (1080, 1920) 1395585396 -3.786605395527261 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915.jpg resize: (1080, 1920) 1395585392 -1.1042325838055975 treat image : temp/1763749228_2522145_1395585429_5986126e782b27f899d44ab5148b04cb_rle_crop_4041474405_0.png resize: (167, 165) 1395600515 0.021444110878295182 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474407_0.png resize: (134, 57) 1395600516 -1.8202765345500571 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474408_0.png resize: (37, 37) 1395600517 0.3308315919772571 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474411_0.png resize: (136, 189) 1395600518 -0.4299621639369802 treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474415_0.png resize: (69, 85) 1395600519 -0.1501896588370039 treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474414_0.png resize: (70, 104) 1395600520 3.336733492637432 treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474416_0.png resize: (503, 333) 1395600521 0.188769743207812 treat image : temp/1763749228_2522145_1395585406_1fd336c3ae07a25ce9dfee814b002998_rle_crop_4041474417_0.png resize: (119, 61) 1395600522 2.638544199042422 treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474421_0.png resize: (237, 259) 1395600523 -0.5063279852757198 treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474420_0.png resize: (208, 263) 1395600524 -0.9268224800407528 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474432_0.png resize: (82, 77) 1395600525 -1.7963227245543512 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474430_0.png resize: (79, 102) 1395600526 0.38004602770105084 treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474425_0.png resize: (112, 117) 1395600527 0.708889622921165 treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474403_0.png resize: (141, 217) 1395600532 -3.0659750132882437 treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474401_0.png resize: (193, 220) 1395600534 -1.5906653842704324 treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474402_0.png resize: (46, 72) 1395600535 0.9156652713676662 treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474404_0.png resize: (88, 149) 1395600536 -3.352612072855634 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474409_0.png resize: (1000, 1341) 1395600538 -0.9302515847674236 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474410_0.png resize: (85, 144) 1395600539 -1.782902816902497 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474406_0.png resize: (125, 188) 1395600540 -1.9126513597530124 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474412_0.png resize: (60, 90) 1395600542 -2.649741567156989 treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474413_0.png resize: (514, 349) 1395600543 -0.18000182929548542 treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474418_0.png resize: (206, 402) 1395600544 -1.4581768483488327 treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474419_0.png resize: (266, 324) 1395600545 -1.4342262978305842 treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474422_0.png resize: (58, 73) 1395600546 1.8724650481333835 treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474423_0.png resize: (206, 277) 1395600547 1.3112965782226074 treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474424_0.png resize: (141, 149) 1395600548 -0.7615977844221568 treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474426_0.png resize: (74, 249) 1395600549 -2.1588650045737587 treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474427_0.png resize: (330, 305) 1395600550 -3.314058637410217 treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474428_0.png resize: (145, 296) 1395600551 -4.2379138292638325 treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474429_0.png resize: (104, 153) 1395600552 -1.4435774337524787 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474431_0.png resize: (96, 199) 1395600553 -3.3071820997003876 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474434_0.png resize: (129, 114) 1395600554 0.06930623063653966 treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474433_0.png resize: (524, 335) 1395600555 0.3043644776739047 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 : 44 time used for this insertion : 0.01736927032470703 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.016989469528198242 save missing photos in datou_result : time spend for datou_step_exec : 9.015171527862549 time spend to save output : 0.040341854095458984 total time spend for step 6 : 9.055513381958008 step7:brightness Fri Nov 21 19:21:37 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/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06.jpg treat image : temp/1763749228_2522145_1395585429_5986126e782b27f899d44ab5148b04cb.jpg treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6.jpg treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d.jpg treat image : temp/1763749228_2522145_1395585406_1fd336c3ae07a25ce9dfee814b002998.jpg treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf.jpg treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229.jpg treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee.jpg treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4.jpg treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915.jpg treat image : temp/1763749228_2522145_1395585429_5986126e782b27f899d44ab5148b04cb_rle_crop_4041474405_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474407_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474408_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474411_0.png treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474415_0.png treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474414_0.png treat image : temp/1763749228_2522145_1395585424_c3faee24fbd0f50e389c95d34d31ac8d_rle_crop_4041474416_0.png treat image : temp/1763749228_2522145_1395585406_1fd336c3ae07a25ce9dfee814b002998_rle_crop_4041474417_0.png treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474421_0.png treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474420_0.png treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474432_0.png treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474430_0.png treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474425_0.png treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474403_0.png treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474401_0.png treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474402_0.png treat image : temp/1763749228_2522145_1395585431_0b899babbdc9285a67d555d87c209c06_rle_crop_4041474404_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474409_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474410_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474406_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474412_0.png treat image : temp/1763749228_2522145_1395585427_6cb54b3af2fa2a2991db399ffaf75fd6_rle_crop_4041474413_0.png treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474418_0.png treat image : temp/1763749228_2522145_1395585404_573324bb11b6b9c5223da57595c272bf_rle_crop_4041474419_0.png treat image : temp/1763749228_2522145_1395585402_84097fb217b911b1d09e774218a76229_rle_crop_4041474422_0.png treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474423_0.png treat image : temp/1763749228_2522145_1395585400_3b2ec579eb56258bfc8ff179012b4bee_rle_crop_4041474424_0.png treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474426_0.png treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474427_0.png treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474428_0.png treat image : temp/1763749228_2522145_1395585396_29a85d0f46ed9b176ed18b4ffee333d4_rle_crop_4041474429_0.png treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474431_0.png treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474434_0.png treat image : temp/1763749228_2522145_1395585392_880622e909f7e1577000ea0c11a91915_rle_crop_4041474433_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 : 44 time used for this insertion : 0.015702009201049805 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.014833688735961914 save missing photos in datou_result : time spend for datou_step_exec : 2.519298791885376 time spend to save output : 0.036878347396850586 total time spend for step 7 : 2.5561771392822266 step8:velours_tree Fri Nov 21 19:21:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.16318798065185547 time spend to save output : 5.030632019042969e-05 total time spend for step 8 : 0.1632382869720459 step9:send_mail_cod Fri Nov 21 19:21:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P28789011_21-11-2025_19_21_40.pdf 28790871 imagette287908711763749300 28790872 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette287908721763749300 28790873 imagette287908731763749301 28790874 imagette287908741763749301 28790875 imagette287908751763749301 28790876 imagette287908761763749301 28790877 imagette287908771763749301 28790878 change filename to text .imagette287908781763749301 28790880 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 .imagette287908801763749301 28790881 imagette287908811763749302 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28789011 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28790871,28790872,28790873,28790874,28790875,28790876,28790877,28790878,28790879,28790880,28790881?tags=pehd,pet_clair,autre,mal_croppe,background,metal,pet_fonce,carton,environnement,papier,flou args[1395585431] : ((1395585431, -1.2823451344456058, 492688767), (1395585431, 0.4874423727310875, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585429] : ((1395585429, -0.7528239382299912, 492688767), (1395585429, 0.9015697232716287, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585427] : ((1395585427, 1.133487051048733, 492688767), (1395585427, 0.2847664970447539, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585424] : ((1395585424, -1.449962611928359, 492688767), (1395585424, 0.30300985370127487, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585406] : ((1395585406, -1.2750390392391948, 492688767), (1395585406, 0.460681914116634, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585404] : ((1395585404, 1.2293746536751837, 492688767), (1395585404, 0.3474963194231289, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585402] : ((1395585402, 1.0319436191764286, 492688767), (1395585402, 0.2399990890912639, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585400] : ((1395585400, 0.8724455433279082, 492688767), (1395585400, 0.44390818449311276, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585396] : ((1395585396, -3.786605395527261, 492609224), (1395585396, 0.30511810824374924, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com args[1395585392] : ((1395585392, -1.1042325838055975, 492688767), (1395585392, 0.5129160476200473, 2107752395), '0.0921772762345679') We are sending mail with results at report@fotonower.com refus_total : 0.0921772762345679 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=28789011 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_P28789011_21-11-2025_19_21_40.pdf results_Auto_P28789011_21-11-2025_19_21_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789011_21-11-2025_19_21_40.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','28789011','results_Auto_P28789011_21-11-2025_19_21_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789011_21-11-2025_19_21_40.pdf','pdf','','0.3','0.0921772762345679') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28789011

https://www.fotonower.com/image?json=false&list_photos_id=1395585431
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585429
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585427
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.133487051048733)
https://www.fotonower.com/image?json=false&list_photos_id=1395585424
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585406
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585404
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2293746536751837)
https://www.fotonower.com/image?json=false&list_photos_id=1395585402
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0319436191764286)
https://www.fotonower.com/image?json=false&list_photos_id=1395585400
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585396
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395585392
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28790872?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28790878?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28790880?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789011_21-11-2025_19_21_40.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28790871,28790872,28790873,28790874,28790875,28790876,28790877,28790878,28790879,28790880,28790881?tags=pehd,pet_clair,autre,mal_croppe,background,metal,pet_fonce,carton,environnement,papier,flou.


L'équipe Fotonower 202 b'' Date: Fri, 21 Nov 2025 18:21:44 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: c40V9liwTgmHH0dMWuR7rA 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 [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] 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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01819300651550293 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.230135679244995 time spend to save output : 0.018451690673828125 total time spend for step 9 : 4.248587369918823 step10:split_time_score Fri Nov 21 19:21:44 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'}] (('17', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21112025 28789011 Nombre de photos uploadées : 10 / 23040 (0%) 21112025 28789011 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 21112025 28789011 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 3.337860107421875e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004162788391113281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2849457263946533 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28789008 order by id desc limit 1 Qualite : 0.0921772762345679 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789011_21-11-2025_19_21_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28789011 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`=28789011 AND mptpi.`type`=3594 To do Qualite : 0.04807374964927049 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789015_21-11-2025_19_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28789015 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`=28789015 AND mptpi.`type`=3594 To do Qualite : 0.1617890625 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789022_21-11-2025_19_01_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28789022 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`=28789022 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21112025': {'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 [1395585431, 1395585429, 1395585427, 1395585424, 1395585406, 1395585404, 1395585402, 1395585400, 1395585396, 1395585392] Looping around the photos to save general results len do output : 1 /28789011Didn'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, '4093068') ('3318', '28789011', '1395585431', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585429', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585427', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585424', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585406', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585404', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585402', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585400', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585396', None, None, None, None, None, '4093068') ('3318', None, None, None, None, None, None, None, '4093068') ('3318', '28789011', '1395585392', None, None, None, None, None, '4093068') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.019710779190063477 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9590466022491455 time spend to save output : 0.019972801208496094 total time spend for step 10 : 1.9790194034576416 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 39.48user 22.49system 1:21.84elapsed 75%CPU (0avgtext+0avgdata 2777112maxresident)k 48760inputs+20680outputs (424major+1482159minor)pagefaults 0swaps