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 : 3775201 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-06 02:50:28.809163 Current got : datou_id : 3318, datou_cur_ids : ['4358285'] with mtr_portfolio_ids : ['30656687'] and first list_photo_ids : [] new path : /proc/3775201/ 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.80641770362854 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Mar 6 02:50:30 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-06 02:50:34.046745: 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-06 02:50:34.074418: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-03-06 02:50:34.075979: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa99c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-03-06 02:50:34.076031: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-03-06 02:50:34.078490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-03-06 02:50:34.384582: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x22a91ce0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-03-06 02:50:34.384643: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-03-06 02:50:34.385566: 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-06 02:50:34.389451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-06 02:50:34.394283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-06 02:50:34.397088: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-06 02:50:34.398210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-06 02:50:34.401678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-06 02:50:34.403031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-06 02:50:34.409273: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-06 02:50:34.410907: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-06 02:50:34.410991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-06 02:50:34.411797: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-06 02:50:34.411813: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-06 02:50:34.411822: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-06 02:50:34.413913: 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-06 02:50:35.994003: 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-06 02:50:35.994123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-06 02:50:35.994144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-06 02:50:35.994163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-06 02:50:35.994181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-06 02:50:35.994199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-06 02:50:35.994217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-06 02:50:35.994235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-06 02:50:35.995814: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-06 02:50:35.997264: 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-06 02:50:35.997302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-06 02:50:35.997321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-06 02:50:35.997338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-06 02:50:35.997354: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-06 02:50:35.997371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-06 02:50:35.997388: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-06 02:50:35.997404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-06 02:50:35.998979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-06 02:50:35.999020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-06 02:50:35.999030: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-06 02:50:35.999040: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-06 02:50:36.000398: 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-06 02:50:43.718073: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-06 02:50:43.918096: 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: 103.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 80.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: 45.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: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3775524 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10196 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [1026, 645, 1074, 741] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014901161193847656 nb_pixel_total : 2541 time to create 1 rle with old method : 0.0030634403228759766 length of segment : 43 DEBUG bbox = [6, 1320, 72, 1437] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00015306472778320312 nb_pixel_total : 5367 time to create 1 rle with old method : 0.006299495697021484 length of segment : 65 DEBUG bbox = [669, 132, 912, 429] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0008008480072021484 nb_pixel_total : 46807 time to create 1 rle with old method : 0.052366018295288086 length of segment : 238 DEBUG bbox = [813, 681, 957, 870] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 8116 time to create 1 rle with old method : 0.009539365768432617 length of segment : 133 DEBUG bbox = [342, 1191, 627, 1452] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 41957 time to create 1 rle with old method : 0.0466156005859375 length of segment : 267 DEBUG bbox = [648, 1122, 828, 1374] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00036787986755371094 nb_pixel_total : 22279 time to create 1 rle with old method : 0.02522444725036621 length of segment : 162 DEBUG bbox = [171, 1176, 990, 1521] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0033416748046875 nb_pixel_total : 167293 time to create 1 rle with new method : 0.008809328079223633 length of segment : 781 DEBUG bbox = [846, 0, 1074, 120] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002646446228027344 nb_pixel_total : 10627 time to create 1 rle with old method : 0.01221776008605957 length of segment : 245 DEBUG bbox = [396, 1551, 1080, 1893] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0017690658569335938 nb_pixel_total : 117495 time to create 1 rle with old method : 0.13081884384155273 length of segment : 642 DEBUG bbox = [48, 930, 441, 1122] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006115436553955078 nb_pixel_total : 37176 time to create 1 rle with old method : 0.041663408279418945 length of segment : 364 DEBUG bbox = [510, 1182, 630, 1320] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001659393310546875 nb_pixel_total : 9518 time to create 1 rle with old method : 0.011105537414550781 length of segment : 114 DEBUG bbox = [663, 933, 870, 1233] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004050731658935547 nb_pixel_total : 19188 time to create 1 rle with old method : 0.022401809692382812 length of segment : 203 DEBUG bbox = [279, 1086, 396, 1182] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001347064971923828 nb_pixel_total : 7107 time to create 1 rle with old method : 0.00831294059753418 length of segment : 118 DEBUG bbox = [984, 921, 1080, 1050] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 8247 time to create 1 rle with old method : 0.00955963134765625 length of segment : 92 DEBUG bbox = [675, 1002, 819, 1161] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022220611572265625 nb_pixel_total : 13742 time to create 1 rle with old method : 0.01573324203491211 length of segment : 126 DEBUG bbox = [153, 1104, 321, 1218] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 4969 time to create 1 rle with old method : 0.005898237228393555 length of segment : 206 DEBUG bbox = [606, 1014, 1044, 1437] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0013394355773925781 nb_pixel_total : 93863 time to create 1 rle with old method : 0.10503840446472168 length of segment : 420 DEBUG bbox = [927, 636, 1035, 930] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002715587615966797 nb_pixel_total : 15955 time to create 1 rle with old method : 0.018663883209228516 length of segment : 79 DEBUG bbox = [987, 96, 1080, 324] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00021648406982421875 nb_pixel_total : 15504 time to create 1 rle with old method : 0.017736196517944336 length of segment : 110 DEBUG bbox = [438, 1503, 1080, 1920] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.001852273941040039 nb_pixel_total : 130605 time to create 1 rle with old method : 0.1461324691772461 length of segment : 616 DEBUG bbox = [177, 1275, 249, 1326] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.58306884765625e-05 nb_pixel_total : 2591 time to create 1 rle with old method : 0.0030672550201416016 length of segment : 65 time spent for convertir_results : 1.6017074584960938 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 21 chid ids of type : 3594 Number RLEs to save : 5089 save missing photos in datou_result : time spend for datou_step_exec : 23.5343918800354 time spend to save output : 0.4011414051055908 total time spend for step 1 : 23.93553328514099 step2:crop_condition Fri Mar 6 02:50: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 21 chid ids of type : 3594 ++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772761856_3775201 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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146190_a027ec30854ea6b6c49a05be28516c39_rle_crop_4153905534_0.png', 0, 89, 43, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905537_0.png', 0, 179, 129, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905538_0.png', 0, 236, 264, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905541_0.png', 0, 104, 198, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905544_0.png', 0, 132, 114, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905548_0.png', 0, 149, 122, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905550_0.png', 0, 402, 420, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905549_0.png', 0, 107, 123, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905551_0.png', 0, 282, 74, 0, 1772761858,'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(1772761858), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905554_0.png', 0, 50, 65, 0, 1772761858,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.2602970600128174 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772761859_3775201 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(1772761860), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905539_0.png', 0, 223, 156, 0, 1772761860,'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(1772761860), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905546_0.png', 0, 93, 115, 0, 1772761860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.972759485244751 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772761863_3775201 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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146179_b49782d476825b3b33014384e8667dc9_rle_crop_4153905535_0.png', 0, 116, 65, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905536_0.png', 0, 244, 238, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905540_0.png', 0, 342, 738, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905542_0.png', 0, 316, 636, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905545_0.png', 0, 257, 202, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905547_0.png', 0, 124, 92, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905552_0.png', 0, 225, 89, 0, 1772761864,'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(1772761864), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905553_0.png', 0, 393, 599, 0, 1772761864,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9117562770843506 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1772761865_3775201 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(1772761865), 0.0, 0.0, 14, '', 0, 0, '1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905543_0.png', 0, 157, 350, 0, 1772761865,'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.8995835781097412 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] Looping around the photos to save general results len do output : 21 /1411233143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1411233163Didn'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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 73 time used for this insertion : 0.022094011306762695 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.288229703903198 time spend to save output : 0.02308058738708496 total time spend for step 2 : 11.311310291290283 step3:rle_unique_nms_with_priority Fri Mar 6 02:51:05 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 21 chid ids of type : 3594 ++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.5343787670135498 time for calcul the mask position with numpy : 0.2234659194946289 nb_pixel_total : 2071059 time to create 1 rle with new method : 0.08912491798400879 time for calcul the mask position with numpy : 0.006414890289306641 nb_pixel_total : 2541 time to create 1 rle with old method : 0.0030274391174316406 create new chi : 0.3324611186981201 time to delete rle : 0.02506422996520996 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1166 TO DO : save crop sub photo not yet done ! save time : 0.12302327156066895 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.16267013549804688 time for calcul the mask position with numpy : 0.08712029457092285 nb_pixel_total : 2068233 time to create 1 rle with new method : 0.11169815063476562 time for calcul the mask position with numpy : 0.006097078323364258 nb_pixel_total : 5367 time to create 1 rle with old method : 0.00612950325012207 create new chi : 0.22154879570007324 time to delete rle : 0.0001919269561767578 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1210 TO DO : save crop sub photo not yet done ! save time : 0.12003445625305176 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.34528017044067383 time for calcul the mask position with numpy : 0.13337421417236328 nb_pixel_total : 1954441 time to create 1 rle with new method : 0.11240768432617188 time for calcul the mask position with numpy : 0.006181478500366211 nb_pixel_total : 22279 time to create 1 rle with old method : 0.026021957397460938 time for calcul the mask position with numpy : 0.006416797637939453 nb_pixel_total : 41957 time to create 1 rle with old method : 0.0524899959564209 time for calcul the mask position with numpy : 0.006457805633544922 nb_pixel_total : 8116 time to create 1 rle with old method : 0.00932002067565918 time for calcul the mask position with numpy : 0.006822347640991211 nb_pixel_total : 46807 time to create 1 rle with old method : 0.05414152145385742 create new chi : 0.42439770698547363 time to delete rle : 0.0003895759582519531 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2680 TO DO : save crop sub photo not yet done ! save time : 0.21660256385803223 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.08382797241210938 time for calcul the mask position with numpy : 0.02561330795288086 nb_pixel_total : 1895680 time to create 1 rle with new method : 0.23879170417785645 time for calcul the mask position with numpy : 0.006145954132080078 nb_pixel_total : 10627 time to create 1 rle with old method : 0.012286663055419922 time for calcul the mask position with numpy : 0.00670933723449707 nb_pixel_total : 167293 time to create 1 rle with new method : 0.07228946685791016 create new chi : 0.36928248405456543 time to delete rle : 0.00028896331787109375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3132 TO DO : save crop sub photo not yet done ! save time : 0.2425830364227295 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07994294166564941 time for calcul the mask position with numpy : 0.1417696475982666 nb_pixel_total : 1918929 time to create 1 rle with new method : 0.1593008041381836 time for calcul the mask position with numpy : 0.0064585208892822266 nb_pixel_total : 37176 time to create 1 rle with old method : 0.04335331916809082 time for calcul the mask position with numpy : 0.007144927978515625 nb_pixel_total : 117495 time to create 1 rle with old method : 0.13561153411865234 create new chi : 0.5038795471191406 time to delete rle : 0.00040030479431152344 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3092 TO DO : save crop sub photo not yet done ! save time : 0.235121488571167 No data in photo_id : 1394146168 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03909754753112793 time for calcul the mask position with numpy : 0.07114648818969727 nb_pixel_total : 2044894 time to create 1 rle with new method : 0.1527082920074463 time for calcul the mask position with numpy : 0.006318569183349609 nb_pixel_total : 19188 time to create 1 rle with old method : 0.02219247817993164 time for calcul the mask position with numpy : 0.0060346126556396484 nb_pixel_total : 9518 time to create 1 rle with old method : 0.010928630828857422 create new chi : 0.28015637397766113 time to delete rle : 0.0002906322479248047 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1714 TO DO : save crop sub photo not yet done ! save time : 0.15512943267822266 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.10567235946655273 time for calcul the mask position with numpy : 0.19213581085205078 nb_pixel_total : 2044504 time to create 1 rle with new method : 0.2365245819091797 time for calcul the mask position with numpy : 0.006152629852294922 nb_pixel_total : 13742 time to create 1 rle with old method : 0.01606011390686035 time for calcul the mask position with numpy : 0.006001949310302734 nb_pixel_total : 8247 time to create 1 rle with old method : 0.009943962097167969 time for calcul the mask position with numpy : 0.006071567535400391 nb_pixel_total : 7107 time to create 1 rle with old method : 0.008190631866455078 create new chi : 0.4916377067565918 time to delete rle : 0.00030612945556640625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1752 TO DO : save crop sub photo not yet done ! save time : 0.15152668952941895 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04219198226928711 time for calcul the mask position with numpy : 0.020853519439697266 nb_pixel_total : 1974768 time to create 1 rle with new method : 0.09575176239013672 time for calcul the mask position with numpy : 0.007340192794799805 nb_pixel_total : 93863 time to create 1 rle with old method : 0.10821318626403809 time for calcul the mask position with numpy : 0.006528377532958984 nb_pixel_total : 4969 time to create 1 rle with old method : 0.0062389373779296875 create new chi : 0.25277018547058105 time to delete rle : 0.0004107952117919922 batch 1 Loaded 5 chid ids of type : 3594 +++++++++Number RLEs to save : 2332 TO DO : save crop sub photo not yet done ! save time : 0.18706130981445312 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.31101512908935547 time for calcul the mask position with numpy : 0.1523890495300293 nb_pixel_total : 1908945 time to create 1 rle with new method : 0.16766571998596191 time for calcul the mask position with numpy : 0.006450176239013672 nb_pixel_total : 2591 time to create 1 rle with old method : 0.0031211376190185547 time for calcul the mask position with numpy : 0.006960153579711914 nb_pixel_total : 130605 time to create 1 rle with old method : 0.15079832077026367 time for calcul the mask position with numpy : 0.006008148193359375 nb_pixel_total : 15504 time to create 1 rle with old method : 0.01801776885986328 time for calcul the mask position with numpy : 0.006022930145263672 nb_pixel_total : 15955 time to create 1 rle with old method : 0.01836252212524414 create new chi : 0.545936107635498 time to delete rle : 0.0004000663757324219 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2820 TO DO : save crop sub photo not yet done ! save time : 0.22277522087097168 map_output_result : {1394146190: (0.0, 'Should be the crop_list due to order', 0), 1394146179: (0.0, 'Should be the crop_list due to order', 0), 1394146176: (0.0, 'Should be the crop_list due to order', 0), 1394146173: (0.0, 'Should be the crop_list due to order', 0), 1394146171: (0.0, 'Should be the crop_list due to order', 0), 1394146168: (0.0, 'Should be the crop_list due to order', 0.0), 1394146162: (0.0, 'Should be the crop_list due to order', 0), 1394146159: (0.0, 'Should be the crop_list due to order', 0), 1394146154: (0.0, 'Should be the crop_list due to order', 0), 1394146152: (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 [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] Looping around the photos to save general results len do output : 10 /1394146190.Didn't retrieve data . /1394146179.Didn't retrieve data . /1394146176.Didn't retrieve data . /1394146173.Didn't retrieve data . /1394146171.Didn't retrieve data . /1394146168.Didn't retrieve data . /1394146162.Didn't retrieve data . /1394146159.Didn't retrieve data . /1394146154.Didn't retrieve data . /1394146152.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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013870954513549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.128541946411133 time spend to save output : 0.014333009719848633 total time spend for step 3 : 7.1428749561309814 step4:ventilate_hashtags_in_portfolio Fri Mar 6 02:51:13 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 : 30656687 get user id for portfolio 30656687 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`=30656687 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','pet_fonce','pehd','flou','carton','autre','metal','pet_clair','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30656687 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','pet_fonce','pehd','flou','carton','autre','metal','pet_clair','mal_croppe','background','environnement')) 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`=30656687 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','pet_fonce','pehd','flou','carton','autre','metal','pet_clair','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30656770,30656771,30656772,30656774,30656775,30656776,30656777,30656778,30656779,30656780,30656781?tags=papier,pet_fonce,pehd,flou,carton,autre,metal,pet_clair,mal_croppe,background,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] Looping around the photos to save general results len do output : 1 /30656687. 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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.018466711044311523 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6895315647125244 time spend to save output : 0.018725156784057617 total time spend for step 4 : 1.708256721496582 step5:final Fri Mar 6 02:51:14 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 : {1394146190: ('0.03766141010802469',), 1394146179: ('0.03766141010802469',), 1394146176: ('0.03766141010802469',), 1394146173: ('0.03766141010802469',), 1394146171: ('0.03766141010802469',), 1394146168: ('0.03766141010802469',), 1394146162: ('0.03766141010802469',), 1394146159: ('0.03766141010802469',), 1394146154: ('0.03766141010802469',), 1394146152: ('0.03766141010802469',)} new output for save of step final : {1394146190: ('0.03766141010802469',), 1394146179: ('0.03766141010802469',), 1394146176: ('0.03766141010802469',), 1394146173: ('0.03766141010802469',), 1394146171: ('0.03766141010802469',), 1394146168: ('0.03766141010802469',), 1394146162: ('0.03766141010802469',), 1394146159: ('0.03766141010802469',), 1394146154: ('0.03766141010802469',), 1394146152: ('0.03766141010802469',)} [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] Looping around the photos to save general results len do output : 10 /1394146190.Didn't retrieve data . /1394146179.Didn't retrieve data . /1394146176.Didn't retrieve data . /1394146173.Didn't retrieve data . /1394146171.Didn't retrieve data . /1394146168.Didn't retrieve data . /1394146162.Didn't retrieve data . /1394146159.Didn't retrieve data . /1394146154.Didn't retrieve data . /1394146152.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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01733231544494629 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12763142585754395 time spend to save output : 0.017838001251220703 total time spend for step 5 : 0.14546942710876465 step6:blur_detection Fri Mar 6 02:51:14 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/1772761828_3775201_1394146190_a027ec30854ea6b6c49a05be28516c39.jpg resize: (1080, 1920) 1394146190 -1.8789761149259416 treat image : temp/1772761828_3775201_1394146179_b49782d476825b3b33014384e8667dc9.jpg resize: (1080, 1920) 1394146179 0.07769336740943052 treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4.jpg resize: (1080, 1920) 1394146176 -3.2116393077679852 treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971.jpg resize: (1080, 1920) 1394146173 -1.7099533840868952 treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e.jpg resize: (1080, 1920) 1394146171 -3.8181569856106874 treat image : temp/1772761828_3775201_1394146168_e9d1a4ec13ffb83e8d17b4fe481f02db.jpg resize: (1080, 1920) 1394146168 0.4880464221803286 treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff.jpg resize: (1080, 1920) 1394146162 1.5775786971587387 treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14.jpg resize: (1080, 1920) 1394146159 -1.5811634585775909 treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21.jpg resize: (1080, 1920) 1394146154 1.495759040107424 treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211.jpg resize: (1080, 1920) 1394146152 0.6971462517934841 treat image : temp/1772761828_3775201_1394146190_a027ec30854ea6b6c49a05be28516c39_rle_crop_4153905534_0.png resize: (43, 89) 1411233143 -1.7475081665879098 treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905537_0.png resize: (129, 179) 1411233144 -1.3611855233405918 treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905538_0.png resize: (264, 236) 1411233145 -1.1230202954166073 treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905541_0.png resize: (198, 104) 1411233146 -2.2182109060033026 treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905544_0.png resize: (114, 132) 1411233147 -1.396646818841122 treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905548_0.png resize: (122, 149) 1411233148 -0.7201933363302632 treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905550_0.png resize: (420, 402) 1411233149 -0.22003614515041178 treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905549_0.png resize: (123, 107) 1411233150 -3.3821160038977376 treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905551_0.png resize: (74, 282) 1411233151 0.2118451966403941 treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905554_0.png resize: (65, 50) 1411233152 3.856835026253785 treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905539_0.png resize: (156, 223) 1411233153 -1.7667850423311486 treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905546_0.png resize: (115, 93) 1411233154 -1.4459048326160386 treat image : temp/1772761828_3775201_1394146179_b49782d476825b3b33014384e8667dc9_rle_crop_4153905535_0.png resize: (65, 116) 1411233155 -1.5368182277508937 treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905536_0.png resize: (238, 244) 1411233156 -4.023566539915126 treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905540_0.png resize: (738, 342) 1411233157 -2.8336422863563855 treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905542_0.png resize: (636, 316) 1411233158 0.03203292130608792 treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905545_0.png resize: (202, 257) 1411233159 -0.4853589424192159 treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905547_0.png resize: (92, 124) 1411233160 -2.9718245478710132 treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905552_0.png resize: (89, 225) 1411233161 -1.7025223344987062 treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905553_0.png resize: (599, 393) 1411233162 0.1462377299247014 treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905543_0.png resize: (350, 157) 1411233163 -1.3175198411671483 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 : 31 time used for this insertion : 0.014073610305786133 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.013755321502685547 save missing photos in datou_result : time spend for datou_step_exec : 8.132774114608765 time spend to save output : 0.032170772552490234 total time spend for step 6 : 8.164944887161255 step7:brightness Fri Mar 6 02:51:23 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/1772761828_3775201_1394146190_a027ec30854ea6b6c49a05be28516c39.jpg treat image : temp/1772761828_3775201_1394146179_b49782d476825b3b33014384e8667dc9.jpg treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4.jpg treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971.jpg treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e.jpg treat image : temp/1772761828_3775201_1394146168_e9d1a4ec13ffb83e8d17b4fe481f02db.jpg treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff.jpg treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14.jpg treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21.jpg treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211.jpg treat image : temp/1772761828_3775201_1394146190_a027ec30854ea6b6c49a05be28516c39_rle_crop_4153905534_0.png treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905537_0.png treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905538_0.png treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905541_0.png treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905544_0.png treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905548_0.png treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905550_0.png treat image : temp/1772761828_3775201_1394146154_0f6e28054fac20ddb2b00cf5f73f2f21_rle_crop_4153905549_0.png treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905551_0.png treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905554_0.png treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905539_0.png treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905546_0.png treat image : temp/1772761828_3775201_1394146179_b49782d476825b3b33014384e8667dc9_rle_crop_4153905535_0.png treat image : temp/1772761828_3775201_1394146176_d66925d72a4c175e04a07072fafa2ba4_rle_crop_4153905536_0.png treat image : temp/1772761828_3775201_1394146173_bb812453a4031e541ca3e6baeb96c971_rle_crop_4153905540_0.png treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905542_0.png treat image : temp/1772761828_3775201_1394146162_993a5604eb090cdca17fce55c14fb1ff_rle_crop_4153905545_0.png treat image : temp/1772761828_3775201_1394146159_0b7cecee10c1baf9ee884b271e044e14_rle_crop_4153905547_0.png treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905552_0.png treat image : temp/1772761828_3775201_1394146152_4787fe18ea9a72c9b0ef705f5b621211_rle_crop_4153905553_0.png treat image : temp/1772761828_3775201_1394146171_91caf5965cf0f9141b736ee497ed605e_rle_crop_4153905543_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 : 31 time used for this insertion : 0.015746593475341797 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.015677452087402344 save missing photos in datou_result : time spend for datou_step_exec : 2.3971688747406006 time spend to save output : 0.03556489944458008 total time spend for step 7 : 2.4327337741851807 step8:velours_tree Fri Mar 6 02:51:25 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.14927172660827637 time spend to save output : 4.458427429199219e-05 total time spend for step 8 : 0.14931631088256836 step9:send_mail_cod Fri Mar 6 02:51:25 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_P30656687_06-03-2026_02_51_25.pdf 30656770 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 .imagette306567701772761885 30656771 imagette306567711772761886 30656772 imagette306567721772761886 30656774 imagette306567741772761886 30656775 change filename to text .change filename to text .imagette306567751772761886 30656776 change filename to text .imagette306567761772761886 30656777 imagette306567771772761886 30656778 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 .imagette306567781772761886 30656779 imagette306567791772761887 30656780 imagette306567801772761887 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30656687 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30656770,30656771,30656772,30656774,30656775,30656776,30656777,30656778,30656779,30656780,30656781?tags=papier,pet_fonce,pehd,flou,carton,autre,metal,pet_clair,mal_croppe,background,environnement your option no_mail is active, we will not send the real mail to your client args[1394146190] : ((1394146190, -1.8789761149259416, 492688767), (1394146190, 2.8005165440030093, 492649241), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146179] : ((1394146179, 0.07769336740943052, 492688767), (1394146179, 0.9790809148793767, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146176] : ((1394146176, -3.2116393077679852, 492609224), (1394146176, 0.4979702281536841, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146173] : ((1394146173, -1.7099533840868952, 492688767), (1394146173, 0.6005804960193312, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146171] : ((1394146171, -3.8181569856106874, 492609224), (1394146171, 0.18444488257010452, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146168] : ((1394146168, 0.4880464221803286, 492688767), (1394146168, 0.6905629632487754, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146162] : ((1394146162, 1.5775786971587387, 492688767), (1394146162, 0.595804798849763, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146159] : ((1394146159, -1.5811634585775909, 492688767), (1394146159, 0.388099981172745, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146154] : ((1394146154, 1.495759040107424, 492688767), (1394146154, 0.10992893535126039, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com args[1394146152] : ((1394146152, 0.6971462517934841, 492688767), (1394146152, 0.3995998719627547, 2107752395), '0.03766141010802469') We are sending mail with results at report@fotonower.com refus_total : 0.03766141010802469 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=30656687 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_P30656687_06-03-2026_02_51_25.pdf results_Auto_P30656687_06-03-2026_02_51_25.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30656687_06-03-2026_02_51_25.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','30656687','results_Auto_P30656687_06-03-2026_02_51_25.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30656687_06-03-2026_02_51_25.pdf','pdf','','0.2','0.03766141010802469') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] 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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014131784439086914 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9146766662597656 time spend to save output : 0.01434469223022461 total time spend for step 9 : 2.9290213584899902 step10:split_time_score Fri Mar 6 02:51:28 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'}] (('18', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28102025 30656687 Nombre de photos uploadées : 10 / 23040 (0%) 28102025 30656687 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 28102025 30656687 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005214214324951172 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2244260311126709 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.14949373070987654 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106429_04-11-2025_04_01_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106429 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`=28106429 AND mptpi.`type`=3594 To do Qualite : 0.31957324046516755 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106432_04-11-2025_05_02_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106432 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`=28106432 AND mptpi.`type`=3594 To do Qualite : 0.23920814043209868 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106434_04-11-2025_03_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106434 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`=28106434 AND mptpi.`type`=3594 To do Qualite : 0.20596161265432097 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106438_04-11-2025_05_41_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106438 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`=28106438 AND mptpi.`type`=3594 To do Qualite : 0.5897089821829407 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106440_04-11-2025_02_42_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106440 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`=28106440 AND mptpi.`type`=3594 To do Qualite : 0.07877059220679013 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28106454_03-11-2025_17_02_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28106454 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`=28106454 AND mptpi.`type`=3594 To do Qualite : 0.02853083789281707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909528_29-10-2025_16_26_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27909528 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`=27909528 AND mptpi.`type`=3594 To do Qualite : 0.02325551376028806 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909529_29-10-2025_16_22_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27909529 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`=27909529 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30656684 order by id desc limit 1 Qualite : 0.03766141010802469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30656687_06-03-2026_02_51_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30656687 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`=30656687 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28102025': {'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 [1394146190, 1394146179, 1394146176, 1394146173, 1394146171, 1394146168, 1394146162, 1394146159, 1394146154, 1394146152] Looping around the photos to save general results len do output : 1 /30656687Didn'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, '4358285') ('3318', '30656687', '1394146190', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146179', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146176', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146173', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146171', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146168', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146162', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146159', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146154', None, None, None, None, None, '4358285') ('3318', None, None, None, None, None, None, None, '4358285') ('3318', '30656687', '1394146152', None, None, None, None, None, '4358285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013884305953979492 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.570564031600952 time spend to save output : 0.01410055160522461 total time spend for step 10 : 2.5846645832061768 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 31.82user 16.13system 1:05.99elapsed 72%CPU (0avgtext+0avgdata 2696520maxresident)k 959616inputs+13712outputs (2490major+1431727minor)pagefaults 0swaps