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 : 1008316 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['3671231'] with mtr_portfolio_ids : ['26587711'] and first list_photo_ids : [] new path : /proc/1008316/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.003429889678955 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 Sep 5 18:00:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6377 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-05 18:00:36.009754: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-05 18:00:36.040692: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-05 18:00:36.043527: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc8d0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-05 18:00:36.043619: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-05 18:00:36.048661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-05 18:00:36.205681: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25497b50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-05 18:00:36.205760: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-05 18:00:36.207156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-05 18:00:36.208294: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 18:00:36.214215: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 18:00:36.217223: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 18:00:36.218633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 18:00:36.222122: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 18:00:36.223655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 18:00:36.230306: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 18:00:36.231818: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 18:00:36.231940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 18:00:36.232686: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 18:00:36.232707: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 18:00:36.232717: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 18:00:36.234268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5707 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-05 18:00:36.654891: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-05 18:00:36.655005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 18:00:36.655027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 18:00:36.655048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 18:00:36.655069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 18:00:36.655088: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 18:00:36.655107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 18:00:36.655127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 18:00:36.656450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 18:00:36.658762: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-05 18:00:36.658963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 18:00:36.658993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 18:00:36.659017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 18:00:36.659040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 18:00:36.659063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 18:00:36.659086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 18:00:36.659110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 18:00:36.660662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 18:00:36.660735: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 18:00:36.660748: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 18:00:36.660758: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 18:00:36.662244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5707 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-05 18:00:45.776668: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 18:00:46.200188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.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: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 1011301 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1088 tf kernel not reseted sub process len(results) : 16 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 16 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 : 6377 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0004744529724121094 nb_pixel_total : 10910 time to create 1 rle with old method : 0.014348030090332031 length of segment : 184 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 8393 time to create 1 rle with old method : 0.010113716125488281 length of segment : 127 time for calcul the mask position with numpy : 0.03174614906311035 nb_pixel_total : 737624 time to create 1 rle with new method : 0.04669022560119629 length of segment : 912 time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 4779 time to create 1 rle with old method : 0.005898475646972656 length of segment : 83 time for calcul the mask position with numpy : 0.009882926940917969 nb_pixel_total : 722925 time to create 1 rle with new method : 0.030870437622070312 length of segment : 903 time for calcul the mask position with numpy : 0.00023865699768066406 nb_pixel_total : 7118 time to create 1 rle with old method : 0.008539915084838867 length of segment : 138 time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 9579 time to create 1 rle with old method : 0.011415719985961914 length of segment : 101 time for calcul the mask position with numpy : 0.002296924591064453 nb_pixel_total : 109625 time to create 1 rle with old method : 0.1276111602783203 length of segment : 554 time for calcul the mask position with numpy : 0.0004134178161621094 nb_pixel_total : 21807 time to create 1 rle with old method : 0.027169466018676758 length of segment : 149 time for calcul the mask position with numpy : 0.0002887248992919922 nb_pixel_total : 10072 time to create 1 rle with old method : 0.012445211410522461 length of segment : 143 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 8535 time to create 1 rle with old method : 0.009961366653442383 length of segment : 176 time for calcul the mask position with numpy : 0.0002300739288330078 nb_pixel_total : 10077 time to create 1 rle with old method : 0.012353897094726562 length of segment : 99 time for calcul the mask position with numpy : 0.020991086959838867 nb_pixel_total : 1172956 time to create 1 rle with new method : 0.6381595134735107 length of segment : 1246 time for calcul the mask position with numpy : 0.000286102294921875 nb_pixel_total : 9885 time to create 1 rle with old method : 0.011965036392211914 length of segment : 163 time for calcul the mask position with numpy : 0.0018222332000732422 nb_pixel_total : 81033 time to create 1 rle with old method : 0.09575510025024414 length of segment : 478 time for calcul the mask position with numpy : 0.0002675056457519531 nb_pixel_total : 8057 time to create 1 rle with old method : 0.010249614715576172 length of segment : 77 time for calcul the mask position with numpy : 0.05560660362243652 nb_pixel_total : 956190 time to create 1 rle with new method : 0.11402654647827148 length of segment : 1867 time for calcul the mask position with numpy : 0.0004165172576904297 nb_pixel_total : 9248 time to create 1 rle with old method : 0.010955333709716797 length of segment : 175 time for calcul the mask position with numpy : 0.3432619571685791 nb_pixel_total : 839256 time to create 1 rle with new method : 0.23513364791870117 length of segment : 1550 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 5646 time to create 1 rle with old method : 0.007002592086791992 length of segment : 85 time for calcul the mask position with numpy : 0.00043201446533203125 nb_pixel_total : 9539 time to create 1 rle with old method : 0.011605978012084961 length of segment : 177 time for calcul the mask position with numpy : 0.00035834312438964844 nb_pixel_total : 8929 time to create 1 rle with old method : 0.010965108871459961 length of segment : 151 time for calcul the mask position with numpy : 0.010917186737060547 nb_pixel_total : 731072 time to create 1 rle with new method : 0.01715707778930664 length of segment : 904 time for calcul the mask position with numpy : 0.0008497238159179688 nb_pixel_total : 40015 time to create 1 rle with old method : 0.04704761505126953 length of segment : 315 time for calcul the mask position with numpy : 0.00018095970153808594 nb_pixel_total : 3202 time to create 1 rle with old method : 0.0041234493255615234 length of segment : 76 time for calcul the mask position with numpy : 0.002420186996459961 nb_pixel_total : 110578 time to create 1 rle with old method : 0.13642382621765137 length of segment : 535 time for calcul the mask position with numpy : 0.0004792213439941406 nb_pixel_total : 12441 time to create 1 rle with old method : 0.015123367309570312 length of segment : 172 time for calcul the mask position with numpy : 0.00037097930908203125 nb_pixel_total : 6549 time to create 1 rle with old method : 0.00810098648071289 length of segment : 149 time for calcul the mask position with numpy : 0.011159658432006836 nb_pixel_total : 788316 time to create 1 rle with new method : 0.01880645751953125 length of segment : 958 time for calcul the mask position with numpy : 0.0007090568542480469 nb_pixel_total : 22572 time to create 1 rle with old method : 0.027101993560791016 length of segment : 189 time for calcul the mask position with numpy : 0.00043320655822753906 nb_pixel_total : 10455 time to create 1 rle with old method : 0.015733718872070312 length of segment : 176 time spent for convertir_results : 4.363230228424072 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 13012 save missing photos in datou_result : time spend for datou_step_exec : 30.805542707443237 time spend to save output : 0.8326597213745117 total time spend for step 1 : 31.63820242881775 step2:crop_condition Fri Sep 5 18:01:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 16 ! batch 1 Loaded 31 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/1757088065_1008316 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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.230051279067993 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 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/1757088069_1008316 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.5693473815917969 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757088096_1008316 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.803048372268677 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] Looping around the photos to save general results len do output : 31 /1381820031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381820504Didn'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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 109 time used for this insertion : 0.01949477195739746 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.88717198371887 time spend to save output : 0.021033048629760742 total time spend for step 2 : 37.90820503234863 step3:rle_unique_nms_with_priority Fri Sep 5 18:01:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.8369190692901611 time for calcul the mask position with numpy : 0.058666229248046875 nb_pixel_total : 1311921 time to create 1 rle with new method : 0.2120363712310791 time for calcul the mask position with numpy : 0.007780313491821289 nb_pixel_total : 4779 time to create 1 rle with old method : 0.005620718002319336 time for calcul the mask position with numpy : 0.05272698402404785 nb_pixel_total : 737597 time to create 1 rle with new method : 0.44629597663879395 time for calcul the mask position with numpy : 0.007343292236328125 nb_pixel_total : 8393 time to create 1 rle with old method : 0.009868383407592773 time for calcul the mask position with numpy : 0.007367372512817383 nb_pixel_total : 10910 time to create 1 rle with old method : 0.0127716064453125 create new chi : 0.8408064842224121 time to delete rle : 0.029317140579223633 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3677 TO DO : save crop sub photo not yet done ! save time : 0.24760055541992188 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.12274670600891113 time for calcul the mask position with numpy : 0.3109097480773926 nb_pixel_total : 1343557 time to create 1 rle with new method : 0.20731449127197266 time for calcul the mask position with numpy : 0.006790637969970703 nb_pixel_total : 7118 time to create 1 rle with old method : 0.008289337158203125 time for calcul the mask position with numpy : 0.01281428337097168 nb_pixel_total : 722925 time to create 1 rle with new method : 0.14596796035766602 create new chi : 0.7002489566802979 time to delete rle : 0.0005240440368652344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3162 TO DO : save crop sub photo not yet done ! save time : 0.23210501670837402 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.08519387245178223 time for calcul the mask position with numpy : 0.20695900917053223 nb_pixel_total : 1932589 time to create 1 rle with new method : 0.35141873359680176 time for calcul the mask position with numpy : 0.006921291351318359 nb_pixel_total : 21807 time to create 1 rle with old method : 0.02537846565246582 time for calcul the mask position with numpy : 0.007610321044921875 nb_pixel_total : 109625 time to create 1 rle with old method : 0.1279773712158203 time for calcul the mask position with numpy : 0.008923053741455078 nb_pixel_total : 9579 time to create 1 rle with old method : 0.011256933212280273 create new chi : 0.7594804763793945 time to delete rle : 0.0009391307830810547 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2688 TO DO : save crop sub photo not yet done ! save time : 0.2277376651763916 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.08147954940795898 time for calcul the mask position with numpy : 0.12211751937866211 nb_pixel_total : 2054993 time to create 1 rle with new method : 0.1219339370727539 time for calcul the mask position with numpy : 0.006884574890136719 nb_pixel_total : 8535 time to create 1 rle with old method : 0.010026931762695312 time for calcul the mask position with numpy : 0.006803750991821289 nb_pixel_total : 10072 time to create 1 rle with old method : 0.011708736419677734 create new chi : 0.2904534339904785 time to delete rle : 0.00036215782165527344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1718 TO DO : save crop sub photo not yet done ! save time : 0.15233969688415527 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.4493281841278076 time for calcul the mask position with numpy : 0.1648569107055664 nb_pixel_total : 801669 time to create 1 rle with new method : 0.2563939094543457 time for calcul the mask position with numpy : 0.007047176361083984 nb_pixel_total : 8057 time to create 1 rle with old method : 0.00939178466796875 time for calcul the mask position with numpy : 0.007221698760986328 nb_pixel_total : 81033 time to create 1 rle with old method : 0.09344601631164551 time for calcul the mask position with numpy : 0.00684046745300293 nb_pixel_total : 9885 time to create 1 rle with old method : 0.011389017105102539 time for calcul the mask position with numpy : 0.2590649127960205 nb_pixel_total : 1162879 time to create 1 rle with new method : 0.225663423538208 time for calcul the mask position with numpy : 0.00835728645324707 nb_pixel_total : 10077 time to create 1 rle with old method : 0.013941287994384766 create new chi : 1.0816476345062256 time to delete rle : 0.000873565673828125 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 5206 TO DO : save crop sub photo not yet done ! save time : 0.3554549217224121 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05005216598510742 time for calcul the mask position with numpy : 0.014716148376464844 nb_pixel_total : 1108616 time to create 1 rle with new method : 0.341900110244751 time for calcul the mask position with numpy : 0.013801813125610352 nb_pixel_total : 8794 time to create 1 rle with old method : 0.014356374740600586 time for calcul the mask position with numpy : 0.020307302474975586 nb_pixel_total : 956190 time to create 1 rle with new method : 0.560920238494873 create new chi : 0.9757964611053467 time to delete rle : 0.0012145042419433594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 5113 TO DO : save crop sub photo not yet done ! save time : 0.3647613525390625 No data in photo_id : 1381775248 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.13788270950317383 time for calcul the mask position with numpy : 0.057669639587402344 nb_pixel_total : 1224595 time to create 1 rle with new method : 0.10301852226257324 time for calcul the mask position with numpy : 0.006979703903198242 nb_pixel_total : 9272 time to create 1 rle with old method : 0.01115870475769043 time for calcul the mask position with numpy : 0.007483959197998047 nb_pixel_total : 477 time to create 1 rle with old method : 0.0006046295166015625 time for calcul the mask position with numpy : 0.014096498489379883 nb_pixel_total : 839256 time to create 1 rle with new method : 0.20320820808410645 create new chi : 0.4227294921875 time to delete rle : 0.0008432865142822266 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4522 TO DO : save crop sub photo not yet done ! save time : 0.3092842102050781 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0734405517578125 time for calcul the mask position with numpy : 0.023789405822753906 nb_pixel_total : 1333599 time to create 1 rle with new method : 0.17807769775390625 time for calcul the mask position with numpy : 0.019062280654907227 nb_pixel_total : 731072 time to create 1 rle with new method : 0.10492873191833496 time for calcul the mask position with numpy : 0.007109403610229492 nb_pixel_total : 8929 time to create 1 rle with old method : 0.010439872741699219 create new chi : 0.35114169120788574 time to delete rle : 0.0006897449493408203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3190 TO DO : save crop sub photo not yet done ! save time : 0.2302868366241455 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.09240460395812988 time for calcul the mask position with numpy : 0.1260826587677002 nb_pixel_total : 2033585 time to create 1 rle with new method : 0.1196737289428711 time for calcul the mask position with numpy : 0.007411003112792969 nb_pixel_total : 40015 time to create 1 rle with old method : 0.05143475532531738 create new chi : 0.31604647636413574 time to delete rle : 0.000370025634765625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1710 TO DO : save crop sub photo not yet done ! save time : 0.15397953987121582 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.15561223030090332 time for calcul the mask position with numpy : 0.11244726181030273 nb_pixel_total : 1959820 time to create 1 rle with new method : 0.13678741455078125 time for calcul the mask position with numpy : 0.009094953536987305 nb_pixel_total : 110578 time to create 1 rle with old method : 0.1280078887939453 time for calcul the mask position with numpy : 0.011677026748657227 nb_pixel_total : 3202 time to create 1 rle with old method : 0.0038483142852783203 create new chi : 0.41449761390686035 time to delete rle : 0.0007736682891845703 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2302 TO DO : save crop sub photo not yet done ! save time : 0.19666171073913574 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.052855730056762695 time for calcul the mask position with numpy : 0.12594270706176758 nb_pixel_total : 2061159 time to create 1 rle with new method : 0.11417603492736816 time for calcul the mask position with numpy : 0.007189512252807617 nb_pixel_total : 12441 time to create 1 rle with old method : 0.016829729080200195 create new chi : 0.2781391143798828 time to delete rle : 0.0003287792205810547 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1424 TO DO : save crop sub photo not yet done ! save time : 0.12738561630249023 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03719282150268555 time for calcul the mask position with numpy : 0.08008790016174316 nb_pixel_total : 2067051 time to create 1 rle with new method : 0.11598634719848633 time for calcul the mask position with numpy : 0.007979869842529297 nb_pixel_total : 6549 time to create 1 rle with old method : 0.007964849472045898 create new chi : 0.2234041690826416 time to delete rle : 0.00034689903259277344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1378 TO DO : save crop sub photo not yet done ! save time : 0.12480473518371582 No data in photo_id : 1381774817 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05823493003845215 time for calcul the mask position with numpy : 0.04931306838989258 nb_pixel_total : 1285284 time to create 1 rle with new method : 0.0857396125793457 time for calcul the mask position with numpy : 0.01252293586730957 nb_pixel_total : 788316 time to create 1 rle with new method : 0.24529528617858887 create new chi : 0.4092376232147217 time to delete rle : 0.00038313865661621094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2996 TO DO : save crop sub photo not yet done ! save time : 0.22023415565490723 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.21043062210083008 time for calcul the mask position with numpy : 0.17602825164794922 nb_pixel_total : 2040573 time to create 1 rle with new method : 0.15506529808044434 time for calcul the mask position with numpy : 0.006976127624511719 nb_pixel_total : 10455 time to create 1 rle with old method : 0.012183904647827148 time for calcul the mask position with numpy : 0.006708860397338867 nb_pixel_total : 22572 time to create 1 rle with old method : 0.026226282119750977 create new chi : 0.39426279067993164 time to delete rle : 0.0004482269287109375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1810 TO DO : save crop sub photo not yet done ! save time : 0.14634180068969727 map_output_result : {1381775829: (0.0, 'Should be the crop_list due to order', 0), 1381775827: (0.0, 'Should be the crop_list due to order', 0), 1381775456: (0.0, 'Should be the crop_list due to order', 0), 1381775408: (0.0, 'Should be the crop_list due to order', 0), 1381775358: (0.0, 'Should be the crop_list due to order', 0), 1381775299: (0.0, 'Should be the crop_list due to order', 0), 1381775248: (0.0, 'Should be the crop_list due to order', 0.0), 1381775195: (0.0, 'Should be the crop_list due to order', 0), 1381774937: (0.0, 'Should be the crop_list due to order', 0), 1381774907: (0.0, 'Should be the crop_list due to order', 0), 1381774881: (0.0, 'Should be the crop_list due to order', 0), 1381774845: (0.0, 'Should be the crop_list due to order', 0), 1381774824: (0.0, 'Should be the crop_list due to order', 0), 1381774817: (0.0, 'Should be the crop_list due to order', 0.0), 1381774644: (0.0, 'Should be the crop_list due to order', 0), 1381774641: (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 [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] Looping around the photos to save general results len do output : 16 /1381775829.Didn't retrieve data . /1381775827.Didn't retrieve data . /1381775456.Didn't retrieve data . /1381775408.Didn't retrieve data . /1381775358.Didn't retrieve data . /1381775299.Didn't retrieve data . /1381775248.Didn't retrieve data . /1381775195.Didn't retrieve data . /1381774937.Didn't retrieve data . /1381774907.Didn't retrieve data . /1381774881.Didn't retrieve data . /1381774845.Didn't retrieve data . /1381774824.Didn't retrieve data . /1381774817.Didn't retrieve data . /1381774644.Didn't retrieve data . /1381774641.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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.01743936538696289 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.598853826522827 time spend to save output : 0.018097877502441406 total time spend for step 3 : 13.616951704025269 step4:ventilate_hashtags_in_portfolio Fri Sep 5 18:01:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26587711 get user id for portfolio 26587711 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`=26587711 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','metal','papier','pehd','environnement','background','carton','pet_fonce','autre','mal_croppe')) 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`=26587711 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','metal','papier','pehd','environnement','background','carton','pet_fonce','autre','mal_croppe')) 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`=26587711 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','flou','metal','papier','pehd','environnement','background','carton','pet_fonce','autre','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26588128,26588129,26588130,26588131,26588132,26588133,26588134,26588135,26588136,26588137,26588138?tags=pet_clair,flou,metal,papier,pehd,environnement,background,carton,pet_fonce,autre,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] Looping around the photos to save general results len do output : 1 /26587711. 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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.01775074005126953 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6748566627502441 time spend to save output : 0.018122434616088867 total time spend for step 4 : 1.692979097366333 step5:final Fri Sep 5 18:01:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1381775829: ('0.19505295741705245',), 1381775827: ('0.19505295741705245',), 1381775456: ('0.19505295741705245',), 1381775408: ('0.19505295741705245',), 1381775358: ('0.19505295741705245',), 1381775299: ('0.19505295741705245',), 1381775248: ('0.19505295741705245',), 1381775195: ('0.19505295741705245',), 1381774937: ('0.19505295741705245',), 1381774907: ('0.19505295741705245',), 1381774881: ('0.19505295741705245',), 1381774845: ('0.19505295741705245',), 1381774824: ('0.19505295741705245',), 1381774817: ('0.19505295741705245',), 1381774644: ('0.19505295741705245',), 1381774641: ('0.19505295741705245',)} new output for save of step final : {1381775829: ('0.19505295741705245',), 1381775827: ('0.19505295741705245',), 1381775456: ('0.19505295741705245',), 1381775408: ('0.19505295741705245',), 1381775358: ('0.19505295741705245',), 1381775299: ('0.19505295741705245',), 1381775248: ('0.19505295741705245',), 1381775195: ('0.19505295741705245',), 1381774937: ('0.19505295741705245',), 1381774907: ('0.19505295741705245',), 1381774881: ('0.19505295741705245',), 1381774845: ('0.19505295741705245',), 1381774824: ('0.19505295741705245',), 1381774817: ('0.19505295741705245',), 1381774644: ('0.19505295741705245',), 1381774641: ('0.19505295741705245',)} [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] Looping around the photos to save general results len do output : 16 /1381775829.Didn't retrieve data . /1381775827.Didn't retrieve data . /1381775456.Didn't retrieve data . /1381775408.Didn't retrieve data . /1381775358.Didn't retrieve data . /1381775299.Didn't retrieve data . /1381775248.Didn't retrieve data . /1381775195.Didn't retrieve data . /1381774937.Didn't retrieve data . /1381774907.Didn't retrieve data . /1381774881.Didn't retrieve data . /1381774845.Didn't retrieve data . /1381774824.Didn't retrieve data . /1381774817.Didn't retrieve data . /1381774644.Didn't retrieve data . /1381774641.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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.015439033508300781 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12048459053039551 time spend to save output : 0.021782398223876953 total time spend for step 5 : 0.14226698875427246 step6:blur_detection Fri Sep 5 18:01:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91.jpg resize: (1080, 1920) 1381775829 -2.526000894009845 treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f.jpg resize: (1080, 1920) 1381775827 -1.3030355325297596 treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e.jpg resize: (1080, 1920) 1381775456 -2.543069979712882 treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002.jpg resize: (1080, 1920) 1381775408 -2.555047494787209 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca.jpg resize: (1080, 1920) 1381775358 -2.281106868860547 treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52.jpg resize: (1080, 1920) 1381775299 -2.0243651691325515 treat image : temp/1757088030_1008316_1381775248_2508497bdffc78118006361ab1931a78.jpg resize: (1080, 1920) 1381775248 -2.1808496411189644 treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563.jpg resize: (1080, 1920) 1381775195 -2.066231988941139 treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c.jpg resize: (1080, 1920) 1381774937 -2.2575171862869134 treat image : temp/1757088030_1008316_1381774907_88686e15254046e998aafe23278d08cc.jpg resize: (1080, 1920) 1381774907 -1.7901342765324266 treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15.jpg resize: (1080, 1920) 1381774881 1.6593104226164004 treat image : temp/1757088030_1008316_1381774845_adc74c486278464f20d43cd3f99d2aec.jpg resize: (1080, 1920) 1381774845 -0.48990867359292706 treat image : temp/1757088030_1008316_1381774824_2c28ed4ea4a9bf8e762c980d4f0bf7e0.jpg resize: (1080, 1920) 1381774824 -1.4835635786686923 treat image : temp/1757088030_1008316_1381774817_81ad2d6dd53086819b68442a17d866ae.jpg resize: (1080, 1920) 1381774817 -2.326751327335942 treat image : temp/1757088030_1008316_1381774644_11afa2221e0f4101a424d8fdba031144.jpg resize: (1080, 1920) 1381774644 -2.1787299876360127 treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa.jpg resize: (1080, 1920) 1381774641 -1.8393248996058662 treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570613_0.png resize: (184, 110) 1381820031 -0.5412087824115095 treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f_rle_crop_3946570618_0.png resize: (138, 81) 1381820032 -1.5997356238670544 treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002_rle_crop_3946570623_0.png resize: (176, 99) 1381820035 -1.9244083734709723 treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002_rle_crop_3946570622_0.png resize: (143, 138) 1381820036 -2.1490850062059654 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570626_0.png resize: (163, 104) 1381820037 -0.9497111181081379 treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52_rle_crop_3946570630_0.png resize: (175, 98) 1381820040 -1.2273806102582716 treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570633_0.png resize: (177, 103) 1381820041 -1.8683079989063978 treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15_rle_crop_3946570637_0.png resize: (76, 77) 1381820042 -1.2701686732607531 treat image : temp/1757088030_1008316_1381774824_2c28ed4ea4a9bf8e762c980d4f0bf7e0_rle_crop_3946570640_0.png resize: (149, 67) 1381820045 -1.324451071746652 treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa_rle_crop_3946570643_0.png resize: (176, 107) 1381820046 -0.49735510893525436 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570624_0.png resize: (99, 127) 1381820059 -1.8847492146234257 treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570615_0.png resize: (912, 1043) 1381820469 -0.0896079849290661 treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570616_0.png resize: (78, 71) 1381820472 -2.533691958630173 treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570614_0.png resize: (117, 99) 1381820473 -2.987917589423054 treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f_rle_crop_3946570617_0.png resize: (896, 1031) 1381820474 0.4732595261956448 treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570621_0.png resize: (134, 215) 1381820476 -2.2260806432006683 treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570620_0.png resize: (540, 357) 1381820479 0.22667722728593476 treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570619_0.png resize: (101, 118) 1381820480 -0.45714871564101617 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570625_0.png resize: (885, 1413) 1381820482 -2.6205563676533448 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570627_0.png resize: (467, 341) 1381820485 -0.5925645412838109 treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570628_0.png resize: (76, 172) 1381820486 -1.8797703085300284 treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52_rle_crop_3946570629_0.png resize: (957, 1250) 1381820488 -1.6495423504007949 treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570631_0.png resize: (931, 1217) 1381820490 -1.0360599601935052 treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570632_0.png resize: (84, 80) 1381820491 -1.0234219798530564 treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c_rle_crop_3946570635_0.png resize: (900, 1051) 1381820493 0.430117560178837 treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c_rle_crop_3946570634_0.png resize: (149, 100) 1381820495 -2.2053407889176144 treat image : temp/1757088030_1008316_1381774907_88686e15254046e998aafe23278d08cc_rle_crop_3946570636_0.png resize: (309, 166) 1381820496 -1.1723729744725633 treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15_rle_crop_3946570638_0.png resize: (531, 340) 1381820499 -0.588702562941959 treat image : temp/1757088030_1008316_1381774845_adc74c486278464f20d43cd3f99d2aec_rle_crop_3946570639_0.png resize: (171, 106) 1381820501 -3.2171727719897563 treat image : temp/1757088030_1008316_1381774644_11afa2221e0f4101a424d8fdba031144_rle_crop_3946570641_0.png resize: (930, 1203) 1381820502 -0.29420534462846115 treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa_rle_crop_3946570642_0.png resize: (184, 244) 1381820504 -2.1860787802302597 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 : 47 time used for this insertion : 0.01565074920654297 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.017016172409057617 save missing photos in datou_result : time spend for datou_step_exec : 16.124481678009033 time spend to save output : 0.037955284118652344 total time spend for step 6 : 16.162436962127686 step7:brightness Fri Sep 5 18:02:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91.jpg treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f.jpg treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e.jpg treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002.jpg treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca.jpg treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52.jpg treat image : temp/1757088030_1008316_1381775248_2508497bdffc78118006361ab1931a78.jpg treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563.jpg treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c.jpg treat image : temp/1757088030_1008316_1381774907_88686e15254046e998aafe23278d08cc.jpg treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15.jpg treat image : temp/1757088030_1008316_1381774845_adc74c486278464f20d43cd3f99d2aec.jpg treat image : temp/1757088030_1008316_1381774824_2c28ed4ea4a9bf8e762c980d4f0bf7e0.jpg treat image : temp/1757088030_1008316_1381774817_81ad2d6dd53086819b68442a17d866ae.jpg treat image : temp/1757088030_1008316_1381774644_11afa2221e0f4101a424d8fdba031144.jpg treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa.jpg treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570613_0.png treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f_rle_crop_3946570618_0.png treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002_rle_crop_3946570623_0.png treat image : temp/1757088030_1008316_1381775408_8deb5c379005b94a316dadcde9b17002_rle_crop_3946570622_0.png treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570626_0.png treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52_rle_crop_3946570630_0.png treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570633_0.png treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15_rle_crop_3946570637_0.png treat image : temp/1757088030_1008316_1381774824_2c28ed4ea4a9bf8e762c980d4f0bf7e0_rle_crop_3946570640_0.png treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa_rle_crop_3946570643_0.png treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570624_0.png treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570615_0.png treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570616_0.png treat image : temp/1757088030_1008316_1381775829_90ee5a7617aa391c5032586602a21a91_rle_crop_3946570614_0.png treat image : temp/1757088030_1008316_1381775827_f4ff139a492ae4545adfd1a5233d979f_rle_crop_3946570617_0.png treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570621_0.png treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570620_0.png treat image : temp/1757088030_1008316_1381775456_76e4015276516f421932afcda016649e_rle_crop_3946570619_0.png treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570625_0.png treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570627_0.png treat image : temp/1757088030_1008316_1381775358_48b3654b54691c82c93a29e9534765ca_rle_crop_3946570628_0.png treat image : temp/1757088030_1008316_1381775299_5eb897daac0e8ee922cfd572a3519b52_rle_crop_3946570629_0.png treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570631_0.png treat image : temp/1757088030_1008316_1381775195_6f41e0e5e9ac61d06246df4ffb737563_rle_crop_3946570632_0.png treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c_rle_crop_3946570635_0.png treat image : temp/1757088030_1008316_1381774937_e7a585d58986f754d78ffa4f849d864c_rle_crop_3946570634_0.png treat image : temp/1757088030_1008316_1381774907_88686e15254046e998aafe23278d08cc_rle_crop_3946570636_0.png treat image : temp/1757088030_1008316_1381774881_a0714992ee09dea1f07213321d8cde15_rle_crop_3946570638_0.png treat image : temp/1757088030_1008316_1381774845_adc74c486278464f20d43cd3f99d2aec_rle_crop_3946570639_0.png treat image : temp/1757088030_1008316_1381774644_11afa2221e0f4101a424d8fdba031144_rle_crop_3946570641_0.png treat image : temp/1757088030_1008316_1381774641_d28d9a124c26f5fa942b6fb1bb1c73fa_rle_crop_3946570642_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 : 47 time used for this insertion : 0.01316976547241211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.01731419563293457 save missing photos in datou_result : time spend for datou_step_exec : 4.51606822013855 time spend to save output : 0.03505110740661621 total time spend for step 7 : 4.551119327545166 step8:velours_tree Fri Sep 5 18:02:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.1899721622467041 time spend to save output : 6.580352783203125e-05 total time spend for step 8 : 0.19003796577453613 step9:send_mail_cod Fri Sep 5 18:02:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26587711_05-09-2025_18_02_18.pdf 26588128 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265881281757088138 26588129 imagette265881291757088140 26588130 change filename to text .imagette265881301757088140 26588131 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 .imagette265881311757088140 26588132 imagette265881321757088141 26588134 imagette265881341757088141 26588135 imagette265881351757088141 26588136 imagette265881361757088141 26588137 imagette265881371757088141 26588138 imagette265881381757088141 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26587711 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26588128,26588129,26588130,26588131,26588132,26588133,26588134,26588135,26588136,26588137,26588138?tags=pet_clair,flou,metal,papier,pehd,environnement,background,carton,pet_fonce,autre,mal_croppe args[1381775829] : ((1381775829, -2.526000894009845, 492609224), (1381775829, 0.531001958989186, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775827] : ((1381775827, -1.3030355325297596, 492688767), (1381775827, 0.5945157469174385, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775456] : ((1381775456, -2.543069979712882, 492609224), (1381775456, 0.600197535540027, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775408] : ((1381775408, -2.555047494787209, 492609224), (1381775408, 0.4275054314414001, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775358] : ((1381775358, -2.281106868860547, 492609224), (1381775358, 0.3939550608681599, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775299] : ((1381775299, -2.0243651691325515, 492609224), (1381775299, 0.5107382542593175, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775248] : ((1381775248, -2.1808496411189644, 492609224), (1381775248, 0.5779704957604587, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381775195] : ((1381775195, -2.066231988941139, 492609224), (1381775195, 0.579788408827993, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774937] : ((1381774937, -2.2575171862869134, 492609224), (1381774937, 0.6696640778693371, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774907] : ((1381774907, -1.7901342765324266, 492688767), (1381774907, 0.5517807040394899, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774881] : ((1381774881, 1.6593104226164004, 492688767), (1381774881, 0.5118099769774092, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774845] : ((1381774845, -0.48990867359292706, 492688767), (1381774845, 0.4800251454946589, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774824] : ((1381774824, -1.4835635786686923, 492688767), (1381774824, 0.5317031735992367, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774817] : ((1381774817, -2.326751327335942, 492609224), (1381774817, 0.6173560298262104, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774644] : ((1381774644, -2.1787299876360127, 492609224), (1381774644, 0.5505071480545934, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com args[1381774641] : ((1381774641, -1.8393248996058662, 492688767), (1381774641, 0.5787309766986422, 2107752395), '0.19505295741705245') We are sending mail with results at report@fotonower.com refus_total : 0.19505295741705245 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26587711 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587711_05-09-2025_18_02_18.pdf results_Auto_P26587711_05-09-2025_18_02_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587711_05-09-2025_18_02_18.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','26587711','results_Auto_P26587711_05-09-2025_18_02_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587711_05-09-2025_18_02_18.pdf','pdf','','0.73','0.19505295741705245') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26587711

https://www.fotonower.com/image?json=false&list_photos_id=1381775829
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775827
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775456
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775408
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775358
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775299
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775248
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381775195
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774937
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774907
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774881
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6593104226164004)
https://www.fotonower.com/image?json=false&list_photos_id=1381774845
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774824
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774817
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774644
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381774641
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26588128?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26588130?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26588131?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587711_05-09-2025_18_02_18.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26588128,26588129,26588130,26588131,26588132,26588133,26588134,26588135,26588136,26588137,26588138?tags=pet_clair,flou,metal,papier,pehd,environnement,background,carton,pet_fonce,autre,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 05 Sep 2025 16:02:23 GMT Content-Length: 0 Connection: close X-Message-Id: I-XVMpPxQgm7jrOih5y6ng Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] 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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.020716190338134766 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.586779832839966 time spend to save output : 0.020958662033081055 total time spend for step 9 : 4.607738494873047 step10:split_time_score Fri Sep 5 18:02:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('15', 16),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05092025 26587711 Nombre de photos uploadées : 16 / 23040 (0%) 05092025 26587711 Nombre de photos taguées (types de déchets): 0 / 16 (0%) 05092025 26587711 Nombre de photos taguées (volume) : 0 / 16 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007829666137695312 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21344971656799316 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.09195606235970821 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26566359_05-09-2025_08_12_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26566359 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`=26566359 AND mptpi.`type`=3594 To do Qualite : 0.10170207208076132 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26576339_05-09-2025_13_52_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26576339 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`=26576339 AND mptpi.`type`=3594 To do Qualite : 0.027067418981481482 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574866_05-09-2025_12_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574866 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`=26574866 AND mptpi.`type`=3594 To do Qualite : 0.028250546553497957 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574888_05-09-2025_12_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574888 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`=26574888 AND mptpi.`type`=3594 To do Qualite : 0.046818832585841054 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574891_05-09-2025_12_13_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574891 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`=26574891 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26587707 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26587709 order by id desc limit 1 Qualite : 0.19505295741705245 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587711_05-09-2025_18_02_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26587711 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`=26587711 AND mptpi.`type`=3594 To do Qualite : 0.10291303828630216 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26587716_05-09-2025_17_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26587716 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`=26587716 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05092025': {'nb_upload': 16, '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 [1381775829, 1381775827, 1381775456, 1381775408, 1381775358, 1381775299, 1381775248, 1381775195, 1381774937, 1381774907, 1381774881, 1381774845, 1381774824, 1381774817, 1381774644, 1381774641] Looping around the photos to save general results len do output : 1 /26587711Didn'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, '3671231') ('3318', '26587711', '1381775829', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775827', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775456', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775408', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775358', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775299', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775248', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381775195', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774937', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774907', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774881', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774845', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774824', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774817', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774644', None, None, None, None, None, '3671231') ('3318', None, None, None, None, None, None, None, '3671231') ('3318', '26587711', '1381774641', None, None, None, None, None, '3671231') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.015442609786987305 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.723945140838623 time spend to save output : 0.016379117965698242 total time spend for step 10 : 2.7403242588043213 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 73.19user 26.67system 2:00.50elapsed 82%CPU (0avgtext+0avgdata 2801112maxresident)k 752896inputs+51440outputs (2175major+1997129minor)pagefaults 0swaps