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 : 1727819 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 : ['3945646'] with mtr_portfolio_ids : ['27827188'] and first list_photo_ids : [] new path : /proc/1727819/ 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.5451180934906006 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Oct 15 10:10: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-10-15 10:10:32.823526: 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-10-15 10:10:32.854425: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-15 10:10:32.856456: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1efc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-15 10:10:32.856501: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-15 10:10:32.859991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-15 10:10:33.138999: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b4f1b90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-15 10:10:33.139046: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-15 10:10:33.140343: 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-10-15 10:10:33.140704: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 10:10:33.143596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 10:10:33.146068: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 10:10:33.146571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 10:10:33.148724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 10:10:33.149694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 10:10:33.153594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 10:10:33.155064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 10:10:33.155126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 10:10:33.155902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-15 10:10:33.155916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-15 10:10:33.155925: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-15 10:10:33.157241: 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-10-15 10:10:33.567900: 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-10-15 10:10:33.568008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 10:10:33.568039: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 10:10:33.568068: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 10:10:33.568096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 10:10:33.568123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 10:10:33.568150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 10:10:33.568177: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 10:10:33.570332: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 10:10:33.571481: 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-10-15 10:10:33.571511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-15 10:10:33.571526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 10:10:33.571540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-15 10:10:33.571554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-15 10:10:33.571567: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-15 10:10:33.571581: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-15 10:10:33.571595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-15 10:10:33.572895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-15 10:10:33.572922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-15 10:10:33.572931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-15 10:10:33.572939: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-15 10:10:33.574243: 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-10-15 10:10:40.479464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-15 10:10:40.673032: 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: 32.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 : 11 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 4 Detection mask done ! Trying to reset tf kernel 1728368 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2323 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 : 7218 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.00047659873962402344 nb_pixel_total : 18706 time to create 1 rle with old method : 0.02064824104309082 length of segment : 181 time for calcul the mask position with numpy : 0.00015926361083984375 nb_pixel_total : 9524 time to create 1 rle with old method : 0.010102272033691406 length of segment : 182 time for calcul the mask position with numpy : 0.0001494884490966797 nb_pixel_total : 8237 time to create 1 rle with old method : 0.008928775787353516 length of segment : 130 time for calcul the mask position with numpy : 0.011426210403442383 nb_pixel_total : 764263 time to create 1 rle with new method : 0.02493000030517578 length of segment : 964 time for calcul the mask position with numpy : 0.00011372566223144531 nb_pixel_total : 4332 time to create 1 rle with old method : 0.005010366439819336 length of segment : 70 time for calcul the mask position with numpy : 0.0015125274658203125 nb_pixel_total : 117474 time to create 1 rle with old method : 0.12532758712768555 length of segment : 547 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 16111 time to create 1 rle with old method : 0.018240690231323242 length of segment : 164 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 11341 time to create 1 rle with old method : 0.01230311393737793 length of segment : 149 time for calcul the mask position with numpy : 0.00025081634521484375 nb_pixel_total : 19430 time to create 1 rle with old method : 0.020663976669311523 length of segment : 232 time for calcul the mask position with numpy : 7.486343383789062e-05 nb_pixel_total : 3661 time to create 1 rle with old method : 0.003992319107055664 length of segment : 59 time for calcul the mask position with numpy : 0.009985923767089844 nb_pixel_total : 817343 time to create 1 rle with new method : 0.02147388458251953 length of segment : 1003 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 4468 time to create 1 rle with old method : 0.0050563812255859375 length of segment : 67 time for calcul the mask position with numpy : 0.00014209747314453125 nb_pixel_total : 5435 time to create 1 rle with old method : 0.007277727127075195 length of segment : 73 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 14469 time to create 1 rle with old method : 0.015940427780151367 length of segment : 239 time for calcul the mask position with numpy : 0.0012860298156738281 nb_pixel_total : 102199 time to create 1 rle with old method : 0.10901832580566406 length of segment : 509 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 12723 time to create 1 rle with old method : 0.01399374008178711 length of segment : 154 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 4503 time to create 1 rle with old method : 0.0054247379302978516 length of segment : 71 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 6333 time to create 1 rle with old method : 0.0071256160736083984 length of segment : 84 time for calcul the mask position with numpy : 0.019210338592529297 nb_pixel_total : 1460063 time to create 1 rle with new method : 0.03559064865112305 length of segment : 1500 time for calcul the mask position with numpy : 0.0004398822784423828 nb_pixel_total : 9491 time to create 1 rle with old method : 0.010946989059448242 length of segment : 140 time for calcul the mask position with numpy : 0.00044226646423339844 nb_pixel_total : 14172 time to create 1 rle with old method : 0.015810251235961914 length of segment : 160 time for calcul the mask position with numpy : 0.0001571178436279297 nb_pixel_total : 4383 time to create 1 rle with old method : 0.005075216293334961 length of segment : 73 time for calcul the mask position with numpy : 0.02303147315979004 nb_pixel_total : 1476739 time to create 1 rle with new method : 0.03414559364318848 length of segment : 1559 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 7601 time to create 1 rle with old method : 0.008287906646728516 length of segment : 124 time for calcul the mask position with numpy : 0.00021219253540039062 nb_pixel_total : 4991 time to create 1 rle with old method : 0.0056133270263671875 length of segment : 99 time for calcul the mask position with numpy : 0.011316061019897461 nb_pixel_total : 777262 time to create 1 rle with new method : 0.02448105812072754 length of segment : 992 time for calcul the mask position with numpy : 0.00015163421630859375 nb_pixel_total : 3672 time to create 1 rle with old method : 0.004374027252197266 length of segment : 42 time for calcul the mask position with numpy : 0.00023865699768066406 nb_pixel_total : 7445 time to create 1 rle with old method : 0.008781909942626953 length of segment : 87 time for calcul the mask position with numpy : 0.0005373954772949219 nb_pixel_total : 17333 time to create 1 rle with old method : 0.019136667251586914 length of segment : 225 time for calcul the mask position with numpy : 0.00016188621520996094 nb_pixel_total : 3030 time to create 1 rle with old method : 0.003518342971801758 length of segment : 55 time for calcul the mask position with numpy : 0.0002353191375732422 nb_pixel_total : 7136 time to create 1 rle with old method : 0.008271932601928711 length of segment : 91 time for calcul the mask position with numpy : 0.0003542900085449219 nb_pixel_total : 10574 time to create 1 rle with old method : 0.012332677841186523 length of segment : 148 time spent for convertir_results : 2.6411893367767334 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 10173 save missing photos in datou_result : time spend for datou_step_exec : 21.140199899673462 time spend to save output : 1.2327804565429688 total time spend for step 1 : 22.37298035621643 step2:crop_condition Wed Oct 15 10:10:52 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 32 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760515853_1727819 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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495601_0.png', 0, 87, 149, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495600_0.png', 0, 161, 158, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495607_0.png', 0, 144, 161, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495610_0.png', 0, 95, 71, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495609_0.png', 0, 120, 149, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495611_0.png', 0, 113, 84, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495613_0.png', 0, 81, 140, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495615_0.png', 0, 95, 73, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495614_0.png', 0, 122, 160, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495620_0.png', 0, 95, 42, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495623_0.png', 0, 76, 54, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495621_0.png', 0, 107, 82, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532889_f1209a511de137432b33ac359f4ccf1f_rle_crop_3998495624_0.png', 0, 125, 91, 0, 1760515858,'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(1760515858), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532874_1d2aaa05010b2c30a85c8ea8eb738f19_rle_crop_3998495625_0.png', 0, 86, 146, 0, 1760515858,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.261214017868042 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760515861_1727819 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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495596_0.png', 0, 78, 128, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495598_0.png', 0, 91, 70, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495594_0.png', 0, 198, 177, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495599_0.png', 0, 380, 532, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495606_0.png', 0, 99, 73, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495605_0.png', 0, 106, 67, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495617_0.png', 0, 83, 121, 0, 1760515872,'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(1760515872), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495618_0.png', 0, 86, 99, 0, 1760515872,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 12.610761642456055 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760515894_1727819 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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495597_0.png', 0, 1044, 962, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495595_0.png', 0, 61, 182, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495604_0.png', 0, 1169, 996, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495603_0.png', 0, 71, 59, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495602_0.png', 0, 118, 232, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495608_0.png', 0, 318, 504, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495612_0.png', 0, 1722, 989, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495616_0.png', 0, 1777, 971, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495619_0.png', 0, 1119, 984, 0, 1760515895,'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(1760515895), 0.0, 0.0, 14, '', 0, 0, '1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495622_0.png', 0, 108, 217, 0, 1760515895,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.29951810836792 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 [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] Looping around the photos to save general results len do output : 32 /1389543839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389543981Didn'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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 106 time used for this insertion : 0.03981637954711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.47954201698303 time spend to save output : 0.041222333908081055 total time spend for step 2 : 44.52076435089111 step3:rle_unique_nms_with_priority Wed Oct 15 10:11: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 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 32 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.08709359169006348 time for calcul the mask position with numpy : 0.01575756072998047 nb_pixel_total : 1158984 time to create 1 rle with new method : 0.04162001609802246 time for calcul the mask position with numpy : 0.0068895816802978516 nb_pixel_total : 117474 time to create 1 rle with old method : 0.1219935417175293 time for calcul the mask position with numpy : 0.005899190902709961 nb_pixel_total : 4332 time to create 1 rle with old method : 0.004606008529663086 time for calcul the mask position with numpy : 0.012923717498779297 nb_pixel_total : 756343 time to create 1 rle with new method : 0.04015517234802246 time for calcul the mask position with numpy : 0.0059626102447509766 nb_pixel_total : 8237 time to create 1 rle with old method : 0.008597135543823242 time for calcul the mask position with numpy : 0.00574493408203125 nb_pixel_total : 9524 time to create 1 rle with old method : 0.009983539581298828 time for calcul the mask position with numpy : 0.006150960922241211 nb_pixel_total : 18706 time to create 1 rle with old method : 0.020097017288208008 create new chi : 0.3154728412628174 time to delete rle : 0.11940813064575195 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 5083 TO DO : save crop sub photo not yet done ! save time : 0.671612024307251 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.12031054496765137 time for calcul the mask position with numpy : 0.017184734344482422 nb_pixel_total : 1211784 time to create 1 rle with new method : 0.03581643104553223 time for calcul the mask position with numpy : 0.011278867721557617 nb_pixel_total : 811273 time to create 1 rle with new method : 0.034209251403808594 time for calcul the mask position with numpy : 0.0060765743255615234 nb_pixel_total : 3661 time to create 1 rle with old method : 0.003828287124633789 time for calcul the mask position with numpy : 0.005757808685302734 nb_pixel_total : 19430 time to create 1 rle with old method : 0.030789852142333984 time for calcul the mask position with numpy : 0.006576061248779297 nb_pixel_total : 11341 time to create 1 rle with old method : 0.018067121505737305 time for calcul the mask position with numpy : 0.006577014923095703 nb_pixel_total : 16111 time to create 1 rle with old method : 0.025794506072998047 create new chi : 0.20482826232910156 time to delete rle : 0.000553131103515625 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4182 TO DO : save crop sub photo not yet done ! save time : 0.5607435703277588 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.045176029205322266 time for calcul the mask position with numpy : 0.018621444702148438 nb_pixel_total : 2063697 time to create 1 rle with new method : 0.03595471382141113 time for calcul the mask position with numpy : 0.005764484405517578 nb_pixel_total : 5435 time to create 1 rle with old method : 0.00597834587097168 time for calcul the mask position with numpy : 0.005795478820800781 nb_pixel_total : 4468 time to create 1 rle with old method : 0.004813194274902344 create new chi : 0.07980513572692871 time to delete rle : 0.0002148151397705078 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1360 TO DO : save crop sub photo not yet done ! save time : 0.28652310371398926 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04229545593261719 time for calcul the mask position with numpy : 0.023741722106933594 nb_pixel_total : 1956932 time to create 1 rle with new method : 0.04296422004699707 time for calcul the mask position with numpy : 0.006707668304443359 nb_pixel_total : 102199 time to create 1 rle with old method : 0.10991764068603516 time for calcul the mask position with numpy : 0.005889415740966797 nb_pixel_total : 14469 time to create 1 rle with old method : 0.015447854995727539 create new chi : 0.20953369140625 time to delete rle : 0.0003757476806640625 batch 1 Loaded 5 chid ids of type : 3594 +++++Number RLEs to save : 2576 TO DO : save crop sub photo not yet done ! save time : 0.4206571578979492 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07096028327941895 time for calcul the mask position with numpy : 0.010275602340698242 nb_pixel_total : 613537 time to create 1 rle with new method : 0.04124569892883301 time for calcul the mask position with numpy : 0.018406152725219727 nb_pixel_total : 1436504 time to create 1 rle with new method : 0.036701202392578125 time for calcul the mask position with numpy : 0.0057451725006103516 nb_pixel_total : 6333 time to create 1 rle with old method : 0.006661176681518555 time for calcul the mask position with numpy : 0.0056841373443603516 nb_pixel_total : 4503 time to create 1 rle with old method : 0.004666328430175781 time for calcul the mask position with numpy : 0.005676984786987305 nb_pixel_total : 12723 time to create 1 rle with old method : 0.013303041458129883 create new chi : 0.15482163429260254 time to delete rle : 0.0005791187286376953 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4698 TO DO : save crop sub photo not yet done ! save time : 0.6868643760681152 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.060477495193481445 time for calcul the mask position with numpy : 0.009860754013061523 nb_pixel_total : 596861 time to create 1 rle with new method : 0.039693355560302734 time for calcul the mask position with numpy : 0.016284942626953125 nb_pixel_total : 1448693 time to create 1 rle with new method : 0.03992009162902832 time for calcul the mask position with numpy : 0.00611567497253418 nb_pixel_total : 4383 time to create 1 rle with old method : 0.004667043685913086 time for calcul the mask position with numpy : 0.005663394927978516 nb_pixel_total : 14172 time to create 1 rle with old method : 0.014709234237670898 time for calcul the mask position with numpy : 0.005787849426269531 nb_pixel_total : 9491 time to create 1 rle with old method : 0.00999593734741211 create new chi : 0.16132092475891113 time to delete rle : 0.0006105899810791016 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 4944 TO DO : save crop sub photo not yet done ! save time : 0.6226725578308105 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.06451106071472168 time for calcul the mask position with numpy : 0.01740097999572754 nb_pixel_total : 1280074 time to create 1 rle with new method : 0.041167259216308594 time for calcul the mask position with numpy : 0.006159782409667969 nb_pixel_total : 3672 time to create 1 rle with old method : 0.003938436508178711 time for calcul the mask position with numpy : 0.010823965072631836 nb_pixel_total : 777262 time to create 1 rle with new method : 0.03940153121948242 time for calcul the mask position with numpy : 0.00617671012878418 nb_pixel_total : 4991 time to create 1 rle with old method : 0.005440235137939453 time for calcul the mask position with numpy : 0.005791187286376953 nb_pixel_total : 7601 time to create 1 rle with old method : 0.008036375045776367 create new chi : 0.15259242057800293 time to delete rle : 0.0005140304565429688 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3594 TO DO : save crop sub photo not yet done ! save time : 0.5145938396453857 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04698324203491211 time for calcul the mask position with numpy : 0.018713951110839844 nb_pixel_total : 2045792 time to create 1 rle with new method : 0.0395503044128418 time for calcul the mask position with numpy : 0.005656242370605469 nb_pixel_total : 3030 time to create 1 rle with old method : 0.0032796859741210938 time for calcul the mask position with numpy : 0.005570411682128906 nb_pixel_total : 17333 time to create 1 rle with old method : 0.018281936645507812 time for calcul the mask position with numpy : 0.005742549896240234 nb_pixel_total : 7445 time to create 1 rle with old method : 0.00781393051147461 create new chi : 0.10873198509216309 time to delete rle : 0.0002906322479248047 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1814 TO DO : save crop sub photo not yet done ! save time : 0.32298779487609863 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032726287841796875 time for calcul the mask position with numpy : 0.018865108489990234 nb_pixel_total : 2066464 time to create 1 rle with new method : 0.03013896942138672 time for calcul the mask position with numpy : 0.005975961685180664 nb_pixel_total : 7136 time to create 1 rle with old method : 0.00766301155090332 create new chi : 0.06286311149597168 time to delete rle : 0.00020432472229003906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1262 TO DO : save crop sub photo not yet done ! save time : 0.28220438957214355 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.038423776626586914 time for calcul the mask position with numpy : 0.023317575454711914 nb_pixel_total : 2063026 time to create 1 rle with new method : 0.040224552154541016 time for calcul the mask position with numpy : 0.006180524826049805 nb_pixel_total : 10574 time to create 1 rle with old method : 0.011521577835083008 create new chi : 0.08542156219482422 time to delete rle : 0.00023984909057617188 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1376 TO DO : save crop sub photo not yet done ! save time : 0.3282802104949951 map_output_result : {1389533089: (0.0, 'Should be the crop_list due to order', 0), 1389533086: (0.0, 'Should be the crop_list due to order', 0), 1389533084: (0.0, 'Should be the crop_list due to order', 0), 1389532906: (0.0, 'Should be the crop_list due to order', 0), 1389532901: (0.0, 'Should be the crop_list due to order', 0), 1389532900: (0.0, 'Should be the crop_list due to order', 0), 1389532896: (0.0, 'Should be the crop_list due to order', 0), 1389532893: (0.0, 'Should be the crop_list due to order', 0), 1389532889: (0.0, 'Should be the crop_list due to order', 0), 1389532874: (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 [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] Looping around the photos to save general results len do output : 10 /1389533089.Didn't retrieve data . /1389533086.Didn't retrieve data . /1389533084.Didn't retrieve data . /1389532906.Didn't retrieve data . /1389532901.Didn't retrieve data . /1389532900.Didn't retrieve data . /1389532896.Didn't retrieve data . /1389532893.Didn't retrieve data . /1389532889.Didn't retrieve data . /1389532874.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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03684592247009277 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.4357171058654785 time spend to save output : 0.037264108657836914 total time spend for step 3 : 7.472981214523315 step4:ventilate_hashtags_in_portfolio Wed Oct 15 10:11: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 ! 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 : 27827188 get user id for portfolio 27827188 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`=27827188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre','papier','pet_clair','pehd','background','pet_fonce','carton','flou','metal','environnement')) 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`=27827188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre','papier','pet_clair','pehd','background','pet_fonce','carton','flou','metal','environnement')) 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`=27827188 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','autre','papier','pet_clair','pehd','background','pet_fonce','carton','flou','metal','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27827426,27827427,27827428,27827429,27827430,27827431,27827432,27827433,27827434,27827435,27827436?tags=mal_croppe,autre,papier,pet_clair,pehd,background,pet_fonce,carton,flou,metal,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] Looping around the photos to save general results len do output : 1 /27827188. 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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.039298295974731445 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6464662551879883 time spend to save output : 0.03958010673522949 total time spend for step 4 : 2.6860463619232178 step5:final Wed Oct 15 10:11:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1389533089: ('0.27386424575617285',), 1389533086: ('0.27386424575617285',), 1389533084: ('0.27386424575617285',), 1389532906: ('0.27386424575617285',), 1389532901: ('0.27386424575617285',), 1389532900: ('0.27386424575617285',), 1389532896: ('0.27386424575617285',), 1389532893: ('0.27386424575617285',), 1389532889: ('0.27386424575617285',), 1389532874: ('0.27386424575617285',)} new output for save of step final : {1389533089: ('0.27386424575617285',), 1389533086: ('0.27386424575617285',), 1389533084: ('0.27386424575617285',), 1389532906: ('0.27386424575617285',), 1389532901: ('0.27386424575617285',), 1389532900: ('0.27386424575617285',), 1389532896: ('0.27386424575617285',), 1389532893: ('0.27386424575617285',), 1389532889: ('0.27386424575617285',), 1389532874: ('0.27386424575617285',)} [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] Looping around the photos to save general results len do output : 10 /1389533089.Didn't retrieve data . /1389533086.Didn't retrieve data . /1389533084.Didn't retrieve data . /1389532906.Didn't retrieve data . /1389532901.Didn't retrieve data . /1389532900.Didn't retrieve data . /1389532896.Didn't retrieve data . /1389532893.Didn't retrieve data . /1389532889.Didn't retrieve data . /1389532874.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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.0377349853515625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.37714505195617676 time spend to save output : 0.038262367248535156 total time spend for step 5 : 0.4154074192047119 step6:blur_detection Wed Oct 15 10:11:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74.jpg resize: (1080, 1920) 1389533089 -1.2828894414422896 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336.jpg resize: (1080, 1920) 1389533086 -2.38193445518535 treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb.jpg resize: (1080, 1920) 1389533084 -1.5839480370895598 treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2.jpg resize: (1080, 1920) 1389532906 -1.1705864323175594 treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa.jpg resize: (1080, 1920) 1389532901 -1.8777597419054834 treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba.jpg resize: (1080, 1920) 1389532900 0.25187337531621834 treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb.jpg resize: (1080, 1920) 1389532896 -1.3871006975735478 treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a.jpg resize: (1080, 1920) 1389532893 1.0419645424965418 treat image : temp/1760515828_1727819_1389532889_f1209a511de137432b33ac359f4ccf1f.jpg resize: (1080, 1920) 1389532889 -0.7802159793969881 treat image : temp/1760515828_1727819_1389532874_1d2aaa05010b2c30a85c8ea8eb738f19.jpg resize: (1080, 1920) 1389532874 -2.1222606921318468 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495601_0.png resize: (149, 87) 1389543839 1.2470345275350607 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495600_0.png resize: (158, 161) 1389543847 -1.7840455715305976 treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495607_0.png resize: (161, 144) 1389543848 -2.3489969012793717 treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495610_0.png resize: (71, 95) 1389543849 -1.6051787296190934 treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495609_0.png resize: (149, 120) 1389543852 -1.220681026990216 treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495611_0.png resize: (84, 113) 1389543859 -2.3231884759392964 treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495613_0.png resize: (140, 81) 1389543860 0.8491252054714878 treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495615_0.png resize: (73, 95) 1389543861 -1.9243797803593243 treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495614_0.png resize: (160, 122) 1389543862 -0.8823273735470795 treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495620_0.png resize: (42, 95) 1389543863 2.085792174633359 treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495623_0.png resize: (54, 76) 1389543865 -0.2688645619858729 treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495621_0.png resize: (82, 107) 1389543866 3.7087640439003726 treat image : temp/1760515828_1727819_1389532889_f1209a511de137432b33ac359f4ccf1f_rle_crop_3998495624_0.png resize: (91, 125) 1389543867 -0.7169146215158233 treat image : temp/1760515828_1727819_1389532874_1d2aaa05010b2c30a85c8ea8eb738f19_rle_crop_3998495625_0.png resize: (146, 86) 1389543868 1.0870921957351047 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495596_0.png resize: (128, 78) 1389543951 0.008002290522193362 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495598_0.png resize: (70, 91) 1389543952 -1.2069891987456607 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495594_0.png resize: (177, 198) 1389543953 -1.8111530963169502 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495599_0.png resize: (532, 380) 1389543954 -0.39380360150148885 treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495606_0.png resize: (73, 99) 1389543955 0.3054269590895734 treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495605_0.png resize: (67, 106) 1389543956 -1.5954341103814913 treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495617_0.png resize: (121, 83) 1389543957 -0.3747423921494996 treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495618_0.png resize: (99, 86) 1389543958 -1.88123903598186 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495597_0.png resize: (962, 1044) 1389543972 0.5102438835370482 treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495595_0.png resize: (182, 61) 1389543973 -1.0775592483905663 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495604_0.png resize: (996, 1169) 1389543974 0.2230048193571969 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495603_0.png resize: (59, 71) 1389543975 -3.386289692634789 treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495602_0.png resize: (232, 118) 1389543976 -3.7695175192059103 treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495608_0.png resize: (504, 318) 1389543977 0.14374543534477427 treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495612_0.png resize: (989, 1722) 1389543978 -1.8495513933874272 treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495616_0.png resize: (971, 1777) 1389543979 -0.9631145751360412 treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495619_0.png resize: (984, 1119) 1389543980 0.09335292687983472 treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495622_0.png resize: (217, 108) 1389543981 -2.404588132664803 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 : 42 time used for this insertion : 0.055222511291503906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.036962270736694336 save missing photos in datou_result : time spend for datou_step_exec : 10.119640827178955 time spend to save output : 0.11042499542236328 total time spend for step 6 : 10.230065822601318 step7:brightness Wed Oct 15 10:11:57 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/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74.jpg treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336.jpg treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb.jpg treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2.jpg treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa.jpg treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba.jpg treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb.jpg treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a.jpg treat image : temp/1760515828_1727819_1389532889_f1209a511de137432b33ac359f4ccf1f.jpg treat image : temp/1760515828_1727819_1389532874_1d2aaa05010b2c30a85c8ea8eb738f19.jpg treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495601_0.png treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495600_0.png treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495607_0.png treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495610_0.png treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495609_0.png treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495611_0.png treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495613_0.png treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495615_0.png treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495614_0.png treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495620_0.png treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495623_0.png treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495621_0.png treat image : temp/1760515828_1727819_1389532889_f1209a511de137432b33ac359f4ccf1f_rle_crop_3998495624_0.png treat image : temp/1760515828_1727819_1389532874_1d2aaa05010b2c30a85c8ea8eb738f19_rle_crop_3998495625_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495596_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495598_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495594_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495599_0.png treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495606_0.png treat image : temp/1760515828_1727819_1389533084_f6553361090c47f915ebb11b159240eb_rle_crop_3998495605_0.png treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495617_0.png treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495618_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495597_0.png treat image : temp/1760515828_1727819_1389533089_aa4b908d1760b43ac04c58342273aa74_rle_crop_3998495595_0.png treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495604_0.png treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495603_0.png treat image : temp/1760515828_1727819_1389533086_6a3bf992d5c07ca0d410cfc094841336_rle_crop_3998495602_0.png treat image : temp/1760515828_1727819_1389532906_7ae9db84a6aa092c642cc7e1540acea2_rle_crop_3998495608_0.png treat image : temp/1760515828_1727819_1389532901_f3dc505303e08094d58b4da39ff95efa_rle_crop_3998495612_0.png treat image : temp/1760515828_1727819_1389532900_7a92cabf1853c52bfe8ee049348307ba_rle_crop_3998495616_0.png treat image : temp/1760515828_1727819_1389532896_9e3056bebc568c9cbd207c58003affbb_rle_crop_3998495619_0.png treat image : temp/1760515828_1727819_1389532893_c6451470272f694490962bc5fbcaed3a_rle_crop_3998495622_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 : 42 time used for this insertion : 0.0397343635559082 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.037294626235961914 save missing photos in datou_result : time spend for datou_step_exec : 2.9383411407470703 time spend to save output : 0.09413409233093262 total time spend for step 7 : 3.032475233078003 step8:velours_tree Wed Oct 15 10:12:00 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.14144110679626465 time spend to save output : 4.9591064453125e-05 total time spend for step 8 : 0.14149069786071777 step9:send_mail_cod Wed Oct 15 10:12:00 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_P27827188_15-10-2025_10_12_01.pdf 27827426 imagette278274261760515921 27827427 imagette278274271760515921 27827428 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 .imagette278274281760515921 27827429 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 .imagette278274291760515921 27827430 imagette278274301760515923 27827431 imagette278274311760515923 27827432 imagette278274321760515923 27827433 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 .imagette278274331760515923 27827434 imagette278274341760515923 27827435 imagette278274351760515923 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27827188 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27827426,27827427,27827428,27827429,27827430,27827431,27827432,27827433,27827434,27827435,27827436?tags=mal_croppe,autre,papier,pet_clair,pehd,background,pet_fonce,carton,flou,metal,environnement args[1389533089] : ((1389533089, -1.2828894414422896, 492688767), (1389533089, 0.6558321201056871, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389533086] : ((1389533086, -2.38193445518535, 492609224), (1389533086, 0.5469669100304902, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389533084] : ((1389533084, -1.5839480370895598, 492688767), (1389533084, 0.7263266635131066, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532906] : ((1389532906, -1.1705864323175594, 492688767), (1389532906, 0.4082908197709089, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532901] : ((1389532901, -1.8777597419054834, 492688767), (1389532901, 0.2982078724864508, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532900] : ((1389532900, 0.25187337531621834, 492688767), (1389532900, 0.3073219285727269, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532896] : ((1389532896, -1.3871006975735478, 492688767), (1389532896, 0.44309386326935485, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532893] : ((1389532893, 1.0419645424965418, 492688767), (1389532893, 0.45976077665401843, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532889] : ((1389532889, -0.7802159793969881, 492688767), (1389532889, 0.5372786021869486, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com args[1389532874] : ((1389532874, -2.1222606921318468, 492609224), (1389532874, 0.3722678417943107, 2107752395), '0.27386424575617285') We are sending mail with results at report@fotonower.com refus_total : 0.27386424575617285 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=27827188 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_P27827188_15-10-2025_10_12_01.pdf results_Auto_P27827188_15-10-2025_10_12_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.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','27827188','results_Auto_P27827188_15-10-2025_10_12_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf','pdf','','0.64','0.27386424575617285') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27827188

https://www.fotonower.com/image?json=false&list_photos_id=1389533089
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389533086
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389533084
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532906
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532901
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532900
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532896
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532893
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0419645424965418)
https://www.fotonower.com/image?json=false&list_photos_id=1389532889
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389532874
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/27827428?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27827429?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27827433?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27827426,27827427,27827428,27827429,27827430,27827431,27827432,27827433,27827434,27827435,27827436?tags=mal_croppe,autre,papier,pet_clair,pehd,background,pet_fonce,carton,flou,metal,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 15 Oct 2025 08:12:06 GMT Content-Length: 0 Connection: close X-Message-Id: DM5ytf5ERmKmENedeHQ91Q 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 [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] 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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03674054145812988 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.177482843399048 time spend to save output : 0.03694796562194824 total time spend for step 9 : 5.214430809020996 step10:split_time_score Wed Oct 15 10:12:06 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'}] (('08', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 27827188 Nombre de photos uploadées : 10 / 23040 (0%) 15102025 27827188 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 15102025 27827188 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0003452301025390625 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6371376514434814 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.033287093772694266 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27825271_15-10-2025_08_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27825271 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`=27825271 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827187 order by id desc limit 1 Qualite : 0.27386424575617285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827188 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`=27827188 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827191 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'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 [1389533089, 1389533086, 1389533084, 1389532906, 1389532901, 1389532900, 1389532896, 1389532893, 1389532889, 1389532874] Looping around the photos to save general results len do output : 1 /27827188Didn'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, '3945646') ('3318', '27827188', '1389533089', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533086', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389533084', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532906', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532901', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532900', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532896', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532893', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532889', None, None, None, None, None, '3945646') ('3318', None, None, None, None, None, None, None, '3945646') ('3318', '27827188', '1389532874', None, None, None, None, None, '3945646') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.08185434341430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9238555431365967 time spend to save output : 0.08213210105895996 total time spend for step 10 : 3.0059876441955566 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 53.48user 12.47system 1:44.50elapsed 63%CPU (0avgtext+0avgdata 2747492maxresident)k 436088inputs+42568outputs (13major+1147759minor)pagefaults 0swaps