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 : 2870816 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-03-05 12:10:27.640117 Current got : datou_id : 3318, datou_cur_ids : ['4357758'] with mtr_portfolio_ids : ['30644507'] and first list_photo_ids : [] new path : /proc/2870816/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.6469314098358154 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 Thu Mar 5 12:10:29 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-03-05 12:10:32.141340: 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-03-05 12:10:32.170425: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-03-05 12:10:32.172390: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe984000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-03-05 12:10:32.172440: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-03-05 12:10:32.176736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-03-05 12:10:32.476008: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x8f39a30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-03-05 12:10:32.476058: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-03-05 12:10:32.476818: 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-03-05 12:10:32.480586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-05 12:10:32.484004: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-05 12:10:32.486140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-05 12:10:32.486471: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-05 12:10:32.488797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-05 12:10:32.489871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-05 12:10:32.494740: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-05 12:10:32.496364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-05 12:10:32.496444: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-05 12:10:32.497195: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-05 12:10:32.497211: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-05 12:10:32.497220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-05 12:10:32.498581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2026-03-05 12:10:32.780864: 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-03-05 12:10:32.780982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-05 12:10:32.781005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-05 12:10:32.781026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-05 12:10:32.781045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-05 12:10:32.781065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-05 12:10:32.781084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-05 12:10:32.781103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-05 12:10:32.782827: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-05 12:10:32.784223: 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-03-05 12:10:32.784261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-05 12:10:32.784280: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-05 12:10:32.784297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-05 12:10:32.784313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-05 12:10:32.784330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-05 12:10:32.784347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-05 12:10:32.784364: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-05 12:10:32.786062: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-05 12:10:32.786111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-05 12:10:32.786123: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-05 12:10:32.786134: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-05 12:10:32.787832: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2026-03-05 12:10:40.633965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-05 12:10:40.831657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2026-03-04 16:00:50 create time in s3 : 2026-03-04 14:28:37 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 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 : 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 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 : 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 : 3 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 Detection mask done ! Trying to reset tf kernel 2871064 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10130 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 = [864, 633, 975, 774] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022673606872558594 nb_pixel_total : 9887 time to create 1 rle with old method : 0.011139392852783203 length of segment : 111 DEBUG bbox = [438, 1110, 561, 1233] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 10908 time to create 1 rle with old method : 0.011866331100463867 length of segment : 123 DEBUG bbox = [843, 384, 1080, 621] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00042629241943359375 nb_pixel_total : 23100 time to create 1 rle with old method : 0.025776386260986328 length of segment : 272 DEBUG bbox = [738, 921, 819, 1044] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010442733764648438 nb_pixel_total : 5465 time to create 1 rle with old method : 0.006334066390991211 length of segment : 70 DEBUG bbox = [957, 564, 1074, 771] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022029876708984375 nb_pixel_total : 14115 time to create 1 rle with old method : 0.0160980224609375 length of segment : 120 DEBUG bbox = [444, 1116, 543, 1170] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.700920104980469e-05 nb_pixel_total : 2790 time to create 1 rle with old method : 0.003050565719604492 length of segment : 90 DEBUG bbox = [972, 999, 1065, 1116] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 6900 time to create 1 rle with old method : 0.00779271125793457 length of segment : 93 DEBUG bbox = [66, 0, 1077, 1080] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.012331962585449219 nb_pixel_total : 718321 time to create 1 rle with new method : 0.052750587463378906 length of segment : 973 DEBUG bbox = [15, 957, 159, 1032] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001518726348876953 nb_pixel_total : 6783 time to create 1 rle with old method : 0.007582426071166992 length of segment : 180 DEBUG bbox = [12, 1257, 222, 1467] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00034499168395996094 nb_pixel_total : 18702 time to create 1 rle with old method : 0.020994901657104492 length of segment : 262 DEBUG bbox = [3, 1512, 84, 1572] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 2842 time to create 1 rle with old method : 0.0034656524658203125 length of segment : 83 DEBUG bbox = [339, 1146, 477, 1257] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 7972 time to create 1 rle with old method : 0.00888371467590332 length of segment : 113 DEBUG bbox = [813, 801, 1050, 1005] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004000663757324219 nb_pixel_total : 24967 time to create 1 rle with old method : 0.027447938919067383 length of segment : 240 DEBUG bbox = [0, 783, 1080, 1827] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.019130468368530273 nb_pixel_total : 874685 time to create 1 rle with new method : 0.4455440044403076 length of segment : 1065 DEBUG bbox = [807, 186, 1080, 903] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0013222694396972656 nb_pixel_total : 66552 time to create 1 rle with old method : 0.07239508628845215 length of segment : 230 DEBUG bbox = [789, 813, 1056, 1005] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004341602325439453 nb_pixel_total : 27077 time to create 1 rle with old method : 0.03101205825805664 length of segment : 239 DEBUG bbox = [819, 831, 966, 936] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020265579223632812 nb_pixel_total : 7871 time to create 1 rle with old method : 0.009331941604614258 length of segment : 116 DEBUG bbox = [1014, 1137, 1077, 1266] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 6333 time to create 1 rle with old method : 0.007877349853515625 length of segment : 62 DEBUG bbox = [990, 330, 1068, 513] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004360675811767578 nb_pixel_total : 8999 time to create 1 rle with old method : 0.013080120086669922 length of segment : 89 DEBUG bbox = [615, 1563, 762, 1737] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003933906555175781 nb_pixel_total : 12272 time to create 1 rle with old method : 0.01431894302368164 length of segment : 132 DEBUG bbox = [633, 1563, 756, 1722] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 11904 time to create 1 rle with old method : 0.013278007507324219 length of segment : 125 DEBUG bbox = [921, 405, 1077, 732] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006794929504394531 nb_pixel_total : 25794 time to create 1 rle with old method : 0.029621601104736328 length of segment : 172 DEBUG bbox = [834, 1272, 918, 1422] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022554397583007812 nb_pixel_total : 6119 time to create 1 rle with old method : 0.0074231624603271484 length of segment : 73 DEBUG bbox = [0, 0, 1080, 1455] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.11285734176635742 nb_pixel_total : 1347943 time to create 1 rle with new method : 0.08686137199401855 length of segment : 1210 DEBUG bbox = [528, 1524, 1077, 1899] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.002093076705932617 nb_pixel_total : 92455 time to create 1 rle with old method : 0.09897541999816895 length of segment : 470 DEBUG bbox = [9, 1425, 120, 1527] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00030231475830078125 nb_pixel_total : 7570 time to create 1 rle with old method : 0.008321762084960938 length of segment : 107 DEBUG bbox = [759, 1353, 942, 1521] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005681514739990234 nb_pixel_total : 19542 time to create 1 rle with old method : 0.020740747451782227 length of segment : 170 DEBUG bbox = [891, 330, 1071, 570] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006921291351318359 nb_pixel_total : 30353 time to create 1 rle with old method : 0.03274059295654297 length of segment : 212 time spent for convertir_results : 2.5898971557617188 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 7202 save missing photos in datou_result : time spend for datou_step_exec : 24.900985717773438 time spend to save output : 0.5301461219787598 total time spend for step 1 : 25.431131839752197 step2:crop_condition Thu Mar 5 12:10:54 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 : 10 ! batch 1 Loaded 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772709056_2870816 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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643191_0.png', 0, 121, 119, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643194_0.png', 0, 191, 114, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643193_0.png', 0, 123, 68, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643195_0.png', 0, 47, 90, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643202_0.png', 0, 187, 224, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643206_0.png', 0, 105, 115, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643207_0.png', 0, 128, 62, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643209_0.png', 0, 152, 131, 0, 1772709058,'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(1772709058), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643212_0.png', 0, 139, 73, 0, 1772709058,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.813603401184082 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772709059_2870816 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(1772709059), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643198_0.png', 0, 74, 143, 0, 1772709059,'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(1772709059), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643201_0.png', 0, 97, 106, 0, 1772709059,'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(1772709059), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643210_0.png', 0, 148, 121, 0, 1772709059,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0750644207000732 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772709060_2870816 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(1772709060), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643208_0.png', 0, 177, 77, 0, 1772709060,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7600488662719727 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772709075_2870816 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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643192_0.png', 0, 219, 190, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643190_0.png', 0, 127, 111, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643197_0.png', 0, 1027, 973, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643196_0.png', 0, 104, 93, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643199_0.png', 0, 192, 186, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643200_0.png', 0, 54, 80, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643204_0.png', 0, 576, 191, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643203_0.png', 0, 1032, 1007, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643205_0.png', 0, 183, 233, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643213_0.png', 0, 1416, 1009, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643211_0.png', 0, 273, 137, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935111_936bf062fb8413bd2c0a717acd735581_rle_crop_4152643214_0.png', 0, 334, 465, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643217_0.png', 0, 230, 160, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643216_0.png', 0, 156, 156, 0, 1772709078,'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(1772709078), 0.0, 0.0, 14, '', 0, 0, '1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643215_0.png', 0, 98, 107, 0, 1772709078,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.155312538146973 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] Looping around the photos to save general results len do output : 28 /1411106006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106008Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106011Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106016Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411106047Didn'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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 94 time used for this insertion : 0.02128434181213379 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.4668390750885 time spend to save output : 0.02263355255126953 total time spend for step 2 : 24.48947262763977 step3:rle_unique_nms_with_priority Thu Mar 5 12:11:19 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.3010115623474121 time for calcul the mask position with numpy : 0.11438512802124023 nb_pixel_total : 2029705 time to create 1 rle with new method : 0.09348726272583008 time for calcul the mask position with numpy : 0.007071018218994141 nb_pixel_total : 23100 time to create 1 rle with old method : 0.028454303741455078 time for calcul the mask position with numpy : 0.0062978267669677734 nb_pixel_total : 10908 time to create 1 rle with old method : 0.012323379516601562 time for calcul the mask position with numpy : 0.006300210952758789 nb_pixel_total : 9887 time to create 1 rle with old method : 0.01122140884399414 create new chi : 0.2903282642364502 time to delete rle : 0.02439284324645996 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 2092 TO DO : save crop sub photo not yet done ! save time : 0.18574929237365723 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.1784970760345459 time for calcul the mask position with numpy : 0.8730731010437012 nb_pixel_total : 2051230 time to create 1 rle with new method : 0.08424210548400879 time for calcul the mask position with numpy : 0.006142377853393555 nb_pixel_total : 2790 time to create 1 rle with old method : 0.003206491470336914 time for calcul the mask position with numpy : 0.0063860416412353516 nb_pixel_total : 14115 time to create 1 rle with old method : 0.016134977340698242 time for calcul the mask position with numpy : 0.006287813186645508 nb_pixel_total : 5465 time to create 1 rle with old method : 0.006349325180053711 create new chi : 1.005624771118164 time to delete rle : 0.0003688335418701172 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1640 TO DO : save crop sub photo not yet done ! save time : 0.15097904205322266 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1213235855102539 time for calcul the mask position with numpy : 0.06766891479492188 nb_pixel_total : 1345202 time to create 1 rle with new method : 0.11822104454040527 time for calcul the mask position with numpy : 0.010253190994262695 nb_pixel_total : 3177 time to create 1 rle with old method : 0.0034580230712890625 time for calcul the mask position with numpy : 0.021487951278686523 nb_pixel_total : 718321 time to create 1 rle with new method : 0.10766983032226562 time for calcul the mask position with numpy : 0.006491184234619141 nb_pixel_total : 6900 time to create 1 rle with old method : 0.007277250289916992 create new chi : 0.35338878631591797 time to delete rle : 0.0006136894226074219 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 3410 TO DO : save crop sub photo not yet done ! save time : 0.26903700828552246 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.09392976760864258 time for calcul the mask position with numpy : 0.03029775619506836 nb_pixel_total : 2052056 time to create 1 rle with new method : 0.19489169120788574 time for calcul the mask position with numpy : 0.010660171508789062 nb_pixel_total : 2842 time to create 1 rle with old method : 0.0033020973205566406 time for calcul the mask position with numpy : 0.006508350372314453 nb_pixel_total : 18702 time to create 1 rle with old method : 0.021193504333496094 create new chi : 0.27550768852233887 time to delete rle : 0.0003705024719238281 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1770 TO DO : save crop sub photo not yet done ! save time : 0.15698647499084473 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.43532752990722656 time for calcul the mask position with numpy : 0.09919190406799316 nb_pixel_total : 1131580 time to create 1 rle with new method : 0.09903597831726074 time for calcul the mask position with numpy : 0.008601665496826172 nb_pixel_total : 764 time to create 1 rle with old method : 0.0009548664093017578 time for calcul the mask position with numpy : 0.006540060043334961 nb_pixel_total : 65843 time to create 1 rle with old method : 0.07474088668823242 time for calcul the mask position with numpy : 0.0160214900970459 nb_pixel_total : 842474 time to create 1 rle with new method : 0.18312597274780273 time for calcul the mask position with numpy : 0.0064792633056640625 nb_pixel_total : 24967 time to create 1 rle with old method : 0.028833866119384766 time for calcul the mask position with numpy : 0.0069026947021484375 nb_pixel_total : 7972 time to create 1 rle with old method : 0.009212732315063477 create new chi : 0.5556225776672363 time to delete rle : 0.0006284713745117188 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 4347 TO DO : save crop sub photo not yet done ! save time : 0.3309035301208496 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07987761497497559 time for calcul the mask position with numpy : 0.026860713958740234 nb_pixel_total : 2050397 time to create 1 rle with new method : 0.12653350830078125 time for calcul the mask position with numpy : 0.008157491683959961 nb_pixel_total : 8999 time to create 1 rle with old method : 0.010838747024536133 time for calcul the mask position with numpy : 0.010983705520629883 nb_pixel_total : 6333 time to create 1 rle with old method : 0.007350444793701172 time for calcul the mask position with numpy : 0.006784200668334961 nb_pixel_total : 7871 time to create 1 rle with old method : 0.00972604751586914 create new chi : 0.21623635292053223 time to delete rle : 0.00041103363037109375 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1614 TO DO : save crop sub photo not yet done ! save time : 0.15123629570007324 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.09962868690490723 time for calcul the mask position with numpy : 0.14369750022888184 nb_pixel_total : 2061046 time to create 1 rle with new method : 0.22131609916687012 time for calcul the mask position with numpy : 0.006127119064331055 nb_pixel_total : 282 time to create 1 rle with old method : 0.00040149688720703125 time for calcul the mask position with numpy : 0.0061113834381103516 nb_pixel_total : 12272 time to create 1 rle with old method : 0.013584375381469727 create new chi : 0.40156006813049316 time to delete rle : 0.00022864341735839844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1386 TO DO : save crop sub photo not yet done ! save time : 0.12477827072143555 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.21516013145446777 time for calcul the mask position with numpy : 0.028202533721923828 nb_pixel_total : 699863 time to create 1 rle with new method : 0.19487428665161133 time for calcul the mask position with numpy : 0.08814859390258789 nb_pixel_total : 1341824 time to create 1 rle with new method : 0.09772539138793945 time for calcul the mask position with numpy : 0.006114959716796875 nb_pixel_total : 6119 time to create 1 rle with old method : 0.0070095062255859375 time for calcul the mask position with numpy : 0.006247997283935547 nb_pixel_total : 25794 time to create 1 rle with old method : 0.028694629669189453 create new chi : 0.47482800483703613 time to delete rle : 0.0005142688751220703 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 3990 TO DO : save crop sub photo not yet done ! save time : 0.29277706146240234 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04605603218078613 time for calcul the mask position with numpy : 0.023813247680664062 nb_pixel_total : 1981145 time to create 1 rle with new method : 0.11958503723144531 time for calcul the mask position with numpy : 0.011654376983642578 nb_pixel_total : 92455 time to create 1 rle with old method : 0.10382938385009766 create new chi : 0.2664470672607422 time to delete rle : 0.00035452842712402344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2020 TO DO : save crop sub photo not yet done ! save time : 0.18615007400512695 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.3314368724822998 time for calcul the mask position with numpy : 0.15502166748046875 nb_pixel_total : 2016135 time to create 1 rle with new method : 0.11903882026672363 time for calcul the mask position with numpy : 0.0069348812103271484 nb_pixel_total : 30353 time to create 1 rle with old method : 0.03903079032897949 time for calcul the mask position with numpy : 0.006306886672973633 nb_pixel_total : 19542 time to create 1 rle with old method : 0.021831512451171875 time for calcul the mask position with numpy : 0.006329059600830078 nb_pixel_total : 7570 time to create 1 rle with old method : 0.008582830429077148 create new chi : 0.3748142719268799 time to delete rle : 0.0004544258117675781 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 2058 TO DO : save crop sub photo not yet done ! save time : 0.18738317489624023 map_output_result : {1393935168: (0.0, 'Should be the crop_list due to order', 0), 1393935134: (0.0, 'Should be the crop_list due to order', 0), 1393935131: (0.0, 'Should be the crop_list due to order', 0), 1393935129: (0.0, 'Should be the crop_list due to order', 0), 1393935127: (0.0, 'Should be the crop_list due to order', 0), 1393935124: (0.0, 'Should be the crop_list due to order', 0), 1393935121: (0.0, 'Should be the crop_list due to order', 0), 1393935114: (0.0, 'Should be the crop_list due to order', 0), 1393935111: (0.0, 'Should be the crop_list due to order', 0), 1393935108: (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 [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] Looping around the photos to save general results len do output : 10 /1393935168.Didn't retrieve data . /1393935134.Didn't retrieve data . /1393935131.Didn't retrieve data . /1393935129.Didn't retrieve data . /1393935127.Didn't retrieve data . /1393935124.Didn't retrieve data . /1393935121.Didn't retrieve data . /1393935114.Didn't retrieve data . /1393935111.Didn't retrieve data . /1393935108.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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01702427864074707 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.53296422958374 time spend to save output : 0.017454862594604492 total time spend for step 3 : 8.550419092178345 step4:ventilate_hashtags_in_portfolio Thu Mar 5 12:11:27 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 : 30644507 get user id for portfolio 30644507 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`=30644507 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','carton','pehd','pet_fonce','mal_croppe','environnement','pet_clair','metal','papier','flou','autre')) 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`=30644507 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','carton','pehd','pet_fonce','mal_croppe','environnement','pet_clair','metal','papier','flou','autre')) 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`=30644507 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','carton','pehd','pet_fonce','mal_croppe','environnement','pet_clair','metal','papier','flou','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30645996,30645997,30645999,30646001,30646003,30646005,30646007,30646009,30646011,30646013,30646015?tags=background,carton,pehd,pet_fonce,mal_croppe,environnement,pet_clair,metal,papier,flou,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] Looping around the photos to save general results len do output : 1 /30644507. 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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015254735946655273 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6565394401550293 time spend to save output : 0.015590190887451172 total time spend for step 4 : 1.6721296310424805 step5:final Thu Mar 5 12:11:29 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 : {1393935168: ('0.15999426118827162',), 1393935134: ('0.15999426118827162',), 1393935131: ('0.15999426118827162',), 1393935129: ('0.15999426118827162',), 1393935127: ('0.15999426118827162',), 1393935124: ('0.15999426118827162',), 1393935121: ('0.15999426118827162',), 1393935114: ('0.15999426118827162',), 1393935111: ('0.15999426118827162',), 1393935108: ('0.15999426118827162',)} new output for save of step final : {1393935168: ('0.15999426118827162',), 1393935134: ('0.15999426118827162',), 1393935131: ('0.15999426118827162',), 1393935129: ('0.15999426118827162',), 1393935127: ('0.15999426118827162',), 1393935124: ('0.15999426118827162',), 1393935121: ('0.15999426118827162',), 1393935114: ('0.15999426118827162',), 1393935111: ('0.15999426118827162',), 1393935108: ('0.15999426118827162',)} [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] Looping around the photos to save general results len do output : 10 /1393935168.Didn't retrieve data . /1393935134.Didn't retrieve data . /1393935131.Didn't retrieve data . /1393935129.Didn't retrieve data . /1393935127.Didn't retrieve data . /1393935124.Didn't retrieve data . /1393935121.Didn't retrieve data . /1393935114.Didn't retrieve data . /1393935111.Didn't retrieve data . /1393935108.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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01428675651550293 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11975216865539551 time spend to save output : 0.014809846878051758 total time spend for step 5 : 0.13456201553344727 step6:blur_detection Thu Mar 5 12:11:29 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 methode: ratio et variance treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859.jpg resize: (1080, 1920) 1393935168 0.35876278257334565 treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a.jpg resize: (1080, 1920) 1393935134 -0.8091906659301529 treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364.jpg resize: (1080, 1920) 1393935131 1.3131577971142498 treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f.jpg resize: (1080, 1920) 1393935129 -0.835687539773098 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3.jpg resize: (1080, 1920) 1393935127 0.444249280753689 treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2.jpg resize: (1080, 1920) 1393935124 -0.5367958538795112 treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659.jpg resize: (1080, 1920) 1393935121 0.891563506644723 treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66.jpg resize: (1080, 1920) 1393935114 -0.48381848214646167 treat image : temp/1772709027_2870816_1393935111_936bf062fb8413bd2c0a717acd735581.jpg resize: (1080, 1920) 1393935111 -0.03157750411991285 treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb.jpg resize: (1080, 1920) 1393935108 -0.21949815796638444 treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643191_0.png resize: (119, 121) 1411106006 -1.232920781897891 treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643194_0.png resize: (114, 191) 1411106007 -0.6829192086713295 treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643193_0.png resize: (68, 123) 1411106008 1.0400409407384839 treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643195_0.png resize: (90, 47) 1411106009 -1.6483988401804512 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643202_0.png resize: (224, 187) 1411106010 -2.1640940351608244 treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643206_0.png resize: (115, 105) 1411106011 -0.8853572628991944 treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643207_0.png resize: (62, 128) 1411106012 1.1457824748302827 treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643209_0.png resize: (131, 152) 1411106013 -1.5826955241338914 treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643212_0.png resize: (73, 139) 1411106014 -1.4261511279820072 treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643198_0.png resize: (143, 74) 1411106015 -1.8654127165114467 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643201_0.png resize: (106, 97) 1411106016 -0.19051112113160687 treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643210_0.png resize: (121, 148) 1411106017 -1.4285899667024484 treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643208_0.png resize: (77, 177) 1411106018 -1.8209536363405785 treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643192_0.png resize: (190, 219) 1411106033 -2.818994176272971 treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643190_0.png resize: (111, 127) 1411106034 -2.6794638103594757 treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643197_0.png resize: (973, 1027) 1411106035 -0.04988850198352542 treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643196_0.png resize: (93, 104) 1411106036 -2.8977426298209163 treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643199_0.png resize: (186, 192) 1411106037 -2.0238116735519225 treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643200_0.png resize: (80, 54) 1411106038 -3.5207575505440807 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643204_0.png resize: (191, 576) 1411106039 -1.4030983072245324 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643203_0.png resize: (1007, 1032) 1411106040 -0.6655743253216371 treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643205_0.png resize: (233, 183) 1411106041 -2.2666653344247307 treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643213_0.png resize: (1009, 1416) 1411106042 -1.043025070761476 treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643211_0.png resize: (137, 273) 1411106043 -1.2904876650649513 treat image : temp/1772709027_2870816_1393935111_936bf062fb8413bd2c0a717acd735581_rle_crop_4152643214_0.png resize: (465, 334) 1411106044 -0.14206746223617076 treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643217_0.png resize: (160, 230) 1411106045 -3.5650601815209364 treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643216_0.png resize: (156, 156) 1411106046 -0.010175817956331707 treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643215_0.png resize: (107, 98) 1411106047 -2.8210183308713437 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 : 38 time used for this insertion : 0.014944791793823242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.016482114791870117 save missing photos in datou_result : time spend for datou_step_exec : 9.117677211761475 time spend to save output : 0.03609299659729004 total time spend for step 6 : 9.153770208358765 step7:brightness Thu Mar 5 12:11:38 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 treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859.jpg treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a.jpg treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364.jpg treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f.jpg treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3.jpg treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2.jpg treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659.jpg treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66.jpg treat image : temp/1772709027_2870816_1393935111_936bf062fb8413bd2c0a717acd735581.jpg treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb.jpg treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643191_0.png treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643194_0.png treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643193_0.png treat image : temp/1772709027_2870816_1393935134_6051f2511d1b5648bed64ebaa830490a_rle_crop_4152643195_0.png treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643202_0.png treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643206_0.png treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643207_0.png treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643209_0.png treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643212_0.png treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643198_0.png treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643201_0.png treat image : temp/1772709027_2870816_1393935121_4539f48e15048cb4bb291b2f24327659_rle_crop_4152643210_0.png treat image : temp/1772709027_2870816_1393935124_9445d2f24d83528a1518bf4d564160d2_rle_crop_4152643208_0.png treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643192_0.png treat image : temp/1772709027_2870816_1393935168_00639cfa79e5033cc5f98e2711336859_rle_crop_4152643190_0.png treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643197_0.png treat image : temp/1772709027_2870816_1393935131_a2fce2720a132d2b196b0b26f573d364_rle_crop_4152643196_0.png treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643199_0.png treat image : temp/1772709027_2870816_1393935129_a2a20307ad9fc717f5f3aac6a41d7a0f_rle_crop_4152643200_0.png treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643204_0.png treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643203_0.png treat image : temp/1772709027_2870816_1393935127_2cdfe43637202fe653de1453b0bea5b3_rle_crop_4152643205_0.png treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643213_0.png treat image : temp/1772709027_2870816_1393935114_e32e22b8244d153bc77acc21654b2a66_rle_crop_4152643211_0.png treat image : temp/1772709027_2870816_1393935111_936bf062fb8413bd2c0a717acd735581_rle_crop_4152643214_0.png treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643217_0.png treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643216_0.png treat image : temp/1772709027_2870816_1393935108_4bd8a83c018f512fc2d7624512d27dfb_rle_crop_4152643215_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.016881465911865234 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.01625847816467285 save missing photos in datou_result : time spend for datou_step_exec : 2.643066883087158 time spend to save output : 0.03758430480957031 total time spend for step 7 : 2.6806511878967285 step8:velours_tree Thu Mar 5 12:11: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.0915079116821289 time spend to save output : 5.054473876953125e-05 total time spend for step 8 : 0.09155845642089844 step9:send_mail_cod Thu Mar 5 12:11: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 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P30644507_05-03-2026_12_11_41.pdf 30645996 imagette306459961772709101 30645997 change filename to text .change filename to text .change filename to text .imagette306459971772709101 30645999 imagette306459991772709101 30646001 imagette306460011772709101 30646003 imagette306460031772709101 30646007 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 .imagette306460071772709101 30646009 change filename to text .imagette306460091772709103 30646011 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 .imagette306460111772709103 30646013 imagette306460131772709104 30646015 imagette306460151772709104 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30644507 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30645996,30645997,30645999,30646001,30646003,30646005,30646007,30646009,30646011,30646013,30646015?tags=background,carton,pehd,pet_fonce,mal_croppe,environnement,pet_clair,metal,papier,flou,autre your option no_mail is active, we will not send the real mail to your client args[1393935168] : ((1393935168, 0.35876278257334565, 492688767), (1393935168, 0.5606770180935422, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935134] : ((1393935134, -0.8091906659301529, 492688767), (1393935134, 0.4176913251431047, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935131] : ((1393935131, 1.3131577971142498, 492688767), (1393935131, 0.7518665769271698, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935129] : ((1393935129, -0.835687539773098, 492688767), (1393935129, 0.49105823266520404, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935127] : ((1393935127, 0.444249280753689, 492688767), (1393935127, 0.45042670322118683, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935124] : ((1393935124, -0.5367958538795112, 492688767), (1393935124, 0.35127725343744376, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935121] : ((1393935121, 0.891563506644723, 492688767), (1393935121, 0.3416301365060252, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935114] : ((1393935114, -0.48381848214646167, 492688767), (1393935114, 0.4045360987100763, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935111] : ((1393935111, -0.03157750411991285, 492688767), (1393935111, 0.5462041982117725, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com args[1393935108] : ((1393935108, -0.21949815796638444, 492688767), (1393935108, 0.3976762246273598, 2107752395), '0.15999426118827162') We are sending mail with results at report@fotonower.com refus_total : 0.15999426118827162 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=30644507 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_P30644507_05-03-2026_12_11_41.pdf results_Auto_P30644507_05-03-2026_12_11_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644507_05-03-2026_12_11_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','30644507','results_Auto_P30644507_05-03-2026_12_11_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644507_05-03-2026_12_11_41.pdf','pdf','','0.44','0.15999426118827162') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] 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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.016704797744750977 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5972495079040527 time spend to save output : 0.01692056655883789 total time spend for step 9 : 3.6141700744628906 step10:split_time_score Thu Mar 5 12:11: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'}] (('12', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27102025 30644507 Nombre de photos uploadées : 10 / 23040 (0%) 27102025 30644507 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 27102025 30644507 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005109310150146484 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2165539264678955 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.13213605967078193 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644469_05-03-2026_11_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644469 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`=30644469 AND mptpi.`type`=3594 To do Qualite : 0.05695964159939859 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644472_05-03-2026_11_38_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644472 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`=30644472 AND mptpi.`type`=3594 To do Qualite : 0.10509235146604938 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644477_05-03-2026_11_57_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644477 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`=30644477 AND mptpi.`type`=3594 To do Qualite : 0.2281014660493827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644484_05-03-2026_12_01_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644484 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`=30644484 AND mptpi.`type`=3594 To do Qualite : 0.1763681520061728 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644489_05-03-2026_12_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644489 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`=30644489 AND mptpi.`type`=3594 To do Qualite : 0.12811275077160494 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644493_05-03-2026_12_11_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644493 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`=30644493 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644504 order by id desc limit 1 Qualite : 0.15999426118827162 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644507_05-03-2026_12_11_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644507 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`=30644507 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644509 order by id desc limit 1 Qualite : 0.08324402006172842 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644520_05-03-2026_11_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644520 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`=30644520 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644525 order by id desc limit 1 Qualite : 0.14358033459595962 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30644527_05-03-2026_11_31_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644527 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`=30644527 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30644529 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27102025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393935168, 1393935134, 1393935131, 1393935129, 1393935127, 1393935124, 1393935121, 1393935114, 1393935111, 1393935108] Looping around the photos to save general results len do output : 1 /30644507Didn'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, '4357758') ('3318', '30644507', '1393935168', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935134', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935131', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935129', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935127', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935124', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935121', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935114', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935111', None, None, None, None, None, '4357758') ('3318', None, None, None, None, None, None, None, '4357758') ('3318', '30644507', '1393935108', None, None, None, None, None, '4357758') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015898704528808594 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.963789224624634 time spend to save output : 0.016193866729736328 total time spend for step 10 : 5.97998309135437 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 43.98user 18.69system 1:26.71elapsed 72%CPU (0avgtext+0avgdata 2722348maxresident)k 5568inputs+31880outputs (121major+1814361minor)pagefaults 0swaps