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 : 2673915 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 : ['4141389'] with mtr_portfolio_ids : ['29024910'] and first list_photo_ids : [] new path : /proc/2673915/ 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.3146612644195557 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 Sat Nov 29 16: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-11-29 16:10:33.153673: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-29 16:10:33.178455: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-29 16:10:33.180241: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe388000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-29 16:10:33.180281: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-29 16:10:33.183833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-29 16:10:33.491459: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1de83770 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-29 16:10:33.491517: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-29 16:10:33.492968: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-29 16:10:33.493356: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 16:10:33.496389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 16:10:33.499066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 16:10:33.499501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 16:10:33.502133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 16:10:33.503395: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 16:10:33.511754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 16:10:33.513192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 16:10:33.513261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 16:10:33.513987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-29 16:10:33.514000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-29 16:10:33.514007: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-29 16:10:33.515556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-29 16:10:33.785231: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-29 16:10:33.785309: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 16:10:33.785330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 16:10:33.785347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 16:10:33.785365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 16:10:33.785382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 16:10:33.785399: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 16:10:33.785417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 16:10:33.787009: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 16:10:33.788268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-29 16:10:33.788301: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 16:10:33.788319: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 16:10:33.788336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 16:10:33.788353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 16:10:33.788370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 16:10:33.788386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 16:10:33.788403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 16:10:33.789979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 16:10:33.790009: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-29 16:10:33.790020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-29 16:10:33.790029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-29 16:10:33.791663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-29 16:10:41.782966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 16:10:41.975671: 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: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2674491 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [903, 933, 1017, 1038] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022411346435546875 nb_pixel_total : 5197 time to create 1 rle with old method : 0.00714421272277832 length of segment : 89 DEBUG bbox = [336, 1086, 429, 1173] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011181831359863281 nb_pixel_total : 5495 time to create 1 rle with old method : 0.006261110305786133 length of segment : 88 DEBUG bbox = [930, 1371, 1068, 1527] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022482872009277344 nb_pixel_total : 13246 time to create 1 rle with old method : 0.01530766487121582 length of segment : 131 DEBUG bbox = [27, 90, 1014, 1095] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.010954856872558594 nb_pixel_total : 683496 time to create 1 rle with new method : 0.0327761173248291 length of segment : 990 DEBUG bbox = [690, 1182, 843, 1314] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 10552 time to create 1 rle with old method : 0.011975288391113281 length of segment : 176 DEBUG bbox = [918, 1071, 1077, 1206] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00021791458129882812 nb_pixel_total : 15497 time to create 1 rle with old method : 0.017380475997924805 length of segment : 150 DEBUG bbox = [486, 1734, 633, 1866] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 6305 time to create 1 rle with old method : 0.0072536468505859375 length of segment : 132 DEBUG bbox = [810, 1224, 1077, 1404] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004162788391113281 nb_pixel_total : 24379 time to create 1 rle with old method : 0.026935338973999023 length of segment : 258 DEBUG bbox = [408, 972, 516, 1116] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 8181 time to create 1 rle with old method : 0.009544849395751953 length of segment : 105 DEBUG bbox = [327, 1071, 423, 1173] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010657310485839844 nb_pixel_total : 7300 time to create 1 rle with old method : 0.008392095565795898 length of segment : 93 DEBUG bbox = [405, 1194, 456, 1251] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 1934 time to create 1 rle with old method : 0.0024023056030273438 length of segment : 46 DEBUG bbox = [396, 1821, 519, 1920] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 6769 time to create 1 rle with old method : 0.007720232009887695 length of segment : 103 DEBUG bbox = [3, 18, 1020, 1179] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.008424997329711914 nb_pixel_total : 661167 time to create 1 rle with new method : 0.01996612548828125 length of segment : 1344 DEBUG bbox = [249, 1386, 399, 1497] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016188621520996094 nb_pixel_total : 9101 time to create 1 rle with old method : 0.01026153564453125 length of segment : 148 DEBUG bbox = [1032, 1200, 1074, 1311] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.082389831542969e-05 nb_pixel_total : 3481 time to create 1 rle with old method : 0.004246234893798828 length of segment : 40 DEBUG bbox = [555, 786, 645, 921] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001308917999267578 nb_pixel_total : 7104 time to create 1 rle with old method : 0.008198738098144531 length of segment : 86 DEBUG bbox = [912, 1209, 1065, 1416] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002493858337402344 nb_pixel_total : 15610 time to create 1 rle with old method : 0.017864704132080078 length of segment : 143 DEBUG bbox = [897, 795, 981, 867] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.748603820800781e-05 nb_pixel_total : 2749 time to create 1 rle with old method : 0.003225088119506836 length of segment : 85 DEBUG bbox = [810, 666, 1047, 831] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003509521484375 nb_pixel_total : 25378 time to create 1 rle with old method : 0.02792191505432129 length of segment : 237 DEBUG bbox = [852, 771, 1077, 1260] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006577968597412109 nb_pixel_total : 55365 time to create 1 rle with old method : 0.060463666915893555 length of segment : 212 DEBUG bbox = [798, 318, 1071, 684] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00069427490234375 nb_pixel_total : 61799 time to create 1 rle with old method : 0.06372261047363281 length of segment : 256 DEBUG bbox = [858, 1269, 969, 1581] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 16970 time to create 1 rle with old method : 0.018132448196411133 length of segment : 97 DEBUG bbox = [828, 1506, 933, 1611] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010442733764648438 nb_pixel_total : 6450 time to create 1 rle with old method : 0.006863117218017578 length of segment : 99 DEBUG bbox = [6, 1227, 195, 1353] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 8624 time to create 1 rle with old method : 0.009925603866577148 length of segment : 150 DEBUG bbox = [117, 1119, 363, 1278] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00030612945556640625 nb_pixel_total : 15426 time to create 1 rle with old method : 0.016271352767944336 length of segment : 231 DEBUG bbox = [378, 1182, 453, 1302] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010752677917480469 nb_pixel_total : 5644 time to create 1 rle with old method : 0.0061910152435302734 length of segment : 71 DEBUG bbox = [819, 945, 963, 1095] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 11500 time to create 1 rle with old method : 0.012782812118530273 length of segment : 130 DEBUG bbox = [405, 1509, 627, 1656] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002334117889404297 nb_pixel_total : 12836 time to create 1 rle with old method : 0.014091968536376953 length of segment : 219 DEBUG bbox = [420, 1254, 552, 1386] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 5873 time to create 1 rle with old method : 0.006366252899169922 length of segment : 86 DEBUG bbox = [0, 1197, 96, 1344] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 7358 time to create 1 rle with old method : 0.008785247802734375 length of segment : 84 time spent for convertir_results : 1.6000378131866455 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 30 chid ids of type : 3594 Number RLEs to save : 6079 save missing photos in datou_result : time spend for datou_step_exec : 23.78692865371704 time spend to save output : 0.4451792240142822 total time spend for step 1 : 24.232107877731323 step2:crop_condition Sat Nov 29 16:10:54 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 30 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/1764429056_2673915 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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529075_0.png', 0, 96, 89, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529080_0.png', 0, 124, 150, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529079_0.png', 0, 128, 133, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529086_0.png', 0, 90, 102, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904315_f4ba0f6a2d1a6c5742e53907422ff099_rle_crop_4051529088_0.png', 0, 108, 143, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529092_0.png', 0, 63, 76, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529089_0.png', 0, 107, 40, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529095_0.png', 0, 347, 255, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529093_0.png', 0, 139, 226, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529094_0.png', 0, 426, 211, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529101_0.png', 0, 145, 122, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529100_0.png', 0, 112, 71, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529103_0.png', 0, 103, 86, 0, 1764429058,'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(1764429058), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529102_0.png', 0, 125, 219, 0, 1764429058,'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 : 2.996671676635742 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764429064_2673915 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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529078_0.png', 0, 983, 970, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529076_0.png', 0, 84, 86, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529081_0.png', 0, 118, 132, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529087_0.png', 0, 998, 977, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529083_0.png', 0, 126, 105, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529084_0.png', 0, 96, 93, 0, 1764429065,'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(1764429065), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529085_0.png', 0, 55, 46, 0, 1764429065,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6447558403015137 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764429066_2673915 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(1764429067), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529090_0.png', 0, 128, 86, 0, 1764429067,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.019094467163086 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1764429068_2673915 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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529077_0.png', 0, 145, 130, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529082_0.png', 0, 157, 243, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529091_0.png', 0, 196, 124, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529096_0.png', 0, 253, 88, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529097_0.png', 0, 96, 99, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904262_7a4e12cdfefba05b5b92ad48bc265543_rle_crop_4051529098_0.png', 0, 87, 147, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396904229_75d203e42a56f7e18a66b63311dd271e_rle_crop_4051529099_0.png', 0, 128, 231, 0, 1764429070,'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(1764429070), 0.0, 0.0, 14, '', 0, 0, '1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529104_0.png', 0, 141, 83, 0, 1764429070,'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 : 2.4378058910369873 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] Looping around the photos to save general results len do output : 30 /1396907485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396907516Didn'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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.021970272064208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.87068486213684 time spend to save output : 0.023290634155273438 total time spend for step 2 : 15.893975496292114 step3:rle_unique_nms_with_priority Sat Nov 29 16:11:10 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 30 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.3918740749359131 time for calcul the mask position with numpy : 0.041518211364746094 nb_pixel_total : 1366166 time to create 1 rle with new method : 0.13520288467407227 time for calcul the mask position with numpy : 0.021828651428222656 nb_pixel_total : 683496 time to create 1 rle with new method : 0.11568284034729004 time for calcul the mask position with numpy : 0.006005525588989258 nb_pixel_total : 13246 time to create 1 rle with old method : 0.013776540756225586 time for calcul the mask position with numpy : 0.005595207214355469 nb_pixel_total : 5495 time to create 1 rle with old method : 0.005861043930053711 time for calcul the mask position with numpy : 0.005599498748779297 nb_pixel_total : 5197 time to create 1 rle with old method : 0.005549907684326172 create new chi : 0.3733651638031006 time to delete rle : 0.03204035758972168 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3676 TO DO : save crop sub photo not yet done ! save time : 0.27107930183410645 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.14417743682861328 time for calcul the mask position with numpy : 0.11846303939819336 nb_pixel_total : 2016867 time to create 1 rle with new method : 0.22131085395812988 time for calcul the mask position with numpy : 0.005910634994506836 nb_pixel_total : 24379 time to create 1 rle with old method : 0.025435686111450195 time for calcul the mask position with numpy : 0.005663394927978516 nb_pixel_total : 6305 time to create 1 rle with old method : 0.0065155029296875 time for calcul the mask position with numpy : 0.005812883377075195 nb_pixel_total : 15497 time to create 1 rle with old method : 0.016379594802856445 time for calcul the mask position with numpy : 0.005696535110473633 nb_pixel_total : 10552 time to create 1 rle with old method : 0.010909080505371094 create new chi : 0.43103957176208496 time to delete rle : 0.00037217140197753906 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2512 TO DO : save crop sub photo not yet done ! save time : 0.2146458625793457 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07155942916870117 time for calcul the mask position with numpy : 0.03963756561279297 nb_pixel_total : 1388346 time to create 1 rle with new method : 0.16500377655029297 time for calcul the mask position with numpy : 0.009988069534301758 nb_pixel_total : 661070 time to create 1 rle with new method : 0.0748748779296875 time for calcul the mask position with numpy : 0.0057811737060546875 nb_pixel_total : 6769 time to create 1 rle with old method : 0.007153511047363281 time for calcul the mask position with numpy : 0.005692481994628906 nb_pixel_total : 1934 time to create 1 rle with old method : 0.0021033287048339844 time for calcul the mask position with numpy : 0.0059680938720703125 nb_pixel_total : 7300 time to create 1 rle with old method : 0.0077037811279296875 time for calcul the mask position with numpy : 0.005564689636230469 nb_pixel_total : 8181 time to create 1 rle with old method : 0.008564472198486328 create new chi : 0.35366201400756836 time to delete rle : 0.00047087669372558594 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 4428 TO DO : save crop sub photo not yet done ! save time : 0.29976415634155273 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03203439712524414 time for calcul the mask position with numpy : 0.019248247146606445 nb_pixel_total : 2064499 time to create 1 rle with new method : 0.030136823654174805 time for calcul the mask position with numpy : 0.005793333053588867 nb_pixel_total : 9101 time to create 1 rle with old method : 0.009572744369506836 create new chi : 0.06496906280517578 time to delete rle : 0.0002117156982421875 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.12124514579772949 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.051941871643066406 time for calcul the mask position with numpy : 0.11509490013122559 nb_pixel_total : 2044656 time to create 1 rle with new method : 0.14810490608215332 time for calcul the mask position with numpy : 0.005696535110473633 nb_pixel_total : 2749 time to create 1 rle with old method : 0.002888917922973633 time for calcul the mask position with numpy : 0.0055654048919677734 nb_pixel_total : 15610 time to create 1 rle with old method : 0.01657247543334961 time for calcul the mask position with numpy : 0.005628347396850586 nb_pixel_total : 7104 time to create 1 rle with old method : 0.007378101348876953 time for calcul the mask position with numpy : 0.005770444869995117 nb_pixel_total : 3481 time to create 1 rle with old method : 0.0038306713104248047 create new chi : 0.32622289657592773 time to delete rle : 0.00028824806213378906 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1788 TO DO : save crop sub photo not yet done ! save time : 0.15262293815612793 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.06591486930847168 time for calcul the mask position with numpy : 0.05973458290100098 nb_pixel_total : 1907638 time to create 1 rle with new method : 0.13241004943847656 time for calcul the mask position with numpy : 0.0097808837890625 nb_pixel_total : 6450 time to create 1 rle with old method : 0.006651401519775391 time for calcul the mask position with numpy : 0.008147001266479492 nb_pixel_total : 16970 time to create 1 rle with old method : 0.018008947372436523 time for calcul the mask position with numpy : 0.005974769592285156 nb_pixel_total : 61799 time to create 1 rle with old method : 0.06536173820495605 time for calcul the mask position with numpy : 0.0059816837310791016 nb_pixel_total : 55365 time to create 1 rle with old method : 0.0641944408416748 time for calcul the mask position with numpy : 0.005984067916870117 nb_pixel_total : 25378 time to create 1 rle with old method : 0.026041269302368164 create new chi : 0.418231725692749 time to delete rle : 0.0002720355987548828 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2882 TO DO : save crop sub photo not yet done ! save time : 0.2215280532836914 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06208038330078125 time for calcul the mask position with numpy : 0.025899410247802734 nb_pixel_total : 2064976 time to create 1 rle with new method : 0.05127406120300293 time for calcul the mask position with numpy : 0.0055599212646484375 nb_pixel_total : 8624 time to create 1 rle with old method : 0.009196758270263672 create new chi : 0.09215474128723145 time to delete rle : 0.00022101402282714844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1380 TO DO : save crop sub photo not yet done ! save time : 0.12667107582092285 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03231334686279297 time for calcul the mask position with numpy : 0.01820206642150879 nb_pixel_total : 2058174 time to create 1 rle with new method : 0.027330875396728516 time for calcul the mask position with numpy : 0.005589723587036133 nb_pixel_total : 15426 time to create 1 rle with old method : 0.01588129997253418 create new chi : 0.06722259521484375 time to delete rle : 0.0002288818359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1542 TO DO : save crop sub photo not yet done ! save time : 0.14379119873046875 No data in photo_id : 1396904201 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.2717161178588867 time for calcul the mask position with numpy : 0.12113451957702637 nb_pixel_total : 2030389 time to create 1 rle with new method : 0.07686877250671387 time for calcul the mask position with numpy : 0.005653858184814453 nb_pixel_total : 7358 time to create 1 rle with old method : 0.007565975189208984 time for calcul the mask position with numpy : 0.005970478057861328 nb_pixel_total : 5873 time to create 1 rle with old method : 0.00616765022277832 time for calcul the mask position with numpy : 0.005925655364990234 nb_pixel_total : 12836 time to create 1 rle with old method : 0.013658523559570312 time for calcul the mask position with numpy : 0.005839109420776367 nb_pixel_total : 11500 time to create 1 rle with old method : 0.011964559555053711 time for calcul the mask position with numpy : 0.005646228790283203 nb_pixel_total : 5644 time to create 1 rle with old method : 0.005814313888549805 create new chi : 0.2823338508605957 time to delete rle : 0.0003349781036376953 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2260 TO DO : save crop sub photo not yet done ! save time : 0.17805838584899902 map_output_result : {1396904340: (0.0, 'Should be the crop_list due to order', 0), 1396904337: (0.0, 'Should be the crop_list due to order', 0), 1396904334: (0.0, 'Should be the crop_list due to order', 0), 1396904315: (0.0, 'Should be the crop_list due to order', 0), 1396904312: (0.0, 'Should be the crop_list due to order', 0), 1396904293: (0.0, 'Should be the crop_list due to order', 0), 1396904262: (0.0, 'Should be the crop_list due to order', 0), 1396904229: (0.0, 'Should be the crop_list due to order', 0), 1396904201: (0.0, 'Should be the crop_list due to order', 0.0), 1396903714: (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 [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] Looping around the photos to save general results len do output : 10 /1396904340.Didn't retrieve data . /1396904337.Didn't retrieve data . /1396904334.Didn't retrieve data . /1396904315.Didn't retrieve data . /1396904312.Didn't retrieve data . /1396904293.Didn't retrieve data . /1396904262.Didn't retrieve data . /1396904229.Didn't retrieve data . /1396904201.Didn't retrieve data . /1396903714.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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014939069747924805 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.62674617767334 time spend to save output : 0.015295743942260742 total time spend for step 3 : 5.642041921615601 step4:ventilate_hashtags_in_portfolio Sat Nov 29 16:11:16 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 : 29024910 get user id for portfolio 29024910 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`=29024910 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','pet_clair','environnement','carton','autre','mal_croppe','flou','background','pehd','papier')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29024910 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','pet_clair','environnement','carton','autre','mal_croppe','flou','background','pehd','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29024910 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','pet_clair','environnement','carton','autre','mal_croppe','flou','background','pehd','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29024931,29024932,29024933,29024934,29024935,29024936,29024937,29024938,29024939,29024940,29024941?tags=metal,pet_fonce,pet_clair,environnement,carton,autre,mal_croppe,flou,background,pehd,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] Looping around the photos to save general results len do output : 1 /29024910. 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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01546621322631836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8931593894958496 time spend to save output : 0.015744924545288086 total time spend for step 4 : 1.9089043140411377 step5:final Sat Nov 29 16:11:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1396904340: ('0.08298075810185186',), 1396904337: ('0.08298075810185186',), 1396904334: ('0.08298075810185186',), 1396904315: ('0.08298075810185186',), 1396904312: ('0.08298075810185186',), 1396904293: ('0.08298075810185186',), 1396904262: ('0.08298075810185186',), 1396904229: ('0.08298075810185186',), 1396904201: ('0.08298075810185186',), 1396903714: ('0.08298075810185186',)} new output for save of step final : {1396904340: ('0.08298075810185186',), 1396904337: ('0.08298075810185186',), 1396904334: ('0.08298075810185186',), 1396904315: ('0.08298075810185186',), 1396904312: ('0.08298075810185186',), 1396904293: ('0.08298075810185186',), 1396904262: ('0.08298075810185186',), 1396904229: ('0.08298075810185186',), 1396904201: ('0.08298075810185186',), 1396903714: ('0.08298075810185186',)} [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] Looping around the photos to save general results len do output : 10 /1396904340.Didn't retrieve data . /1396904337.Didn't retrieve data . /1396904334.Didn't retrieve data . /1396904315.Didn't retrieve data . /1396904312.Didn't retrieve data . /1396904293.Didn't retrieve data . /1396904262.Didn't retrieve data . /1396904229.Didn't retrieve data . /1396904201.Didn't retrieve data . /1396903714.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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015398263931274414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13533234596252441 time spend to save output : 0.0158843994140625 total time spend for step 5 : 0.15121674537658691 step6:blur_detection Sat Nov 29 16:11:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08.jpg resize: (1080, 1920) 1396904340 -1.265248049821788 treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21.jpg resize: (1080, 1920) 1396904337 0.9046871034669626 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8.jpg resize: (1080, 1920) 1396904334 0.33016133842165823 treat image : temp/1764429029_2673915_1396904315_f4ba0f6a2d1a6c5742e53907422ff099.jpg resize: (1080, 1920) 1396904315 -1.1914386066657903 treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654.jpg resize: (1080, 1920) 1396904312 -0.316025312869884 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407.jpg resize: (1080, 1920) 1396904293 -0.45837412691929014 treat image : temp/1764429029_2673915_1396904262_7a4e12cdfefba05b5b92ad48bc265543.jpg resize: (1080, 1920) 1396904262 -1.0233768845096005 treat image : temp/1764429029_2673915_1396904229_75d203e42a56f7e18a66b63311dd271e.jpg resize: (1080, 1920) 1396904229 -0.7837520088916168 treat image : temp/1764429029_2673915_1396904201_40837ef0348e602fb5ccc8af8a89bded.jpg resize: (1080, 1920) 1396904201 -1.14220909837138 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a.jpg resize: (1080, 1920) 1396903714 0.8182368642830802 treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529075_0.png resize: (89, 96) 1396907485 -0.7958473339165762 treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529080_0.png resize: (150, 124) 1396907486 -1.7529785621213825 treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529079_0.png resize: (133, 128) 1396907487 -3.1816006454549117 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529086_0.png resize: (102, 90) 1396907488 -4.229293725752476 treat image : temp/1764429029_2673915_1396904315_f4ba0f6a2d1a6c5742e53907422ff099_rle_crop_4051529088_0.png resize: (143, 108) 1396907489 -1.6886975067137622 treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529092_0.png resize: (76, 63) 1396907490 -0.8649934308844421 treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529089_0.png resize: (40, 107) 1396907491 2.809851289309856 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529095_0.png resize: (255, 347) 1396907492 -1.9056662021276543 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529093_0.png resize: (226, 139) 1396907493 -1.2407607446449502 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529094_0.png resize: (211, 426) 1396907494 -1.988119443579341 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529101_0.png resize: (122, 145) 1396907495 -0.1756378472598426 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529100_0.png resize: (71, 112) 1396907496 -1.2467211022771596 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529103_0.png resize: (86, 103) 1396907497 -1.4166006987088875 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529102_0.png resize: (219, 125) 1396907498 -1.8984600490360917 treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529078_0.png resize: (970, 983) 1396907501 -0.034130379720095874 treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529076_0.png resize: (86, 84) 1396907502 -0.5279768779638689 treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529081_0.png resize: (132, 118) 1396907503 -2.264010866161785 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529087_0.png resize: (977, 998) 1396907504 -1.202980316693646 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529083_0.png resize: (105, 126) 1396907505 -1.6963779555855327 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529084_0.png resize: (93, 96) 1396907506 1.6085145864203667 treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529085_0.png resize: (46, 55) 1396907507 3.5545210459910113 treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529090_0.png resize: (86, 128) 1396907508 -2.385593908678669 treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529077_0.png resize: (130, 145) 1396907509 -1.1792414657952868 treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529082_0.png resize: (243, 157) 1396907510 -2.486985734665679 treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529091_0.png resize: (124, 196) 1396907511 -1.2993933394786121 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529096_0.png resize: (88, 253) 1396907512 -2.53931744582599 treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529097_0.png resize: (99, 96) 1396907513 -1.1437815505798694 treat image : temp/1764429029_2673915_1396904262_7a4e12cdfefba05b5b92ad48bc265543_rle_crop_4051529098_0.png resize: (147, 87) 1396907514 -0.6088977059233569 treat image : temp/1764429029_2673915_1396904229_75d203e42a56f7e18a66b63311dd271e_rle_crop_4051529099_0.png resize: (231, 128) 1396907515 -1.7434173657137635 treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529104_0.png resize: (83, 141) 1396907516 -1.2255241894417979 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 : 40 time used for this insertion : 0.017113924026489258 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.015484094619750977 save missing photos in datou_result : time spend for datou_step_exec : 8.4118013381958 time spend to save output : 0.03900504112243652 total time spend for step 6 : 8.450806379318237 step7:brightness Sat Nov 29 16:11:26 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/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08.jpg treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21.jpg treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8.jpg treat image : temp/1764429029_2673915_1396904315_f4ba0f6a2d1a6c5742e53907422ff099.jpg treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654.jpg treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407.jpg treat image : temp/1764429029_2673915_1396904262_7a4e12cdfefba05b5b92ad48bc265543.jpg treat image : temp/1764429029_2673915_1396904229_75d203e42a56f7e18a66b63311dd271e.jpg treat image : temp/1764429029_2673915_1396904201_40837ef0348e602fb5ccc8af8a89bded.jpg treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a.jpg treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529075_0.png treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529080_0.png treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529079_0.png treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529086_0.png treat image : temp/1764429029_2673915_1396904315_f4ba0f6a2d1a6c5742e53907422ff099_rle_crop_4051529088_0.png treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529092_0.png treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529089_0.png treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529095_0.png treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529093_0.png treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529094_0.png treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529101_0.png treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529100_0.png treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529103_0.png treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529102_0.png treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529078_0.png treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529076_0.png treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529081_0.png treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529087_0.png treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529083_0.png treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529084_0.png treat image : temp/1764429029_2673915_1396904334_1335d16f1bbed921b0d5c110f98772b8_rle_crop_4051529085_0.png treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529090_0.png treat image : temp/1764429029_2673915_1396904340_d5e422aaeb99361ca7773e6501736a08_rle_crop_4051529077_0.png treat image : temp/1764429029_2673915_1396904337_740c92f7e4b6317b438feb5ccb0cfc21_rle_crop_4051529082_0.png treat image : temp/1764429029_2673915_1396904312_71b951bb13a2a73e38e6e4d6d984e654_rle_crop_4051529091_0.png treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529096_0.png treat image : temp/1764429029_2673915_1396904293_bcd8bcfe16f7bc0ef093aa878aa9e407_rle_crop_4051529097_0.png treat image : temp/1764429029_2673915_1396904262_7a4e12cdfefba05b5b92ad48bc265543_rle_crop_4051529098_0.png treat image : temp/1764429029_2673915_1396904229_75d203e42a56f7e18a66b63311dd271e_rle_crop_4051529099_0.png treat image : temp/1764429029_2673915_1396903714_58f0d4e6f24b1ca880ae7cc9635e205a_rle_crop_4051529104_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 : 40 time used for this insertion : 0.015605449676513672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.01694655418395996 save missing photos in datou_result : time spend for datou_step_exec : 2.6011621952056885 time spend to save output : 0.03808474540710449 total time spend for step 7 : 2.639246940612793 step8:velours_tree Sat Nov 29 16:11:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.08463454246520996 time spend to save output : 3.695487976074219e-05 total time spend for step 8 : 0.0846714973449707 step9:send_mail_cod Sat Nov 29 16:11:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P29024910_29-11-2025_16_11_29.pdf 29024931 change filename to text .imagette290249311764429089 29024932 imagette290249321764429089 29024933 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 .imagette290249331764429089 29024935 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 .imagette290249351764429090 29024936 imagette290249361764429090 29024937 imagette290249371764429090 29024938 imagette290249381764429090 29024939 imagette290249391764429090 29024940 imagette290249401764429090 29024941 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 .imagette290249411764429090 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29024910 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29024931,29024932,29024933,29024934,29024935,29024936,29024937,29024938,29024939,29024940,29024941?tags=metal,pet_fonce,pet_clair,environnement,carton,autre,mal_croppe,flou,background,pehd,papier your option no_mail is active, we will not send the real mail to your client args[1396904340] : ((1396904340, -1.265248049821788, 492688767), (1396904340, 0.48340009902364517, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904337] : ((1396904337, 0.9046871034669626, 492688767), (1396904337, 0.4463218540483369, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904334] : ((1396904334, 0.33016133842165823, 492688767), (1396904334, 0.3642684247329055, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904315] : ((1396904315, -1.1914386066657903, 492688767), (1396904315, 0.4592848377898938, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904312] : ((1396904312, -0.316025312869884, 492688767), (1396904312, 0.5551407178323895, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904293] : ((1396904293, -0.45837412691929014, 492688767), (1396904293, 0.6949819863368879, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904262] : ((1396904262, -1.0233768845096005, 492688767), (1396904262, 0.710568072230063, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904229] : ((1396904229, -0.7837520088916168, 492688767), (1396904229, 0.45684176355847717, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396904201] : ((1396904201, -1.14220909837138, 492688767), (1396904201, 0.5061773842061383, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com args[1396903714] : ((1396903714, 0.8182368642830802, 492688767), (1396903714, 0.6286881363581481, 2107752395), '0.08298075810185186') We are sending mail with results at report@fotonower.com refus_total : 0.08298075810185186 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=29024910 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_P29024910_29-11-2025_16_11_29.pdf results_Auto_P29024910_29-11-2025_16_11_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29024910_29-11-2025_16_11_29.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','29024910','results_Auto_P29024910_29-11-2025_16_11_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29024910_29-11-2025_16_11_29.pdf','pdf','','0.26','0.08298075810185186') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] 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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01586174964904785 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.603968858718872 time spend to save output : 0.01607036590576172 total time spend for step 9 : 3.620039224624634 step10:split_time_score Sat Nov 29 16:11:33 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'}] (('15', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29112025 29024910 Nombre de photos uploadées : 10 / 23040 (0%) 29112025 29024910 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 29112025 29024910 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.00042629241943359375 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2357776165008545 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.10320384837962962 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29021685_29-11-2025_10_51_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29021685 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`=29021685 AND mptpi.`type`=3594 To do Qualite : 0.041827811535493815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29022217_29-11-2025_10_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29022217 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`=29022217 AND mptpi.`type`=3594 To do Qualite : 0.017633715628507293 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29022669_29-11-2025_11_11_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29022669 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`=29022669 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29024909 order by id desc limit 1 Qualite : 0.08298075810185186 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29024910_29-11-2025_16_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29024910 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`=29024910 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29112025': {'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 [1396904340, 1396904337, 1396904334, 1396904315, 1396904312, 1396904293, 1396904262, 1396904229, 1396904201, 1396903714] Looping around the photos to save general results len do output : 1 /29024910Didn'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, '4141389') ('3318', '29024910', '1396904340', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904337', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904334', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904315', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904312', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904293', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904262', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904229', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396904201', None, None, None, None, None, '4141389') ('3318', None, None, None, None, None, None, None, '4141389') ('3318', '29024910', '1396903714', None, None, None, None, None, '4141389') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016067981719970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.919062614440918 time spend to save output : 0.016269445419311523 total time spend for step 10 : 1.9353320598602295 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 35.84user 17.89system 1:09.91elapsed 76%CPU (0avgtext+0avgdata 2834368maxresident)k 498864inputs+19216outputs (40major+1545914minor)pagefaults 0swaps