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 : 1920472 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 : ['3556216'] with mtr_portfolio_ids : ['26076746'] and first list_photo_ids : [] new path : /proc/1920472/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.4480085372924805 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 Wed Aug 20 13:10: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 : 10019 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-20 13:10:35.261150: 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-08-20 13:10:35.288767: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-20 13:10:35.291164: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f15b8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-20 13:10:35.291219: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-20 13:10:35.295202: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-20 13:10:35.438915: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x402a8b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-20 13:10:35.438969: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-20 13:10:35.440123: 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-08-20 13:10:35.440463: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 13:10:35.442630: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 13:10:35.444836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 13:10:35.445256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 13:10:35.447667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 13:10:35.448969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 13:10:35.453263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 13:10:35.454831: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 13:10:35.454929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 13:10:35.455701: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-20 13:10:35.455719: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-20 13:10:35.455728: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-20 13:10:35.457186: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9275 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-08-20 13:10:35.743969: 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-08-20 13:10:35.744064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 13:10:35.744093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 13:10:35.744118: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 13:10:35.744142: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 13:10:35.744166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 13:10:35.744190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 13:10:35.744214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 13:10:35.745931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 13:10:35.747476: 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-08-20 13:10:35.747555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 13:10:35.747571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 13:10:35.747586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 13:10:35.747600: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 13:10:35.747614: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 13:10:35.747629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 13:10:35.747643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 13:10:35.748920: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 13:10:35.748954: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-20 13:10:35.748964: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-20 13:10:35.748972: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-20 13:10:35.750280: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9275 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-08-20 13:10:45.156696: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 13:10:45.390505: 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 : 11 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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 : 15 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 : 8 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: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 3.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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 1921135 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 307 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 5596 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.00011873245239257812 nb_pixel_total : 2132 time to create 1 rle with old method : 0.002801656723022461 length of segment : 44 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 4111 time to create 1 rle with old method : 0.004998683929443359 length of segment : 65 time for calcul the mask position with numpy : 0.0001900196075439453 nb_pixel_total : 5951 time to create 1 rle with old method : 0.00709986686706543 length of segment : 101 time for calcul the mask position with numpy : 0.00015735626220703125 nb_pixel_total : 7916 time to create 1 rle with old method : 0.009404420852661133 length of segment : 98 time for calcul the mask position with numpy : 9.846687316894531e-05 nb_pixel_total : 3649 time to create 1 rle with old method : 0.004317045211791992 length of segment : 118 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 4467 time to create 1 rle with old method : 0.00533747673034668 length of segment : 96 time for calcul the mask position with numpy : 0.00024127960205078125 nb_pixel_total : 9160 time to create 1 rle with old method : 0.011313676834106445 length of segment : 146 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 3826 time to create 1 rle with old method : 0.004715442657470703 length of segment : 60 time for calcul the mask position with numpy : 0.00011229515075683594 nb_pixel_total : 3247 time to create 1 rle with old method : 0.0041005611419677734 length of segment : 63 time for calcul the mask position with numpy : 8.058547973632812e-05 nb_pixel_total : 1539 time to create 1 rle with old method : 0.0019698143005371094 length of segment : 45 time for calcul the mask position with numpy : 0.00018787384033203125 nb_pixel_total : 5000 time to create 1 rle with old method : 0.006378889083862305 length of segment : 133 time for calcul the mask position with numpy : 0.0001895427703857422 nb_pixel_total : 5651 time to create 1 rle with old method : 0.009852170944213867 length of segment : 96 time for calcul the mask position with numpy : 0.0023190975189208984 nb_pixel_total : 100236 time to create 1 rle with old method : 0.11939001083374023 length of segment : 533 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 12834 time to create 1 rle with old method : 0.01483464241027832 length of segment : 110 time for calcul the mask position with numpy : 0.0002391338348388672 nb_pixel_total : 5167 time to create 1 rle with old method : 0.006154537200927734 length of segment : 149 time for calcul the mask position with numpy : 0.0002582073211669922 nb_pixel_total : 13919 time to create 1 rle with old method : 0.016476869583129883 length of segment : 154 time for calcul the mask position with numpy : 0.000209808349609375 nb_pixel_total : 5153 time to create 1 rle with old method : 0.00653839111328125 length of segment : 152 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 5125 time to create 1 rle with old method : 0.006155252456665039 length of segment : 96 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 6696 time to create 1 rle with old method : 0.008245229721069336 length of segment : 109 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 16550 time to create 1 rle with old method : 0.019379377365112305 length of segment : 163 time for calcul the mask position with numpy : 0.0006108283996582031 nb_pixel_total : 31052 time to create 1 rle with old method : 0.04048752784729004 length of segment : 182 time for calcul the mask position with numpy : 0.0023584365844726562 nb_pixel_total : 104426 time to create 1 rle with old method : 0.13804888725280762 length of segment : 516 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 7764 time to create 1 rle with old method : 0.009313106536865234 length of segment : 127 time for calcul the mask position with numpy : 0.0005629062652587891 nb_pixel_total : 23193 time to create 1 rle with old method : 0.026963233947753906 length of segment : 177 time for calcul the mask position with numpy : 0.0003287792205810547 nb_pixel_total : 5956 time to create 1 rle with old method : 0.007113933563232422 length of segment : 101 time for calcul the mask position with numpy : 0.00019049644470214844 nb_pixel_total : 6287 time to create 1 rle with old method : 0.007612466812133789 length of segment : 89 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 4153 time to create 1 rle with old method : 0.004795074462890625 length of segment : 86 time for calcul the mask position with numpy : 9.036064147949219e-05 nb_pixel_total : 2867 time to create 1 rle with old method : 0.003312349319458008 length of segment : 66 time for calcul the mask position with numpy : 0.0005791187286376953 nb_pixel_total : 38839 time to create 1 rle with old method : 0.04392743110656738 length of segment : 174 time for calcul the mask position with numpy : 0.00010609626770019531 nb_pixel_total : 1953 time to create 1 rle with old method : 0.0024559497833251953 length of segment : 41 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 4923 time to create 1 rle with old method : 0.005957126617431641 length of segment : 69 time for calcul the mask position with numpy : 0.00015401840209960938 nb_pixel_total : 6354 time to create 1 rle with old method : 0.012046337127685547 length of segment : 132 time for calcul the mask position with numpy : 0.0004837512969970703 nb_pixel_total : 8533 time to create 1 rle with old method : 0.010089635848999023 length of segment : 126 time for calcul the mask position with numpy : 0.0002474784851074219 nb_pixel_total : 4238 time to create 1 rle with old method : 0.0050966739654541016 length of segment : 81 time for calcul the mask position with numpy : 0.0009372234344482422 nb_pixel_total : 20551 time to create 1 rle with old method : 0.023455381393432617 length of segment : 215 time for calcul the mask position with numpy : 0.000499725341796875 nb_pixel_total : 15386 time to create 1 rle with old method : 0.017802953720092773 length of segment : 203 time for calcul the mask position with numpy : 0.000263214111328125 nb_pixel_total : 14658 time to create 1 rle with old method : 0.016852617263793945 length of segment : 129 time for calcul the mask position with numpy : 0.00041174888610839844 nb_pixel_total : 2804 time to create 1 rle with old method : 0.0034835338592529297 length of segment : 127 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 2361 time to create 1 rle with old method : 0.0030350685119628906 length of segment : 36 time for calcul the mask position with numpy : 0.00047087669372558594 nb_pixel_total : 10176 time to create 1 rle with old method : 0.011802196502685547 length of segment : 184 time for calcul the mask position with numpy : 0.0003800392150878906 nb_pixel_total : 8366 time to create 1 rle with old method : 0.009816169738769531 length of segment : 151 time spent for convertir_results : 1.7084083557128906 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 5543 save missing photos in datou_result : time spend for datou_step_exec : 25.658916473388672 time spend to save output : 0.47391724586486816 total time spend for step 1 : 26.13283371925354 step2:crop_condition Wed Aug 20 13:10:58 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 : 11 ! batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 28 About to insert : list_path_to_insert length 28 new photo from crops ! About to upload 28 photos upload in portfolio : 3736932 init cache_photo without model_param we have 28 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755688260_1920472 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 ! 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 28 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.433284044265747 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755688267_1920472 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9527771472930908 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755688268_1920472 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.5604522228240967 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755688270_1920472 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 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.2745559215545654 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 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/1755688273_1920472 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.6536250114440918 we have finished the crop for the class : pet_fonce 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] Looping around the photos to save general results len do output : 41 /1378031253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378031304Didn'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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 134 time used for this insertion : 0.05155134201049805 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.9363534450531 time spend to save output : 0.053550004959106445 total time spend for step 2 : 14.989903450012207 step3:rle_unique_nms_with_priority Wed Aug 20 13:11:13 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 1.0905036926269531 time for calcul the mask position with numpy : 0.07341694831848145 nb_pixel_total : 2049841 time to create 1 rle with new method : 0.11267805099487305 time for calcul the mask position with numpy : 0.006558656692504883 nb_pixel_total : 3649 time to create 1 rle with old method : 0.004104137420654297 time for calcul the mask position with numpy : 0.006336688995361328 nb_pixel_total : 7916 time to create 1 rle with old method : 0.00907588005065918 time for calcul the mask position with numpy : 0.007366657257080078 nb_pixel_total : 5951 time to create 1 rle with old method : 0.007315158843994141 time for calcul the mask position with numpy : 0.009419441223144531 nb_pixel_total : 4111 time to create 1 rle with old method : 0.007826805114746094 time for calcul the mask position with numpy : 0.007725954055786133 nb_pixel_total : 2132 time to create 1 rle with old method : 0.0027179718017578125 create new chi : 0.2662346363067627 time to delete rle : 0.021264314651489258 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 1932 TO DO : save crop sub photo not yet done ! save time : 0.16632604598999023 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.37590765953063965 time for calcul the mask position with numpy : 0.14278411865234375 nb_pixel_total : 2046361 time to create 1 rle with new method : 0.11409902572631836 time for calcul the mask position with numpy : 0.007523536682128906 nb_pixel_total : 5000 time to create 1 rle with old method : 0.005674123764038086 time for calcul the mask position with numpy : 0.007198333740234375 nb_pixel_total : 1539 time to create 1 rle with old method : 0.0017788410186767578 time for calcul the mask position with numpy : 0.011702299118041992 nb_pixel_total : 3247 time to create 1 rle with old method : 0.0036818981170654297 time for calcul the mask position with numpy : 0.011699676513671875 nb_pixel_total : 3826 time to create 1 rle with old method : 0.004335165023803711 time for calcul the mask position with numpy : 0.007506608963012695 nb_pixel_total : 9160 time to create 1 rle with old method : 0.010522127151489258 time for calcul the mask position with numpy : 0.0078051090240478516 nb_pixel_total : 4467 time to create 1 rle with old method : 0.005248546600341797 create new chi : 0.3582119941711426 time to delete rle : 0.0004658699035644531 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2166 TO DO : save crop sub photo not yet done ! save time : 0.19306182861328125 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.12753796577453613 time for calcul the mask position with numpy : 0.03693342208862305 nb_pixel_total : 1949712 time to create 1 rle with new method : 0.09129548072814941 time for calcul the mask position with numpy : 0.00765681266784668 nb_pixel_total : 5167 time to create 1 rle with old method : 0.005833148956298828 time for calcul the mask position with numpy : 0.006794929504394531 nb_pixel_total : 12834 time to create 1 rle with old method : 0.014685392379760742 time for calcul the mask position with numpy : 0.007769107818603516 nb_pixel_total : 100236 time to create 1 rle with old method : 0.12712550163269043 time for calcul the mask position with numpy : 0.006780147552490234 nb_pixel_total : 5651 time to create 1 rle with old method : 0.006310224533081055 create new chi : 0.3211350440979004 time to delete rle : 0.00040221214294433594 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2856 TO DO : save crop sub photo not yet done ! save time : 0.21170973777770996 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.17852282524108887 time for calcul the mask position with numpy : 0.2420663833618164 nb_pixel_total : 2054528 time to create 1 rle with new method : 0.13650989532470703 time for calcul the mask position with numpy : 0.006638526916503906 nb_pixel_total : 5153 time to create 1 rle with old method : 0.007244110107421875 time for calcul the mask position with numpy : 0.006661176681518555 nb_pixel_total : 13919 time to create 1 rle with old method : 0.015623331069946289 create new chi : 0.4265129566192627 time to delete rle : 0.00033926963806152344 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1692 TO DO : save crop sub photo not yet done ! save time : 0.1585543155670166 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 0.6731123924255371 time for calcul the mask position with numpy : 0.09488129615783691 nb_pixel_total : 1895088 time to create 1 rle with new method : 0.08913397789001465 time for calcul the mask position with numpy : 0.010617971420288086 nb_pixel_total : 6287 time to create 1 rle with old method : 0.00763392448425293 time for calcul the mask position with numpy : 0.011193513870239258 nb_pixel_total : 5956 time to create 1 rle with old method : 0.00686192512512207 time for calcul the mask position with numpy : 0.006609678268432617 nb_pixel_total : 386 time to create 1 rle with old method : 0.0006396770477294922 time for calcul the mask position with numpy : 0.007614850997924805 nb_pixel_total : 7764 time to create 1 rle with old method : 0.009761810302734375 time for calcul the mask position with numpy : 0.008222103118896484 nb_pixel_total : 104426 time to create 1 rle with old method : 0.12933111190795898 time for calcul the mask position with numpy : 0.007431507110595703 nb_pixel_total : 25322 time to create 1 rle with old method : 0.029531478881835938 time for calcul the mask position with numpy : 0.007489919662475586 nb_pixel_total : 16550 time to create 1 rle with old method : 0.019013643264770508 time for calcul the mask position with numpy : 0.006760835647583008 nb_pixel_total : 6696 time to create 1 rle with old method : 0.007672548294067383 time for calcul the mask position with numpy : 0.006753444671630859 nb_pixel_total : 5125 time to create 1 rle with old method : 0.006301164627075195 create new chi : 0.48513245582580566 time to delete rle : 0.0005443096160888672 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3816 TO DO : save crop sub photo not yet done ! save time : 0.2937192916870117 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05549979209899902 time for calcul the mask position with numpy : 0.02552962303161621 nb_pixel_total : 2069447 time to create 1 rle with new method : 0.04075741767883301 time for calcul the mask position with numpy : 0.0070743560791015625 nb_pixel_total : 4153 time to create 1 rle with old method : 0.004702329635620117 create new chi : 0.07831716537475586 time to delete rle : 0.0002465248107910156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1252 TO DO : save crop sub photo not yet done ! save time : 0.13851165771484375 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.09173154830932617 time for calcul the mask position with numpy : 0.1376328468322754 nb_pixel_total : 2018664 time to create 1 rle with new method : 0.12266421318054199 time for calcul the mask position with numpy : 0.006696224212646484 nb_pixel_total : 6354 time to create 1 rle with old method : 0.0071637630462646484 time for calcul the mask position with numpy : 0.0065348148345947266 nb_pixel_total : 4923 time to create 1 rle with old method : 0.00666356086730957 time for calcul the mask position with numpy : 0.00807809829711914 nb_pixel_total : 1953 time to create 1 rle with old method : 0.002431631088256836 time for calcul the mask position with numpy : 0.011736392974853516 nb_pixel_total : 38839 time to create 1 rle with old method : 0.045632362365722656 time for calcul the mask position with numpy : 0.011950254440307617 nb_pixel_total : 2867 time to create 1 rle with old method : 0.003342866897583008 create new chi : 0.3807535171508789 time to delete rle : 0.0004673004150390625 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2044 TO DO : save crop sub photo not yet done ! save time : 0.18582606315612793 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 1.036252498626709 time for calcul the mask position with numpy : 0.37357354164123535 nb_pixel_total : 2040278 time to create 1 rle with new method : 0.20289158821105957 time for calcul the mask position with numpy : 0.008671998977661133 nb_pixel_total : 20551 time to create 1 rle with old method : 0.025610923767089844 time for calcul the mask position with numpy : 0.010929584503173828 nb_pixel_total : 4238 time to create 1 rle with old method : 0.005288839340209961 time for calcul the mask position with numpy : 0.007739067077636719 nb_pixel_total : 8533 time to create 1 rle with old method : 0.010696887969970703 create new chi : 0.659172534942627 time to delete rle : 0.0005195140838623047 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1924 TO DO : save crop sub photo not yet done ! save time : 0.248152494430542 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.11388874053955078 time for calcul the mask position with numpy : 0.07137584686279297 nb_pixel_total : 2043556 time to create 1 rle with new method : 0.16483616828918457 time for calcul the mask position with numpy : 0.007372379302978516 nb_pixel_total : 14658 time to create 1 rle with old method : 0.020553112030029297 time for calcul the mask position with numpy : 0.006997108459472656 nb_pixel_total : 15386 time to create 1 rle with old method : 0.017333507537841797 create new chi : 0.29892635345458984 time to delete rle : 0.0003693103790283203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1744 TO DO : save crop sub photo not yet done ! save time : 0.1550755500793457 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.10412788391113281 time for calcul the mask position with numpy : 0.08402800559997559 nb_pixel_total : 2068435 time to create 1 rle with new method : 0.08940815925598145 time for calcul the mask position with numpy : 0.0065460205078125 nb_pixel_total : 2361 time to create 1 rle with old method : 0.002725362777709961 time for calcul the mask position with numpy : 0.0067310333251953125 nb_pixel_total : 2804 time to create 1 rle with old method : 0.003238677978515625 create new chi : 0.20498132705688477 time to delete rle : 0.0002865791320800781 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1406 TO DO : save crop sub photo not yet done ! save time : 0.11879873275756836 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06661486625671387 time for calcul the mask position with numpy : 0.2970919609069824 nb_pixel_total : 2055058 time to create 1 rle with new method : 0.32205939292907715 time for calcul the mask position with numpy : 0.006787538528442383 nb_pixel_total : 8366 time to create 1 rle with old method : 0.00938868522644043 time for calcul the mask position with numpy : 0.007497549057006836 nb_pixel_total : 10176 time to create 1 rle with old method : 0.011492013931274414 create new chi : 0.6663651466369629 time to delete rle : 0.0004439353942871094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1750 TO DO : save crop sub photo not yet done ! save time : 0.14291739463806152 map_output_result : {1378023564: (0.0, 'Should be the crop_list due to order', 0), 1378023552: (0.0, 'Should be the crop_list due to order', 0), 1378023490: (0.0, 'Should be the crop_list due to order', 0), 1378023487: (0.0, 'Should be the crop_list due to order', 0), 1378023485: (0.0, 'Should be the crop_list due to order', 0), 1378023483: (0.0, 'Should be the crop_list due to order', 0), 1378023482: (0.0, 'Should be the crop_list due to order', 0), 1378023316: (0.0, 'Should be the crop_list due to order', 0), 1378023309: (0.0, 'Should be the crop_list due to order', 0), 1378023306: (0.0, 'Should be the crop_list due to order', 0), 1378023304: (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 [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] Looping around the photos to save general results len do output : 11 /1378023564.Didn't retrieve data . /1378023552.Didn't retrieve data . /1378023490.Didn't retrieve data . /1378023487.Didn't retrieve data . /1378023485.Didn't retrieve data . /1378023483.Didn't retrieve data . /1378023482.Didn't retrieve data . /1378023316.Didn't retrieve data . /1378023309.Didn't retrieve data . /1378023306.Didn't retrieve data . /1378023304.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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.015045166015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.564370155334473 time spend to save output : 0.015572786331176758 total time spend for step 3 : 10.57994294166565 step4:ventilate_hashtags_in_portfolio Wed Aug 20 13:11:24 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 : 26076746 get user id for portfolio 26076746 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`=26076746 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','environnement','mal_croppe','flou','pehd','papier','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26076746 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','environnement','mal_croppe','flou','pehd','papier','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26076746 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','environnement','mal_croppe','flou','pehd','papier','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26076825,26076826,26076827,26076828,26076829,26076830,26076831,26076832,26076833,26076834,26076835?tags=carton,metal,environnement,mal_croppe,flou,pehd,papier,pet_clair,background,autre,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] Looping around the photos to save general results len do output : 1 /26076746. 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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.016185522079467773 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7031748294830322 time spend to save output : 0.016462087631225586 total time spend for step 4 : 1.7196369171142578 step5:final Wed Aug 20 13:11:25 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 : {1378023564: ('0.022737443883277215',), 1378023552: ('0.022737443883277215',), 1378023490: ('0.022737443883277215',), 1378023487: ('0.022737443883277215',), 1378023485: ('0.022737443883277215',), 1378023483: ('0.022737443883277215',), 1378023482: ('0.022737443883277215',), 1378023316: ('0.022737443883277215',), 1378023309: ('0.022737443883277215',), 1378023306: ('0.022737443883277215',), 1378023304: ('0.022737443883277215',)} new output for save of step final : {1378023564: ('0.022737443883277215',), 1378023552: ('0.022737443883277215',), 1378023490: ('0.022737443883277215',), 1378023487: ('0.022737443883277215',), 1378023485: ('0.022737443883277215',), 1378023483: ('0.022737443883277215',), 1378023482: ('0.022737443883277215',), 1378023316: ('0.022737443883277215',), 1378023309: ('0.022737443883277215',), 1378023306: ('0.022737443883277215',), 1378023304: ('0.022737443883277215',)} [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] Looping around the photos to save general results len do output : 11 /1378023564.Didn't retrieve data . /1378023552.Didn't retrieve data . /1378023490.Didn't retrieve data . /1378023487.Didn't retrieve data . /1378023485.Didn't retrieve data . /1378023483.Didn't retrieve data . /1378023482.Didn't retrieve data . /1378023316.Didn't retrieve data . /1378023309.Didn't retrieve data . /1378023306.Didn't retrieve data . /1378023304.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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.01367640495300293 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11812281608581543 time spend to save output : 0.014266729354858398 total time spend for step 5 : 0.13238954544067383 step6:blur_detection Wed Aug 20 13:11:25 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/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0.jpg resize: (1080, 1920) 1378023564 0.8944264090315822 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95.jpg resize: (1080, 1920) 1378023552 -0.9728721353228087 treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73.jpg resize: (1080, 1920) 1378023490 -3.409859704560564 treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108.jpg resize: (1080, 1920) 1378023487 1.0379751315056405 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde.jpg resize: (1080, 1920) 1378023485 -4.211287444455457 treat image : temp/1755688230_1920472_1378023483_ab9c70cea2b6900320730e4e5e9d954f.jpg resize: (1080, 1920) 1378023483 -0.28709270783450813 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3.jpg resize: (1080, 1920) 1378023482 -4.218928344021182 treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459.jpg resize: (1080, 1920) 1378023316 -0.5595417727539646 treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33.jpg resize: (1080, 1920) 1378023309 -2.5270916420670284 treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82.jpg resize: (1080, 1920) 1378023306 1.1764095238547905 treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850.jpg resize: (1080, 1920) 1378023304 1.109962358780503 treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589412_0.png resize: (64, 95) 1378031253 -0.839207008561875 treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589413_0.png resize: (95, 129) 1378031254 -0.5768534863485902 treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589415_0.png resize: (118, 44) 1378031255 -1.7010845729924244 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589416_0.png resize: (96, 84) 1378031256 -0.11236825818972071 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589419_0.png resize: (63, 64) 1378031257 4.151884337390833 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589417_0.png resize: (146, 124) 1378031258 -1.5987875392565447 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589418_0.png resize: (59, 98) 1378031259 -0.33493248243050394 treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589425_0.png resize: (149, 74) 1378031260 -2.4816910866374453 treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589424_0.png resize: (110, 156) 1378031261 -4.005242034288474 treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589422_0.png resize: (95, 74) 1378031262 0.8690660133180836 treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108_rle_crop_3921589427_0.png resize: (98, 134) 1378031263 -1.6896923488059301 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589434_0.png resize: (161, 242) 1378031264 -2.569349377066688 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589429_0.png resize: (106, 112) 1378031265 -1.5634972452689226 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589436_0.png resize: (69, 143) 1378031266 -3.5361669641060938 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589430_0.png resize: (149, 125) 1378031267 -1.2267519210759579 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589433_0.png resize: (89, 148) 1378031268 -3.653912115216441 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589435_0.png resize: (96, 153) 1378031269 -4.1539279179769855 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589428_0.png resize: (95, 75) 1378031270 -1.0306205913159752 treat image : temp/1755688230_1920472_1378023483_ab9c70cea2b6900320730e4e5e9d954f_rle_crop_3921589437_0.png resize: (86, 63) 1378031271 -1.0681412303563378 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589441_0.png resize: (68, 132) 1378031273 -3.458746921182227 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589438_0.png resize: (66, 55) 1378031274 5.258741828376649 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589440_0.png resize: (41, 72) 1378031275 -0.7323602952301466 treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589444_0.png resize: (81, 78) 1378031276 -0.8140814508033172 treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589443_0.png resize: (118, 139) 1378031277 -1.3480328408499151 treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82_rle_crop_3921589448_0.png resize: (124, 73) 1378031278 -2.5583691893961213 treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82_rle_crop_3921589449_0.png resize: (35, 90) 1378031279 -1.6738283253024284 treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850_rle_crop_3921589450_0.png resize: (183, 94) 1378031280 -0.32593666446151465 treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850_rle_crop_3921589451_0.png resize: (151, 95) 1378031281 -0.028475579701996958 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589421_0.png resize: (133, 95) 1378031283 -1.702245530475336 treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108_rle_crop_3921589426_0.png resize: (152, 135) 1378031284 -1.3066130623025143 treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33_rle_crop_3921589446_0.png resize: (182, 118) 1378031285 -0.7229969591308053 treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589420_0.png resize: (45, 43) 1378031286 0.6215490697500086 treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589411_0.png resize: (44, 65) 1378031296 0.16281391471573295 treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589414_0.png resize: (98, 110) 1378031297 -0.6561390303037016 treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589423_0.png resize: (533, 306) 1378031298 -0.17492191624668896 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589432_0.png resize: (513, 331) 1378031299 0.1482013658134993 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589439_0.png resize: (171, 292) 1378031300 -2.548578439463117 treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589442_0.png resize: (131, 62) 1378031301 -2.501156317931433 treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589445_0.png resize: (215, 169) 1378031302 -1.4004726259133213 treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33_rle_crop_3921589447_0.png resize: (129, 156) 1378031303 -1.1153857318723506 treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589431_0.png resize: (173, 285) 1378031304 -2.2920130484325165 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 : 52 time used for this insertion : 0.017448902130126953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.018741846084594727 save missing photos in datou_result : time spend for datou_step_exec : 9.478743314743042 time spend to save output : 0.041672468185424805 total time spend for step 6 : 9.520415782928467 step7:brightness Wed Aug 20 13:11:35 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/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0.jpg treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95.jpg treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73.jpg treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108.jpg treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde.jpg treat image : temp/1755688230_1920472_1378023483_ab9c70cea2b6900320730e4e5e9d954f.jpg treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3.jpg treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459.jpg treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33.jpg treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82.jpg treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850.jpg treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589412_0.png treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589413_0.png treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589415_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589416_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589419_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589417_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589418_0.png treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589425_0.png treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589424_0.png treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589422_0.png treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108_rle_crop_3921589427_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589434_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589429_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589436_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589430_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589433_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589435_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589428_0.png treat image : temp/1755688230_1920472_1378023483_ab9c70cea2b6900320730e4e5e9d954f_rle_crop_3921589437_0.png treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589441_0.png treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589438_0.png treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589440_0.png treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589444_0.png treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589443_0.png treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82_rle_crop_3921589448_0.png treat image : temp/1755688230_1920472_1378023306_9bc07a3deadfa9fb56f06b29ab092d82_rle_crop_3921589449_0.png treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850_rle_crop_3921589450_0.png treat image : temp/1755688230_1920472_1378023304_70659efee906a6e828d7dfa7467d5850_rle_crop_3921589451_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589421_0.png treat image : temp/1755688230_1920472_1378023487_48c2d6cab7df2de487ec14e22220e108_rle_crop_3921589426_0.png treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33_rle_crop_3921589446_0.png treat image : temp/1755688230_1920472_1378023552_1c45721d935367e04e7a82d658c9ef95_rle_crop_3921589420_0.png treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589411_0.png treat image : temp/1755688230_1920472_1378023564_d21b607f57214d73e8e6390a048ed6e0_rle_crop_3921589414_0.png treat image : temp/1755688230_1920472_1378023490_feceb067e984f42c5115ad484fc19e73_rle_crop_3921589423_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589432_0.png treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589439_0.png treat image : temp/1755688230_1920472_1378023482_ac2d244f91a23cdbf297f78dff6372c3_rle_crop_3921589442_0.png treat image : temp/1755688230_1920472_1378023316_e8ccad2159177270ede893bf92f2c459_rle_crop_3921589445_0.png treat image : temp/1755688230_1920472_1378023309_a13f4b79dc5800ea23e03e88cab61f33_rle_crop_3921589447_0.png treat image : temp/1755688230_1920472_1378023485_42dfcecc74539918ae0cda32e382ddde_rle_crop_3921589431_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 : 52 time used for this insertion : 0.013936281204223633 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.014015436172485352 save missing photos in datou_result : time spend for datou_step_exec : 2.6468002796173096 time spend to save output : 0.03283095359802246 total time spend for step 7 : 2.679631233215332 step8:velours_tree Wed Aug 20 13:11:38 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.24820780754089355 time spend to save output : 5.316734313964844e-05 total time spend for step 8 : 0.2482609748840332 step9:send_mail_cod Wed Aug 20 13:11:38 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_P26076746_20-08-2025_13_11_38.pdf 26076825 change filename to text .change filename to text .change filename to text .imagette260768251755688298 26076826 change filename to text .imagette260768261755688298 26076828 imagette260768281755688298 26076829 imagette260768291755688298 26076830 imagette260768301755688298 26076831 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 .imagette260768311755688298 26076832 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 .imagette260768321755688299 26076833 imagette260768331755688300 26076834 imagette260768341755688300 26076835 change filename to text .imagette260768351755688300 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26076746 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26076825,26076826,26076827,26076828,26076829,26076830,26076831,26076832,26076833,26076834,26076835?tags=carton,metal,environnement,mal_croppe,flou,pehd,papier,pet_clair,background,autre,pet_fonce args[1378023564] : ((1378023564, 0.8944264090315822, 492688767), (1378023564, 0.7267803565263241, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023552] : ((1378023552, -0.9728721353228087, 492688767), (1378023552, 0.5976779945372658, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023490] : ((1378023490, -3.409859704560564, 492609224), (1378023490, 0.31070091884925816, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023487] : ((1378023487, 1.0379751315056405, 492688767), (1378023487, 0.7473104834101404, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023485] : ((1378023485, -4.211287444455457, 492609224), (1378023485, 0.3687316312651192, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023483] : ((1378023483, -0.28709270783450813, 492688767), (1378023483, 0.6765560777740036, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023482] : ((1378023482, -4.218928344021182, 492609224), (1378023482, 0.30096412970537906, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023316] : ((1378023316, -0.5595417727539646, 492688767), (1378023316, 0.3684464481855702, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023309] : ((1378023309, -2.5270916420670284, 492609224), (1378023309, 1.3737548129627057, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023306] : ((1378023306, 1.1764095238547905, 492688767), (1378023306, 0.42338612683439947, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com args[1378023304] : ((1378023304, 1.109962358780503, 492688767), (1378023304, 0.5358837533402445, 2107752395), '0.022737443883277215') We are sending mail with results at report@fotonower.com refus_total : 0.022737443883277215 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=26076746 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_P26076746_20-08-2025_13_11_38.pdf results_Auto_P26076746_20-08-2025_13_11_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26076746_20-08-2025_13_11_38.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','26076746','results_Auto_P26076746_20-08-2025_13_11_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26076746_20-08-2025_13_11_38.pdf','pdf','','0.18','0.022737443883277215') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26076746

