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 : 3231586 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 : ['3549769'] with mtr_portfolio_ids : ['26037488'] and first list_photo_ids : [] new path : /proc/3231586/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.0748505592346191 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 Sat Aug 16 09:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10395 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-16 09:10:33.527437: 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-16 09:10:33.552757: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-16 09:10:33.554353: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7faa7c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-16 09:10:33.554404: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-16 09:10:33.557023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-16 09:10:33.691109: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1bfbb290 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-16 09:10:33.691154: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-16 09:10:33.692068: 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-16 09:10:33.692372: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-16 09:10:33.694312: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-16 09:10:33.696337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-16 09:10:33.696661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-16 09:10:33.698846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-16 09:10:33.699867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-16 09:10:33.704102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-16 09:10:33.705552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-16 09:10:33.705633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-16 09:10:33.706370: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-16 09:10:33.706386: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-16 09:10:33.706395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-16 09:10:33.707691: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9628 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-16 09:10:33.964010: 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-16 09:10:33.964138: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-16 09:10:33.964168: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-16 09:10:33.964195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-16 09:10:33.964221: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-16 09:10:33.964247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-16 09:10:33.964272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-16 09:10:33.964299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-16 09:10:33.965817: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-16 09:10:33.966983: 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-16 09:10:33.967017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-16 09:10:33.967031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-16 09:10:33.967044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-16 09:10:33.967057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-16 09:10:33.967070: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-16 09:10:33.967083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-16 09:10:33.967096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-16 09:10:33.968253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-16 09:10:33.968288: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-16 09:10:33.968297: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-16 09:10:33.968304: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-16 09:10:33.969567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9628 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-16 09:10:40.723852: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-16 09:10:40.890863: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 54.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: 56.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: 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 : 6 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 : 3 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 : 6 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.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: 54.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 3232130 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1529 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 6618 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.0003337860107421875 nb_pixel_total : 15371 time to create 1 rle with old method : 0.017552614212036133 length of segment : 143 time for calcul the mask position with numpy : 0.00014472007751464844 nb_pixel_total : 6845 time to create 1 rle with old method : 0.007479190826416016 length of segment : 184 time for calcul the mask position with numpy : 0.0005102157592773438 nb_pixel_total : 31532 time to create 1 rle with old method : 0.034101247787475586 length of segment : 411 time for calcul the mask position with numpy : 0.012774944305419922 nb_pixel_total : 845542 time to create 1 rle with new method : 0.027188539505004883 length of segment : 1431 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 6477 time to create 1 rle with old method : 0.007544994354248047 length of segment : 100 time for calcul the mask position with numpy : 0.00011372566223144531 nb_pixel_total : 4761 time to create 1 rle with old method : 0.005244255065917969 length of segment : 141 time for calcul the mask position with numpy : 0.0002129077911376953 nb_pixel_total : 7975 time to create 1 rle with old method : 0.008756637573242188 length of segment : 173 time for calcul the mask position with numpy : 0.0008399486541748047 nb_pixel_total : 66704 time to create 1 rle with old method : 0.07220602035522461 length of segment : 323 time for calcul the mask position with numpy : 0.0012879371643066406 nb_pixel_total : 101543 time to create 1 rle with old method : 0.10904717445373535 length of segment : 528 time for calcul the mask position with numpy : 0.00018262863159179688 nb_pixel_total : 13121 time to create 1 rle with old method : 0.014822959899902344 length of segment : 95 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 11621 time to create 1 rle with old method : 0.013345956802368164 length of segment : 97 time for calcul the mask position with numpy : 0.0014600753784179688 nb_pixel_total : 113583 time to create 1 rle with old method : 0.1231069564819336 length of segment : 547 time for calcul the mask position with numpy : 0.0001964569091796875 nb_pixel_total : 8472 time to create 1 rle with old method : 0.009693622589111328 length of segment : 170 time for calcul the mask position with numpy : 0.00012159347534179688 nb_pixel_total : 6217 time to create 1 rle with old method : 0.007002830505371094 length of segment : 110 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 9052 time to create 1 rle with old method : 0.010193347930908203 length of segment : 144 time for calcul the mask position with numpy : 0.00012111663818359375 nb_pixel_total : 6334 time to create 1 rle with old method : 0.00730443000793457 length of segment : 84 time for calcul the mask position with numpy : 0.00019812583923339844 nb_pixel_total : 11140 time to create 1 rle with old method : 0.01220250129699707 length of segment : 179 time for calcul the mask position with numpy : 0.00022864341735839844 nb_pixel_total : 18058 time to create 1 rle with old method : 0.020122289657592773 length of segment : 166 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 11083 time to create 1 rle with old method : 0.012372493743896484 length of segment : 191 time for calcul the mask position with numpy : 0.0004208087921142578 nb_pixel_total : 26805 time to create 1 rle with old method : 0.02908492088317871 length of segment : 187 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 24623 time to create 1 rle with old method : 0.0280001163482666 length of segment : 167 time spent for convertir_results : 1.577329158782959 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 21 chid ids of type : 3594 Number RLEs to save : 5571 save missing photos in datou_result : time spend for datou_step_exec : 18.679548978805542 time spend to save output : 0.4978621006011963 total time spend for step 1 : 19.17741107940674 step2:crop_condition Sat Aug 16 09:10:50 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 : 8 ! batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755328251_3231586 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.78175687789917 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755328260_3231586 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6770119667053223 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] Looping around the photos to save general results len do output : 21 /1377498696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377498717Didn'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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 71 time used for this insertion : 0.05144095420837402 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.481901407241821 time spend to save output : 0.05251336097717285 total time spend for step 2 : 11.534414768218994 step3:rle_unique_nms_with_priority Sat Aug 16 09:11:01 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.7358565330505371 time for calcul the mask position with numpy : 0.24053049087524414 nb_pixel_total : 2019852 time to create 1 rle with new method : 0.0764310359954834 time for calcul the mask position with numpy : 0.007707118988037109 nb_pixel_total : 31532 time to create 1 rle with old method : 0.03612709045410156 time for calcul the mask position with numpy : 0.007741451263427734 nb_pixel_total : 6845 time to create 1 rle with old method : 0.0076596736907958984 time for calcul the mask position with numpy : 0.007405757904052734 nb_pixel_total : 15371 time to create 1 rle with old method : 0.017091751098632812 create new chi : 0.4126441478729248 time to delete rle : 0.033986568450927734 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2556 TO DO : save crop sub photo not yet done ! save time : 0.21262168884277344 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.16370296478271484 time for calcul the mask position with numpy : 0.04557490348815918 nb_pixel_total : 1221581 time to create 1 rle with new method : 0.09207725524902344 time for calcul the mask position with numpy : 0.008286714553833008 nb_pixel_total : 6477 time to create 1 rle with old method : 0.008762836456298828 time for calcul the mask position with numpy : 0.015556573867797852 nb_pixel_total : 845542 time to create 1 rle with new method : 0.24985170364379883 create new chi : 0.4300532341003418 time to delete rle : 0.0004687309265136719 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4142 TO DO : save crop sub photo not yet done ! save time : 0.30303192138671875 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.19163107872009277 time for calcul the mask position with numpy : 0.061309814453125 nb_pixel_total : 1994160 time to create 1 rle with new method : 0.25558900833129883 time for calcul the mask position with numpy : 0.008064031600952148 nb_pixel_total : 66704 time to create 1 rle with old method : 0.0765993595123291 time for calcul the mask position with numpy : 0.006679534912109375 nb_pixel_total : 7975 time to create 1 rle with old method : 0.009052515029907227 time for calcul the mask position with numpy : 0.007276773452758789 nb_pixel_total : 4761 time to create 1 rle with old method : 0.0055408477783203125 create new chi : 0.44156837463378906 time to delete rle : 0.0004448890686035156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2354 TO DO : save crop sub photo not yet done ! save time : 0.19570422172546387 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04982614517211914 time for calcul the mask position with numpy : 0.3492240905761719 nb_pixel_total : 1958936 time to create 1 rle with new method : 0.2717263698577881 time for calcul the mask position with numpy : 0.005952596664428711 nb_pixel_total : 13121 time to create 1 rle with old method : 0.014438629150390625 time for calcul the mask position with numpy : 0.006384611129760742 nb_pixel_total : 101543 time to create 1 rle with old method : 0.10716438293457031 create new chi : 0.7630326747894287 time to delete rle : 0.00032806396484375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2326 TO DO : save crop sub photo not yet done ! save time : 0.19969725608825684 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.13540863990783691 time for calcul the mask position with numpy : 0.06322383880615234 nb_pixel_total : 1939924 time to create 1 rle with new method : 0.8154079914093018 time for calcul the mask position with numpy : 0.007428407669067383 nb_pixel_total : 8472 time to create 1 rle with old method : 0.009622573852539062 time for calcul the mask position with numpy : 0.013119220733642578 nb_pixel_total : 113583 time to create 1 rle with old method : 0.1265110969543457 time for calcul the mask position with numpy : 0.010661125183105469 nb_pixel_total : 11621 time to create 1 rle with old method : 0.01343393325805664 create new chi : 1.071591854095459 time to delete rle : 0.00031447410583496094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2708 TO DO : save crop sub photo not yet done ! save time : 0.24694275856018066 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.07721686363220215 time for calcul the mask position with numpy : 0.16503095626831055 nb_pixel_total : 2040857 time to create 1 rle with new method : 0.40886497497558594 time for calcul the mask position with numpy : 0.006556987762451172 nb_pixel_total : 11140 time to create 1 rle with old method : 0.01222085952758789 time for calcul the mask position with numpy : 0.006104707717895508 nb_pixel_total : 6334 time to create 1 rle with old method : 0.006669521331787109 time for calcul the mask position with numpy : 0.00595402717590332 nb_pixel_total : 9052 time to create 1 rle with old method : 0.009865045547485352 time for calcul the mask position with numpy : 0.005876302719116211 nb_pixel_total : 6217 time to create 1 rle with old method : 0.0067822933197021484 create new chi : 0.6441986560821533 time to delete rle : 0.00035381317138671875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2114 TO DO : save crop sub photo not yet done ! save time : 0.19737815856933594 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05738520622253418 time for calcul the mask position with numpy : 0.057311296463012695 nb_pixel_total : 2017654 time to create 1 rle with new method : 0.07370924949645996 time for calcul the mask position with numpy : 0.006379604339599609 nb_pixel_total : 26805 time to create 1 rle with old method : 0.029170513153076172 time for calcul the mask position with numpy : 0.005972862243652344 nb_pixel_total : 11083 time to create 1 rle with old method : 0.011620283126831055 time for calcul the mask position with numpy : 0.005794048309326172 nb_pixel_total : 18058 time to create 1 rle with old method : 0.018810272216796875 create new chi : 0.2172257900238037 time to delete rle : 0.00034117698669433594 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2168 TO DO : save crop sub photo not yet done ! save time : 0.1835787296295166 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03466176986694336 time for calcul the mask position with numpy : 0.01914215087890625 nb_pixel_total : 2048977 time to create 1 rle with new method : 0.07799172401428223 time for calcul the mask position with numpy : 0.006647586822509766 nb_pixel_total : 24623 time to create 1 rle with old method : 0.027617931365966797 create new chi : 0.14284443855285645 time to delete rle : 0.0002579689025878906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1414 TO DO : save crop sub photo not yet done ! save time : 0.13849353790283203 map_output_result : {1377349811: (0.0, 'Should be the crop_list due to order', 0), 1377349517: (0.0, 'Should be the crop_list due to order', 0), 1377349515: (0.0, 'Should be the crop_list due to order', 0), 1377349512: (0.0, 'Should be the crop_list due to order', 0), 1377349510: (0.0, 'Should be the crop_list due to order', 0), 1377349508: (0.0, 'Should be the crop_list due to order', 0), 1377349506: (0.0, 'Should be the crop_list due to order', 0), 1377349468: (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 [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] Looping around the photos to save general results len do output : 8 /1377349811.Didn't retrieve data . /1377349517.Didn't retrieve data . /1377349515.Didn't retrieve data . /1377349512.Didn't retrieve data . /1377349510.Didn't retrieve data . /1377349508.Didn't retrieve data . /1377349506.Didn't retrieve data . /1377349468.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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01402592658996582 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.598065137863159 time spend to save output : 0.014349222183227539 total time spend for step 3 : 7.612414360046387 step4:ventilate_hashtags_in_portfolio Sat Aug 16 09:11:09 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 : 26037488 get user id for portfolio 26037488 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`=26037488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','background','carton','pet_fonce','autre','pehd','flou','mal_croppe','pet_clair','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`=26037488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','background','carton','pet_fonce','autre','pehd','flou','mal_croppe','pet_clair','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`=26037488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','papier','background','carton','pet_fonce','autre','pehd','flou','mal_croppe','pet_clair','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26037540,26037541,26037542,26037543,26037544,26037545,26037546,26037547,26037548,26037549,26037550?tags=environnement,papier,background,carton,pet_fonce,autre,pehd,flou,mal_croppe,pet_clair,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] Looping around the photos to save general results len do output : 1 /26037488. 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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01864933967590332 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6598753929138184 time spend to save output : 0.018927574157714844 total time spend for step 4 : 1.6788029670715332 step5:final Sat Aug 16 09:11:10 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 : {1377349811: ('0.0811908637152778',), 1377349517: ('0.0811908637152778',), 1377349515: ('0.0811908637152778',), 1377349512: ('0.0811908637152778',), 1377349510: ('0.0811908637152778',), 1377349508: ('0.0811908637152778',), 1377349506: ('0.0811908637152778',), 1377349468: ('0.0811908637152778',)} new output for save of step final : {1377349811: ('0.0811908637152778',), 1377349517: ('0.0811908637152778',), 1377349515: ('0.0811908637152778',), 1377349512: ('0.0811908637152778',), 1377349510: ('0.0811908637152778',), 1377349508: ('0.0811908637152778',), 1377349506: ('0.0811908637152778',), 1377349468: ('0.0811908637152778',)} [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] Looping around the photos to save general results len do output : 8 /1377349811.Didn't retrieve data . /1377349517.Didn't retrieve data . /1377349515.Didn't retrieve data . /1377349512.Didn't retrieve data . /1377349510.Didn't retrieve data . /1377349508.Didn't retrieve data . /1377349506.Didn't retrieve data . /1377349468.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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016109704971313477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12206220626831055 time spend to save output : 0.016632556915283203 total time spend for step 5 : 0.13869476318359375 step6:blur_detection Sat Aug 16 09:11:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85.jpg resize: (1080, 1920) 1377349811 1.3783641132703277 treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47.jpg resize: (1080, 1920) 1377349517 0.35292478952372297 treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da.jpg resize: (1080, 1920) 1377349515 1.7215943161626368 treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64.jpg resize: (1080, 1920) 1377349512 2.2317136694557114 treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59.jpg resize: (1080, 1920) 1377349510 -0.7156366206113587 treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d.jpg resize: (1080, 1920) 1377349508 0.8477705030633627 treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce.jpg resize: (1080, 1920) 1377349506 1.5155117157862548 treat image : temp/1755328229_3231586_1377349468_8be587762567debafcfc1093219ad61c.jpg resize: (1080, 1920) 1377349468 0.5347481229961498 treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288754_0.png resize: (139, 154) 1377498696 1.4280183505726356 treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288755_0.png resize: (184, 57) 1377498697 -1.4813731776610153 treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47_rle_crop_3918288758_0.png resize: (98, 163) 1377498698 -1.9513068159368205 treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288760_0.png resize: (171, 114) 1377498699 -2.0419462344987225 treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288761_0.png resize: (323, 350) 1377498700 2.3411112388010262 treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288759_0.png resize: (141, 69) 1377498701 -2.126202452190833 treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288766_0.png resize: (170, 98) 1377498702 -1.579999663770382 treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288770_0.png resize: (178, 110) 1377498703 -0.49234730216207445 treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288768_0.png resize: (125, 106) 1377498704 -1.58228742523523 treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288769_0.png resize: (72, 134) 1377498705 -0.23803935108645247 treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288767_0.png resize: (110, 95) 1377498706 0.1011677157771433 treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288772_0.png resize: (191, 104) 1377498707 -1.4289218407659725 treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288773_0.png resize: (171, 247) 1377498708 0.5315911961495371 treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288771_0.png resize: (164, 135) 1377498709 1.033442739014747 treat image : temp/1755328229_3231586_1377349468_8be587762567debafcfc1093219ad61c_rle_crop_3918288774_0.png resize: (167, 186) 1377498710 -0.43436714587293235 treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288756_0.png resize: (367, 120) 1377498712 -1.4979914659535294 treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47_rle_crop_3918288757_0.png resize: (928, 1128) 1377498713 -0.7913575372268881 treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64_rle_crop_3918288763_0.png resize: (88, 203) 1377498714 -0.9200594438558475 treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64_rle_crop_3918288762_0.png resize: (523, 322) 1377498715 0.2559348189227339 treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288764_0.png resize: (92, 171) 1377498716 -0.3347863829915659 treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288765_0.png resize: (529, 362) 1377498717 -0.12877737990822982 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 : 29 time used for this insertion : 0.015783309936523438 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.01562786102294922 save missing photos in datou_result : time spend for datou_step_exec : 7.124436616897583 time spend to save output : 0.03656911849975586 total time spend for step 6 : 7.161005735397339 step7:brightness Sat Aug 16 09:11:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85.jpg treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47.jpg treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da.jpg treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64.jpg treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59.jpg treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d.jpg treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce.jpg treat image : temp/1755328229_3231586_1377349468_8be587762567debafcfc1093219ad61c.jpg treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288754_0.png treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288755_0.png treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47_rle_crop_3918288758_0.png treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288760_0.png treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288761_0.png treat image : temp/1755328229_3231586_1377349515_db84dadacf383b87763bd6ab36aa59da_rle_crop_3918288759_0.png treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288766_0.png treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288770_0.png treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288768_0.png treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288769_0.png treat image : temp/1755328229_3231586_1377349508_0bad9ff742abc862b2bb75f89d95680d_rle_crop_3918288767_0.png treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288772_0.png treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288773_0.png treat image : temp/1755328229_3231586_1377349506_b5fca7687ffe28f3768279f7b3e742ce_rle_crop_3918288771_0.png treat image : temp/1755328229_3231586_1377349468_8be587762567debafcfc1093219ad61c_rle_crop_3918288774_0.png treat image : temp/1755328229_3231586_1377349811_a20c701dd3d92b017bf17ab05c245f85_rle_crop_3918288756_0.png treat image : temp/1755328229_3231586_1377349517_9ef69f98accaec2b7addc8ab4ac63b47_rle_crop_3918288757_0.png treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64_rle_crop_3918288763_0.png treat image : temp/1755328229_3231586_1377349512_2aacaf8e22252af176213a5506df6d64_rle_crop_3918288762_0.png treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288764_0.png treat image : temp/1755328229_3231586_1377349510_b2cc327336b4d2fa21d7770336335c59_rle_crop_3918288765_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 : 29 time used for this insertion : 0.017895221710205078 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.01828598976135254 save missing photos in datou_result : time spend for datou_step_exec : 2.1192967891693115 time spend to save output : 0.04187488555908203 total time spend for step 7 : 2.1611716747283936 step8:velours_tree Sat Aug 16 09:11:20 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.16184043884277344 time spend to save output : 3.62396240234375e-05 total time spend for step 8 : 0.16187667846679688 step9:send_mail_cod Sat Aug 16 09:11:20 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_P26037488_16-08-2025_09_11_20.pdf 26037541 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette260375411755328280 26037542 imagette260375421755328281 26037543 imagette260375431755328281 26037544 imagette260375441755328281 26037545 imagette260375451755328281 26037546 imagette260375461755328281 26037547 imagette260375471755328281 26037548 imagette260375481755328281 26037549 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette260375491755328281 26037550 imagette260375501755328281 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26037488 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26037540,26037541,26037542,26037543,26037544,26037545,26037546,26037547,26037548,26037549,26037550?tags=environnement,papier,background,carton,pet_fonce,autre,pehd,flou,mal_croppe,pet_clair,metal args[1377349811] : ((1377349811, 1.3783641132703277, 492688767), (1377349811, 0.979651033813404, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349517] : ((1377349517, 0.35292478952372297, 492688767), (1377349517, 0.7071535600975083, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349515] : ((1377349515, 1.7215943161626368, 492688767), (1377349515, 0.7108607912783133, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349512] : ((1377349512, 2.2317136694557114, 492688767), (1377349512, 0.9628294319800776, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349510] : ((1377349510, -0.7156366206113587, 492688767), (1377349510, 0.5250138926885821, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349508] : ((1377349508, 0.8477705030633627, 492688767), (1377349508, 0.6701440786514246, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349506] : ((1377349506, 1.5155117157862548, 492688767), (1377349506, 0.6512134712291897, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com args[1377349468] : ((1377349468, 0.5347481229961498, 492688767), (1377349468, 1.0235264331293161, 2107752395), '0.0811908637152778') We are sending mail with results at report@fotonower.com refus_total : 0.0811908637152778 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=26037488 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_P26037488_16-08-2025_09_11_20.pdf results_Auto_P26037488_16-08-2025_09_11_20.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26037488_16-08-2025_09_11_20.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','26037488','results_Auto_P26037488_16-08-2025_09_11_20.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26037488_16-08-2025_09_11_20.pdf','pdf','','0.24','0.0811908637152778') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26037488

https://www.fotonower.com/image?json=false&list_photos_id=1377349811
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3783641132703277)
https://www.fotonower.com/image?json=false&list_photos_id=1377349517
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377349515
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7215943161626368)
https://www.fotonower.com/image?json=false&list_photos_id=1377349512
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.2317136694557114)
https://www.fotonower.com/image?json=false&list_photos_id=1377349510
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377349508
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377349506
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5155117157862548)
https://www.fotonower.com/image?json=false&list_photos_id=1377349468
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/26037541?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26037549?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26037488_16-08-2025_09_11_20.pdf.

Lien vers velours :https://www.fotonower.com/velours/26037540,26037541,26037542,26037543,26037544,26037545,26037546,26037547,26037548,26037549,26037550?tags=environnement,papier,background,carton,pet_fonce,autre,pehd,flou,mal_croppe,pet_clair,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 16 Aug 2025 07:11:23 GMT Content-Length: 0 Connection: close X-Message-Id: 3ehnclKmQ16Wocco59VmZw 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 [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] 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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.016397953033447266 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.1274023056030273 time spend to save output : 0.01667332649230957 total time spend for step 9 : 3.144075632095337 step10:split_time_score Sat Aug 16 09:11:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15082025 26037488 Nombre de photos uploadées : 8 / 23040 (0%) 15082025 26037488 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 15082025 26037488 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.58306884765625e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005486011505126953 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24887299537658691 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.11276655199759945 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26019369_15-08-2025_10_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26019369 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`=26019369 AND mptpi.`type`=3594 To do Qualite : 0.05719597387566139 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022979_15-08-2025_12_31_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26022979 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`=26022979 AND mptpi.`type`=3594 To do Qualite : 0.08927492283950622 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022984_15-08-2025_12_22_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26022984 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`=26022984 AND mptpi.`type`=3594 To do Qualite : 0.12801908516589508 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26023947_15-08-2025_12_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26023947 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`=26023947 AND mptpi.`type`=3594 To do Qualite : 0.037682996498100675 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26026724_15-08-2025_16_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26026724 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`=26026724 AND mptpi.`type`=3594 To do Qualite : 0.17884543944145767 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26026725_15-08-2025_16_53_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26026725 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`=26026725 AND mptpi.`type`=3594 To do Qualite : 0.1354133942350088 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26027898_15-08-2025_18_11_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26027898 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`=26027898 AND mptpi.`type`=3594 To do Qualite : 0.07118455541938996 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26028924_15-08-2025_18_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26028924 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`=26028924 AND mptpi.`type`=3594 To do Qualite : 0.0811908637152778 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26037488_16-08-2025_09_11_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26037488 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`=26037488 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15082025': {'nb_upload': 8, '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 [1377349811, 1377349517, 1377349515, 1377349512, 1377349510, 1377349508, 1377349506, 1377349468] Looping around the photos to save general results len do output : 1 /26037488Didn'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, '3549769') ('3318', '26037488', '1377349811', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349517', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349515', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349512', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349510', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349508', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349506', None, None, None, None, None, '3549769') ('3318', None, None, None, None, None, None, None, '3549769') ('3318', '26037488', '1377349468', None, None, None, None, None, '3549769') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.021039247512817383 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0818908214569092 time spend to save output : 0.021345138549804688 total time spend for step 10 : 1.1032359600067139 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 31.82user 14.25system 0:59.67elapsed 77%CPU (0avgtext+0avgdata 2668648maxresident)k 502352inputs+16192outputs (33major+1055708minor)pagefaults 0swaps