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 : 2836344 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 : ['3605400'] with mtr_portfolio_ids : ['26247716'] and first list_photo_ids : [] new path : /proc/2836344/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 2.098919153213501 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Aug 27 02:20: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 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 : 10610 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 02:20:32.566443: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-27 02:20:32.592556: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 02:20:32.594877: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6df8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 02:20:32.594937: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 02:20:32.599323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 02:20:32.773062: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x394dc3c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 02:20:32.773119: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 02:20:32.774384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 02:20:32.774829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 02:20:32.778148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 02:20:32.781219: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 02:20:32.781684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 02:20:32.784512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 02:20:32.785850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 02:20:32.791699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 02:20:32.793527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 02:20:32.793614: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 02:20:32.794419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 02:20:32.794434: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 02:20:32.794444: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 02:20:32.795834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9828 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-27 02:20:33.059923: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 02:20:33.060063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 02:20:33.060093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 02:20:33.060119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 02:20:33.060144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 02:20:33.060168: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 02:20:33.060193: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 02:20:33.060218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 02:20:33.061920: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 02:20:33.063377: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 02:20:33.063454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 02:20:33.063470: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 02:20:33.063485: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 02:20:33.063500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 02:20:33.063514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 02:20:33.063528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 02:20:33.063543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 02:20:33.064831: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 02:20:33.064871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 02:20:33.064881: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 02:20:33.064889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 02:20:33.066220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9828 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-27 02:20:41.861865: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 02:20:42.081889: 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 11.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 53.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 Detection mask done ! Trying to reset tf kernel 2836896 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 742 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 5699 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.0003027915954589844 nb_pixel_total : 8112 time to create 1 rle with old method : 0.00947117805480957 length of segment : 173 time for calcul the mask position with numpy : 0.0008211135864257812 nb_pixel_total : 36383 time to create 1 rle with old method : 0.04168820381164551 length of segment : 364 time for calcul the mask position with numpy : 0.0001556873321533203 nb_pixel_total : 5678 time to create 1 rle with old method : 0.007035732269287109 length of segment : 44 time for calcul the mask position with numpy : 0.0010712146759033203 nb_pixel_total : 39273 time to create 1 rle with old method : 0.04485440254211426 length of segment : 257 time for calcul the mask position with numpy : 0.00013756752014160156 nb_pixel_total : 3850 time to create 1 rle with old method : 0.004314422607421875 length of segment : 74 time for calcul the mask position with numpy : 0.0002753734588623047 nb_pixel_total : 17819 time to create 1 rle with old method : 0.020184040069580078 length of segment : 185 time for calcul the mask position with numpy : 0.00028824806213378906 nb_pixel_total : 10969 time to create 1 rle with old method : 0.012533426284790039 length of segment : 183 time for calcul the mask position with numpy : 0.00020003318786621094 nb_pixel_total : 5953 time to create 1 rle with old method : 0.00693058967590332 length of segment : 188 time for calcul the mask position with numpy : 7.367134094238281e-05 nb_pixel_total : 2331 time to create 1 rle with old method : 0.0028715133666992188 length of segment : 41 time for calcul the mask position with numpy : 0.0016596317291259766 nb_pixel_total : 86760 time to create 1 rle with old method : 0.10139775276184082 length of segment : 439 time for calcul the mask position with numpy : 0.00043201446533203125 nb_pixel_total : 17941 time to create 1 rle with old method : 0.027422428131103516 length of segment : 161 time for calcul the mask position with numpy : 0.0002200603485107422 nb_pixel_total : 9496 time to create 1 rle with old method : 0.011488199234008789 length of segment : 92 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 3362 time to create 1 rle with old method : 0.004111289978027344 length of segment : 68 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 7202 time to create 1 rle with old method : 0.008484601974487305 length of segment : 145 time for calcul the mask position with numpy : 0.298919677734375 nb_pixel_total : 559402 time to create 1 rle with new method : 0.04041743278503418 length of segment : 940 time for calcul the mask position with numpy : 0.0002884864807128906 nb_pixel_total : 3204 time to create 1 rle with old method : 0.004892110824584961 length of segment : 63 time for calcul the mask position with numpy : 0.00022840499877929688 nb_pixel_total : 7188 time to create 1 rle with old method : 0.008787155151367188 length of segment : 69 time for calcul the mask position with numpy : 0.0015039443969726562 nb_pixel_total : 64075 time to create 1 rle with old method : 0.07323098182678223 length of segment : 415 time for calcul the mask position with numpy : 0.00010180473327636719 nb_pixel_total : 963 time to create 1 rle with old method : 0.0012280941009521484 length of segment : 29 time for calcul the mask position with numpy : 0.00290679931640625 nb_pixel_total : 109134 time to create 1 rle with old method : 0.12636542320251465 length of segment : 547 time for calcul the mask position with numpy : 0.00032067298889160156 nb_pixel_total : 7283 time to create 1 rle with old method : 0.009372711181640625 length of segment : 90 time for calcul the mask position with numpy : 0.021561861038208008 nb_pixel_total : 901759 time to create 1 rle with new method : 0.06850504875183105 length of segment : 1432 time for calcul the mask position with numpy : 0.00022482872009277344 nb_pixel_total : 6620 time to create 1 rle with old method : 0.007503509521484375 length of segment : 90 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 2816 time to create 1 rle with old method : 0.003259897232055664 length of segment : 56 time spent for convertir_results : 2.304914951324463 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 24 chid ids of type : 3594 Number RLEs to save : 6145 save missing photos in datou_result : time spend for datou_step_exec : 26.932324171066284 time spend to save output : 0.5164692401885986 total time spend for step 1 : 27.448793411254883 step2:crop_condition Wed Aug 27 02:20:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 13 ! batch 1 Loaded 24 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756254058_2836344 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.1858069896698 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 ! 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/1756254064_2836344 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.5444562435150146 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756254073_2836344 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.878305435180664 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756254077_2836344 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 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9508748054504395 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 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 [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] Looping around the photos to save general results len do output : 24 /1379585803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379585901Didn'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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 85 time used for this insertion : 0.02250361442565918 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.90043568611145 time spend to save output : 0.023643016815185547 total time spend for step 2 : 20.924078702926636 step3:rle_unique_nms_with_priority Wed Aug 27 02:21:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 24 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 1.3014767169952393 time for calcul the mask position with numpy : 0.0637812614440918 nb_pixel_total : 1984154 time to create 1 rle with new method : 0.386965274810791 time for calcul the mask position with numpy : 0.009076833724975586 nb_pixel_total : 39273 time to create 1 rle with old method : 0.04291129112243652 time for calcul the mask position with numpy : 0.006105661392211914 nb_pixel_total : 5678 time to create 1 rle with old method : 0.006330728530883789 time for calcul the mask position with numpy : 0.0066356658935546875 nb_pixel_total : 36383 time to create 1 rle with old method : 0.04007315635681152 time for calcul the mask position with numpy : 0.00691986083984375 nb_pixel_total : 8112 time to create 1 rle with old method : 0.009412288665771484 create new chi : 0.5890872478485107 time to delete rle : 0.02565908432006836 batch 1 Loaded 9 chid ids of type : 3594 ++++++++++++Number RLEs to save : 2756 TO DO : save crop sub photo not yet done ! save time : 0.22397470474243164 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.588080644607544 time for calcul the mask position with numpy : 0.0575718879699707 nb_pixel_total : 2051931 time to create 1 rle with new method : 0.23978233337402344 time for calcul the mask position with numpy : 0.009540081024169922 nb_pixel_total : 17819 time to create 1 rle with old method : 0.02007603645324707 time for calcul the mask position with numpy : 0.0060007572174072266 nb_pixel_total : 3850 time to create 1 rle with old method : 0.0042724609375 create new chi : 0.3376309871673584 time to delete rle : 0.00034809112548828125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1598 TO DO : save crop sub photo not yet done ! save time : 0.34907078742980957 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05960202217102051 time for calcul the mask position with numpy : 0.02203226089477539 nb_pixel_total : 2062631 time to create 1 rle with new method : 0.1519486904144287 time for calcul the mask position with numpy : 0.0064089298248291016 nb_pixel_total : 10969 time to create 1 rle with old method : 0.012252092361450195 create new chi : 0.19289946556091309 time to delete rle : 0.00023555755615234375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1446 TO DO : save crop sub photo not yet done ! save time : 0.15041399002075195 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03900766372680664 time for calcul the mask position with numpy : 0.2527787685394287 nb_pixel_total : 2067647 time to create 1 rle with new method : 0.07187247276306152 time for calcul the mask position with numpy : 0.00937199592590332 nb_pixel_total : 5953 time to create 1 rle with old method : 0.006528615951538086 create new chi : 0.3437974452972412 time to delete rle : 0.0002701282501220703 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1456 TO DO : save crop sub photo not yet done ! save time : 0.14191317558288574 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.9169082641601562 time for calcul the mask position with numpy : 0.1191403865814209 nb_pixel_total : 1957072 time to create 1 rle with new method : 0.354658842086792 time for calcul the mask position with numpy : 0.0070972442626953125 nb_pixel_total : 9496 time to create 1 rle with old method : 0.012661457061767578 time for calcul the mask position with numpy : 0.00942850112915039 nb_pixel_total : 17941 time to create 1 rle with old method : 0.020251035690307617 time for calcul the mask position with numpy : 0.00732731819152832 nb_pixel_total : 86760 time to create 1 rle with old method : 0.09529972076416016 time for calcul the mask position with numpy : 0.006465435028076172 nb_pixel_total : 2331 time to create 1 rle with old method : 0.0026748180389404297 create new chi : 0.6480557918548584 time to delete rle : 0.0005030632019042969 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2546 TO DO : save crop sub photo not yet done ! save time : 0.3793923854827881 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.043494462966918945 time for calcul the mask position with numpy : 0.02044510841369629 nb_pixel_total : 2070238 time to create 1 rle with new method : 0.28319716453552246 time for calcul the mask position with numpy : 0.006150245666503906 nb_pixel_total : 3362 time to create 1 rle with old method : 0.003695249557495117 create new chi : 0.3200662136077881 time to delete rle : 0.00020551681518554688 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1216 TO DO : save crop sub photo not yet done ! save time : 0.14519023895263672 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.4260399341583252 time for calcul the mask position with numpy : 0.05784916877746582 nb_pixel_total : 1503792 time to create 1 rle with new method : 0.36575794219970703 time for calcul the mask position with numpy : 0.007754087448120117 nb_pixel_total : 3204 time to create 1 rle with old method : 0.0036857128143310547 time for calcul the mask position with numpy : 0.01453542709350586 nb_pixel_total : 559402 time to create 1 rle with new method : 0.11159443855285645 time for calcul the mask position with numpy : 0.007215738296508789 nb_pixel_total : 7202 time to create 1 rle with old method : 0.011839151382446289 create new chi : 0.5915780067443848 time to delete rle : 0.0007135868072509766 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 3376 TO DO : save crop sub photo not yet done ! save time : 0.422443151473999 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07335424423217773 time for calcul the mask position with numpy : 0.03312087059020996 nb_pixel_total : 2066412 time to create 1 rle with new method : 0.037534236907958984 time for calcul the mask position with numpy : 0.006627559661865234 nb_pixel_total : 7188 time to create 1 rle with old method : 0.00823211669921875 create new chi : 0.09275507926940918 time to delete rle : 0.0002734661102294922 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1218 TO DO : save crop sub photo not yet done ! save time : 0.13828253746032715 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0366053581237793 time for calcul the mask position with numpy : 0.04107832908630371 nb_pixel_total : 2009525 time to create 1 rle with new method : 0.07908272743225098 time for calcul the mask position with numpy : 0.007083892822265625 nb_pixel_total : 64075 time to create 1 rle with old method : 0.0722198486328125 create new chi : 0.20974135398864746 time to delete rle : 0.0002923011779785156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1910 TO DO : save crop sub photo not yet done ! save time : 0.1671915054321289 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.5177767276763916 time for calcul the mask position with numpy : 0.0761716365814209 nb_pixel_total : 1963503 time to create 1 rle with new method : 0.29042887687683105 time for calcul the mask position with numpy : 0.007642030715942383 nb_pixel_total : 109134 time to create 1 rle with old method : 0.12293100357055664 time for calcul the mask position with numpy : 0.006290912628173828 nb_pixel_total : 963 time to create 1 rle with old method : 0.0010995864868164062 create new chi : 0.5161058902740479 time to delete rle : 0.00037407875061035156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2232 TO DO : save crop sub photo not yet done ! save time : 0.2770271301269531 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04860329627990723 time for calcul the mask position with numpy : 0.0345308780670166 nb_pixel_total : 1164558 time to create 1 rle with new method : 0.270263671875 time for calcul the mask position with numpy : 0.013490676879882812 nb_pixel_total : 901759 time to create 1 rle with new method : 0.6991384029388428 time for calcul the mask position with numpy : 0.006734132766723633 nb_pixel_total : 7283 time to create 1 rle with old method : 0.008074760437011719 create new chi : 1.049379587173462 time to delete rle : 0.0005731582641601562 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4124 TO DO : save crop sub photo not yet done ! save time : 0.3306694030761719 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.051603078842163086 time for calcul the mask position with numpy : 0.09895992279052734 nb_pixel_total : 2066980 time to create 1 rle with new method : 0.3779757022857666 time for calcul the mask position with numpy : 0.0060443878173828125 nb_pixel_total : 6620 time to create 1 rle with old method : 0.007328033447265625 create new chi : 0.4993281364440918 time to delete rle : 0.00022125244140625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1260 TO DO : save crop sub photo not yet done ! save time : 0.1437849998474121 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03417706489562988 time for calcul the mask position with numpy : 0.11040043830871582 nb_pixel_total : 2070784 time to create 1 rle with new method : 0.07761001586914062 time for calcul the mask position with numpy : 0.007216691970825195 nb_pixel_total : 2816 time to create 1 rle with old method : 0.0032739639282226562 create new chi : 0.2101747989654541 time to delete rle : 0.00027561187744140625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1192 TO DO : save crop sub photo not yet done ! save time : 0.12067008018493652 map_output_result : {1379392573: (0.0, 'Should be the crop_list due to order', 0), 1379392423: (0.0, 'Should be the crop_list due to order', 0), 1379392421: (0.0, 'Should be the crop_list due to order', 0), 1379392418: (0.0, 'Should be the crop_list due to order', 0), 1379392410: (0.0, 'Should be the crop_list due to order', 0), 1379392408: (0.0, 'Should be the crop_list due to order', 0), 1379392407: (0.0, 'Should be the crop_list due to order', 0), 1379392270: (0.0, 'Should be the crop_list due to order', 0), 1379392244: (0.0, 'Should be the crop_list due to order', 0), 1379392219: (0.0, 'Should be the crop_list due to order', 0), 1379392193: (0.0, 'Should be the crop_list due to order', 0), 1379392164: (0.0, 'Should be the crop_list due to order', 0), 1379392126: (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 [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] Looping around the photos to save general results len do output : 13 /1379392573.Didn't retrieve data . /1379392423.Didn't retrieve data . /1379392421.Didn't retrieve data . /1379392418.Didn't retrieve data . /1379392410.Didn't retrieve data . /1379392408.Didn't retrieve data . /1379392407.Didn't retrieve data . /1379392270.Didn't retrieve data . /1379392244.Didn't retrieve data . /1379392219.Didn't retrieve data . /1379392193.Didn't retrieve data . /1379392164.Didn't retrieve data . /1379392126.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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.01637411117553711 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.211819887161255 time spend to save output : 0.01694035530090332 total time spend for step 3 : 13.228760242462158 step4:ventilate_hashtags_in_portfolio Wed Aug 27 02:21: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 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 : 26247716 get user id for portfolio 26247716 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`=26247716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','papier','pet_clair','autre','environnement','flou','background','pehd','pet_fonce','metal')) 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`=26247716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','papier','pet_clair','autre','environnement','flou','background','pehd','pet_fonce','metal')) 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`=26247716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','papier','pet_clair','autre','environnement','flou','background','pehd','pet_fonce','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26250181,26250182,26250183,26250184,26250185,26250186,26250187,26250188,26250189,26250190,26250191?tags=carton,mal_croppe,papier,pet_clair,autre,environnement,flou,background,pehd,pet_fonce,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] Looping around the photos to save general results len do output : 1 /26247716. 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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.024178504943847656 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.642956256866455 time spend to save output : 0.024446964263916016 total time spend for step 4 : 1.667403221130371 step5:final Wed Aug 27 02:21:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1379392573: ('0.07113503828347577',), 1379392423: ('0.07113503828347577',), 1379392421: ('0.07113503828347577',), 1379392418: ('0.07113503828347577',), 1379392410: ('0.07113503828347577',), 1379392408: ('0.07113503828347577',), 1379392407: ('0.07113503828347577',), 1379392270: ('0.07113503828347577',), 1379392244: ('0.07113503828347577',), 1379392219: ('0.07113503828347577',), 1379392193: ('0.07113503828347577',), 1379392164: ('0.07113503828347577',), 1379392126: ('0.07113503828347577',)} new output for save of step final : {1379392573: ('0.07113503828347577',), 1379392423: ('0.07113503828347577',), 1379392421: ('0.07113503828347577',), 1379392418: ('0.07113503828347577',), 1379392410: ('0.07113503828347577',), 1379392408: ('0.07113503828347577',), 1379392407: ('0.07113503828347577',), 1379392270: ('0.07113503828347577',), 1379392244: ('0.07113503828347577',), 1379392219: ('0.07113503828347577',), 1379392193: ('0.07113503828347577',), 1379392164: ('0.07113503828347577',), 1379392126: ('0.07113503828347577',)} [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] Looping around the photos to save general results len do output : 13 /1379392573.Didn't retrieve data . /1379392423.Didn't retrieve data . /1379392421.Didn't retrieve data . /1379392418.Didn't retrieve data . /1379392410.Didn't retrieve data . /1379392408.Didn't retrieve data . /1379392407.Didn't retrieve data . /1379392270.Didn't retrieve data . /1379392244.Didn't retrieve data . /1379392219.Didn't retrieve data . /1379392193.Didn't retrieve data . /1379392164.Didn't retrieve data . /1379392126.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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.01544809341430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1201934814453125 time spend to save output : 0.016092538833618164 total time spend for step 5 : 0.13628602027893066 step6:blur_detection Wed Aug 27 02:21:33 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/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945.jpg resize: (1080, 1920) 1379392573 0.06272950932161575 treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622.jpg resize: (1080, 1920) 1379392423 -4.724864223201931 treat image : temp/1756254027_2836344_1379392421_b5fdfefa74b9ec4f2e71f550099174c6.jpg resize: (1080, 1920) 1379392421 0.24300139578857152 treat image : temp/1756254027_2836344_1379392418_a800ad80fa4559f6043ee4c0ca4f13e4.jpg resize: (1080, 1920) 1379392418 -0.8446857130707162 treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051.jpg resize: (1080, 1920) 1379392410 -4.913030209715078 treat image : temp/1756254027_2836344_1379392408_2833d631edf1b567bc88005995c4490f.jpg resize: (1080, 1920) 1379392408 -0.24016765530378273 treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368.jpg resize: (1080, 1920) 1379392407 -4.678062492822829 treat image : temp/1756254027_2836344_1379392270_4aeba600472bdc3b0f6aa5c6ab828abc.jpg resize: (1080, 1920) 1379392270 -0.37090249919836 treat image : temp/1756254027_2836344_1379392244_43d89f9b24c96b6f80641ebb0c0261a4.jpg resize: (1080, 1920) 1379392244 -1.0748826458859555 treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541.jpg resize: (1080, 1920) 1379392219 -4.486147993498832 treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665.jpg resize: (1080, 1920) 1379392193 -0.1573889344722372 treat image : temp/1756254027_2836344_1379392164_54d9f092a24fccc770725d0390385b4c.jpg resize: (1080, 1920) 1379392164 0.008241501730054002 treat image : temp/1756254027_2836344_1379392126_ab0cc2a8faeefa6a5d526d5e9717ca98.jpg resize: (1080, 1920) 1379392126 -0.6144458618354965 treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054526_0.png resize: (44, 166) 1379585803 -1.2184587512585572 treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054524_0.png resize: (173, 97) 1379585804 -2.124468558451256 treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622_rle_crop_3932054528_0.png resize: (74, 87) 1379585806 -2.5258114320767207 treat image : temp/1756254027_2836344_1379392421_b5fdfefa74b9ec4f2e71f550099174c6_rle_crop_3932054530_0.png resize: (183, 124) 1379585807 -1.468252679041989 treat image : temp/1756254027_2836344_1379392418_a800ad80fa4559f6043ee4c0ca4f13e4_rle_crop_3932054531_0.png resize: (181, 70) 1379585809 -2.663763583046379 treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054532_0.png resize: (41, 89) 1379585810 -2.7855469355211953 treat image : temp/1756254027_2836344_1379392408_2833d631edf1b567bc88005995c4490f_rle_crop_3932054536_0.png resize: (58, 83) 1379585811 -0.06186966959678522 treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054539_0.png resize: (59, 75) 1379585813 -3.448152923407975 treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541_rle_crop_3932054542_0.png resize: (28, 42) 1379585814 0.0076152689861650035 treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665_rle_crop_3932054544_0.png resize: (90, 122) 1379585815 -1.154057175405995 treat image : temp/1756254027_2836344_1379392164_54d9f092a24fccc770725d0390385b4c_rle_crop_3932054546_0.png resize: (90, 115) 1379585817 -1.1938763673078723 treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054527_0.png resize: (185, 280) 1379585823 -1.2613599291495474 treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054525_0.png resize: (181, 377) 1379585890 -1.7990893536584511 treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054534_0.png resize: (142, 197) 1379585891 -2.8312514577262338 treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054533_0.png resize: (436, 338) 1379585892 -0.7153760872812774 treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054535_0.png resize: (84, 151) 1379585893 -3.96683475552448 treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054538_0.png resize: (669, 1077) 1379585894 -0.8170949222191216 treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054537_0.png resize: (145, 104) 1379585895 -1.660377232959007 treat image : temp/1756254027_2836344_1379392270_4aeba600472bdc3b0f6aa5c6ab828abc_rle_crop_3932054540_0.png resize: (68, 136) 1379585896 -3.0082128543238627 treat image : temp/1756254027_2836344_1379392244_43d89f9b24c96b6f80641ebb0c0261a4_rle_crop_3932054541_0.png resize: (400, 282) 1379585897 -0.48558538590774347 treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541_rle_crop_3932054543_0.png resize: (543, 333) 1379585898 0.16093901909361594 treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665_rle_crop_3932054545_0.png resize: (977, 1275) 1379585899 -0.9934529422883402 treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622_rle_crop_3932054529_0.png resize: (156, 150) 1379585900 -3.8234648217366805 treat image : temp/1756254027_2836344_1379392126_ab0cc2a8faeefa6a5d526d5e9717ca98_rle_crop_3932054547_0.png resize: (56, 74) 1379585901 -0.10635352851721643 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 : 37 time used for this insertion : 0.0220186710357666 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.014419317245483398 save missing photos in datou_result : time spend for datou_step_exec : 11.126368999481201 time spend to save output : 0.04184079170227051 total time spend for step 6 : 11.168209791183472 step7:brightness Wed Aug 27 02:21:44 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/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945.jpg treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622.jpg treat image : temp/1756254027_2836344_1379392421_b5fdfefa74b9ec4f2e71f550099174c6.jpg treat image : temp/1756254027_2836344_1379392418_a800ad80fa4559f6043ee4c0ca4f13e4.jpg treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051.jpg treat image : temp/1756254027_2836344_1379392408_2833d631edf1b567bc88005995c4490f.jpg treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368.jpg treat image : temp/1756254027_2836344_1379392270_4aeba600472bdc3b0f6aa5c6ab828abc.jpg treat image : temp/1756254027_2836344_1379392244_43d89f9b24c96b6f80641ebb0c0261a4.jpg treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541.jpg treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665.jpg treat image : temp/1756254027_2836344_1379392164_54d9f092a24fccc770725d0390385b4c.jpg treat image : temp/1756254027_2836344_1379392126_ab0cc2a8faeefa6a5d526d5e9717ca98.jpg treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054526_0.png treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054524_0.png treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622_rle_crop_3932054528_0.png treat image : temp/1756254027_2836344_1379392421_b5fdfefa74b9ec4f2e71f550099174c6_rle_crop_3932054530_0.png treat image : temp/1756254027_2836344_1379392418_a800ad80fa4559f6043ee4c0ca4f13e4_rle_crop_3932054531_0.png treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054532_0.png treat image : temp/1756254027_2836344_1379392408_2833d631edf1b567bc88005995c4490f_rle_crop_3932054536_0.png treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054539_0.png treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541_rle_crop_3932054542_0.png treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665_rle_crop_3932054544_0.png treat image : temp/1756254027_2836344_1379392164_54d9f092a24fccc770725d0390385b4c_rle_crop_3932054546_0.png treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054527_0.png treat image : temp/1756254027_2836344_1379392573_6f12a3d4f4f65bde2aca812237d48945_rle_crop_3932054525_0.png treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054534_0.png treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054533_0.png treat image : temp/1756254027_2836344_1379392410_2fc82256f3fa9a9fe257463ba7275051_rle_crop_3932054535_0.png treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054538_0.png treat image : temp/1756254027_2836344_1379392407_1df5ede8ab41b001d4cacc82f36b8368_rle_crop_3932054537_0.png treat image : temp/1756254027_2836344_1379392270_4aeba600472bdc3b0f6aa5c6ab828abc_rle_crop_3932054540_0.png treat image : temp/1756254027_2836344_1379392244_43d89f9b24c96b6f80641ebb0c0261a4_rle_crop_3932054541_0.png treat image : temp/1756254027_2836344_1379392219_b764aa0fae319b1e530fe3cbb4158541_rle_crop_3932054543_0.png treat image : temp/1756254027_2836344_1379392193_601c0af2f335e288854e109c34bab665_rle_crop_3932054545_0.png treat image : temp/1756254027_2836344_1379392423_9bbca70d86f8446e929dec1a95926622_rle_crop_3932054529_0.png treat image : temp/1756254027_2836344_1379392126_ab0cc2a8faeefa6a5d526d5e9717ca98_rle_crop_3932054547_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 : 37 time used for this insertion : 0.016046762466430664 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.0711519718170166 save missing photos in datou_result : time spend for datou_step_exec : 3.154407024383545 time spend to save output : 0.09167337417602539 total time spend for step 7 : 3.2460803985595703 step8:velours_tree Wed Aug 27 02:21:47 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.14191317558288574 time spend to save output : 3.2901763916015625e-05 total time spend for step 8 : 0.14194607734680176 step9:send_mail_cod Wed Aug 27 02:21:47 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_P26247716_27-08-2025_02_21_47.pdf 26250181 change filename to text .imagette262501811756254107 26250182 imagette262501821756254107 26250183 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 .imagette262501831756254107 26250184 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 .imagette262501841756254108 26250185 change filename to text .change filename to text .imagette262501851756254109 26250187 imagette262501871756254109 26250188 imagette262501881756254109 26250189 imagette262501891756254109 26250190 imagette262501901756254109 26250191 imagette262501911756254109 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26247716 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26250181,26250182,26250183,26250184,26250185,26250186,26250187,26250188,26250189,26250190,26250191?tags=carton,mal_croppe,papier,pet_clair,autre,environnement,flou,background,pehd,pet_fonce,metal args[1379392573] : ((1379392573, 0.06272950932161575, 492688767), (1379392573, 0.6504560211454856, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392423] : ((1379392423, -4.724864223201931, 492609224), (1379392423, 0.5922658914970887, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392421] : ((1379392421, 0.24300139578857152, 492688767), (1379392421, 0.750294374322052, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392418] : ((1379392418, -0.8446857130707162, 492688767), (1379392418, 0.658865196042355, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392410] : ((1379392410, -4.913030209715078, 492609224), (1379392410, 0.22377247364264322, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392408] : ((1379392408, -0.24016765530378273, 492688767), (1379392408, 0.5693107329773335, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392407] : ((1379392407, -4.678062492822829, 492609224), (1379392407, 0.4161741801347407, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392270] : ((1379392270, -0.37090249919836, 492688767), (1379392270, 0.8194227416140397, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392244] : ((1379392244, -1.0748826458859555, 492688767), (1379392244, 0.5637507787581638, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392219] : ((1379392219, -4.486147993498832, 492609224), (1379392219, 0.5781480282431926, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392193] : ((1379392193, -0.1573889344722372, 492688767), (1379392193, 0.5294786273476394, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392164] : ((1379392164, 0.008241501730054002, 492688767), (1379392164, 0.7930544350883829, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com args[1379392126] : ((1379392126, -0.6144458618354965, 492688767), (1379392126, 0.861130391535609, 2107752395), '0.07113503828347577') We are sending mail with results at report@fotonower.com refus_total : 0.07113503828347577 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=26247716 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_P26247716_27-08-2025_02_21_47.pdf results_Auto_P26247716_27-08-2025_02_21_47.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247716_27-08-2025_02_21_47.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','26247716','results_Auto_P26247716_27-08-2025_02_21_47.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247716_27-08-2025_02_21_47.pdf','pdf','','0.31','0.07113503828347577') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26247716

https://www.fotonower.com/image?json=false&list_photos_id=1379392573
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392423
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392421
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392418
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392410
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392408
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392407
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392270
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392244
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392219
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392193
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392164
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379392126
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26250181?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26250183?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26250184?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26250185?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247716_27-08-2025_02_21_47.pdf.

Lien vers velours :https://www.fotonower.com/velours/26250181,26250182,26250183,26250184,26250185,26250186,26250187,26250188,26250189,26250190,26250191?tags=carton,mal_croppe,papier,pet_clair,autre,environnement,flou,background,pehd,pet_fonce,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 27 Aug 2025 00:21:51 GMT Content-Length: 0 Connection: close X-Message-Id: RC8SR0GQQlujW35QUovs6A 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 [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] 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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.017688751220703125 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5788767337799072 time spend to save output : 0.017911911010742188 total time spend for step 9 : 3.5967886447906494 step10:split_time_score Wed Aug 27 02:21:51 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'}] (('09', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26247716 Nombre de photos uploadées : 13 / 23040 (0%) 26082025 26247716 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 26082025 26247716 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006358623504638672 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20228242874145508 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.12792036394032924 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226962 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`=26226962 AND mptpi.`type`=3594 To do Qualite : 0.07113503828347577 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247716_27-08-2025_02_21_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247716 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`=26247716 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247718 order by id desc limit 1 Qualite : 0.08405934927983541 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247719_27-08-2025_02_08_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247719 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`=26247719 AND mptpi.`type`=3594 To do Qualite : 0.030720593278463635 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247722_27-08-2025_01_52_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247722 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`=26247722 AND mptpi.`type`=3594 To do Qualite : 0.09864822735217527 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247724_27-08-2025_00_22_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247724 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26247724 AND mptpi.`type`=3726 To do Qualite : 0.05957804641060813 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247732_27-08-2025_01_43_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247732 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`=26247732 AND mptpi.`type`=3594 To do Qualite : 0.033042534722222225 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247737_27-08-2025_01_31_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247737 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`=26247737 AND mptpi.`type`=3594 To do Qualite : 0.2153830295138888 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247740_27-08-2025_01_21_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247740 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`=26247740 AND mptpi.`type`=3594 To do Qualite : 0.06635470920138889 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247742_27-08-2025_01_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247742 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`=26247742 AND mptpi.`type`=3594 To do Qualite : 0.07044531249999998 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247743_27-08-2025_01_02_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247743 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`=26247743 AND mptpi.`type`=3594 To do Qualite : 0.09094017918381346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247747 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`=26247747 AND mptpi.`type`=3594 To do Qualite : 0.023531764403292188 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247752_27-08-2025_00_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247752 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`=26247752 AND mptpi.`type`=3594 To do Qualite : 0.22070842978395055 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247757_27-08-2025_00_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247757 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`=26247757 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 13, '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 [1379392573, 1379392423, 1379392421, 1379392418, 1379392410, 1379392408, 1379392407, 1379392270, 1379392244, 1379392219, 1379392193, 1379392164, 1379392126] Looping around the photos to save general results len do output : 1 /26247716Didn'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, '3605400') ('3318', '26247716', '1379392573', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392423', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392421', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392418', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392410', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392408', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392407', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392270', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392244', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392219', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392193', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392164', None, None, None, None, None, '3605400') ('3318', None, None, None, None, None, None, None, '3605400') ('3318', '26247716', '1379392126', None, None, None, None, None, '3605400') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.05261683464050293 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.164076089859009 time spend to save output : 0.052945852279663086 total time spend for step 10 : 2.217021942138672 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 42.94user 25.42system 1:28.02elapsed 77%CPU (0avgtext+0avgdata 2780376maxresident)k 13888inputs+20776outputs (55major+1722086minor)pagefaults 0swaps