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 : 2233025 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 : ['3658710'] with mtr_portfolio_ids : ['26487187'] and first list_photo_ids : [] new path : /proc/2233025/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.2927157878875732 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 Sep 3 14:40:30 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 : 10601 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-03 14:40:32.864553: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-03 14:40:32.888643: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-03 14:40:32.890534: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f15dc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-03 14:40:32.890587: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-03 14:40:32.894375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-03 14:40:33.051497: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x8159200 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-03 14:40:33.051549: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-03 14:40:33.053047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 14:40:33.053433: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 14:40:33.056369: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 14:40:33.059015: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 14:40:33.059518: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 14:40:33.062517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 14:40:33.063836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 14:40:33.068834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 14:40:33.070300: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 14:40:33.070358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 14:40:33.071087: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 14:40:33.071101: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 14:40:33.071109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 14:40:33.073136: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9676 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-03 14:40:33.386649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 14:40:33.386733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 14:40:33.386754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 14:40:33.386772: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 14:40:33.386790: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 14:40:33.386807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 14:40:33.386824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 14:40:33.386841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 14:40:33.388411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 14:40:33.389852: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 14:40:33.389902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 14:40:33.389920: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 14:40:33.389938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 14:40:33.389954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 14:40:33.389971: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 14:40:33.389988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 14:40:33.390005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 14:40:33.391641: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 14:40:33.391674: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 14:40:33.391685: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 14:40:33.391696: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 14:40:33.393446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9676 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-03 14:40:41.594635: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 14:40:41.803440: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.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: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 Detection mask done ! Trying to reset tf kernel 2233601 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 733 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6022 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.0002446174621582031 nb_pixel_total : 7142 time to create 1 rle with old method : 0.007838010787963867 length of segment : 103 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 19193 time to create 1 rle with old method : 0.020912647247314453 length of segment : 145 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 6587 time to create 1 rle with old method : 0.007113218307495117 length of segment : 114 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 9745 time to create 1 rle with old method : 0.01095271110534668 length of segment : 142 time for calcul the mask position with numpy : 7.367134094238281e-05 nb_pixel_total : 2343 time to create 1 rle with old method : 0.0026962757110595703 length of segment : 65 time for calcul the mask position with numpy : 6.914138793945312e-05 nb_pixel_total : 1602 time to create 1 rle with old method : 0.0019001960754394531 length of segment : 97 time for calcul the mask position with numpy : 9.393692016601562e-05 nb_pixel_total : 2948 time to create 1 rle with old method : 0.0032503604888916016 length of segment : 118 time for calcul the mask position with numpy : 0.0002269744873046875 nb_pixel_total : 13380 time to create 1 rle with old method : 0.015093803405761719 length of segment : 138 time for calcul the mask position with numpy : 0.0005738735198974609 nb_pixel_total : 33215 time to create 1 rle with old method : 0.03516364097595215 length of segment : 233 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 10125 time to create 1 rle with old method : 0.01132655143737793 length of segment : 157 time for calcul the mask position with numpy : 0.00010752677917480469 nb_pixel_total : 5748 time to create 1 rle with old method : 0.0065386295318603516 length of segment : 62 time for calcul the mask position with numpy : 0.00020170211791992188 nb_pixel_total : 10776 time to create 1 rle with old method : 0.011989355087280273 length of segment : 148 time for calcul the mask position with numpy : 8.988380432128906e-05 nb_pixel_total : 3232 time to create 1 rle with old method : 0.003618955612182617 length of segment : 91 time for calcul the mask position with numpy : 0.00016689300537109375 nb_pixel_total : 9472 time to create 1 rle with old method : 0.010658740997314453 length of segment : 111 time for calcul the mask position with numpy : 0.00015592575073242188 nb_pixel_total : 6551 time to create 1 rle with old method : 0.007494449615478516 length of segment : 91 time for calcul the mask position with numpy : 0.00018906593322753906 nb_pixel_total : 8468 time to create 1 rle with old method : 0.009309053421020508 length of segment : 170 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 3583 time to create 1 rle with old method : 0.003991842269897461 length of segment : 72 time for calcul the mask position with numpy : 0.0002732276916503906 nb_pixel_total : 14986 time to create 1 rle with old method : 0.016116857528686523 length of segment : 165 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 5992 time to create 1 rle with old method : 0.006770610809326172 length of segment : 102 time for calcul the mask position with numpy : 7.724761962890625e-05 nb_pixel_total : 2374 time to create 1 rle with old method : 0.002715587615966797 length of segment : 59 time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 10930 time to create 1 rle with old method : 0.012285232543945312 length of segment : 134 time for calcul the mask position with numpy : 0.0004589557647705078 nb_pixel_total : 19721 time to create 1 rle with old method : 0.0266268253326416 length of segment : 183 time for calcul the mask position with numpy : 0.00013375282287597656 nb_pixel_total : 5431 time to create 1 rle with old method : 0.0059986114501953125 length of segment : 100 time for calcul the mask position with numpy : 0.00022482872009277344 nb_pixel_total : 10863 time to create 1 rle with old method : 0.011934757232666016 length of segment : 115 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 3222 time to create 1 rle with old method : 0.0036063194274902344 length of segment : 56 time for calcul the mask position with numpy : 0.008999109268188477 nb_pixel_total : 411520 time to create 1 rle with new method : 0.03711223602294922 length of segment : 739 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 7059 time to create 1 rle with old method : 0.0077304840087890625 length of segment : 134 time for calcul the mask position with numpy : 0.00018787384033203125 nb_pixel_total : 6276 time to create 1 rle with old method : 0.007047891616821289 length of segment : 120 time for calcul the mask position with numpy : 7.534027099609375e-05 nb_pixel_total : 3494 time to create 1 rle with old method : 0.003968000411987305 length of segment : 59 time for calcul the mask position with numpy : 0.0007390975952148438 nb_pixel_total : 49543 time to create 1 rle with old method : 0.054223060607910156 length of segment : 200 time for calcul the mask position with numpy : 8.559226989746094e-05 nb_pixel_total : 3892 time to create 1 rle with old method : 0.00465846061706543 length of segment : 40 time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 3723 time to create 1 rle with old method : 0.004265546798706055 length of segment : 75 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 5287 time to create 1 rle with old method : 0.0059146881103515625 length of segment : 76 time for calcul the mask position with numpy : 0.00015807151794433594 nb_pixel_total : 6325 time to create 1 rle with old method : 0.006796121597290039 length of segment : 184 time for calcul the mask position with numpy : 7.891654968261719e-05 nb_pixel_total : 3271 time to create 1 rle with old method : 0.003709077835083008 length of segment : 68 time for calcul the mask position with numpy : 5.841255187988281e-05 nb_pixel_total : 2152 time to create 1 rle with old method : 0.0024547576904296875 length of segment : 52 time for calcul the mask position with numpy : 0.000179290771484375 nb_pixel_total : 8579 time to create 1 rle with old method : 0.015160083770751953 length of segment : 86 time for calcul the mask position with numpy : 0.0003170967102050781 nb_pixel_total : 6198 time to create 1 rle with old method : 0.006742000579833984 length of segment : 151 time for calcul the mask position with numpy : 0.00023436546325683594 nb_pixel_total : 6108 time to create 1 rle with old method : 0.006811857223510742 length of segment : 74 time for calcul the mask position with numpy : 0.0006406307220458984 nb_pixel_total : 17624 time to create 1 rle with old method : 0.018935680389404297 length of segment : 208 time for calcul the mask position with numpy : 0.00019311904907226562 nb_pixel_total : 3435 time to create 1 rle with old method : 0.003838777542114258 length of segment : 82 time spent for convertir_results : 1.6358916759490967 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 : 5319 save missing photos in datou_result : time spend for datou_step_exec : 24.281773567199707 time spend to save output : 0.3937406539916992 total time spend for step 1 : 24.675514221191406 step2:crop_condition Wed Sep 3 14:40:54 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 : 10 ! 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 ! 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 : 30 About to insert : list_path_to_insert length 30 new photo from crops ! About to upload 30 photos upload in portfolio : 3736932 init cache_photo without model_param we have 30 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756903256_2233025 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 ! 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 30 photos in the portfolio 3736932 time of upload the photos Elapsed time : 8.20517873764038 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756903265_2233025 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 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3790106773376465 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756903269_2233025 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 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9414970874786377 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756903271_2233025 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.5464541912078857 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] Looping around the photos to save general results len do output : 41 /1381111511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381111559Didn'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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 133 time used for this insertion : 0.021119356155395508 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.638502836227417 time spend to save output : 0.023226261138916016 total time spend for step 2 : 16.661729097366333 step3:rle_unique_nms_with_priority Wed Sep 3 14:41:11 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 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 : 4 nb_hashtags : 1 time to prepare the origin masks : 0.20111370086669922 time for calcul the mask position with numpy : 0.07599687576293945 nb_pixel_total : 2030933 time to create 1 rle with new method : 0.30536961555480957 time for calcul the mask position with numpy : 0.006735324859619141 nb_pixel_total : 9745 time to create 1 rle with old method : 0.012001991271972656 time for calcul the mask position with numpy : 0.00649571418762207 nb_pixel_total : 6587 time to create 1 rle with old method : 0.007527589797973633 time for calcul the mask position with numpy : 0.00667262077331543 nb_pixel_total : 19193 time to create 1 rle with old method : 0.02190089225769043 time for calcul the mask position with numpy : 0.007136821746826172 nb_pixel_total : 7142 time to create 1 rle with old method : 0.008280754089355469 create new chi : 0.4694075584411621 time to delete rle : 0.024109363555908203 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2088 TO DO : save crop sub photo not yet done ! save time : 0.17521309852600098 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0996701717376709 time for calcul the mask position with numpy : 0.08097958564758301 nb_pixel_total : 2069655 time to create 1 rle with new method : 0.0895993709564209 time for calcul the mask position with numpy : 0.006487369537353516 nb_pixel_total : 1602 time to create 1 rle with old method : 0.0019152164459228516 time for calcul the mask position with numpy : 0.0064165592193603516 nb_pixel_total : 2343 time to create 1 rle with old method : 0.0027801990509033203 create new chi : 0.19521808624267578 time to delete rle : 0.00025153160095214844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1404 TO DO : save crop sub photo not yet done ! save time : 0.12254714965820312 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 0.4282052516937256 time for calcul the mask position with numpy : 0.07379746437072754 nb_pixel_total : 1975464 time to create 1 rle with new method : 0.08571696281433105 time for calcul the mask position with numpy : 0.006533384323120117 nb_pixel_total : 8468 time to create 1 rle with old method : 0.009691715240478516 time for calcul the mask position with numpy : 0.006602287292480469 nb_pixel_total : 6551 time to create 1 rle with old method : 0.007441043853759766 time for calcul the mask position with numpy : 0.006510734558105469 nb_pixel_total : 7472 time to create 1 rle with old method : 0.008649110794067383 time for calcul the mask position with numpy : 0.0065190792083740234 nb_pixel_total : 3232 time to create 1 rle with old method : 0.004365205764770508 time for calcul the mask position with numpy : 0.007867574691772461 nb_pixel_total : 10776 time to create 1 rle with old method : 0.013614416122436523 time for calcul the mask position with numpy : 0.0073015689849853516 nb_pixel_total : 1969 time to create 1 rle with old method : 0.0025987625122070312 time for calcul the mask position with numpy : 0.00718379020690918 nb_pixel_total : 10125 time to create 1 rle with old method : 0.011446237564086914 time for calcul the mask position with numpy : 0.0065212249755859375 nb_pixel_total : 33215 time to create 1 rle with old method : 0.03806567192077637 time for calcul the mask position with numpy : 0.006436586380004883 nb_pixel_total : 13380 time to create 1 rle with old method : 0.014897823333740234 time for calcul the mask position with numpy : 0.006725788116455078 nb_pixel_total : 2948 time to create 1 rle with old method : 0.0032968521118164062 create new chi : 0.3526289463043213 time to delete rle : 0.00048470497131347656 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3620 TO DO : save crop sub photo not yet done ! save time : 0.2722454071044922 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07578468322753906 time for calcul the mask position with numpy : 0.0205843448638916 nb_pixel_total : 2035735 time to create 1 rle with new method : 0.02971053123474121 time for calcul the mask position with numpy : 0.006541728973388672 nb_pixel_total : 10930 time to create 1 rle with old method : 0.012695789337158203 time for calcul the mask position with numpy : 0.006451606750488281 nb_pixel_total : 2374 time to create 1 rle with old method : 0.002790212631225586 time for calcul the mask position with numpy : 0.006529092788696289 nb_pixel_total : 5992 time to create 1 rle with old method : 0.006815195083618164 time for calcul the mask position with numpy : 0.006247758865356445 nb_pixel_total : 14986 time to create 1 rle with old method : 0.016733169555664062 time for calcul the mask position with numpy : 0.00662994384765625 nb_pixel_total : 3583 time to create 1 rle with old method : 0.004095554351806641 create new chi : 0.13760066032409668 time to delete rle : 0.0003600120544433594 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2144 TO DO : save crop sub photo not yet done ! save time : 0.17037677764892578 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04311656951904297 time for calcul the mask position with numpy : 0.020228862762451172 nb_pixel_total : 2048448 time to create 1 rle with new method : 0.12261009216308594 time for calcul the mask position with numpy : 0.011578083038330078 nb_pixel_total : 5431 time to create 1 rle with old method : 0.006307363510131836 time for calcul the mask position with numpy : 0.011365890502929688 nb_pixel_total : 19721 time to create 1 rle with old method : 0.025421857833862305 create new chi : 0.19788837432861328 time to delete rle : 0.0003991127014160156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1646 TO DO : save crop sub photo not yet done ! save time : 0.14412522315979004 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.3241279125213623 time for calcul the mask position with numpy : 0.08501601219177246 nb_pixel_total : 1647995 time to create 1 rle with new method : 0.08429074287414551 time for calcul the mask position with numpy : 0.010039091110229492 nb_pixel_total : 411520 time to create 1 rle with new method : 0.09966468811035156 time for calcul the mask position with numpy : 0.007742166519165039 nb_pixel_total : 3222 time to create 1 rle with old method : 0.0037250518798828125 time for calcul the mask position with numpy : 0.007739543914794922 nb_pixel_total : 10863 time to create 1 rle with old method : 0.012248992919921875 create new chi : 0.3200724124908447 time to delete rle : 0.000637054443359375 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2900 TO DO : save crop sub photo not yet done ! save time : 0.21307086944580078 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.1818695068359375 time for calcul the mask position with numpy : 0.06117725372314453 nb_pixel_total : 1999613 time to create 1 rle with new method : 0.08037233352661133 time for calcul the mask position with numpy : 0.00690150260925293 nb_pixel_total : 3723 time to create 1 rle with old method : 0.0043032169342041016 time for calcul the mask position with numpy : 0.006636619567871094 nb_pixel_total : 3892 time to create 1 rle with old method : 0.0045282840728759766 time for calcul the mask position with numpy : 0.006748676300048828 nb_pixel_total : 49543 time to create 1 rle with old method : 0.05816197395324707 time for calcul the mask position with numpy : 0.0066068172454833984 nb_pixel_total : 3494 time to create 1 rle with old method : 0.003969669342041016 time for calcul the mask position with numpy : 0.006644010543823242 nb_pixel_total : 6276 time to create 1 rle with old method : 0.00709080696105957 time for calcul the mask position with numpy : 0.006820201873779297 nb_pixel_total : 7059 time to create 1 rle with old method : 0.007936716079711914 create new chi : 0.27786898612976074 time to delete rle : 0.000438690185546875 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2335 TO DO : save crop sub photo not yet done ! save time : 0.17318034172058105 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07223773002624512 time for calcul the mask position with numpy : 0.10966110229492188 nb_pixel_total : 2047986 time to create 1 rle with new method : 0.2285146713256836 time for calcul the mask position with numpy : 0.007281064987182617 nb_pixel_total : 8579 time to create 1 rle with old method : 0.010065555572509766 time for calcul the mask position with numpy : 0.0070803165435791016 nb_pixel_total : 2152 time to create 1 rle with old method : 0.0025625228881835938 time for calcul the mask position with numpy : 0.006483316421508789 nb_pixel_total : 3271 time to create 1 rle with old method : 0.0038299560546875 time for calcul the mask position with numpy : 0.006485700607299805 nb_pixel_total : 6325 time to create 1 rle with old method : 0.007248878479003906 time for calcul the mask position with numpy : 0.006595134735107422 nb_pixel_total : 5287 time to create 1 rle with old method : 0.006161689758300781 create new chi : 0.411663293838501 time to delete rle : 0.0003523826599121094 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2012 TO DO : save crop sub photo not yet done ! save time : 0.17788004875183105 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04330301284790039 time for calcul the mask position with numpy : 0.020719528198242188 nb_pixel_total : 2061294 time to create 1 rle with new method : 0.14585423469543457 time for calcul the mask position with numpy : 0.006510019302368164 nb_pixel_total : 6108 time to create 1 rle with old method : 0.007119894027709961 time for calcul the mask position with numpy : 0.007668972015380859 nb_pixel_total : 6198 time to create 1 rle with old method : 0.00854182243347168 create new chi : 0.20394086837768555 time to delete rle : 0.0002892017364501953 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1530 TO DO : save crop sub photo not yet done ! save time : 0.13195466995239258 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.204451322555542 time for calcul the mask position with numpy : 0.0764763355255127 nb_pixel_total : 2052541 time to create 1 rle with new method : 0.14316987991333008 time for calcul the mask position with numpy : 0.00918722152709961 nb_pixel_total : 3435 time to create 1 rle with old method : 0.003988504409790039 time for calcul the mask position with numpy : 0.007719755172729492 nb_pixel_total : 17624 time to create 1 rle with old method : 0.019883155822753906 create new chi : 0.27200746536254883 time to delete rle : 0.0005397796630859375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1660 TO DO : save crop sub photo not yet done ! save time : 0.15215015411376953 map_output_result : {1381075676: (0.0, 'Should be the crop_list due to order', 0), 1381075674: (0.0, 'Should be the crop_list due to order', 0), 1381075673: (0.0, 'Should be the crop_list due to order', 0), 1381075664: (0.0, 'Should be the crop_list due to order', 0), 1381075635: (0.0, 'Should be the crop_list due to order', 0), 1381075632: (0.0, 'Should be the crop_list due to order', 0), 1381075629: (0.0, 'Should be the crop_list due to order', 0), 1381075612: (0.0, 'Should be the crop_list due to order', 0), 1381075610: (0.0, 'Should be the crop_list due to order', 0), 1381075428: (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 [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] Looping around the photos to save general results len do output : 10 /1381075676.Didn't retrieve data . /1381075674.Didn't retrieve data . /1381075673.Didn't retrieve data . /1381075664.Didn't retrieve data . /1381075635.Didn't retrieve data . /1381075632.Didn't retrieve data . /1381075629.Didn't retrieve data . /1381075612.Didn't retrieve data . /1381075610.Didn't retrieve data . /1381075428.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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013894319534301758 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.632516622543335 time spend to save output : 0.014378070831298828 total time spend for step 3 : 6.646894693374634 step4:ventilate_hashtags_in_portfolio Wed Sep 3 14:41:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26487187 get user id for portfolio 26487187 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`=26487187 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_clair','carton','autre','papier','pet_fonce','mal_croppe','metal','pehd','environnement','flou')) 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`=26487187 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_clair','carton','autre','papier','pet_fonce','mal_croppe','metal','pehd','environnement','flou')) 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`=26487187 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_clair','carton','autre','papier','pet_fonce','mal_croppe','metal','pehd','environnement','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26490706,26490707,26490708,26490709,26490710,26490711,26490712,26490713,26490714,26490715,26490716?tags=background,pet_clair,carton,autre,papier,pet_fonce,mal_croppe,metal,pehd,environnement,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] Looping around the photos to save general results len do output : 1 /26487187. 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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016352176666259766 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6874258518218994 time spend to save output : 0.01668238639831543 total time spend for step 4 : 1.7041082382202148 step5:final Wed Sep 3 14:41:19 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 : {1381075676: ('0.0369567901234568',), 1381075674: ('0.0369567901234568',), 1381075673: ('0.0369567901234568',), 1381075664: ('0.0369567901234568',), 1381075635: ('0.0369567901234568',), 1381075632: ('0.0369567901234568',), 1381075629: ('0.0369567901234568',), 1381075612: ('0.0369567901234568',), 1381075610: ('0.0369567901234568',), 1381075428: ('0.0369567901234568',)} new output for save of step final : {1381075676: ('0.0369567901234568',), 1381075674: ('0.0369567901234568',), 1381075673: ('0.0369567901234568',), 1381075664: ('0.0369567901234568',), 1381075635: ('0.0369567901234568',), 1381075632: ('0.0369567901234568',), 1381075629: ('0.0369567901234568',), 1381075612: ('0.0369567901234568',), 1381075610: ('0.0369567901234568',), 1381075428: ('0.0369567901234568',)} [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] Looping around the photos to save general results len do output : 10 /1381075676.Didn't retrieve data . /1381075674.Didn't retrieve data . /1381075673.Didn't retrieve data . /1381075664.Didn't retrieve data . /1381075635.Didn't retrieve data . /1381075632.Didn't retrieve data . /1381075629.Didn't retrieve data . /1381075612.Didn't retrieve data . /1381075610.Didn't retrieve data . /1381075428.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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01426386833190918 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12204837799072266 time spend to save output : 0.015021800994873047 total time spend for step 5 : 0.1370701789855957 step6:blur_detection Wed Sep 3 14:41:19 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/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0.jpg resize: (1080, 1920) 1381075676 -0.4784845959821726 treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a.jpg resize: (1080, 1920) 1381075674 -1.1705404994162696 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c.jpg resize: (1080, 1920) 1381075673 0.35439834682675025 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289.jpg resize: (1080, 1920) 1381075664 0.18590157143378544 treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a.jpg resize: (1080, 1920) 1381075635 3.628160677791583 treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290.jpg resize: (1080, 1920) 1381075632 -0.6282545690106555 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b.jpg resize: (1080, 1920) 1381075629 -4.276609201770686 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141.jpg resize: (1080, 1920) 1381075612 -0.1772280532810617 treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113.jpg resize: (1080, 1920) 1381075610 -0.08437447450108822 treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8.jpg resize: (1080, 1920) 1381075428 -0.33208521916471107 treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147145_0.png resize: (127, 150) 1381111511 -1.65485739547991 treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147143_0.png resize: (138, 221) 1381111512 -0.666767521756083 treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147142_0.png resize: (88, 132) 1381111513 -1.978140912842581 treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147144_0.png resize: (113, 75) 1381111514 0.10562153942977856 treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a_rle_crop_3942147147_0.png resize: (57, 58) 1381111515 -1.4043962580112954 treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a_rle_crop_3942147146_0.png resize: (65, 53) 1381111516 -1.5409102974010431 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147153_0.png resize: (122, 130) 1381111517 0.5493933701693052 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147151_0.png resize: (114, 221) 1381111518 -1.6487907000722368 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147155_0.png resize: (108, 133) 1381111519 0.6236831662989956 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147149_0.png resize: (121, 167) 1381111520 -1.640028035922593 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147150_0.png resize: (202, 209) 1381111521 -0.8442214178501634 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147152_0.png resize: (62, 116) 1381111522 0.3688802460571553 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147148_0.png resize: (118, 40) 1381111523 -2.494104380347169 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147161_0.png resize: (59, 63) 1381111524 -4.359543692801918 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147158_0.png resize: (69, 69) 1381111525 -0.3090458414557758 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147159_0.png resize: (158, 149) 1381111526 -1.596494579053043 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147160_0.png resize: (102, 80) 1381111527 -0.37550736952277675 treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a_rle_crop_3942147164_0.png resize: (100, 68) 1381111528 3.908853878966233 treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a_rle_crop_3942147163_0.png resize: (176, 198) 1381111529 -1.031506766555105 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147172_0.png resize: (38, 122) 1381111530 -3.5644751269353128 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147169_0.png resize: (120, 104) 1381111531 -1.6672348054259314 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147170_0.png resize: (58, 72) 1381111532 -2.4426473464212717 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147173_0.png resize: (75, 63) 1381111533 2.016316391490938 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147168_0.png resize: (119, 76) 1381111534 -1.3897152876809267 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147176_0.png resize: (66, 60) 1381111535 3.134158364520804 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147175_0.png resize: (155, 65) 1381111536 -0.5735983014302876 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147177_0.png resize: (47, 57) 1381111537 0.02081164759496281 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147174_0.png resize: (75, 114) 1381111538 -0.24610004241378985 treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113_rle_crop_3942147179_0.png resize: (138, 71) 1381111539 -0.9275200774111283 treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8_rle_crop_3942147182_0.png resize: (81, 57) 1381111540 2.197692718500689 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147157_0.png resize: (169, 64) 1381111541 0.47527244934477836 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147154_0.png resize: (87, 49) 1381111542 1.6001532935951062 treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147165_0.png resize: (115, 118) 1381111543 0.27348368013257085 treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113_rle_crop_3942147180_0.png resize: (74, 123) 1381111544 -1.575711518669679 treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147156_0.png resize: (91, 89) 1381111552 1.2291790021009854 treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147162_0.png resize: (134, 113) 1381111554 -3.8074208483491314 treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147167_0.png resize: (623, 905) 1381111555 0.1951236026049985 treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147171_0.png resize: (196, 322) 1381111556 -4.054054373658044 treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147178_0.png resize: (83, 158) 1381111557 -1.1914519406442479 treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8_rle_crop_3942147181_0.png resize: (172, 173) 1381111558 -2.1347966335064448 treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147166_0.png resize: (54, 80) 1381111559 0.19852089928974498 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 : 51 time used for this insertion : 0.016317129135131836 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.0163726806640625 save missing photos in datou_result : time spend for datou_step_exec : 9.139355421066284 time spend to save output : 0.037445068359375 total time spend for step 6 : 9.17680048942566 step7:brightness Wed Sep 3 14:41:29 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/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0.jpg treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a.jpg treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c.jpg treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289.jpg treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a.jpg treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290.jpg treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b.jpg treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141.jpg treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113.jpg treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8.jpg treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147145_0.png treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147143_0.png treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147142_0.png treat image : temp/1756903228_2233025_1381075676_c7e7066eb4290a1fdee2796b418087b0_rle_crop_3942147144_0.png treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a_rle_crop_3942147147_0.png treat image : temp/1756903228_2233025_1381075674_c2111726c94abd0bb634fa0afc60ec2a_rle_crop_3942147146_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147153_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147151_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147155_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147149_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147150_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147152_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147148_0.png treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147161_0.png treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147158_0.png treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147159_0.png treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147160_0.png treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a_rle_crop_3942147164_0.png treat image : temp/1756903228_2233025_1381075635_b0e7c1d9f6933b0d7a7217fb9e028b1a_rle_crop_3942147163_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147172_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147169_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147170_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147173_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147168_0.png treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147176_0.png treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147175_0.png treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147177_0.png treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147174_0.png treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113_rle_crop_3942147179_0.png treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8_rle_crop_3942147182_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147157_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147154_0.png treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147165_0.png treat image : temp/1756903228_2233025_1381075610_966743d4132b3d6dd363b2e6ad686113_rle_crop_3942147180_0.png treat image : temp/1756903228_2233025_1381075673_c25d4f1a457390deb332a328f91a562c_rle_crop_3942147156_0.png treat image : temp/1756903228_2233025_1381075664_06cf396b3613e2775e5f0b4bacf6d289_rle_crop_3942147162_0.png treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147167_0.png treat image : temp/1756903228_2233025_1381075629_95723ba0d6395a375bb05c32d7b3601b_rle_crop_3942147171_0.png treat image : temp/1756903228_2233025_1381075612_12248826495a6c644c167c0184f42141_rle_crop_3942147178_0.png treat image : temp/1756903228_2233025_1381075428_751fa6c9d5424e746f0ba50e5ba232c8_rle_crop_3942147181_0.png treat image : temp/1756903228_2233025_1381075632_935e230f3e26fb81fa89e65ae2868290_rle_crop_3942147166_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 : 51 time used for this insertion : 0.0169525146484375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.01696920394897461 save missing photos in datou_result : time spend for datou_step_exec : 2.4881980419158936 time spend to save output : 0.03908586502075195 total time spend for step 7 : 2.5272839069366455 step8:velours_tree Wed Sep 3 14:41:31 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.24620604515075684 time spend to save output : 4.1484832763671875e-05 total time spend for step 8 : 0.2462475299835205 step9:send_mail_cod Wed Sep 3 14:41:31 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_P26487187_03-09-2025_14_41_31.pdf 26490706 imagette264907061756903291 26490707 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264907071756903291 26490708 change filename to text .change filename to text .change filename to text .change filename to text .imagette264907081756903292 26490709 change filename to text .imagette264907091756903292 26490710 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 .imagette264907101756903292 26490711 imagette264907111756903293 26490712 imagette264907121756903293 26490713 imagette264907131756903293 26490714 imagette264907141756903293 26490716 imagette264907161756903293 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26487187 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26490706,26490707,26490708,26490709,26490710,26490711,26490712,26490713,26490714,26490715,26490716?tags=background,pet_clair,carton,autre,papier,pet_fonce,mal_croppe,metal,pehd,environnement,flou args[1381075676] : ((1381075676, -0.4784845959821726, 492688767), (1381075676, 0.18181661548754255, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075674] : ((1381075674, -1.1705404994162696, 492688767), (1381075674, 0.8720262903914303, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075673] : ((1381075673, 0.35439834682675025, 492688767), (1381075673, 0.4491200369993973, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075664] : ((1381075664, 0.18590157143378544, 492688767), (1381075664, 0.33582860958451205, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075635] : ((1381075635, 3.628160677791583, 492688767), (1381075635, 0.5013059280640564, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075632] : ((1381075632, -0.6282545690106555, 492688767), (1381075632, 0.5782833765539506, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075629] : ((1381075629, -4.276609201770686, 492609224), (1381075629, 0.32039273629183024, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075612] : ((1381075612, -0.1772280532810617, 492688767), (1381075612, 0.8884828398432505, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075610] : ((1381075610, -0.08437447450108822, 492688767), (1381075610, 0.47231189847322286, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com args[1381075428] : ((1381075428, -0.33208521916471107, 492688767), (1381075428, 0.5582568596190908, 2107752395), '0.0369567901234568') We are sending mail with results at report@fotonower.com refus_total : 0.0369567901234568 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=26487187 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_P26487187_03-09-2025_14_41_31.pdf results_Auto_P26487187_03-09-2025_14_41_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487187_03-09-2025_14_41_31.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','26487187','results_Auto_P26487187_03-09-2025_14_41_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487187_03-09-2025_14_41_31.pdf','pdf','','0.18','0.0369567901234568') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26487187

https://www.fotonower.com/image?json=false&list_photos_id=1381075676
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075674
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075673
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075664
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075635
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.628160677791583)
https://www.fotonower.com/image?json=false&list_photos_id=1381075632
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075629
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075612
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075610
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381075428
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26490707?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26490708?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26490709?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26490710?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487187_03-09-2025_14_41_31.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26490706,26490707,26490708,26490709,26490710,26490711,26490712,26490713,26490714,26490715,26490716?tags=background,pet_clair,carton,autre,papier,pet_fonce,mal_croppe,metal,pehd,environnement,flou.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 03 Sep 2025 12:41:35 GMT Content-Length: 0 Connection: close X-Message-Id: AlVtqcNmS7-bhtSZjSJmRA 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 [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] 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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013990640640258789 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4222044944763184 time spend to save output : 0.014286279678344727 total time spend for step 9 : 3.436490774154663 step10:split_time_score Wed Sep 3 14:41: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 ! 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'}] (('11', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03092025 26487187 Nombre de photos uploadées : 10 / 23040 (0%) 03092025 26487187 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 03092025 26487187 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.1920928955078125e-05 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006203651428222656 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21148943901062012 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.027291130829903972 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478209 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`=26478209 AND mptpi.`type`=3594 To do Qualite : 0.12315901491769546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478214_03-09-2025_09_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478214 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`=26478214 AND mptpi.`type`=3594 To do Qualite : 0.05389473620756173 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481005_03-09-2025_11_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481005 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`=26481005 AND mptpi.`type`=3594 To do Qualite : 0.04487265073853617 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481009_03-09-2025_11_01_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481009 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`=26481009 AND mptpi.`type`=3594 To do Qualite : 0.05827681929976852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481011_03-09-2025_10_52_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481011 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`=26481011 AND mptpi.`type`=3594 To do Qualite : 0.05965432098765431 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481032_03-09-2025_10_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481032 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`=26481032 AND mptpi.`type`=3594 To do Qualite : 0.236389283459596 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487184_03-09-2025_13_32_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487184 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`=26487184 AND mptpi.`type`=3594 To do Qualite : 0.0369567901234568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487187_03-09-2025_14_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487187 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`=26487187 AND mptpi.`type`=3594 To do Qualite : 0.21451915173778852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487189_03-09-2025_13_22_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487189 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`=26487189 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03092025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381075676, 1381075674, 1381075673, 1381075664, 1381075635, 1381075632, 1381075629, 1381075612, 1381075610, 1381075428] Looping around the photos to save general results len do output : 1 /26487187Didn'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, '3658710') ('3318', '26487187', '1381075676', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075674', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075673', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075664', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075635', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075632', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075629', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075612', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075610', None, None, None, None, None, '3658710') ('3318', None, None, None, None, None, None, None, '3658710') ('3318', '26487187', '1381075428', None, None, None, None, None, '3658710') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015666961669921875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9111135005950928 time spend to save output : 0.015934467315673828 total time spend for step 10 : 0.9270479679107666 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 35.29user 18.20system 1:11.95elapsed 74%CPU (0avgtext+0avgdata 2791308maxresident)k 626624inputs+11968outputs (1776major+1548077minor)pagefaults 0swaps