python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -C 2500563' -s traitement_3459 -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 3621942 load datou : 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) 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 : step 0 init_dummy_multi_datou is not linked in the step_by_step architecture ! WARNING : step 1294 init_dummy_multi_datou is not linked in the step_by_step architecture ! 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 ! 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 : (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? load thcls load pdts 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 : 3459, datou_cur_ids : ['2500563'] with mtr_portfolio_ids : ['19797270'] and first list_photo_ids : [] new path : /proc/3621942/ 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 ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 20 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.611025333404541 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 : 11 step1:mask_detect Thu Feb 6 17:02: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 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 17:02:14.205338: 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-02-06 17:02:14.231130: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 17:02:14.232813: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efba4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 17:02:14.232852: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 17:02:14.235667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 17:02:14.526801: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6705250 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 17:02:14.526848: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 17:02:14.528148: 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-02-06 17:02:14.528510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 17:02:14.531348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 17:02:14.536693: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 17:02:14.537028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 17:02:14.539048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 17:02:14.540006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 17:02:14.544030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 17:02:14.545397: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 17:02:14.545455: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 17:02:14.546227: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 17:02:14.546242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 17:02:14.546264: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 17:02:14.547610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-02-06 17:02:14.787022: 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-02-06 17:02:14.787115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 17:02:14.787143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 17:02:14.787169: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 17:02:14.787193: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 17:02:14.787218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 17:02:14.787242: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 17:02:14.787266: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 17:02:14.788775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 17:02:14.789887: 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-02-06 17:02:14.789914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 17:02:14.789929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 17:02:14.789943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 17:02:14.789957: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 17:02:14.789971: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 17:02:14.789985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 17:02:14.789999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 17:02:14.791282: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 17:02:14.791317: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 17:02:14.791326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 17:02:14.791334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 17:02:14.792609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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 : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', '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_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 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_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-06 17:02:21.578260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 17:02:21.733797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 20 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3621993 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 20 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 20 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 : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.0008473396301269531 nb_pixel_total : 51435 time to create 1 rle with old method : 0.056295156478881836 length of segment : 260 time for calcul the mask position with numpy : 0.013083934783935547 nb_pixel_total : 696226 time to create 1 rle with new method : 0.03209066390991211 length of segment : 1734 time for calcul the mask position with numpy : 0.0003452301025390625 nb_pixel_total : 17106 time to create 1 rle with old method : 0.019125699996948242 length of segment : 294 time for calcul the mask position with numpy : 0.0036008358001708984 nb_pixel_total : 240449 time to create 1 rle with new method : 0.009625434875488281 length of segment : 849 time for calcul the mask position with numpy : 6.67572021484375e-05 nb_pixel_total : 1424 time to create 1 rle with old method : 0.0017039775848388672 length of segment : 34 time for calcul the mask position with numpy : 0.004534721374511719 nb_pixel_total : 373018 time to create 1 rle with new method : 0.01264643669128418 length of segment : 1502 time for calcul the mask position with numpy : 0.0006520748138427734 nb_pixel_total : 48296 time to create 1 rle with old method : 0.052182674407958984 length of segment : 220 time for calcul the mask position with numpy : 0.002452373504638672 nb_pixel_total : 126297 time to create 1 rle with old method : 0.1430962085723877 length of segment : 825 time for calcul the mask position with numpy : 0.008612394332885742 nb_pixel_total : 476518 time to create 1 rle with new method : 0.031227588653564453 length of segment : 1495 time for calcul the mask position with numpy : 0.0004093647003173828 nb_pixel_total : 24031 time to create 1 rle with old method : 0.02462291717529297 length of segment : 241 time for calcul the mask position with numpy : 0.0014307498931884766 nb_pixel_total : 111992 time to create 1 rle with old method : 0.11701512336730957 length of segment : 357 time for calcul the mask position with numpy : 0.0011487007141113281 nb_pixel_total : 61701 time to create 1 rle with old method : 0.0668039321899414 length of segment : 772 time for calcul the mask position with numpy : 0.0003077983856201172 nb_pixel_total : 21538 time to create 1 rle with old method : 0.024597644805908203 length of segment : 147 time for calcul the mask position with numpy : 0.004929542541503906 nb_pixel_total : 340563 time to create 1 rle with new method : 0.013680219650268555 length of segment : 1954 time for calcul the mask position with numpy : 0.0002028942108154297 nb_pixel_total : 5946 time to create 1 rle with old method : 0.0066852569580078125 length of segment : 61 time for calcul the mask position with numpy : 0.0004177093505859375 nb_pixel_total : 12604 time to create 1 rle with old method : 0.014303445816040039 length of segment : 151 time for calcul the mask position with numpy : 0.0009427070617675781 nb_pixel_total : 30898 time to create 1 rle with old method : 0.03249478340148926 length of segment : 468 time for calcul the mask position with numpy : 0.003523588180541992 nb_pixel_total : 167011 time to create 1 rle with new method : 0.005258798599243164 length of segment : 672 time for calcul the mask position with numpy : 0.0002589225769042969 nb_pixel_total : 10066 time to create 1 rle with old method : 0.011211395263671875 length of segment : 52 time for calcul the mask position with numpy : 0.01110219955444336 nb_pixel_total : 414893 time to create 1 rle with new method : 0.03587627410888672 length of segment : 1713 time for calcul the mask position with numpy : 5.221366882324219e-05 nb_pixel_total : 1004 time to create 1 rle with old method : 0.0011284351348876953 length of segment : 39 time for calcul the mask position with numpy : 0.00047397613525390625 nb_pixel_total : 37029 time to create 1 rle with old method : 0.03941226005554199 length of segment : 263 time for calcul the mask position with numpy : 0.0012192726135253906 nb_pixel_total : 93653 time to create 1 rle with old method : 0.09502625465393066 length of segment : 335 time for calcul the mask position with numpy : 0.00038623809814453125 nb_pixel_total : 25180 time to create 1 rle with old method : 0.02661752700805664 length of segment : 166 time for calcul the mask position with numpy : 0.0021181106567382812 nb_pixel_total : 133208 time to create 1 rle with old method : 0.13200950622558594 length of segment : 711 time for calcul the mask position with numpy : 0.00020313262939453125 nb_pixel_total : 3997 time to create 1 rle with old method : 0.0045354366302490234 length of segment : 248 time for calcul the mask position with numpy : 0.001730203628540039 nb_pixel_total : 84448 time to create 1 rle with old method : 0.08414077758789062 length of segment : 473 time for calcul the mask position with numpy : 0.018306255340576172 nb_pixel_total : 1325264 time to create 1 rle with new method : 0.03390026092529297 length of segment : 1664 time for calcul the mask position with numpy : 0.0006010532379150391 nb_pixel_total : 39307 time to create 1 rle with old method : 0.04357457160949707 length of segment : 448 time for calcul the mask position with numpy : 0.0005207061767578125 nb_pixel_total : 35906 time to create 1 rle with old method : 0.03812074661254883 length of segment : 215 time for calcul the mask position with numpy : 0.0005924701690673828 nb_pixel_total : 45107 time to create 1 rle with old method : 0.04698920249938965 length of segment : 233 time for calcul the mask position with numpy : 0.003184080123901367 nb_pixel_total : 294346 time to create 1 rle with new method : 0.007161378860473633 length of segment : 1173 time for calcul the mask position with numpy : 0.0003180503845214844 nb_pixel_total : 8757 time to create 1 rle with old method : 0.009038448333740234 length of segment : 143 time for calcul the mask position with numpy : 0.0010175704956054688 nb_pixel_total : 34891 time to create 1 rle with old method : 0.03785085678100586 length of segment : 547 time for calcul the mask position with numpy : 0.008829832077026367 nb_pixel_total : 483243 time to create 1 rle with new method : 0.022585153579711914 length of segment : 1990 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 7437 time to create 1 rle with old method : 0.00815892219543457 length of segment : 61 time for calcul the mask position with numpy : 0.0015804767608642578 nb_pixel_total : 114959 time to create 1 rle with old method : 0.12016487121582031 length of segment : 419 time for calcul the mask position with numpy : 0.00286102294921875 nb_pixel_total : 204338 time to create 1 rle with new method : 0.007360219955444336 length of segment : 881 time for calcul the mask position with numpy : 0.0018620491027832031 nb_pixel_total : 77111 time to create 1 rle with old method : 0.08131980895996094 length of segment : 577 time for calcul the mask position with numpy : 9.703636169433594e-05 nb_pixel_total : 3704 time to create 1 rle with old method : 0.004256486892700195 length of segment : 47 time for calcul the mask position with numpy : 0.007837295532226562 nb_pixel_total : 505533 time to create 1 rle with new method : 0.014873027801513672 length of segment : 1253 time for calcul the mask position with numpy : 0.00012183189392089844 nb_pixel_total : 4669 time to create 1 rle with old method : 0.005091428756713867 length of segment : 123 time for calcul the mask position with numpy : 0.0001399517059326172 nb_pixel_total : 4543 time to create 1 rle with old method : 0.0048160552978515625 length of segment : 177 time for calcul the mask position with numpy : 0.016565799713134766 nb_pixel_total : 1395600 time to create 1 rle with new method : 0.028520584106445312 length of segment : 1488 time for calcul the mask position with numpy : 0.0051822662353515625 nb_pixel_total : 318903 time to create 1 rle with new method : 0.009417057037353516 length of segment : 976 time for calcul the mask position with numpy : 0.00414276123046875 nb_pixel_total : 205907 time to create 1 rle with new method : 0.00778961181640625 length of segment : 1107 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 1694 time to create 1 rle with old method : 0.0021505355834960938 length of segment : 38 time for calcul the mask position with numpy : 0.011106491088867188 nb_pixel_total : 709380 time to create 1 rle with new method : 0.023654460906982422 length of segment : 1234 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 2550 time to create 1 rle with old method : 0.002953767776489258 length of segment : 37 time for calcul the mask position with numpy : 0.0034706592559814453 nb_pixel_total : 308764 time to create 1 rle with new method : 0.007312297821044922 length of segment : 1001 time for calcul the mask position with numpy : 0.013436555862426758 nb_pixel_total : 1209893 time to create 1 rle with new method : 0.026251554489135742 length of segment : 2484 time for calcul the mask position with numpy : 0.014332056045532227 nb_pixel_total : 961642 time to create 1 rle with new method : 0.030629634857177734 length of segment : 2518 time for calcul the mask position with numpy : 0.003678560256958008 nb_pixel_total : 281715 time to create 1 rle with new method : 0.01022791862487793 length of segment : 1403 time for calcul the mask position with numpy : 0.00035953521728515625 nb_pixel_total : 27603 time to create 1 rle with old method : 0.030001401901245117 length of segment : 312 time for calcul the mask position with numpy : 0.0036475658416748047 nb_pixel_total : 332875 time to create 1 rle with new method : 0.008874893188476562 length of segment : 1219 time for calcul the mask position with numpy : 0.0011477470397949219 nb_pixel_total : 23191 time to create 1 rle with old method : 0.025252580642700195 length of segment : 310 time for calcul the mask position with numpy : 0.002159595489501953 nb_pixel_total : 81675 time to create 1 rle with old method : 0.08592510223388672 length of segment : 636 time for calcul the mask position with numpy : 0.00985097885131836 nb_pixel_total : 567637 time to create 1 rle with new method : 0.024502992630004883 length of segment : 2061 time for calcul the mask position with numpy : 0.0007612705230712891 nb_pixel_total : 41146 time to create 1 rle with old method : 0.04631233215332031 length of segment : 346 time for calcul the mask position with numpy : 0.004177093505859375 nb_pixel_total : 344608 time to create 1 rle with new method : 0.010424375534057617 length of segment : 1430 time for calcul the mask position with numpy : 0.00020360946655273438 nb_pixel_total : 9707 time to create 1 rle with old method : 0.010450601577758789 length of segment : 121 time for calcul the mask position with numpy : 0.015049219131469727 nb_pixel_total : 871210 time to create 1 rle with new method : 0.02262115478515625 length of segment : 1603 time for calcul the mask position with numpy : 0.0029401779174804688 nb_pixel_total : 124125 time to create 1 rle with old method : 0.12536883354187012 length of segment : 418 time for calcul the mask position with numpy : 0.00019788742065429688 nb_pixel_total : 4906 time to create 1 rle with old method : 0.005458354949951172 length of segment : 88 time for calcul the mask position with numpy : 0.0004658699035644531 nb_pixel_total : 15997 time to create 1 rle with old method : 0.017175912857055664 length of segment : 152 time for calcul the mask position with numpy : 0.0003173351287841797 nb_pixel_total : 10699 time to create 1 rle with old method : 0.011867046356201172 length of segment : 115 time for calcul the mask position with numpy : 9.870529174804688e-05 nb_pixel_total : 956 time to create 1 rle with old method : 0.0011248588562011719 length of segment : 42 time for calcul the mask position with numpy : 0.00638580322265625 nb_pixel_total : 324985 time to create 1 rle with new method : 0.010854005813598633 length of segment : 1044 time for calcul the mask position with numpy : 6.580352783203125e-05 nb_pixel_total : 797 time to create 1 rle with old method : 0.00091552734375 length of segment : 24 time for calcul the mask position with numpy : 0.0036890506744384766 nb_pixel_total : 211302 time to create 1 rle with new method : 0.007124900817871094 length of segment : 685 time for calcul the mask position with numpy : 0.013410329818725586 nb_pixel_total : 780342 time to create 1 rle with new method : 0.025171756744384766 length of segment : 1075 time for calcul the mask position with numpy : 0.0052301883697509766 nb_pixel_total : 470461 time to create 1 rle with new method : 0.012844324111938477 length of segment : 1978 time for calcul the mask position with numpy : 7.987022399902344e-05 nb_pixel_total : 2744 time to create 1 rle with old method : 0.003033876419067383 length of segment : 71 time for calcul the mask position with numpy : 0.00634312629699707 nb_pixel_total : 449669 time to create 1 rle with new method : 0.010802268981933594 length of segment : 954 time for calcul the mask position with numpy : 0.012936830520629883 nb_pixel_total : 756039 time to create 1 rle with new method : 0.030217885971069336 length of segment : 2190 time for calcul the mask position with numpy : 0.003544330596923828 nb_pixel_total : 333132 time to create 1 rle with new method : 0.008803367614746094 length of segment : 1512 time for calcul the mask position with numpy : 0.0013191699981689453 nb_pixel_total : 45836 time to create 1 rle with old method : 0.048874855041503906 length of segment : 353 time for calcul the mask position with numpy : 0.014521121978759766 nb_pixel_total : 1043678 time to create 1 rle with new method : 0.03097987174987793 length of segment : 1478 time for calcul the mask position with numpy : 0.0008301734924316406 nb_pixel_total : 75390 time to create 1 rle with old method : 0.07830476760864258 length of segment : 225 time for calcul the mask position with numpy : 0.0014109611511230469 nb_pixel_total : 115184 time to create 1 rle with old method : 0.11781835556030273 length of segment : 424 time for calcul the mask position with numpy : 0.0032994747161865234 nb_pixel_total : 323026 time to create 1 rle with new method : 0.007685184478759766 length of segment : 951 time for calcul the mask position with numpy : 0.0012063980102539062 nb_pixel_total : 96412 time to create 1 rle with old method : 0.09985637664794922 length of segment : 341 time for calcul the mask position with numpy : 0.015477418899536133 nb_pixel_total : 1063803 time to create 1 rle with new method : 0.030788421630859375 length of segment : 2212 time for calcul the mask position with numpy : 0.0030312538146972656 nb_pixel_total : 276473 time to create 1 rle with new method : 0.007126331329345703 length of segment : 855 time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 35716 time to create 1 rle with old method : 0.0385439395904541 length of segment : 301 time for calcul the mask position with numpy : 0.0037450790405273438 nb_pixel_total : 310934 time to create 1 rle with new method : 0.009519577026367188 length of segment : 1225 time for calcul the mask position with numpy : 0.003930330276489258 nb_pixel_total : 125935 time to create 1 rle with old method : 0.13072776794433594 length of segment : 810 time for calcul the mask position with numpy : 0.009345293045043945 nb_pixel_total : 562117 time to create 1 rle with new method : 0.023218870162963867 length of segment : 1987 time for calcul the mask position with numpy : 0.0019528865814208984 nb_pixel_total : 74993 time to create 1 rle with old method : 0.07656550407409668 length of segment : 610 time for calcul the mask position with numpy : 0.005518674850463867 nb_pixel_total : 312307 time to create 1 rle with new method : 0.010103702545166016 length of segment : 976 time for calcul the mask position with numpy : 0.000993490219116211 nb_pixel_total : 58630 time to create 1 rle with old method : 0.06136131286621094 length of segment : 419 time for calcul the mask position with numpy : 0.0013589859008789062 nb_pixel_total : 75055 time to create 1 rle with old method : 0.08059215545654297 length of segment : 337 time for calcul the mask position with numpy : 0.0009226799011230469 nb_pixel_total : 51727 time to create 1 rle with old method : 0.055800676345825195 length of segment : 215 time for calcul the mask position with numpy : 0.00801539421081543 nb_pixel_total : 443028 time to create 1 rle with new method : 0.01859879493713379 length of segment : 1207 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 2332 time to create 1 rle with old method : 0.0025315284729003906 length of segment : 71 time for calcul the mask position with numpy : 0.002046823501586914 nb_pixel_total : 183616 time to create 1 rle with new method : 0.0045490264892578125 length of segment : 656 time for calcul the mask position with numpy : 0.0034050941467285156 nb_pixel_total : 315687 time to create 1 rle with new method : 0.008074045181274414 length of segment : 1027 time for calcul the mask position with numpy : 0.014528751373291016 nb_pixel_total : 1001460 time to create 1 rle with new method : 0.02599644660949707 length of segment : 1331 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 1380 time to create 1 rle with old method : 0.0015523433685302734 length of segment : 90 time for calcul the mask position with numpy : 0.0015079975128173828 nb_pixel_total : 80633 time to create 1 rle with old method : 0.09074640274047852 length of segment : 586 time for calcul the mask position with numpy : 0.0037436485290527344 nb_pixel_total : 323879 time to create 1 rle with new method : 0.00903940200805664 length of segment : 1009 time for calcul the mask position with numpy : 0.0004456043243408203 nb_pixel_total : 25697 time to create 1 rle with old method : 0.02988886833190918 length of segment : 422 time spent for convertir_results : 14.050482749938965 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 102 chid ids of type : 3663 Number RLEs to save : 76777 save missing photos in datou_result : time spend for datou_step_exec : 34.03787159919739 time spend to save output : 4.62204384803772 total time spend for step 1 : 38.65991544723511 step2:crop_condition Thu Feb 6 17:02: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 : 3663 Loading chi in step crop for list_pids : 20 ! batch 1 Loaded 102 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 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 : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 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 : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 29 /-3657887071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657887131Didn'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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 107 time used for this insertion : 0.03889966011047363 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.959649324417114 time spend to save output : 0.04011964797973633 total time spend for step 2 : 8.99976897239685 step3:thcl Thu Feb 6 17:02:59 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 Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.004985332489013672 time to convert the images to numpy array : 0.006856203079223633 time to import caffe and check if the image exist : 0.005354642868041992 time to convert the images to numpy array : 0.006700277328491211 time to import caffe and check if the image exist : 0.008469581604003906 time to convert the images to numpy array : 0.00964665412902832 time to import caffe and check if the image exist : 0.0038454532623291016 time to convert the images to numpy array : 0.0172574520111084 time to import caffe and check if the image exist : 0.0048029422760009766 time to convert the images to numpy array : 0.019908905029296875 time to import caffe and check if the image exist : 0.006496906280517578 time to convert the images to numpy array : 0.023031949996948242 time to import caffe and check if the image exist : 0.005320549011230469 time to convert the images to numpy array : 0.024942874908447266 time to import caffe and check if the image exist : 0.004211902618408203 time to convert the images to numpy array : 0.02976393699645996 time to import caffe and check if the image exist : 0.004527091979980469 time to convert the images to numpy array : 0.034119367599487305 time to import caffe and check if the image exist : 0.005551815032958984 time to convert the images to numpy array : 0.032717227935791016 total time to convert the images to numpy array : 0.21872496604919434 list photo_ids error: [] list photo_ids correct : [-3657887106, -3657887119, -3657887117, -3657887165, -3657887131, -3657887089, -3657887139, -3657887136, -3657887071, -3657887080, -3657887077, -3657887163, -3657887126, -3657887137, -3657887083, -3657887081, -3657887094, -3657887093, -3657887100, -3657887101, -3657887152, -3657887149, -3657887159, -3657887088, -3657887109, -3657887135, -3657887113, -3657887124, -3657887140] number of photos to traite : 29 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.24761104583740234 time used to do the prediction : 0.08501124382019043 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.22222518920898438 time used to do the prediction : 0.06648015975952148 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.239776611328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.725398063659668 time spend to save output : 0.00030517578125 total time spend for step 3 : 7.725703239440918 step4:merge_mask_thcl_custom Thu Feb 6 17:03:07 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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 102 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++As expected we have just one thcl present End of step merge_mask_thcl_custom Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : merge_mask_thcl_custom we use saveGeneral [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 20 /1330474049Didn't retrieve data .Didn't retrieve data . /1330474045Didn't retrieve data .Didn't retrieve data . /1330474040Didn't retrieve data .Didn't retrieve data . /1330473779Didn't retrieve data .Didn't retrieve data . /1330473774Didn't retrieve data .Didn't retrieve data . /1330473648Didn't retrieve data .Didn't retrieve data . /1330473644Didn't retrieve data .Didn't retrieve data . /1330473581Didn't retrieve data .Didn't retrieve data . /1330473573Didn't retrieve data .Didn't retrieve data . /1330473571Didn't retrieve data .Didn't retrieve data . /1330473568Didn't retrieve data .Didn't retrieve data . /1330473274Didn't retrieve data .Didn't retrieve data . /1330473268Didn't retrieve data .Didn't retrieve data . /1330472945Didn't retrieve data .Didn't retrieve data . /1330472942Didn't retrieve data .Didn't retrieve data . /1330472939Didn't retrieve data .Didn't retrieve data . /1330472937Didn't retrieve data .Didn't retrieve data . /1330472935Didn't retrieve data .Didn't retrieve data . /1330472933Didn't retrieve data .Didn't retrieve data . /1330472542Didn'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 : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 1.4743106365203857 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06163215637207031 time spend to save output : 1.4752402305603027 total time spend for step 4 : 1.536872386932373 step5:rle_unique_nms_with_priority Thu Feb 6 17:03:08 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 Begin step rle-unique-nms nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.35964179039001465 time for calcul the mask position with numpy : 0.014491081237792969 nb_pixel_total : 964552 time to create 1 rle with new method : 0.04091668128967285 time for calcul the mask position with numpy : 0.007673740386962891 nb_pixel_total : 203317 time to create 1 rle with new method : 0.04558515548706055 time for calcul the mask position with numpy : 0.007249116897583008 nb_pixel_total : 144073 time to create 1 rle with old method : 0.15501856803894043 time for calcul the mask position with numpy : 0.006920337677001953 nb_pixel_total : 51392 time to create 1 rle with old method : 0.05712270736694336 time for calcul the mask position with numpy : 0.006683826446533203 nb_pixel_total : 17026 time to create 1 rle with old method : 0.019594192504882812 time for calcul the mask position with numpy : 0.014542818069458008 nb_pixel_total : 693240 time to create 1 rle with new method : 0.04478645324707031 create new chi : 0.4328744411468506 time to delete rle : 0.014419078826904297 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8894 TO DO : save crop sub photo not yet done ! save time : 2.413964033126831 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 0.8430485725402832 time for calcul the mask position with numpy : 0.01583552360534668 nb_pixel_total : 1126886 time to create 1 rle with new method : 0.041196346282958984 time for calcul the mask position with numpy : 0.0068013668060302734 nb_pixel_total : 109625 time to create 1 rle with old method : 0.11277341842651367 time for calcul the mask position with numpy : 0.00628972053527832 nb_pixel_total : 76018 time to create 1 rle with old method : 0.0775139331817627 time for calcul the mask position with numpy : 0.0062863826751708984 nb_pixel_total : 37751 time to create 1 rle with old method : 0.03830552101135254 time for calcul the mask position with numpy : 0.006083250045776367 nb_pixel_total : 21498 time to create 1 rle with old method : 0.02203989028930664 time for calcul the mask position with numpy : 0.006047725677490234 nb_pixel_total : 23926 time to create 1 rle with old method : 0.024164915084838867 time for calcul the mask position with numpy : 0.006177186965942383 nb_pixel_total : 47092 time to create 1 rle with old method : 0.048795223236083984 time for calcul the mask position with numpy : 0.009006500244140625 nb_pixel_total : 504654 time to create 1 rle with new method : 0.03354501724243164 time for calcul the mask position with numpy : 0.00620579719543457 nb_pixel_total : 126150 time to create 1 rle with old method : 0.12699532508850098 create new chi : 0.6006119251251221 time to delete rle : 0.0007326602935791016 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 8816 TO DO : save crop sub photo not yet done ! save time : 0.5248653888702393 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.2217392921447754 time for calcul the mask position with numpy : 0.01838088035583496 nb_pixel_total : 2024446 time to create 1 rle with new method : 0.027595996856689453 time for calcul the mask position with numpy : 0.005735874176025391 nb_pixel_total : 30736 time to create 1 rle with old method : 0.03247189521789551 time for calcul the mask position with numpy : 0.005814790725708008 nb_pixel_total : 12525 time to create 1 rle with old method : 0.013262271881103516 time for calcul the mask position with numpy : 0.005828857421875 nb_pixel_total : 5893 time to create 1 rle with old method : 0.006674051284790039 create new chi : 0.11613035202026367 time to delete rle : 0.00025343894958496094 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 2448 TO DO : save crop sub photo not yet done ! save time : 0.35512423515319824 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.787074089050293 time for calcul the mask position with numpy : 0.014429807662963867 nb_pixel_total : 1330518 time to create 1 rle with new method : 0.03783011436462402 time for calcul the mask position with numpy : 0.006559848785400391 nb_pixel_total : 155188 time to create 1 rle with new method : 0.03372669219970703 time for calcul the mask position with numpy : 0.00602269172668457 nb_pixel_total : 9768 time to create 1 rle with old method : 0.010960102081298828 time for calcul the mask position with numpy : 0.00635218620300293 nb_pixel_total : 113628 time to create 1 rle with old method : 0.11396098136901855 time for calcul the mask position with numpy : 0.00579524040222168 nb_pixel_total : 10053 time to create 1 rle with old method : 0.010377883911132812 time for calcul the mask position with numpy : 0.0054874420166015625 nb_pixel_total : 15324 time to create 1 rle with old method : 0.015505313873291016 time for calcul the mask position with numpy : 0.005689382553100586 nb_pixel_total : 25086 time to create 1 rle with old method : 0.025271177291870117 time for calcul the mask position with numpy : 0.0055425167083740234 nb_pixel_total : 1004 time to create 1 rle with old method : 0.001191854476928711 time for calcul the mask position with numpy : 0.007866144180297852 nb_pixel_total : 413031 time to create 1 rle with new method : 0.03381228446960449 create new chi : 0.35389137268066406 time to delete rle : 0.0006413459777832031 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 8028 TO DO : save crop sub photo not yet done ! save time : 0.6383309364318848 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.6556491851806641 time for calcul the mask position with numpy : 0.009479999542236328 nb_pixel_total : 508329 time to create 1 rle with new method : 0.03685641288757324 time for calcul the mask position with numpy : 0.006198406219482422 nb_pixel_total : 46066 time to create 1 rle with old method : 0.04618191719055176 time for calcul the mask position with numpy : 0.005955696105957031 nb_pixel_total : 35792 time to create 1 rle with old method : 0.036634206771850586 time for calcul the mask position with numpy : 0.005844593048095703 nb_pixel_total : 27553 time to create 1 rle with old method : 0.028184175491333008 time for calcul the mask position with numpy : 0.005853891372680664 nb_pixel_total : 20659 time to create 1 rle with old method : 0.021203041076660156 time for calcul the mask position with numpy : 0.01782679557800293 nb_pixel_total : 1350797 time to create 1 rle with new method : 0.03030872344970703 time for calcul the mask position with numpy : 0.006196498870849609 nb_pixel_total : 84404 time to create 1 rle with old method : 0.09030008316040039 create new chi : 0.3507513999938965 time to delete rle : 0.0006248950958251953 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 6501 TO DO : save crop sub photo not yet done ! save time : 0.38838863372802734 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.5553748607635498 time for calcul the mask position with numpy : 0.017512083053588867 nb_pixel_total : 1314791 time to create 1 rle with new method : 0.03758978843688965 time for calcul the mask position with numpy : 0.006341218948364258 nb_pixel_total : 73960 time to create 1 rle with old method : 0.07725167274475098 time for calcul the mask position with numpy : 0.006124258041381836 nb_pixel_total : 81840 time to create 1 rle with old method : 0.08379292488098145 time for calcul the mask position with numpy : 0.005837202072143555 nb_pixel_total : 7148 time to create 1 rle with old method : 0.007704734802246094 time for calcul the mask position with numpy : 0.009453535079956055 nb_pixel_total : 551965 time to create 1 rle with new method : 0.031133413314819336 time for calcul the mask position with numpy : 0.006191253662109375 nb_pixel_total : 35146 time to create 1 rle with old method : 0.03635907173156738 time for calcul the mask position with numpy : 0.006656646728515625 nb_pixel_total : 8750 time to create 1 rle with old method : 0.009413719177246094 create new chi : 0.34555530548095703 time to delete rle : 0.0005867481231689453 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 7204 TO DO : save crop sub photo not yet done ! save time : 0.4321303367614746 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.7509012222290039 time for calcul the mask position with numpy : 0.01852250099182129 nb_pixel_total : 1462741 time to create 1 rle with new method : 0.0384371280670166 time for calcul the mask position with numpy : 0.005627632141113281 nb_pixel_total : 938 time to create 1 rle with old method : 0.001051187515258789 time for calcul the mask position with numpy : 0.005417823791503906 nb_pixel_total : 4660 time to create 1 rle with old method : 0.004640340805053711 time for calcul the mask position with numpy : 0.005743741989135742 nb_pixel_total : 76679 time to create 1 rle with old method : 0.0758829116821289 time for calcul the mask position with numpy : 0.008875846862792969 nb_pixel_total : 524890 time to create 1 rle with new method : 0.03344607353210449 time for calcul the mask position with numpy : 0.005494117736816406 nb_pixel_total : 3692 time to create 1 rle with old method : 0.00391840934753418 create new chi : 0.2129988670349121 time to delete rle : 0.00041675567626953125 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 4775 TO DO : save crop sub photo not yet done ! save time : 0.30672264099121094 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2581603527069092 time for calcul the mask position with numpy : 0.01061248779296875 nb_pixel_total : 613332 time to create 1 rle with new method : 0.029015541076660156 time for calcul the mask position with numpy : 0.0058591365814208984 nb_pixel_total : 45465 time to create 1 rle with old method : 0.04587101936340332 time for calcul the mask position with numpy : 0.014513731002807617 nb_pixel_total : 1414803 time to create 1 rle with new method : 0.026870012283325195 create new chi : 0.13329124450683594 time to delete rle : 0.00039124488830566406 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4386 TO DO : save crop sub photo not yet done ! save time : 0.281888484954834 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.4094231128692627 time for calcul the mask position with numpy : 0.015393257141113281 nb_pixel_total : 1093090 time to create 1 rle with new method : 0.035981178283691406 time for calcul the mask position with numpy : 0.006018400192260742 nb_pixel_total : 42957 time to create 1 rle with old method : 0.04424738883972168 time for calcul the mask position with numpy : 0.00589299201965332 nb_pixel_total : 1686 time to create 1 rle with old method : 0.0018377304077148438 time for calcul the mask position with numpy : 0.01039266586303711 nb_pixel_total : 728057 time to create 1 rle with new method : 0.03349804878234863 time for calcul the mask position with numpy : 0.00591588020324707 nb_pixel_total : 2542 time to create 1 rle with old method : 0.0027904510498046875 time for calcul the mask position with numpy : 0.006806850433349609 nb_pixel_total : 205268 time to create 1 rle with new method : 0.03070974349975586 create new chi : 0.2045154571533203 time to delete rle : 0.0006375312805175781 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6290 TO DO : save crop sub photo not yet done ! save time : 0.36673712730407715 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.17342495918273926 time for calcul the mask position with numpy : 0.010650157928466797 nb_pixel_total : 696425 time to create 1 rle with new method : 0.028483867645263672 time for calcul the mask position with numpy : 0.014411211013793945 nb_pixel_total : 1377175 time to create 1 rle with new method : 0.0376744270324707 create new chi : 0.09651637077331543 time to delete rle : 0.0004315376281738281 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 5004 TO DO : save crop sub photo not yet done ! save time : 0.30961036682128906 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6439905166625977 time for calcul the mask position with numpy : 0.011163949966430664 nb_pixel_total : 827204 time to create 1 rle with new method : 0.039395809173583984 time for calcul the mask position with numpy : 0.006210803985595703 nb_pixel_total : 92055 time to create 1 rle with old method : 0.09308409690856934 time for calcul the mask position with numpy : 0.0061550140380859375 nb_pixel_total : 89114 time to create 1 rle with old method : 0.09174489974975586 time for calcul the mask position with numpy : 0.012798070907592773 nb_pixel_total : 1014745 time to create 1 rle with new method : 0.03453683853149414 time for calcul the mask position with numpy : 0.006012678146362305 nb_pixel_total : 27385 time to create 1 rle with old method : 0.02792072296142578 time for calcul the mask position with numpy : 0.0056667327880859375 nb_pixel_total : 23097 time to create 1 rle with old method : 0.02363133430480957 create new chi : 0.36487364768981934 time to delete rle : 0.0007042884826660156 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8454 TO DO : save crop sub photo not yet done ! save time : 0.4920616149902344 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.38555908203125 time for calcul the mask position with numpy : 0.015502691268920898 nb_pixel_total : 1120299 time to create 1 rle with new method : 0.0388948917388916 time for calcul the mask position with numpy : 0.006126880645751953 nb_pixel_total : 9061 time to create 1 rle with old method : 0.00963139533996582 time for calcul the mask position with numpy : 0.007023334503173828 nb_pixel_total : 289494 time to create 1 rle with new method : 0.03319549560546875 time for calcul the mask position with numpy : 0.005573749542236328 nb_pixel_total : 9731 time to create 1 rle with old method : 0.009941816329956055 time for calcul the mask position with numpy : 0.009129524230957031 nb_pixel_total : 563679 time to create 1 rle with new method : 0.037882328033447266 time for calcul the mask position with numpy : 0.006171464920043945 nb_pixel_total : 81336 time to create 1 rle with old method : 0.08115267753601074 create new chi : 0.27002835273742676 time to delete rle : 0.0006735324859619141 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8422 TO DO : save crop sub photo not yet done ! save time : 0.49582481384277344 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 0.7517013549804688 time for calcul the mask position with numpy : 0.013627767562866211 nb_pixel_total : 844737 time to create 1 rle with new method : 0.03850889205932617 time for calcul the mask position with numpy : 0.005835056304931641 nb_pixel_total : 22636 time to create 1 rle with old method : 0.02370166778564453 time for calcul the mask position with numpy : 0.005498409271240234 nb_pixel_total : 9585 time to create 1 rle with old method : 0.009916067123413086 time for calcul the mask position with numpy : 0.005433797836303711 nb_pixel_total : 796 time to create 1 rle with old method : 0.0008504390716552734 time for calcul the mask position with numpy : 0.006774187088012695 nb_pixel_total : 168979 time to create 1 rle with new method : 0.032080888748168945 time for calcul the mask position with numpy : 0.0055773258209228516 nb_pixel_total : 10611 time to create 1 rle with old method : 0.010755062103271484 time for calcul the mask position with numpy : 0.005419015884399414 nb_pixel_total : 955 time to create 1 rle with old method : 0.0009701251983642578 time for calcul the mask position with numpy : 0.005417346954345703 nb_pixel_total : 4877 time to create 1 rle with old method : 0.004909515380859375 time for calcul the mask position with numpy : 0.005916118621826172 nb_pixel_total : 115476 time to create 1 rle with old method : 0.11160731315612793 time for calcul the mask position with numpy : 0.010994672775268555 nb_pixel_total : 894948 time to create 1 rle with new method : 0.035651206970214844 create new chi : 0.34879112243652344 time to delete rle : 0.0006117820739746094 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6887 TO DO : save crop sub photo not yet done ! save time : 0.41062188148498535 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.14776182174682617 time for calcul the mask position with numpy : 0.012526512145996094 nb_pixel_total : 984174 time to create 1 rle with new method : 0.027976274490356445 time for calcul the mask position with numpy : 0.007073879241943359 nb_pixel_total : 310729 time to create 1 rle with new method : 0.030480623245239258 time for calcul the mask position with numpy : 0.013234138488769531 nb_pixel_total : 778697 time to create 1 rle with new method : 0.03011918067932129 create new chi : 0.12220239639282227 time to delete rle : 0.000751495361328125 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 5303 TO DO : save crop sub photo not yet done ! save time : 0.32932472229003906 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.5099833011627197 time for calcul the mask position with numpy : 0.013819694519042969 nb_pixel_total : 1020086 time to create 1 rle with new method : 0.04233980178833008 time for calcul the mask position with numpy : 0.006601572036743164 nb_pixel_total : 96915 time to create 1 rle with old method : 0.10475039482116699 time for calcul the mask position with numpy : 0.010933876037597656 nb_pixel_total : 507354 time to create 1 rle with new method : 0.030214309692382812 time for calcul the mask position with numpy : 0.008286476135253906 nb_pixel_total : 449245 time to create 1 rle with new method : 0.028905868530273438 create new chi : 0.24765467643737793 time to delete rle : 0.00060272216796875 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6959 TO DO : save crop sub photo not yet done ! save time : 0.4118638038635254 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.5291948318481445 time for calcul the mask position with numpy : 0.011556148529052734 nb_pixel_total : 789161 time to create 1 rle with new method : 0.03364968299865723 time for calcul the mask position with numpy : 0.006107330322265625 nb_pixel_total : 77157 time to create 1 rle with old method : 0.08218574523925781 time for calcul the mask position with numpy : 0.006741523742675781 nb_pixel_total : 156 time to create 1 rle with old method : 0.00045490264892578125 time for calcul the mask position with numpy : 0.007025957107543945 nb_pixel_total : 77069 time to create 1 rle with old method : 0.08001422882080078 time for calcul the mask position with numpy : 0.0066375732421875 nb_pixel_total : 70041 time to create 1 rle with old method : 0.07055330276489258 time for calcul the mask position with numpy : 0.012083053588867188 nb_pixel_total : 1014436 time to create 1 rle with new method : 0.026655912399291992 time for calcul the mask position with numpy : 0.005744457244873047 nb_pixel_total : 45580 time to create 1 rle with old method : 0.04571962356567383 create new chi : 0.3960447311401367 time to delete rle : 0.0006339550018310547 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 6461 TO DO : save crop sub photo not yet done ! save time : 0.3764028549194336 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.3810696601867676 time for calcul the mask position with numpy : 0.012858390808105469 nb_pixel_total : 781584 time to create 1 rle with new method : 0.039913177490234375 time for calcul the mask position with numpy : 0.0074613094329833984 nb_pixel_total : 197509 time to create 1 rle with new method : 0.033421993255615234 time for calcul the mask position with numpy : 0.005749225616455078 nb_pixel_total : 8302 time to create 1 rle with old method : 0.009011983871459961 time for calcul the mask position with numpy : 0.00551605224609375 nb_pixel_total : 13185 time to create 1 rle with old method : 0.013591289520263672 time for calcul the mask position with numpy : 0.014644384384155273 nb_pixel_total : 1073020 time to create 1 rle with new method : 0.03381824493408203 create new chi : 0.18401145935058594 time to delete rle : 0.0006175041198730469 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7981 TO DO : save crop sub photo not yet done ! save time : 0.46321630477905273 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.5876262187957764 time for calcul the mask position with numpy : 0.02310323715209961 nb_pixel_total : 1065759 time to create 1 rle with new method : 0.049158573150634766 time for calcul the mask position with numpy : 0.0067102909088134766 nb_pixel_total : 6518 time to create 1 rle with old method : 0.007172584533691406 time for calcul the mask position with numpy : 0.0066967010498046875 nb_pixel_total : 47965 time to create 1 rle with old method : 0.0509335994720459 time for calcul the mask position with numpy : 0.0068051815032958984 nb_pixel_total : 51440 time to create 1 rle with old method : 0.051125526428222656 time for calcul the mask position with numpy : 0.007945060729980469 nb_pixel_total : 312124 time to create 1 rle with new method : 0.040284156799316406 time for calcul the mask position with numpy : 0.009290933609008789 nb_pixel_total : 464076 time to create 1 rle with new method : 0.04170346260070801 time for calcul the mask position with numpy : 0.007306337356567383 nb_pixel_total : 125718 time to create 1 rle with old method : 0.12817978858947754 create new chi : 0.4454231262207031 time to delete rle : 0.0009241104125976562 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 9989 TO DO : save crop sub photo not yet done ! save time : 0.5028502941131592 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.37860703468322754 time for calcul the mask position with numpy : 0.02675485610961914 nb_pixel_total : 1223488 time to create 1 rle with new method : 0.052458763122558594 time for calcul the mask position with numpy : 0.007929563522338867 nb_pixel_total : 152087 time to create 1 rle with new method : 0.042957305908203125 time for calcul the mask position with numpy : 0.006813764572143555 nb_pixel_total : 2328 time to create 1 rle with old method : 0.0025255680084228516 time for calcul the mask position with numpy : 0.008217334747314453 nb_pixel_total : 51539 time to create 1 rle with old method : 0.05202317237854004 time for calcul the mask position with numpy : 0.007269859313964844 nb_pixel_total : 183006 time to create 1 rle with new method : 0.04351925849914551 time for calcul the mask position with numpy : 0.009247303009033203 nb_pixel_total : 461152 time to create 1 rle with new method : 0.038934946060180664 create new chi : 0.3088204860687256 time to delete rle : 0.0005826950073242188 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6160 TO DO : save crop sub photo not yet done ! save time : 0.3904092311859131 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.5584366321563721 time for calcul the mask position with numpy : 0.015189170837402344 nb_pixel_total : 947905 time to create 1 rle with new method : 0.040410518646240234 time for calcul the mask position with numpy : 0.0063953399658203125 nb_pixel_total : 3269 time to create 1 rle with old method : 0.0036115646362304688 time for calcul the mask position with numpy : 0.006343364715576172 nb_pixel_total : 39070 time to create 1 rle with old method : 0.03820681571960449 time for calcul the mask position with numpy : 0.006685972213745117 nb_pixel_total : 80209 time to create 1 rle with old method : 0.08170771598815918 time for calcul the mask position with numpy : 0.0064623355865478516 nb_pixel_total : 1371 time to create 1 rle with old method : 0.0014920234680175781 time for calcul the mask position with numpy : 0.015898466110229492 nb_pixel_total : 1001776 time to create 1 rle with new method : 0.039516448974609375 create new chi : 0.2656838893890381 time to delete rle : 0.0006499290466308594 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6326 TO DO : save crop sub photo not yet done ! save time : 0.37711334228515625 map_output_result : {1330474049: (0.0, 'Should be the crop_list due to order', 0.0), 1330474045: (0.0, 'Should be the crop_list due to order', 0.0), 1330474040: (0.0, 'Should be the crop_list due to order', 0.0), 1330473779: (0.0, 'Should be the crop_list due to order', 0.0), 1330473774: (0.0, 'Should be the crop_list due to order', 0.0), 1330473648: (0.0, 'Should be the crop_list due to order', 0.0), 1330473644: (0.0, 'Should be the crop_list due to order', 0.0), 1330473581: (0.0, 'Should be the crop_list due to order', 0.0), 1330473573: (0.0, 'Should be the crop_list due to order', 0.0), 1330473571: (0.0, 'Should be the crop_list due to order', 0.0), 1330473568: (0.0, 'Should be the crop_list due to order', 0.0), 1330473274: (0.0, 'Should be the crop_list due to order', 0.0), 1330473268: (0.0, 'Should be the crop_list due to order', 0.0), 1330472945: (0.0, 'Should be the crop_list due to order', 0.0), 1330472942: (0.0, 'Should be the crop_list due to order', 0.0), 1330472939: (0.0, 'Should be the crop_list due to order', 0.0), 1330472937: (0.0, 'Should be the crop_list due to order', 0.0), 1330472935: (0.0, 'Should be the crop_list due to order', 0.0), 1330472933: (0.0, 'Should be the crop_list due to order', 0.0), 1330472542: (0.0, 'Should be the crop_list due to order', 0.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 [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 20 /1330474049.Didn't retrieve data . /1330474045.Didn't retrieve data . /1330474040.Didn't retrieve data . /1330473779.Didn't retrieve data . /1330473774.Didn't retrieve data . /1330473648.Didn't retrieve data . /1330473644.Didn't retrieve data . /1330473581.Didn't retrieve data . /1330473573.Didn't retrieve data . /1330473571.Didn't retrieve data . /1330473568.Didn't retrieve data . /1330473274.Didn't retrieve data . /1330473268.Didn't retrieve data . /1330472945.Didn't retrieve data . /1330472942.Didn't retrieve data . /1330472939.Didn't retrieve data . /1330472937.Didn't retrieve data . /1330472935.Didn't retrieve data . /1330472933.Didn't retrieve data . /1330472542.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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.013418197631835938 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.500205278396606 time spend to save output : 0.014160633087158203 total time spend for step 5 : 26.514365911483765 step6:crop_condition Thu Feb 6 17:03:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 20 ! batch 1 Loaded 119 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738857817_3621942 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.244605302810669 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738857819_3621942 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7481164932250977 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738857820_3621942 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8946213722229004 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738857821_3621942 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9011931419372559 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738857823_3621942 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8118939399719238 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 13 /1335235904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335235917Didn'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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 59 time used for this insertion : 0.056540727615356445 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.63572907447815 time spend to save output : 0.05711221694946289 total time spend for step 6 : 9.692841291427612 step7:ventilate_hashtags_in_portfolio Thu Feb 6 17:03:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 19797270 get user id for portfolio 19797270 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`=19797270 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','autre_refus','kraft','papier','cartonnette','mal_croppe','flou','Carton_brun','Carton_gris','metal','Teint_Dans_La_Masse')) 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`=19797270 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','autre_refus','kraft','papier','cartonnette','mal_croppe','flou','Carton_brun','Carton_gris','metal','Teint_Dans_La_Masse')) 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") 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`=19797270 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','autre_refus','kraft','papier','cartonnette','mal_croppe','flou','Carton_brun','Carton_gris','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20298510,20298511,20298512,20298513,20298514,20298515,20298516,20298517,20298518,20298519,20298520,20298521?tags=environnement,plastique,autre_refus,kraft,papier,cartonnette,mal_croppe,flou,Carton_brun,Carton_gris,metal,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 1 /19797270. 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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.016216039657592773 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7082209587097168 time spend to save output : 0.016707420349121094 total time spend for step 7 : 1.724928379058838 step8:final Thu Feb 6 17:03:46 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 : {1330474049: ('0.03633119323557404',), 1330474045: ('0.03633119323557404',), 1330474040: ('0.03633119323557404',), 1330473779: ('0.03633119323557404',), 1330473774: ('0.03633119323557404',), 1330473648: ('0.03633119323557404',), 1330473644: ('0.03633119323557404',), 1330473581: ('0.03633119323557404',), 1330473573: ('0.03633119323557404',), 1330473571: ('0.03633119323557404',), 1330473568: ('0.03633119323557404',), 1330473274: ('0.03633119323557404',), 1330473268: ('0.03633119323557404',), 1330472945: ('0.03633119323557404',), 1330472942: ('0.03633119323557404',), 1330472939: ('0.03633119323557404',), 1330472937: ('0.03633119323557404',), 1330472935: ('0.03633119323557404',), 1330472933: ('0.03633119323557404',), 1330472542: ('0.03633119323557404',)} new output for save of step final : {1330474049: ('0.03633119323557404',), 1330474045: ('0.03633119323557404',), 1330474040: ('0.03633119323557404',), 1330473779: ('0.03633119323557404',), 1330473774: ('0.03633119323557404',), 1330473648: ('0.03633119323557404',), 1330473644: ('0.03633119323557404',), 1330473581: ('0.03633119323557404',), 1330473573: ('0.03633119323557404',), 1330473571: ('0.03633119323557404',), 1330473568: ('0.03633119323557404',), 1330473274: ('0.03633119323557404',), 1330473268: ('0.03633119323557404',), 1330472945: ('0.03633119323557404',), 1330472942: ('0.03633119323557404',), 1330472939: ('0.03633119323557404',), 1330472937: ('0.03633119323557404',), 1330472935: ('0.03633119323557404',), 1330472933: ('0.03633119323557404',), 1330472542: ('0.03633119323557404',)} [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 20 /1330474049.Didn't retrieve data . /1330474045.Didn't retrieve data . /1330474040.Didn't retrieve data . /1330473779.Didn't retrieve data . /1330473774.Didn't retrieve data . /1330473648.Didn't retrieve data . /1330473644.Didn't retrieve data . /1330473581.Didn't retrieve data . /1330473573.Didn't retrieve data . /1330473571.Didn't retrieve data . /1330473568.Didn't retrieve data . /1330473274.Didn't retrieve data . /1330473268.Didn't retrieve data . /1330472945.Didn't retrieve data . /1330472942.Didn't retrieve data . /1330472939.Didn't retrieve data . /1330472937.Didn't retrieve data . /1330472935.Didn't retrieve data . /1330472933.Didn't retrieve data . /1330472542.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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.013295888900756836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22098565101623535 time spend to save output : 0.014225482940673828 total time spend for step 8 : 0.23521113395690918 step9:velours_tree Thu Feb 6 17:03:46 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.03376412391662598 time spend to save output : 4.8160552978515625e-05 total time spend for step 9 : 0.03381228446960449 step10:send_mail_cod Thu Feb 6 17:03:46 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 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 in order to get the selector url, please entre the license of selector results_Auto_P19797270_06-02-2025_17_03_46.pdf 20298511 change filename to text .change filename to text .imagette202985111738857826 20298512 imagette202985121738857826 20298513 imagette202985131738857826 20298515 change filename to text .change filename to text .imagette202985151738857827 20298516 imagette202985161738857827 20298517 imagette202985171738857827 20298520 imagette202985201738857827 20298518 change filename to text .change filename to text .change filename to text .imagette202985181738857827 20298519 change filename to text .change filename to text .imagette202985191738857827 20298521 change filename to text .change filename to text .change filename to text .change filename to text .imagette202985211738857827 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19797270 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20298510,20298511,20298512,20298513,20298514,20298515,20298516,20298517,20298518,20298519,20298520,20298521?tags=environnement,plastique,autre_refus,kraft,papier,cartonnette,mal_croppe,flou,Carton_brun,Carton_gris,metal,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1330474049] : ('0.03633119323557404',) no score found for photo 1330474049 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330474045] : ('0.03633119323557404',) no score found for photo 1330474045 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330474040] : ('0.03633119323557404',) no score found for photo 1330474040 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473779] : ('0.03633119323557404',) no score found for photo 1330473779 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473774] : ('0.03633119323557404',) no score found for photo 1330473774 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473648] : ('0.03633119323557404',) no score found for photo 1330473648 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473644] : ('0.03633119323557404',) no score found for photo 1330473644 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473581] : ('0.03633119323557404',) no score found for photo 1330473581 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473573] : ('0.03633119323557404',) no score found for photo 1330473573 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473571] : ('0.03633119323557404',) no score found for photo 1330473571 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473568] : ('0.03633119323557404',) no score found for photo 1330473568 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473274] : ('0.03633119323557404',) no score found for photo 1330473274 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330473268] : ('0.03633119323557404',) no score found for photo 1330473268 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472945] : ('0.03633119323557404',) no score found for photo 1330472945 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472942] : ('0.03633119323557404',) no score found for photo 1330472942 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472939] : ('0.03633119323557404',) no score found for photo 1330472939 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472937] : ('0.03633119323557404',) no score found for photo 1330472937 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472935] : ('0.03633119323557404',) no score found for photo 1330472935 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472933] : ('0.03633119323557404',) no score found for photo 1330472933 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com args[1330472542] : ('0.03633119323557404',) no score found for photo 1330472542 apple ('0.03633119323557404',) We are sending mail with results at report@fotonower.com refus_total : 0.03633119323557404 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=19797270 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1330473581,1330472942,1330474049,1330474045,1330474040,1330473779,1330473774,1330473648,1330473644,1330473573,1330473571,1330473568,1330473274,1330473268,1330472945,1330470459,1330472939,1330472937,1330472935,1330472933) Found this number of photos: 20 begin to download photo : 1330473581 begin to download photo : 1330473779 begin to download photo : 1330473571 begin to download photo : 1330470459 download finish for photo 1330473779 begin to download photo : 1330473774 download finish for photo 1330473571 begin to download photo : 1330473568 download finish for photo 1330470459 begin to download photo : 1330472939 download finish for photo 1330473774 begin to download photo : 1330473648 download finish for photo 1330473581 begin to download photo : 1330472942 download finish for photo 1330473648 begin to download photo : 1330473644 download finish for photo 1330473568 begin to download photo : 1330473274 download finish for photo 1330472939 begin to download photo : 1330472937 download finish for photo 1330472942 begin to download photo : 1330474049 download finish for photo 1330473274 begin to download photo : 1330473268 download finish for photo 1330473644 begin to download photo : 1330473573 download finish for photo 1330472937 begin to download photo : 1330472935 download finish for photo 1330474049 begin to download photo : 1330474045 download finish for photo 1330473268 begin to download photo : 1330472945 download finish for photo 1330472935 begin to download photo : 1330472933 download finish for photo 1330472945 download finish for photo 1330474045 begin to download photo : 1330474040 download finish for photo 1330473573 download finish for photo 1330472933 download finish for photo 1330474040 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797270_06-02-2025_17_03_46.pdf results_Auto_P19797270_06-02-2025_17_03_46.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797270_06-02-2025_17_03_46.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','19797270','results_Auto_P19797270_06-02-2025_17_03_46.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797270_06-02-2025_17_03_46.pdf','pdf','','0.22','0.03633119323557404') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] 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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014982938766479492 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.175768852233887 time spend to save output : 0.015245199203491211 total time spend for step 10 : 4.191014051437378 step11:split_time_score Thu Feb 6 17:03:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 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 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'}] (('10', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21012025 19797270 Nombre de photos uploadées : 30 / 23040 (0%) 21012025 19797270 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 21012025 19797270 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010917186737060547 elapsed_time : insert_dashboard_record_day_entry 0.023751020431518555 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.04809637498190257 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19791644_21-01-2025_09_02_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19791644 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19791644 AND mptpi.`type`=3726 To do Qualite : 0.0407800529489664 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19791645_21-01-2025_09_22_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19791645 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19791645 AND mptpi.`type`=3726 To do Qualite : 0.05806526819103342 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19792450_21-01-2025_08_51_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19792450 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19792450 AND mptpi.`type`=3726 To do Qualite : 0.01842738816520364 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795840_05-02-2025_13_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795840 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19795840 AND mptpi.`type`=3726 To do Qualite : 0.04483121180248441 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795842_05-02-2025_13_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795842 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19795842 AND mptpi.`type`=3726 To do Qualite : 0.030964489826679084 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795857_06-02-2025_09_59_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795857 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19795857 AND mptpi.`type`=3726 To do Qualite : 0.03633119323557404 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797270_06-02-2025_17_03_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19797270 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19797270 AND mptpi.`type`=3726 To do Qualite : 0.0489462853096413 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797271_21-01-2025_11_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19797271 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19797271 AND mptpi.`type`=3726 To do Qualite : 0.024754002648240084 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19797272_04-02-2025_12_00_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19797272 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19797272 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19798289 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19799584 order by id desc limit 1 Qualite : 0.034673920167750547 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19800775_04-02-2025_12_06_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19800775 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19800775 AND mptpi.`type`=3726 To do Qualite : 0.05428035426423572 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19801172_21-01-2025_13_33_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19801172 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19801172 AND mptpi.`type`=3726 To do Qualite : 0.029923338530732466 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804578_05-02-2025_09_07_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804578 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804578 AND mptpi.`type`=3726 To do Qualite : 0.019499774534156192 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804579_05-02-2025_09_09_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804579 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804579 AND mptpi.`type`=3726 To do Qualite : 0.019060807214082234 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804580_05-02-2025_09_10_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804580 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804580 AND mptpi.`type`=3726 To do Qualite : 0.06531314347098334 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804581_05-02-2025_09_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804581 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804581 AND mptpi.`type`=3726 To do Qualite : 0.03321823590790911 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804718_04-02-2025_12_10_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804718 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804718 AND mptpi.`type`=3726 To do Qualite : 0.027324753035856044 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19806030_04-02-2025_12_10_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19806030 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19806030 AND mptpi.`type`=3726 To do Qualite : 0.03166068523198552 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19806031_05-02-2025_09_46_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19806031 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19806031 AND mptpi.`type`=3726 To do Qualite : 0.03526576911339791 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19815786_06-02-2025_17_03_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815786 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19815786 AND mptpi.`type`=3726 To do Qualite : 0.038452217442877974 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19815787_04-02-2025_11_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815787 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19815787 AND mptpi.`type`=3726 To do Qualite : 0.012731219344216792 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19815788_30-01-2025_12_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815788 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19815788 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815789 order by id desc limit 1 Qualite : 0.03828743062344873 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19815790_22-01-2025_12_21_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815790 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19815790 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815791 order by id desc limit 1 Qualite : 0.012336709896993965 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19815792_06-02-2025_17_03_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815792 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19815792 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007294 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007296 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007297 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007298 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007299 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007300 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007301 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007302 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007303 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007304 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007305 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007306 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007307 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007308 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007309 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007334 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007359 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007360 order by id desc limit 1 Qualite : 0.021048126452339815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20007361_28-01-2025_10_02_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20007361 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20007361 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21012025': {'nb_upload': 30, '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 [1330474049, 1330474045, 1330474040, 1330473779, 1330473774, 1330473648, 1330473644, 1330473581, 1330473573, 1330473571, 1330473568, 1330473274, 1330473268, 1330472945, 1330472942, 1330472939, 1330472937, 1330472935, 1330472933, 1330472542] Looping around the photos to save general results len do output : 1 /19797270Didn'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 ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474049', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474045', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330474040', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473779', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473774', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473648', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473644', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473581', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473573', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473571', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473568', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473274', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330473268', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472945', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472942', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472939', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472937', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472935', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472933', None, None, None, None, None, '2500563') ('3459', None, None, None, None, None, None, None, '2500563') ('3459', '19797270', '1330472542', None, None, None, None, None, '2500563') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.34644198417663574 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.959577560424805 time spend to save output : 0.3467421531677246 total time spend for step 11 : 18.30631971359253 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 62.42user 23.04system 2:03.62elapsed 69%CPU (0avgtext+0avgdata 2963380maxresident)k 8336inputs+39672outputs (166major+1855351minor)pagefaults 0swaps