https://www.fotonower.com/image?json=false&list_photos_id=1378023564
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023552
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023490
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023487
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0379751315056405)
https://www.fotonower.com/image?json=false&list_photos_id=1378023485
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023483
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023482
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023316
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023309
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378023306
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1764095238547905)
https://www.fotonower.com/image?json=false&list_photos_id=1378023304
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.109962358780503)

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

exemples de contaminants: carton: https://www.fotonower.com/view/26076825?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26076826?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26076831?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26076832?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26076835?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26076746_20-08-2025_13_11_38.pdf.

Lien vers velours :https://www.fotonower.com/velours/26076825,26076826,26076827,26076828,26076829,26076830,26076831,26076832,26076833,26076834,26076835?tags=carton,metal,environnement,mal_croppe,flou,pehd,papier,pet_clair,background,autre,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 20 Aug 2025 11:11:42 GMT Content-Length: 0 Connection: close X-Message-Id: WWVe1Wn8SoaUOgLxK45-Wg 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 [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] 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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.048061370849609375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7900278568267822 time spend to save output : 0.04842638969421387 total time spend for step 9 : 3.838454246520996 step10:split_time_score Wed Aug 20 13:11: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('12', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20082025 26076746 Nombre de photos uploadées : 11 / 23040 (0%) 20082025 26076746 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 20082025 26076746 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006313323974609375 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23321151733398438 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.04855858571244855 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070736_20-08-2025_08_31_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070736 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`=26070736 AND mptpi.`type`=3594 To do Qualite : 0.12004560436795493 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070739_20-08-2025_08_22_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070739 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`=26070739 AND mptpi.`type`=3594 To do Qualite : 0.17909196566358027 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070741_20-08-2025_08_11_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070741 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`=26070741 AND mptpi.`type`=3594 To do Qualite : 0.18128038194444446 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071862_20-08-2025_09_36_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26071862 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`=26071862 AND mptpi.`type`=3594 To do Qualite : 0.19035156250000002 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071865_20-08-2025_09_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26071865 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`=26071865 AND mptpi.`type`=3594 To do Qualite : 0.0661381534529321 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26075820_20-08-2025_12_31_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26075820 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`=26075820 AND mptpi.`type`=3594 To do Qualite : 0.09801646468772696 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26075827_20-08-2025_12_12_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26075827 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`=26075827 AND mptpi.`type`=3594 To do Qualite : 0.022737443883277215 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26076746_20-08-2025_13_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26076746 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`=26076746 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20082025': {'nb_upload': 11, '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 [1378023564, 1378023552, 1378023490, 1378023487, 1378023485, 1378023483, 1378023482, 1378023316, 1378023309, 1378023306, 1378023304] Looping around the photos to save general results len do output : 1 /26076746Didn'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, '3556216') ('3318', '26076746', '1378023564', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023552', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023490', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023487', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023485', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023483', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023482', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023316', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023309', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023306', None, None, None, None, None, '3556216') ('3318', None, None, None, None, None, None, None, '3556216') ('3318', '26076746', '1378023304', None, None, None, None, None, '3556216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.021836280822753906 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8892881870269775 time spend to save output : 0.022148847579956055 total time spend for step 10 : 0.9114370346069336 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 36.92user 20.88system 1:17.13elapsed 74%CPU (0avgtext+0avgdata 2827592maxresident)k 586008inputs+12168outputs (941major+1753953minor)pagefaults 0swaps