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 : 1612019 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: [] Date 2026-02-27 20:00:29.146648 Current got : datou_id : 3318, datou_cur_ids : ['4353428'] with mtr_portfolio_ids : ['30536403'] and first list_photo_ids : [] new path : /proc/1612019/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 2.453559160232544 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Feb 27 20:00:31 2026 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 : 10332 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-02-27 20:00:35.934423: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-02-27 20:00:35.966469: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-02-27 20:00:35.968651: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3c34000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-02-27 20:00:35.968704: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-02-27 20:00:35.973219: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-02-27 20:00:36.212402: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xb3a73e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-02-27 20:00:36.212463: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-02-27 20:00:36.214066: 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 2026-02-27 20:00:36.214462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:00:36.217131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:00:36.235187: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:00:36.235829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:00:36.265695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:00:36.270034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:00:36.324503: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:00:36.326019: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:00:36.326440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:00:36.328107: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-27 20:00:36.328123: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-27 20:00:36.328133: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-27 20:00:36.329802: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9570 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. 2026-02-27 20:00:36.748622: 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 2026-02-27 20:00:36.748704: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:00:36.748725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:00:36.748744: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:00:36.748762: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:00:36.748781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:00:36.748799: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:00:36.748817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:00:36.750401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:00:36.751756: 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 2026-02-27 20:00:36.751790: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-02-27 20:00:36.751809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:00:36.751826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-02-27 20:00:36.751843: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-02-27 20:00:36.751861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-02-27 20:00:36.751878: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-02-27 20:00:36.751895: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-02-27 20:00:36.753448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-02-27 20:00:36.753481: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-02-27 20:00:36.753491: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-02-27 20:00:36.753501: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-02-27 20:00:36.755105: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9570 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 : [] file manque in s3 : ['mask_model.h5'] 2026-02-27 20:00:46.731544: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-02-27 20:00:47.024122: 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 list_images length : 15 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 2 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 : 4 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 1612459 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4052 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 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 : 5451 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 = [0, 1695, 51, 1785] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022149085998535156 nb_pixel_total : 2941 time to create 1 rle with old method : 0.003716707229614258 length of segment : 46 DEBUG bbox = [513, 1509, 1065, 1872] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0018486976623535156 nb_pixel_total : 97406 time to create 1 rle with old method : 0.11596846580505371 length of segment : 523 DEBUG bbox = [3, 1755, 87, 1896] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 4791 time to create 1 rle with old method : 0.005995750427246094 length of segment : 73 DEBUG bbox = [477, 1512, 1080, 1872] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0015726089477539062 nb_pixel_total : 99439 time to create 1 rle with old method : 0.1181020736694336 length of segment : 591 DEBUG bbox = [495, 1548, 1077, 1887] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0014052391052246094 nb_pixel_total : 109581 time to create 1 rle with old method : 0.12874746322631836 length of segment : 555 DEBUG bbox = [0, 0, 1032, 1011] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.014029264450073242 nb_pixel_total : 739147 time to create 1 rle with new method : 0.05812382698059082 length of segment : 999 DEBUG bbox = [156, 1074, 495, 1272] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005629062652587891 nb_pixel_total : 35642 time to create 1 rle with old method : 0.0421292781829834 length of segment : 326 DEBUG bbox = [528, 1497, 1056, 1896] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0015513896942138672 nb_pixel_total : 114535 time to create 1 rle with old method : 0.13334202766418457 length of segment : 524 DEBUG bbox = [0, 276, 1080, 1773] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.07898879051208496 nb_pixel_total : 1419818 time to create 1 rle with new method : 0.13263535499572754 length of segment : 1194 DEBUG bbox = [480, 1533, 1080, 1899] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.001636505126953125 nb_pixel_total : 97691 time to create 1 rle with old method : 0.10868239402770996 length of segment : 623 DEBUG bbox = [3, 1656, 186, 1770] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 13534 time to create 1 rle with old method : 0.015563726425170898 length of segment : 183 DEBUG bbox = [0, 0, 999, 1818] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.17403507232666016 nb_pixel_total : 1553280 time to create 1 rle with new method : 0.12955260276794434 length of segment : 1223 DEBUG bbox = [18, 960, 141, 1005] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001289844512939453 nb_pixel_total : 3512 time to create 1 rle with old method : 0.003946065902709961 length of segment : 123 DEBUG bbox = [864, 1461, 921, 1530] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 2339 time to create 1 rle with old method : 0.002779722213745117 length of segment : 55 DEBUG bbox = [639, 1296, 681, 1404] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012803077697753906 nb_pixel_total : 2862 time to create 1 rle with old method : 0.003561735153198242 length of segment : 39 DEBUG bbox = [6, 1482, 165, 1665] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 18962 time to create 1 rle with old method : 0.022307157516479492 length of segment : 135 DEBUG bbox = [0, 1821, 117, 1908] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00019431114196777344 nb_pixel_total : 7120 time to create 1 rle with old method : 0.008363723754882812 length of segment : 115 time spent for convertir_results : 3.2802798748016357 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 44 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 7327 save missing photos in datou_result : time spend for datou_step_exec : 32.36672353744507 time spend to save output : 0.476348876953125 total time spend for step 1 : 32.84307241439819 step2:crop_condition Fri Feb 27 20:01:04 2026 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 : 15 ! batch 1 Loaded 44 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772218865_1612019 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(1772218866), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591713_807e29ff35c074a531673b630bd57f65_bib_crop_3998968788_0.jpg', 0, 67, 54, 0, 1772218866,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218866), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591713_807e29ff35c074a531673b630bd57f65_rle_crop_3998962696_0.png', 0, 68, 55, 0, 1772218866,'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(1772218866), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_rle_crop_3998962697_0.png', 0, 102, 39, 0, 1772218866,'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(1772218866), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_bib_crop_3998968792_0.jpg', 0, 101, 38, 0, 1772218866,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3077902793884277 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 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 27 About to insert : list_path_to_insert length 27 new photo from crops ! About to upload 27 photos upload in portfolio : 3736932 init cache_photo without model_param we have 27 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772218884_1612019 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_rle_crop_3998962685_0.png', 0, 330, 519, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_bib_crop_3998966018_0.jpg', 0, 329, 518, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_rle_crop_3998962684_0.png', 0, 86, 46, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_bib_crop_3998966019_0.jpg', 0, 85, 45, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_rle_crop_3998962686_0.png', 0, 105, 70, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591819_c0f1299f192beb2240d98edec3d5a4a7_bib_crop_3998966017_0.jpg', 0, 104, 69, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591813_a4d88f61d687e2fe3709fd51a01f39cb_rle_crop_3998962687_0.png', 0, 332, 535, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591813_a4d88f61d687e2fe3709fd51a01f39cb_bib_crop_3998967781_0.jpg', 0, 331, 534, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591779_2864071bda8eba193be6c2e3c9de0ea3_rle_crop_3998962689_0.png', 0, 976, 995, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591779_2864071bda8eba193be6c2e3c9de0ea3_bib_crop_3998967783_0.jpg', 0, 975, 994, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591779_2864071bda8eba193be6c2e3c9de0ea3_rle_crop_3998962688_0.png', 0, 325, 551, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591779_2864071bda8eba193be6c2e3c9de0ea3_bib_crop_3998967784_0.jpg', 0, 324, 550, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591776_a3fe56316eaf9d082f3995ab0b00db5f_rle_crop_4142597721_0.png', 0, 195, 291, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591776_a3fe56316eaf9d082f3995ab0b00db5f_bib_crop_3998967786_0.jpg', 0, 194, 290, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591773_0a4d8b744931b37398e29fef243edc71_bib_crop_3998967788_0.jpg', 0, 1495, 1005, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591773_0a4d8b744931b37398e29fef243edc71_rle_crop_3998962691_0.png', 0, 1496, 1006, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591773_0a4d8b744931b37398e29fef243edc71_rle_crop_4142597722_0.png', 0, 366, 523, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591743_c5b5071e3e15e8873ac40f63392f1763_rle_crop_3998962692_0.png', 0, 337, 573, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591743_c5b5071e3e15e8873ac40f63392f1763_bib_crop_3998967790_0.jpg', 0, 336, 572, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_rle_crop_4142597723_0.png', 0, 1782, 971, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_bib_crop_3998967793_0.jpg', 0, 1778, 973, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_bib_crop_3998967794_0.jpg', 0, 112, 182, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_rle_crop_3998962693_0.png', 0, 113, 183, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_rle_crop_3998962698_0.png', 0, 178, 134, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_bib_crop_3998968791_0.jpg', 0, 177, 133, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_rle_crop_3998962699_0.png', 0, 84, 115, 0, 1772218888,'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(1772218888), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591683_8267d1a06a46b9032b9076e484672c0c_bib_crop_3998968790_0.jpg', 0, 83, 114, 0, 1772218888,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 27 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.820608854293823 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772218890_1612019 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(1772218890), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_rle_crop_3998962695_0.png', 0, 44, 123, 0, 1772218890,'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(1772218890), 0.0, 0.0, 14, '', 0, 0, '1772218829_1612019_1389591727_32647401522b7672d348b18cc0b0d0ae_bib_crop_3998967792_0.jpg', 0, 25, 15, 0, 1772218890,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8418126106262207 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] Looping around the photos to save general results len do output : 33 /1409805391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1409805437Didn'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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 time used for this insertion : 0.019073486328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.547884702682495 time spend to save output : 0.020837783813476562 total time spend for step 2 : 26.56872248649597 step3:rle_unique_nms_with_priority Fri Feb 27 20:01:31 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 44 chid ids of type : 3594 +++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.38309502601623535 time for calcul the mask position with numpy : 0.10025930404663086 nb_pixel_total : 1968462 time to create 1 rle with new method : 0.1259322166442871 time for calcul the mask position with numpy : 0.0074236392974853516 nb_pixel_total : 4791 time to create 1 rle with old method : 0.005720376968383789 time for calcul the mask position with numpy : 0.007719278335571289 nb_pixel_total : 97406 time to create 1 rle with old method : 0.11287498474121094 time for calcul the mask position with numpy : 0.0073468685150146484 nb_pixel_total : 2941 time to create 1 rle with old method : 0.0035436153411865234 create new chi : 0.3742504119873047 time to delete rle : 0.030094385147094727 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2364 TO DO : save crop sub photo not yet done ! save time : 0.15376567840576172 No data in photo_id : 1389591817 No data in photo_id : 1389591815 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.20676350593566895 time for calcul the mask position with numpy : 0.11895275115966797 nb_pixel_total : 1974161 time to create 1 rle with new method : 0.12385344505310059 time for calcul the mask position with numpy : 0.007955551147460938 nb_pixel_total : 99439 time to create 1 rle with old method : 0.11540770530700684 create new chi : 0.37564969062805176 time to delete rle : 0.0005078315734863281 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 2262 TO DO : save crop sub photo not yet done ! save time : 0.15387415885925293 No data in photo_id : 1389591811 No data in photo_id : 1389591781 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2039322853088379 time for calcul the mask position with numpy : 0.0833897590637207 nb_pixel_total : 1224872 time to create 1 rle with new method : 0.12561392784118652 time for calcul the mask position with numpy : 0.015410423278808594 nb_pixel_total : 739147 time to create 1 rle with new method : 0.14364385604858398 time for calcul the mask position with numpy : 0.007983922958374023 nb_pixel_total : 109581 time to create 1 rle with old method : 0.12519073486328125 create new chi : 0.5084033012390137 time to delete rle : 0.0007913112640380859 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4188 TO DO : save crop sub photo not yet done ! save time : 0.26660633087158203 No data in photo_id : 1389591778 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.23792576789855957 time for calcul the mask position with numpy : 0.0398402214050293 nb_pixel_total : 2037550 time to create 1 rle with new method : 0.5966320037841797 time for calcul the mask position with numpy : 0.008454322814941406 nb_pixel_total : 408 time to create 1 rle with old method : 0.0006964206695556641 time for calcul the mask position with numpy : 0.009016036987304688 nb_pixel_total : 35642 time to create 1 rle with old method : 0.04195427894592285 create new chi : 0.7092862129211426 time to delete rle : 0.0006036758422851562 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1849 TO DO : save crop sub photo not yet done ! save time : 0.13942766189575195 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.1106874942779541 time for calcul the mask position with numpy : 0.017009735107421875 nb_pixel_total : 576510 time to create 1 rle with new method : 0.32053709030151367 time for calcul the mask position with numpy : 0.15023493766784668 nb_pixel_total : 1382555 time to create 1 rle with new method : 0.15315842628479004 time for calcul the mask position with numpy : 0.008229732513427734 nb_pixel_total : 114535 time to create 1 rle with old method : 0.13337278366088867 create new chi : 0.8020877838134766 time to delete rle : 0.0008094310760498047 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4064 TO DO : save crop sub photo not yet done ! save time : 0.2783842086791992 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.14134693145751953 time for calcul the mask position with numpy : 0.14509892463684082 nb_pixel_total : 1975909 time to create 1 rle with new method : 0.31113243103027344 time for calcul the mask position with numpy : 0.015236616134643555 nb_pixel_total : 97691 time to create 1 rle with old method : 0.11330199241638184 create new chi : 0.5900776386260986 time to delete rle : 0.0006046295166015625 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 2326 TO DO : save crop sub photo not yet done ! save time : 0.15764546394348145 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5527596473693848 time for calcul the mask position with numpy : 0.015086650848388672 nb_pixel_total : 503792 time to create 1 rle with new method : 0.12071061134338379 time for calcul the mask position with numpy : 0.010082483291625977 nb_pixel_total : 376 time to create 1 rle with old method : 0.0004544258117675781 time for calcul the mask position with numpy : 0.010093212127685547 nb_pixel_total : 3686 time to create 1 rle with old method : 0.005985260009765625 time for calcul the mask position with numpy : 0.020925045013427734 nb_pixel_total : 1552212 time to create 1 rle with new method : 0.04449319839477539 time for calcul the mask position with numpy : 0.006162166595458984 nb_pixel_total : 13534 time to create 1 rle with old method : 0.015860557556152344 create new chi : 0.2505147457122803 time to delete rle : 0.0006248950958251953 batch 1 Loaded 10 chid ids of type : 3594 ++++Number RLEs to save : 4963 TO DO : save crop sub photo not yet done ! save time : 0.3025343418121338 No data in photo_id : 1389591714 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06569480895996094 time for calcul the mask position with numpy : 0.02467656135559082 nb_pixel_total : 2071261 time to create 1 rle with new method : 0.17983746528625488 time for calcul the mask position with numpy : 0.006233692169189453 nb_pixel_total : 2339 time to create 1 rle with old method : 0.0027980804443359375 create new chi : 0.2138385772705078 time to delete rle : 0.00030231475830078125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1190 TO DO : save crop sub photo not yet done ! save time : 0.09553885459899902 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.15355300903320312 time for calcul the mask position with numpy : 0.0915675163269043 nb_pixel_total : 2044656 time to create 1 rle with new method : 0.16994690895080566 time for calcul the mask position with numpy : 0.006533145904541016 nb_pixel_total : 7120 time to create 1 rle with old method : 0.008797407150268555 time for calcul the mask position with numpy : 0.0072977542877197266 nb_pixel_total : 18962 time to create 1 rle with old method : 0.021902084350585938 time for calcul the mask position with numpy : 0.0069463253021240234 nb_pixel_total : 2862 time to create 1 rle with old method : 0.003365039825439453 create new chi : 0.32035040855407715 time to delete rle : 0.00029087066650390625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1658 TO DO : save crop sub photo not yet done ! save time : 0.12682747840881348 map_output_result : {1389591819: (0.0, 'Should be the crop_list due to order', 0), 1389591817: (0.0, 'Should be the crop_list due to order', 0.0), 1389591815: (0.0, 'Should be the crop_list due to order', 0.0), 1389591813: (0.0, 'Should be the crop_list due to order', 0), 1389591811: (0.0, 'Should be the crop_list due to order', 0.0), 1389591781: (0.0, 'Should be the crop_list due to order', 0.0), 1389591779: (0.0, 'Should be the crop_list due to order', 0), 1389591778: (0.0, 'Should be the crop_list due to order', 0.0), 1389591776: (0.0, 'Should be the crop_list due to order', 0), 1389591773: (0.0, 'Should be the crop_list due to order', 0), 1389591743: (0.0, 'Should be the crop_list due to order', 0), 1389591727: (0.0, 'Should be the crop_list due to order', 0), 1389591714: (0.0, 'Should be the crop_list due to order', 0.0), 1389591713: (0.0, 'Should be the crop_list due to order', 0), 1389591683: (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 [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] Looping around the photos to save general results len do output : 15 /1389591819.Didn't retrieve data . /1389591817.Didn't retrieve data . /1389591815.Didn't retrieve data . /1389591813.Didn't retrieve data . /1389591811.Didn't retrieve data . /1389591781.Didn't retrieve data . /1389591779.Didn't retrieve data . /1389591778.Didn't retrieve data . /1389591776.Didn't retrieve data . /1389591773.Didn't retrieve data . /1389591743.Didn't retrieve data . /1389591727.Didn't retrieve data . /1389591714.Didn't retrieve data . /1389591713.Didn't retrieve data . /1389591683.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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.014217376708984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.277576923370361 time spend to save output : 0.014804601669311523 total time spend for step 3 : 8.292381525039673 step4:ventilate_hashtags_in_portfolio Fri Feb 27 20:01:39 2026 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 : 30536403 get user id for portfolio 30536403 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`=30536403 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','autre','flou','papier','carton','mal_croppe','pet_clair','pehd','background','pet_fonce')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30536403 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','autre','flou','papier','carton','mal_croppe','pet_clair','pehd','background','pet_fonce')) 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`=30536403 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','autre','flou','papier','carton','mal_croppe','pet_clair','pehd','background','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30548307,30548308,30548309,30548310,30548311,30548312,30548313,30548314,30548315,30548316,30548317?tags=environnement,metal,autre,flou,papier,carton,mal_croppe,pet_clair,pehd,background,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] Looping around the photos to save general results len do output : 1 /30536403. 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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015794992446899414 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5802686214447021 time spend to save output : 0.016129493713378906 total time spend for step 4 : 1.596398115158081 step5:final Fri Feb 27 20:01:41 2026 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 : {1389591819: ('0.1377709297839506',), 1389591817: ('0.1377709297839506',), 1389591815: ('0.1377709297839506',), 1389591813: ('0.1377709297839506',), 1389591811: ('0.1377709297839506',), 1389591781: ('0.1377709297839506',), 1389591779: ('0.1377709297839506',), 1389591778: ('0.1377709297839506',), 1389591776: ('0.1377709297839506',), 1389591773: ('0.1377709297839506',), 1389591743: ('0.1377709297839506',), 1389591727: ('0.1377709297839506',), 1389591714: ('0.1377709297839506',), 1389591713: ('0.1377709297839506',), 1389591683: ('0.1377709297839506',)} new output for save of step final : {1389591819: ('0.1377709297839506',), 1389591817: ('0.1377709297839506',), 1389591815: ('0.1377709297839506',), 1389591813: ('0.1377709297839506',), 1389591811: ('0.1377709297839506',), 1389591781: ('0.1377709297839506',), 1389591779: ('0.1377709297839506',), 1389591778: ('0.1377709297839506',), 1389591776: ('0.1377709297839506',), 1389591773: ('0.1377709297839506',), 1389591743: ('0.1377709297839506',), 1389591727: ('0.1377709297839506',), 1389591714: ('0.1377709297839506',), 1389591713: ('0.1377709297839506',), 1389591683: ('0.1377709297839506',)} [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] Looping around the photos to save general results len do output : 15 /1389591819.Didn't retrieve data . /1389591817.Didn't retrieve data . /1389591815.Didn't retrieve data . /1389591813.Didn't retrieve data . /1389591811.Didn't retrieve data . /1389591781.Didn't retrieve data . /1389591779.Didn't retrieve data . /1389591778.Didn't retrieve data . /1389591776.Didn't retrieve data . /1389591773.Didn't retrieve data . /1389591743.Didn't retrieve data . /1389591727.Didn't retrieve data . /1389591714.Didn't retrieve data . /1389591713.Didn't retrieve data . /1389591683.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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.013706207275390625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11286449432373047 time spend to save output : 0.014447927474975586 total time spend for step 5 : 0.12731242179870605 step6:blur_detection Fri Feb 27 20:01:41 2026 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 toutes les photos sont déjà traitées, on saute les calculs 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 : 15 time used for this insertion : 0.00965428352355957 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.022757530212402344 save missing photos in datou_result : time spend for datou_step_exec : 0.026635408401489258 time spend to save output : 0.03669452667236328 total time spend for step 6 : 0.06332993507385254 step7:brightness Fri Feb 27 20:01:41 2026 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 toutes les photos sont déjà traitées, on saute les calculs 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 : 15 time used for this insertion : 0.008801460266113281 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.008867979049682617 save missing photos in datou_result : time spend for datou_step_exec : 0.032453298568725586 time spend to save output : 0.022562742233276367 total time spend for step 7 : 0.05501604080200195 step8:velours_tree Fri Feb 27 20:01:41 2026 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.20280718803405762 time spend to save output : 3.7670135498046875e-05 total time spend for step 8 : 0.20284485816955566 step9:send_mail_cod Fri Feb 27 20:01:41 2026 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 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_P30536403_27-02-2026_20_01_41.pdf 30548308 imagette305483081772218901 30548309 change filename to text .change filename to text .imagette305483091772218901 30548310 imagette305483101772218901 30548311 change filename to text .change filename to text .change filename to text .change filename to text .imagette305483111772218901 30548312 imagette305483121772218901 30548313 imagette305483131772218901 30548314 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette305483141772218901 30548315 imagette305483151772218903 30548316 imagette305483161772218903 30548317 imagette305483171772218903 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30536403 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30548307,30548308,30548309,30548310,30548311,30548312,30548313,30548314,30548315,30548316,30548317?tags=environnement,metal,autre,flou,papier,carton,mal_croppe,pet_clair,pehd,background,pet_fonce your option no_mail is active, we will not send the real mail to your client args[1389591819] : ((1389591819, -1.633197726341792, 492688767), (1389591819, 0.42918384903935053, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591817] : ((1389591817, -2.2414353838301033, 492609224), (1389591817, 0.6037768052518915, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591815] : ((1389591815, -2.2709119771759125, 492609224), (1389591815, 0.6674987974374341, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591813] : ((1389591813, -1.6038847986429523, 492688767), (1389591813, 0.6213818164552317, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591811] : ((1389591811, -1.9454102678007874, 492688767), (1389591811, 0.5326340723423075, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591781] : ((1389591781, -2.3096969677633945, 492609224), (1389591781, 0.7247628283283379, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591779] : ((1389591779, 0.1953346447307898, 492688767), (1389591779, 0.6766346946490899, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591778] : ((1389591778, -2.4359745404323303, 492609224), (1389591778, 0.5887511074109512, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591776] : ((1389591776, -1.4338781926166269, 492688767), (1389591776, 0.5886542444413917, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591773] : ((1389591773, -2.544169661991149, 492609224), (1389591773, 0.4904876293747172, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591743] : ((1389591743, -2.023759303200506, 492609224), (1389591743, 0.39631796989248164, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591727] : ((1389591727, -2.0584813813358713, 492609224), (1389591727, 0.3872907734748659, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591714] : ((1389591714, -1.7392616800600136, 492688767), (1389591714, 0.6421045630753011, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591713] : ((1389591713, -1.9066061837583763, 492688767), (1389591713, 0.7052021726448825, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com args[1389591683] : ((1389591683, -2.3740689790291523, 492609224), (1389591683, 0.4731897433041101, 2107752395), '0.1377709297839506') We are sending mail with results at report@fotonower.com refus_total : 0.1377709297839506 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=30536403 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_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536403_27-02-2026_20_01_41.pdf results_Auto_P30536403_27-02-2026_20_01_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536403_27-02-2026_20_01_41.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','30536403','results_Auto_P30536403_27-02-2026_20_01_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536403_27-02-2026_20_01_41.pdf','pdf','','0.57','0.1377709297839506') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] 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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.014752626419067383 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8983447551727295 time spend to save output : 0.015225887298583984 total time spend for step 9 : 3.9135706424713135 step10:split_time_score Fri Feb 27 20:01:45 2026 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'}] (('16', 15),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 30536403 Nombre de photos uploadées : 15 / 23040 (0%) 15102025 30536403 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 15102025 30536403 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 5.4836273193359375e-06 elapsed_time : order_list_meta_photo_and_scores 1.8835067749023438e-05 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012347698211669922 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20458006858825684 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536383 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536385 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536387 order by id desc limit 1 Qualite : 0.27386424575617285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27827188_15-10-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27827188 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27827188 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536390 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536393 order by id desc limit 1 Qualite : 0.16775835613075196 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27830128_15-10-2025_12_51_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27830128 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`=27830128 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536398 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536400 order by id desc limit 1 Qualite : 0.1377709297839506 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536403_27-02-2026_20_01_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536403 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`=30536403 AND mptpi.`type`=3594 To do Qualite : 0.07449534893689988 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836509_15-10-2025_18_22_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836509 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`=27836509 AND mptpi.`type`=3594 To do Qualite : 0.018675411522633745 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30536405_27-02-2026_19_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30536405 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`=30536405 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'nb_upload': 15, '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 [1389591819, 1389591817, 1389591815, 1389591813, 1389591811, 1389591781, 1389591779, 1389591778, 1389591776, 1389591773, 1389591743, 1389591727, 1389591714, 1389591713, 1389591683] Looping around the photos to save general results len do output : 1 /30536403Didn'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, '4353428') ('3318', '30536403', '1389591819', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591817', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591815', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591813', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591811', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591781', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591779', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591778', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591776', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591773', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591743', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591727', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591714', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591713', None, None, None, None, None, '4353428') ('3318', None, None, None, None, None, None, None, '4353428') ('3318', '30536403', '1389591683', None, None, None, None, None, '4353428') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015239715576171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.380303859710693 time spend to save output : 0.015510797500610352 total time spend for step 10 : 9.395814657211304 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 39.98user 23.29system 1:29.72elapsed 70%CPU (0avgtext+0avgdata 2810560maxresident)k 2349040inputs+45616outputs (12356major+1618491minor)pagefaults 0swaps